[hidden] {
  display: none !important;
}

.booking-page {
  background:
    radial-gradient(circle at top right, rgba(24, 167, 184, 0.08), transparent 35%),
    radial-gradient(circle at bottom left, rgba(231, 177, 78, 0.06), transparent 30%),
    #f8fafb;
  min-height: 100vh;
}

/* 1. Hero Section */
.booking-hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4.5rem;
  background: linear-gradient(135deg, #094759 0%, #0d5f75 40%, #158b99 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.booking-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 167, 184, 0.2) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.booking-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.25rem;
  max-width: 800px;
}

.booking-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}

.booking-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.booking-hero p {
  margin: 0;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  line-height: 1.8;
}

.booking-hero__actions {
  margin-top: 1rem;
}

.booking-hero__actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 1.5rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-hero__actions a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

/* 2. Shell Layout */
.booking-shell {
  margin-top: -3.5rem;
  padding-bottom: 6rem;
}

.booking-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2rem;
  align-items: start;
}

/* 3. Sidebar card */
.booking-aside {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 1.5rem;
}

.booking-aside__card {
  background: #ffffff;
  border: 1px solid rgba(207, 225, 230, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(8, 72, 96, 0.06);
  padding: 2rem;
}

.booking-aside__card h2 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: 1.6rem;
  font-weight: 800;
}

.booking-aside__card p {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.95rem;
}

.booking-aside__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.booking-aside__list li {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  background: #fcfdfe;
  border: 1px solid #edf4f6;
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: border-color 0.2s ease;
}

.booking-aside__list li:hover {
  border-color: rgba(24, 167, 184, 0.3);
}

.booking-aside__list li span:first-child {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.booking-aside__list a {
  color: var(--teal-deep);
  font-weight: 700;
  text-decoration: none;
}

.booking-aside__list a:hover {
  text-decoration: underline;
}

.booking-note {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f0fafc, #eef7f9);
  border-right: 4px solid var(--teal);
  color: var(--teal-deep);
  font-size: 0.88rem;
  line-height: 1.65;
}

.booking-note strong {
  color: var(--teal-dark);
}

/* 4. Unified Stepper */
.booking-stepper {
  position: relative;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #edf4f6;
}

.stepper-track {
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: #e9f2f5;
  z-index: 1;
  border-radius: 999px;
}

.stepper-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--teal-deep));
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: inherit;
}

.stepper-steps {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
}

.stepper-step {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  flex: 1;
  outline: none;
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #cfe1e6;
  color: var(--ink-soft);
  font-weight: 800;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-label {
  margin-top: 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-soft);
  transition: color 0.3s ease;
}

.stepper-step.is-active .step-circle {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(24, 167, 184, 0.15);
  transform: scale(1.05);
}

.stepper-step.is-active .step-label {
  color: var(--teal-dark);
  font-weight: 800;
}

.stepper-step.is-done .step-circle {
  border-color: var(--teal-deep);
  background: var(--teal-deep);
  color: #fff;
}

.stepper-step.is-done .step-label {
  color: var(--teal-deep);
}

