/* Glassy booking modal — stronger glassmorphism and 'gota' highlight */
#bookModal .modal-content {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.72),
    rgba(255, 255, 255, 0.6)
  );
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 11, 14, 0.28);
  z-index: 1200;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-overlay.open {
  display: flex;
}
.modal-window {
  max-width: 560px;
  width: 100%;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.88),
    rgba(255, 255, 255, 0.86)
  );
  box-shadow: 0 18px 60px rgba(8, 10, 12, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.5);
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* subtle inner glass edges */
.modal-window::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(0, 0, 0, 0.02)
  );
  mix-blend-mode: overlay;
}

/* droplet highlight */
.modal-window::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -40px;
  width: 220px;
  height: 220px;
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.03) 20%,
      transparent 40%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(255, 255, 255, 0.04),
      transparent 30%
    );
  transform: rotate(15deg);
  filter: blur(12px);
  opacity: 0.5;
  pointer-events: none;
}

.modal-header,
.modal-footer {
  padding: 14px 18px;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0)
  );
}
.modal-body {
  padding: 18px;
  color: rgba(18, 18, 18, 0.95);
}
.modal-close {
  background: rgba(0, 0, 0, 0.04);
  border: 0;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  padding: 6px 8px;
  color: rgba(18, 18, 18, 0.9);
}
.modal-close:focus {
  outline: 2px solid rgba(0, 0, 0, 0.08);
}
.slot-btn {
  min-width: 84px;
  padding: 8px 10px;
  border-radius: 12px;
}
.slot-btn.disabled,
.slot-btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}
.slot-btn.btn-primary {
  box-shadow: 0 12px 30px rgba(0, 140, 120, 0.14);
}
.modal-window .form-control {
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
@media (max-width: 576px) {
  .modal-window {
    max-width: 100%;
    margin: 0 6px;
  }
  .slot-btn {
    min-width: 72px;
  }
}

/* Fullscreen modal behaviour on small screens: behave like a native page */
@media (max-width: 576px) {
  .modal-overlay {
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
  }
  .modal-window,
  .modal-window.modal-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    border: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.96));
  }
  .modal-body {
    flex: 1 1 auto;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px;
  }
  .modal-header, .modal-footer {
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
  }
  .modal-close {
    padding: 8px 10px;
  }
}

/* prevent body scroll when modal open */
body.modal-open {
  overflow: hidden;
}