/* 5. Main Form Card */
.booking-form-card {
  background: #ffffff;
  border: 1px solid rgba(207, 225, 230, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(8, 72, 96, 0.06);
  padding: 1.75rem;
  position: relative;
}

.booking-form-card h3 {
  margin: 0 0 0.5rem;
  color: var(--ink);
  font-size: 1.6rem;
  font-weight: 800;
}

.booking-form-card .step-lead {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.booking-step-panel {
  display: none;
  animation: bookingFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-step-panel.is-active {
  display: block;
}

@keyframes bookingFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 6. Form Fields */
.booking-fields {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.booking-fields--2 {
  grid-template-columns: 1fr 1fr;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.booking-field--full {
  grid-column: 1 / -1;
}

.booking-field label {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
}

.booking-field input,
.booking-field select,
.booking-field textarea {
  width: 100%;
  min-height: 52px;
  border: 1.5px solid #cfe1e6;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.1rem;
  background: #fbfdfe;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.booking-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5a72' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='7 15 12 20 17 15'%3E%3C/polyline%3E%3Cpolyline points='7 9 12 4 17 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1.1rem center;
  background-size: 16px;
  padding-left: 2.8rem;
  cursor: pointer;
}

.booking-field input::placeholder,
.booking-field textarea::placeholder {
  color: #a4bcc6;
  font-weight: 400;
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(24, 167, 184, 0.12);
}

.booking-field input:disabled,
.booking-field select:disabled {
  background: #f3f7f8;
  border-color: #e2ecf0;
  color: #8da4b0;
  cursor: not-allowed;
}

.booking-field-note {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.booking-field textarea {
  min-height: 120px;
  resize: vertical;
}

/* 7. Doctor Hint Card */
.booking-hint {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f6fbfc, #edf7fa);
  border: 1px solid rgba(24, 167, 184, 0.15);
  margin-bottom: 1.5rem;
  transition: transform 0.25s ease;
}

.booking-hint:hover {
  transform: translateY(-2px);
}

.booking-hint__photo {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  border: 3px solid #ffffff;
  box-shadow: 0 10px 24px rgba(8, 72, 96, 0.12);
}

.booking-hint .hint-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(24, 167, 184, 0.1);
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  flex-shrink: 0;
}

.booking-hint__body {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.5rem;
}

.booking-hint__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.booking-hint__head strong {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
}

.booking-hint__profile {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(24, 167, 184, 0.1);
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.booking-hint__profile:hover {
  background: rgba(24, 167, 184, 0.2);
  color: var(--teal-deep);
}

.booking-hint__lead {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.booking-slot-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.25rem 0;
}

.booking-slot-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(24, 167, 184, 0.2);
  color: var(--teal-deep);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 2px 5px rgba(8, 72, 96, 0.02);
}

.booking-hint__note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Nearest Slot Helper */
.booking-nearest-slot {
  width: 100%;
  margin: 0.25rem 0 1.25rem;
  padding: 0.9rem 1.1rem;
  border: 1.5px dashed var(--teal);
  border-radius: var(--radius-md);
  background: rgba(24, 167, 184, 0.04);
  color: var(--teal-deep);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-nearest-slot:hover {
  background: rgba(24, 167, 184, 0.08);
  border-style: solid;
  transform: translateY(-1px);
}

/* Slot preview box */
.booking-slot-preview {
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius-md);
  background: #f8fafb;
  border: 1.5px dashed #cfe1e6;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

.booking-slot-preview.is-ready {
  background: #f0fbfb;
  border-color: #9fdbe4;
  color: var(--teal-deep);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(24, 167, 184, 0.05);
}

/* Emergency alert */
.booking-emergency-alert {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: #fff9e6;
  border-right: 4px solid var(--gold);
  color: #6a4a15;
  font-size: 0.88rem;
  line-height: 1.7;
}

.booking-emergency-alert strong {
  color: #b78326;
  display: block;
  margin-bottom: 0.25rem;
}

/* 8. Summary Grid */
.booking-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.summary-card {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  background: #fbfdfe;
  border: 1.5px solid #edf4f6;
  box-shadow: 0 2px 6px rgba(8, 72, 96, 0.01);
}

.summary-card span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.summary-card strong {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.5;
}

.booking-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.5rem 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
  cursor: pointer;
}

.booking-consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.25rem;
  border-radius: 4px;
  accent-color: var(--teal);
  flex-shrink: 0;
}

.booking-consent a {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: none;
}

.booking-consent a:hover {
  text-decoration: underline;
}

/* 9. Action Buttons */
.booking-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.booking-actions--split {
  justify-content: space-between;
}

.btn-booking-primary,
.btn-booking-secondary {
  min-height: 52px;
  border-radius: var(--radius-pill);
  padding: 0 2rem;
  font-weight: 800;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.btn-booking-primary {
  background: linear-gradient(135deg, #f2c05f 0%, #e7b14e 100%);
  color: #4a340a;
  box-shadow: 0 8px 24px rgba(231, 177, 78, 0.25);
}

.btn-booking-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(231, 177, 78, 0.4);
}

.btn-booking-primary:active {
  transform: translateY(0);
}

.btn-booking-secondary {
  background: #f0f5f7;
  color: var(--teal-deep);
  border: 1px solid #e1ebed;
}

.btn-booking-secondary:hover {
  background: #e6eef2;
  transform: translateY(-1px);
}

.btn-booking-primary:disabled,
.btn-booking-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.form-status {
  min-height: 1.5rem;
  margin-top: 1rem;
  text-align: center;
  font-weight: 800;
  padding: 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
}

.form-status.is-pending {
  background: rgba(24, 167, 184, 0.08);
  color: var(--teal-deep);
  border: 1px solid rgba(24, 167, 184, 0.15);
}

.form-status.is-success {
  background: rgba(15, 118, 110, 0.08);
  color: #0f766e;
  border: 1px solid rgba(15, 118, 110, 0.15);
}

.form-status.is-error {
  background: rgba(239, 83, 72, 0.08);
  color: var(--danger);
  border: 1px solid rgba(239, 83, 72, 0.15);
}

/* 10. Success State Panel */
.booking-success-panel {
  text-align: center;
  padding: 3rem 2rem 2.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(24, 167, 184, 0.06) 0%, rgba(255, 255, 255, 0.98) 100%);
  border: 1.5px solid rgba(24, 167, 184, 0.15);
  box-shadow: 0 25px 60px rgba(8, 72, 96, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bookingFade 0.5s ease;
}

.booking-success-panel__icon {
  width: 72px;
  height: 72px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: #fff;
  font-size: 2.2rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(24, 167, 184, 0.3);
}

.booking-success-panel h3 {
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ink);
}

.booking-success-panel p {
  color: var(--ink-soft);
  margin: 0.25rem 0;
  font-size: 0.98rem;
}

.booking-success-panel__ref {
  display: inline-block;
  margin: 0.75rem 0 1.25rem;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-pill);
  background: rgba(11, 90, 114, 0.06);
  color: var(--teal-deep);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.booking-success-panel__note {
  margin: 0 auto 2rem;
  max-width: 460px;
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 0.95rem;
}

.booking-success-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  width: 100%;
}

.booking-success-panel__actions a {
  flex: 1;
  min-width: 180px;
  max-width: 240px;
}

.booking-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* 11. Mobile strips and sticky bars */
.booking-mobile-strip,
.booking-sticky-bar {
  display: none;
}

/* 12. Media Queries */
@media (max-width: 992px) {
  .booking-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .booking-aside {
    position: static;
  }
}

@media (max-width: 768px) {
  .booking-page {
    background: #eef4f6;
  }

  .booking-hero {
    padding: 2.5rem 0 5rem;
    border-radius: 0 0 24px 24px;
    text-align: center;
  }

  .booking-hero__badge {
    margin: 0 auto;
  }

  .booking-hero h1 {
    font-size: 1.85rem;
  }

  .booking-hero p {
    font-size: 0.98rem;
    margin: 0 auto;
  }

  .booking-hero__actions {
    margin-top: 0.5rem;
  }

  /* Sticky contacts list above form in mobile */
  .booking-mobile-strip {
    display: block;
    margin-top: -3.5rem;
    position: relative;
    z-index: 5;
    margin-bottom: 0.5rem;
  }

  .booking-mobile-strip__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    padding: 0.5rem 0.8rem;
  }

  .mobile-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-pill);
    background: #ffffff;
    border: 1px solid rgba(207, 225, 230, 0.8);
    box-shadow: 0 8px 20px rgba(8, 72, 96, 0.04);
    color: var(--teal-deep);
    font-weight: 800;
    font-size: 0.85rem;
    text-decoration: none;
    transition: transform 0.2s ease;
  }

  .mobile-chip svg {
    flex-shrink: 0;
    stroke: var(--teal);
  }

  .mobile-chip:active {
    transform: scale(0.96);
  }

  .booking-shell {
    margin-top: 0.5rem;
    padding-bottom: 5.5rem; /* Space for bottom sticky bar */
  }

  .booking-page .container {
    width: 100%;
    padding-inline: 0.8rem;
  }

  .booking-aside--desktop {
    display: none;
  }

  .booking-form-card {
    padding: 1.5rem 1.25rem;
    border-radius: 20px;
    border: 1px solid rgba(207, 225, 230, 0.4);
    box-shadow: 0 10px 30px rgba(8, 72, 96, 0.04);
  }

  .booking-form-card h3 {
    font-size: 1.35rem;
  }

  .booking-form-card .step-lead {
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
  }

  /* Responsive Stepper on Mobile */
  .booking-stepper {
    margin-bottom: 1.25rem;
  }

  .stepper-track {
    top: 22px;
  }

  .step-circle {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
    border-width: 2.5px;
  }

  .step-label {
    font-size: 0.82rem;
    margin-top: 0.5rem;
    white-space: nowrap;
  }

  .booking-fields--2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .booking-field input,
  .booking-field select,
  .booking-field textarea {
    min-height: 50px;
    font-size: 0.95rem;
  }

  .booking-hint {
    padding: 1rem;
    gap: 1rem;
  }

  .booking-hint__photo,
  .booking-hint .hint-icon {
    width: 60px;
    height: 60px;
  }

  .booking-hint .hint-icon {
    font-size: 1.8rem;
  }

  .booking-hint__head strong {
    font-size: 1.05rem;
  }

  .booking-nearest-slot {
    font-size: 0.88rem;
    padding: 0.75rem 1rem;
  }

  .booking-summary {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .summary-card {
    padding: 0.85rem 1rem;
  }

  .booking-actions {
    display: none; /* Hide standard buttons; use bottom sticky bar */
  }

  /* Bottom sticky bar */
  .booking-sticky-bar {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 1500;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(207, 225, 230, 0.6);
    box-shadow: 0 -8px 24px rgba(8, 72, 96, 0.08);
  }

  .booking-sticky-bar:has(.booking-sticky-prev[hidden]) {
    grid-template-columns: 1fr;
  }

  .booking-sticky-prev,
  .booking-sticky-next {
    min-height: 48px;
    border: 0;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
  }

  .booking-sticky-prev {
    padding: 0 1.25rem;
    background: #f0f5f7;
    color: var(--teal-deep);
    border: 1px solid #e1ebed;
  }

  .booking-sticky-next {
    background: linear-gradient(135deg, #f2c05f 0%, #e7b14e 100%);
    color: #4a340a;
    box-shadow: 0 4px 12px rgba(231, 177, 78, 0.2);
  }

  .booking-sticky-next:active,
  .booking-sticky-prev:active {
    transform: scale(0.97);
  }

  .booking-sticky-next:disabled {
    opacity: 0.7;
  }

  .booking-page .site-footer {
    padding-bottom: 5.5rem; /* Avoid overlap with sticky bar */
  }

  .booking-page .to-top {
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 480px) {
  /* Stepper labels become hidden to avoid clutter, showing only numbers and dots */
  .step-label {
    display: none;
  }
  .booking-stepper {
    padding-bottom: 0.25rem;
  }
  .stepper-track {
    top: 17px;
    left: 15%;
    right: 15%;
  }
}

/* 13. Booking Management Specifics */
.booking-manage {
  max-width: 800px;
  margin: 0 auto;
}

.booking-manage__form {
  margin: 0 auto;
}

.booking-summary--manage {
  margin: 1.5rem 0;
}

/* 14. Interactive Scheduler (UnityCare Style) */
.booking-scheduler {
  margin: 1.5rem 0;
  width: 100%;
}

.scheduler-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.scheduler-calendar-card,
.scheduler-time-card {
  background: #ffffff;
  border: 1px solid rgba(24, 167, 184, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(8, 72, 96, 0.02);
}

/* Desktop/Mobile display toggles */
.scheduler-calendar-desktop {
  display: block;
}

.scheduler-calendar-mobile {
  display: none;
}

/* Desktop horizontal days slider styling */
.calendar-header-desktop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-direction: row-reverse; /* Put title on right, navigation on left in RTL */
}

.calendar-nav-group {
  display: flex;
  gap: 0.5rem;
}

.calendar-slider-days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.slider-day-card {
  background: #fbfdfe;
  border: 1px solid rgba(207, 225, 230, 0.6);
  border-radius: var(--radius-md);
  padding: 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 85px;
}

.slider-day-card:hover:not(.is-selected) {
  border-color: var(--teal);
  background: rgba(24, 167, 184, 0.04);
}

.slider-day-card.is-selected {
  background: #0e495a;
  border-color: #0e495a;
  box-shadow: 0 6px 16px rgba(14, 73, 90, 0.25);
}

.slider-day-card.is-selected .slider-day-name {
  color: rgba(255, 255, 255, 0.75);
}

.slider-day-card.is-selected .slider-day-number {
  color: #ffffff;
}

.slider-day-name {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.slider-day-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
}

.slider-empty-message {
  grid-column: span 5;
  text-align: center;
  padding: 1.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  background: #fbfdfe;
  border: 1.5px dashed #cfe1e6;
  border-radius: var(--radius-md);
}

/* Mobile grid calendar styling */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.calendar-month-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}

.calendar-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #cfe1e6;
  background: #ffffff;
  color: var(--teal-deep);
  font-size: 0.85rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
}

.calendar-nav-btn:hover:not(:disabled) {
  border-color: var(--teal);
  background: rgba(24, 167, 184, 0.05);
}

.calendar-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 0.75rem;
}

.calendar-weekdays span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-day,
.calendar-day-padding {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 700;
}

.calendar-day {
  background: none;
  border: none;
  border-radius: 50%;
  color: var(--ink-soft);
  cursor: default;
  transition: all 0.25s ease;
}

.calendar-day.is-available {
  color: #0b5a72;
  background: #e1f5f7;
  border: 1.5px solid #1aa8b6;
  font-weight: 800;
  cursor: pointer;
}

.calendar-day.is-available:hover {
  background: #cbf0f3;
  border-color: #0b5a72;
  transform: scale(1.05);
}

.calendar-day.is-selected {
  background: #1aa8b6 !important;
  border-color: #1aa8b6 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(26, 168, 182, 0.35);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.selected-check {
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  margin-top: -1px;
  color: #ffffff;
}

.slider-day-check {
  position: absolute;
  top: 6px;
  left: 8px;
  font-size: 0.8rem;
  font-weight: 900;
  color: #4a340a;
}

.calendar-day:disabled:not(.is-available) {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Time slots styling */
.time-card-title {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.time-card-title span {
  color: var(--teal);
}

.time-sections {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.time-section h5 {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink-soft);
  border-right: 3px solid var(--teal);
  padding-right: 0.5rem;
}

.time-pills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.65rem;
}

.time-pill {
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1.5px solid #cfe1e6;
  background: #fbfdfe;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.time-pill:hover {
  border-color: var(--teal);
  background: rgba(24, 167, 184, 0.03);
  transform: translateY(-1px);
}

.time-pill.is-selected {
  background: #0e495a !important;
  border-color: #0e495a !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(14, 73, 90, 0.25);
}

.time-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  background: #fbfdfe;
  border: 1.5px dashed #cfe1e6;
  border-radius: var(--radius-md);
}

/* 15. Dynamic Doctor Cards Styling */

/* Mobile Inline Card */
#doctorHintMobile.is-doctor-selected {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  margin-bottom: 1.5rem !important;
}

.doctor-mobile-card {
  display: flex;
  gap: 1rem;
  background: #e6f4f8;
  border: 1px solid rgba(24, 167, 184, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  direction: rtl;
  text-align: right;
  width: 100%;
}

.doctor-mobile-card__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  width: 75px;
}

.doctor-mobile-card__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(8, 72, 96, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.doctor-mobile-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-mobile-card__avatar .hint-icon {
  font-size: 2rem;
}

.doctor-mobile-card__profile-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0.25rem 0;
  transition: color 0.2s ease;
}

.doctor-mobile-card__profile-link:hover {
  color: var(--teal-deep);
  text-decoration: underline;
}

.doctor-mobile-card__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.doctor-mobile-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.doctor-mobile-card__name {
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--teal-deep);
}

.doctor-mobile-card__rating {
  font-size: 0.78rem;
  font-weight: 800;
  background: #ffffff;
  color: #f59e0b;
  border: 1px solid rgba(24, 167, 184, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.doctor-mobile-card__schedule {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
  font-weight: 700;
}

.doctor-mobile-card__schedule-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.15rem 0;
}

.schedule-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid rgba(24, 167, 184, 0.2);
  color: var(--teal-deep);
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 2px 5px rgba(8, 72, 96, 0.02);
}

.doctor-mobile-card__note {
  font-size: 0.68rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
  opacity: 0.85;
}

/* Desktop Sidebar Card */
.doctor-desktop-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0;
}

.doctor-desktop-card__avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 25px rgba(8, 72, 96, 0.08);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.doctor-desktop-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-desktop-card__avatar .hint-icon {
  font-size: 3rem;
}

.doctor-desktop-card__name {
  font-size: 1.35rem;
  font-weight: 850;
  color: var(--teal-deep);
  margin: 0 0 0.4rem;
}

.doctor-desktop-card__specialty {
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(24, 167, 184, 0.08);
  color: var(--teal-deep);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.doctor-desktop-card__rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.doctor-desktop-card__rating .rating-stars {
  font-weight: 800;
  color: #f59e0b;
}

.doctor-desktop-card__rating .rating-count {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.doctor-desktop-card__divider {
  width: 100%;
  height: 1px;
  background: rgba(207, 225, 230, 0.5);
  margin: 1rem 0;
}

.doctor-desktop-card__section {
  width: 100%;
  text-align: right;
  margin-bottom: 0.5rem;
}

.doctor-desktop-card__section h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.doctor-desktop-card__section p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 0.5rem;
}

.doctor-desktop-card__bio-extra {
  font-style: italic;
  font-size: 0.8rem !important;
}

.doctor-desktop-card__details {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: right;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 700;
}

.detail-icon {
  font-size: 1.1rem;
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .scheduler-calendar-desktop {
    display: none;
  }
  
  .scheduler-calendar-mobile {
    display: block;
  }

  .scheduler-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .scheduler-calendar-card,
  .scheduler-time-card {
    padding: 1.25rem;
  }

  .calendar-days {
    gap: 4px;
  }

  .calendar-day {
    font-size: 0.88rem;
  }

  .time-pills-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .booking-nearest-slot {
    border-style: dashed !important;
    background: rgba(241, 190, 78, 0.05) !important;
    border-color: rgba(241, 190, 78, 0.6) !important;
    color: #4a340a !important;
  }
}

/* Live Preview Summary Box */
.booking-selected-preview-box {
  background: #ffffff;
  border: 1px solid rgba(24, 167, 184, 0.25);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  box-shadow: 0 8px 20px rgba(8, 72, 96, 0.04);
  animation: bookingFade 0.4s ease;
}

.summary-box-header {
  margin-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(207, 225, 230, 0.6);
  padding-bottom: 0.5rem;
}

.summary-box-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(24, 167, 184, 0.08);
  color: var(--teal-dark);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

.summary-box-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 1rem;
}

@media (max-width: 576px) {
  .summary-box-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.summary-box-item {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-size: 0.92rem;
}

.summary-box-label {
  color: var(--ink-soft);
  font-weight: 700;
  white-space: nowrap;
}

.summary-box-value {
  color: var(--ink);
  font-weight: 800;
}

