:root {
  color-scheme: light;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--site-body, #405d7e);
  background: #c8d3de;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #102a43;
  --muted: var(--site-body, #405d7e);
  --line: var(--site-line, #dce6f2);
  --navy: var(--site-blue, #134074);
  --teal: var(--site-blue, #134074);
  --surface: var(--site-glass-strong, rgba(255, 255, 255, .82));
  --surface-soft: var(--site-glass, rgba(255, 255, 255, .68));
  --success: var(--site-success, #176b58);
  --error: var(--site-danger, #b42318);
  --radius: var(--site-radius, 20px);
  --shadow: var(--site-shadow, 0 16px 48px rgba(23, 50, 77, .08));
  --appointment-cta: linear-gradient(180deg, #223449 0%, #152332 100%);
  --appointment-glass: linear-gradient(135deg, rgba(255, 255, 255, .78) 0%, rgba(236, 244, 251, .56) 55%, rgba(248, 252, 255, .74) 100%);
  --appointment-glass-shadow: 0 18px 42px rgba(20, 35, 52, .16), 0 0 22px rgba(200, 236, 255, .35), inset 0 1px 3px rgba(255, 255, 255, .95), 3px 3px 0 rgba(235, 246, 255, .78), 5px 6px 12px rgba(22, 38, 56, .14);
}

* { box-sizing: border-box; }

.founder-test-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.founder-test-tools[hidden] { display: none; }
.founder-test-tools h3 { margin: 0; color: var(--ink); font-size: 15px; }
.founder-test-tools p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.founder-test-tools button { flex: 0 0 auto; }
.founder-test-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.founder-test-links[hidden] { display: none; }
.founder-test-links .button { flex: 0 0 auto; }

@media (max-width: 560px) {
  .founder-test-tools { align-items: stretch; flex-direction: column; }
}

html {
  min-height: 100%;
  background: #c8d3de !important;
}

body.appointment-page {
  position: relative;
  isolation: isolate;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--site-body, #405d7e) !important;
  background: transparent !important;
  font-family: "Plus Jakarta Sans", sans-serif !important;
  line-height: 1.5 !important;
}

body.appointment-page::before,
body.appointment-page::after {
  display: none !important;
  content: none !important;
}

#appointment-home-atmosphere {
  position: fixed;
  z-index: -1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

html body header.docavi-home-header.site-header {
  display: flex !important;
  width: 100% !important;
  min-height: 0 !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: normal !important;
  padding: 2.6% 5% 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body.appointment-page button,
html body.appointment-page input,
html body.appointment-page select {
  font-family: "Plus Jakarta Sans", sans-serif !important;
}

html body header.docavi-home-header > .brand-logo {
  color: #182636 !important;
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  letter-spacing: -.03em !important;
  line-height: 1.5 !important;
}

html body header.docavi-home-header .public-site-nav .nav-item {
  color: #243447 !important;
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-size: clamp(10px, 1vw, 14.5px) !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}

html body header.docavi-home-header > .language-toggle {
  border: 1px solid rgba(255, 255, 255, .72) !important;
  border-radius: 999px !important;
  color: #243447 !important;
  background: rgba(255, 255, 255, .62) !important;
  box-shadow: 0 2px 8px rgba(24, 38, 54, .08) !important;
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

body.appointment-page h1,
body.appointment-page h2,
body.appointment-page h3 {
  color: #132334 !important;
  font-family: "Plus Jakarta Sans", sans-serif !important;
}

body.appointment-page .page-intro .eyebrow {
  margin-bottom: 14px;
  color: #6a7d92 !important;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .22em;
}

body.appointment-page .page-intro > p:last-child {
  color: #6a7d92 !important;
}

a { color: var(--navy); }

button, input, select { font: inherit; }

button, a, input { -webkit-tap-highlight-color: transparent; }

:focus-visible { outline: 3px solid #2e90c2; outline-offset: 3px; }

[hidden] { display: none !important; }

.skip-link {
  position: absolute;
  z-index: 5;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
}

.skip-link:focus { transform: none; }

.text-link { font-size: 14px; font-weight: 650; text-decoration: none; }

.text-link:hover { text-decoration: underline; }

.page-shell { width: 90%; margin: 0 auto; padding: 28px 0 56px; }

.page-intro {
  margin: 0 0 18px;
  padding: 8px 0 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.eyebrow, .step-label {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

h1, h2, p { margin-top: 0; }

h1 {
  margin-bottom: 10px;
  color: #132334;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(42px, 4.35vw, 66px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.06;
}

.page-intro > p:last-child { max-width: 650px; margin-bottom: 0; color: #6a7d92; font-size: 16px; }

.booking-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .8fr); gap: 22px; align-items: start; }

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.booking-panel { padding: clamp(22px, 3.2vw, 36px); }

.panel-heading, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }

.panel-heading { margin-bottom: 24px; }

.panel-heading h2, .section-heading h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }

.secure-label { white-space: nowrap; color: var(--success); font-size: 12px; font-weight: 750; }

.secure-label span { margin-right: 5px; font-size: 10px; }

.booking-account-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -8px 0 16px;
}

.appointment-page .account-action-button {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 12px;
  white-space: nowrap;
  text-transform: none !important;
}

.account-summary { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; padding: 12px; border: 1px solid #d5e9e2; border-radius: 12px; background: #f3faf7; }

.account-avatar, .confirmation-icon { display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: var(--success); font-weight: 800; }

.account-avatar { width: 34px; height: 34px; }

.account-summary strong, .account-summary small { display: block; }

.account-summary small { margin-top: 3px; color: var(--muted); font-size: 12px; }

.field-group { min-width: 0; margin: 0 0 22px; padding: 0; border: 0; }

.field-group > label, .field-group legend { display: block; width: 100%; margin-bottom: 8px; color: var(--ink); font-size: 14px; font-weight: 750; }

.required-mark { margin-left: 6px; color: var(--muted); font-size: 11px; font-weight: 600; }

input[type="date"], input[type="time"], select {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid #b7c7d6;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
}

input[type="date"]:hover, input[type="time"]:hover, select:hover { border-color: #708ca5; }

.field-hint, .privacy-note, .availability-disclaimer { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.field-error { margin: 7px 0 0; color: var(--error); font-size: 13px; font-weight: 650; }

.appointment-page #timeField {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.appointment-page .time-field legend { margin-bottom: 8px; }

.appointment-page #timeSlotsStatus {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.appointment-page .time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
  gap: 8px;
}

.appointment-page .time-slot {
  min-height: 48px;
  padding: 8px 6px;
  border: 1px solid #b7c7d6 !important;
  border-radius: 9px !important;
  color: var(--ink) !important;
  background: rgba(255, 255, 255, .82) !important;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: none !important;
  text-shadow: none !important;
  text-transform: none !important;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.appointment-page .time-slot::before { content: none !important; }

.appointment-page .time-slot:hover { border-color: #708ca5 !important; background: #fff !important; }

.appointment-page .time-slot[aria-pressed="true"] {
  border-color: var(--navy) !important;
  color: #fff !important;
  background: var(--navy) !important;
  box-shadow: inset 0 0 0 1px var(--navy) !important;
}

.appointment-page .time-slot:focus-visible {
  outline: 3px solid rgba(32, 90, 132, .35);
  outline-offset: 2px;
}

.booking-type legend { margin-bottom: 10px; }

.choice-card { display: flex; min-height: 68px; align-items: flex-start; gap: 12px; margin-top: 9px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; }

.choice-card:has(input:checked) { border-color: #5681a7; background: #f2f7fb; box-shadow: inset 0 0 0 1px #5681a7; }

.choice-card input { width: 18px; height: 18px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--navy); }

.choice-card strong, .choice-card small { display: block; }

.choice-card strong { font-size: 14px; }

.choice-card small { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.4; }

.availability { min-height: 48px; margin: 2px 0 18px; padding: 13px 14px; border: 1px solid #d8e5ee; border-radius: 10px; color: #34566e; background: #f5f9fc; font-size: 13px; line-height: 1.45; }

.availability[data-state="success"] { border-color: #c9e6da; color: #176b58; background: #f2faf6; }

.availability[data-state="error"] { border-color: #f1c7c3; color: #9f2d25; background: #fff7f6; }

.retry-availability { margin: -9px 0 16px; }

.privacy-note { margin: 0 0 18px; }

.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border: 1px solid transparent; border-radius: 9px; cursor: pointer; font-size: 13px; font-weight: 750; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color .15s ease, border-color .15s ease, transform .15s ease; }

.button:hover:not(:disabled) { transform: translateY(-1px); }

.button:disabled { cursor: not-allowed; opacity: .56; }

.button-primary {
  min-height: 44px;
  padding: 15px 32px;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: var(--appointment-cta) !important;
  box-shadow: 0 12px 28px rgba(18, 34, 52, .26), inset 0 1px 1px rgba(255, 255, 255, .22) !important;
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-size: 15.5px !important;
  font-weight: 500 !important;
  letter-spacing: -.01em !important;
  transition: all .28s cubic-bezier(.16, 1, .3, 1) !important;
}

.button-primary:hover:not(:disabled) {
  background: var(--appointment-cta) !important;
  box-shadow: 0 16px 34px rgba(18, 34, 52, .36), 0 0 18px rgba(122, 215, 255, .25), inset 0 1px 1px rgba(255, 255, 255, .32) !important;
  transform: translateY(-2px) !important;
}

.button-wide { width: 100%; min-height: 48px; }

.doctor-panel { padding: 24px; }

.doctor-profile { display: flex; align-items: center; gap: 13px; }

.doctor-profile img { width: 68px; height: 68px; flex: 0 0 auto; border: 2px solid #e6edf3; border-radius: 50%; object-fit: cover; }

.doctor-profile h2 { margin: 0 0 5px; font-size: 16px; line-height: 1.35; }

.doctor-profile p { margin: 0; color: var(--muted); font-size: 12px; }

.doctor-details { margin: 22px 0 0; border-top: 1px solid var(--line); }

.doctor-details > div { padding: 12px 0; border-bottom: 1px solid #edf1f5; }

.doctor-details dt { color: var(--muted); font-size: 11px; font-weight: 700; }

.doctor-details dd { margin: 4px 0 0; color: var(--ink); font-size: 13px; font-weight: 650; line-height: 1.4; }

.availability-disclaimer { margin: 14px 0; }

.text-link { display: inline-flex; align-items: center; gap: 6px; }

.appointments-section { margin-top: 42px; }

.section-heading { margin-bottom: 16px; }

.appointments-state { padding: 20px; border: 1px dashed #c3d2df; border-radius: 12px; color: var(--muted); background: rgba(255,255,255,.62); font-size: 14px; }

.appointments-state[data-state="error"] { border-color: #f1c7c3; color: #9f2d25; background: #fff7f6; }

.appointments-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.appointment-card { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: 0 8px 24px rgba(23,50,77,.05); }

.appointment-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }

.appointment-card h3 { margin: 0; font-size: 15px; }

.appointment-card p { margin: 8px 0; color: var(--muted); font-size: 13px; line-height: 1.45; }

.status-badge { display: inline-flex; min-height: 26px; align-items: center; padding: 4px 9px; border-radius: 999px; color: #315573; background: #eaf2f8; font-size: 11px; font-weight: 750; white-space: nowrap; }

.status-badge[data-status="completed"] { color: #176b58; background: #e8f5ef; }

.status-badge[data-status="cancelled"], .status-badge[data-status="no-show"] { color: #7a4b4b; background: #f5eeee; }

.appointment-meta { margin: 12px 0; padding-top: 10px; border-top: 1px solid #edf1f5; }

.appointment-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.appointment-actions .button { min-height: 38px; padding: 8px 11px; font-size: 12px; }

.reschedule-form { display: flex; align-items: end; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #edf1f5; }

.reschedule-form label { flex: 1; color: var(--muted); font-size: 11px; font-weight: 700; }

.reschedule-form input { display: block; width: 100%; min-height: 40px; margin-top: 5px; padding: 7px; border: 1px solid #b7c7d6; border-radius: 8px; }

.notice { margin: 0 0 18px; padding: 12px 15px; border: 1px solid #d8e5ee; border-radius: 10px; color: #34566e; background: #f5f9fc; font-size: 13px; line-height: 1.5; }

.notice[data-state="error"] { border-color: #f1c7c3; color: #9f2d25; background: #fff7f6; }

.confirmation { padding: 20px 0 0; }

.confirmation-icon { width: 42px; height: 42px; margin-bottom: 16px; font-size: 20px; }

.confirmation h2 { margin: 0 0 8px; font-size: 24px; }

.confirmation > p:not(.step-label) { color: var(--muted); font-size: 14px; line-height: 1.5; }

.confirmation .reference { color: #667e93; font-size: 11px; }

.confirmation-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }

.review-dialog { width: min(480px, calc(100% - 28px)); padding: 28px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); box-shadow: 0 24px 80px rgba(12, 35, 57, .22); }

.review-dialog::backdrop { background: rgba(13, 34, 54, .48); }

.review-dialog h2 { margin: 0 0 18px; font-size: 23px; }

.dialog-close-form { position: absolute; top: 14px; right: 14px; }

.dialog-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 25px;
}

.review-details { margin: 0 0 14px; }

.review-details > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #edf1f5; font-size: 13px; }

.review-details dt { color: var(--muted); }

.review-details dd { margin: 0; font-weight: 700; text-align: right; }

.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

@media (max-width: 760px) {
  .page-shell { width: min(100% - 28px, 620px); padding: 32px 0 48px; }
  .booking-layout { grid-template-columns: 1fr; gap: 15px; }
  .doctor-panel { order: -1; }
  .doctor-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .appointments-section { margin-top: 32px; }
  .appointments-list { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .page-shell { width: calc(100% - 24px); padding-top: 25px; }
  .page-intro { margin-bottom: 20px; }
  .page-intro > p:last-child { font-size: 14px; }
  .booking-panel { padding: 19px 16px; }
  .doctor-panel { padding: 18px 16px; }
  .panel-heading h2, .section-heading h2 { font-size: 19px; }
  .secure-label { font-size: 10px; }
  .doctor-details { column-gap: 10px; }
  .choice-card { padding: 12px 10px; }
  .confirmation-actions, .dialog-actions { flex-direction: column; }
  .confirmation-actions .button, .dialog-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.appointment-page .booking-layout { gap: 30px; }

.appointment-page .notice {
  margin-bottom: 14px;
  padding: 8px 0 8px 12px;
  border: 0 !important;
  border-left: 2px solid #9aafc1 !important;
  border-radius: 0 !important;
  color: #405d7e;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.appointment-page .notice[data-state="error"] {
  border-left-color: #b42318 !important;
  color: #9f2d25;
}

html body.appointment-page .booking-panel {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, .88) !important;
  border-radius: 20px !important;
  background: var(--appointment-glass) !important;
  box-shadow: var(--appointment-glass-shadow) !important;
  backdrop-filter: saturate(140%) blur(18px) !important;
  -webkit-backdrop-filter: saturate(140%) blur(18px) !important;
}

html body.appointment-page .doctor-panel {
  padding: 8px 0 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.appointment-page .panel-heading { margin-bottom: 20px; }

.appointment-page .field-group { margin-bottom: 18px; }

.appointment-page .account-summary {
  margin-bottom: 16px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.appointment-page .account-avatar {
  width: auto;
  height: auto;
  color: var(--success);
  background: transparent;
  font-size: 16px;
}

.appointment-page input[type="date"],
.appointment-page input[type="time"] {
  min-height: 46px;
  border-radius: 8px;
}

.appointment-page .booking-type {
  margin-bottom: 17px;
  padding: 10px 0;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.appointment-page .booking-type legend { margin-bottom: 4px; }

.appointment-page .choice-card {
  min-height: 54px;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 9px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.appointment-page .choice-card + .choice-card { border-top: 1px solid #edf1f5; }

.appointment-page .choice-card:has(input:checked) {
  background: transparent;
  box-shadow: inset 3px 0 #134074;
}

.appointment-page .choice-card small { margin-top: 2px; }

.appointment-page .availability {
  min-height: 0;
  margin: 0 0 14px;
  padding: 8px 0 8px 12px;
  border: 0;
  border-left: 2px solid #9aafc1;
  border-radius: 0;
  color: #405d7e;
  background: transparent;
}

.appointment-page .availability[data-state="success"] {
  border-color: #176b58;
  color: #176b58;
  background: transparent;
}

.appointment-page .availability[data-state="error"] {
  border-color: #b42318;
  color: #9f2d25;
  background: transparent;
}

.appointment-page .privacy-note { margin-bottom: 14px; }

.appointment-page .doctor-profile img {
  width: 56px;
  height: 56px;
  border: 0;
}

.appointment-page .doctor-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.appointment-page .doctor-details > div {
  padding: 9px 0;
  border-bottom: 1px solid #edf1f5;
}

.appointment-page .availability-disclaimer { margin: 12px 0; }

.appointment-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: -8px 0 16px;
  font-size: 12px;
}
.appointment-policy-links a { color: var(--site-blue, #134074); text-underline-offset: 3px; }
.appointment-page .appointments-section { margin-top: 34px; }

.appointment-page .appointments-state {
  padding: 14px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.appointment-page .appointments-list {
  grid-template-columns: 1fr;
  gap: 0;
}

.appointment-page .appointment-card {
  padding: 16px 2px;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (min-width: 761px) {
  .appointment-page #bookingForm {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
  }

  .appointment-page #bookingForm > :not(.field-group):not(#timeField) {
    grid-column: 1 / -1;
  }

  .appointment-page #bookingForm > .booking-type,
  .appointment-page #bookingForm > #availability,
  .appointment-page #bookingForm > #retryAvailability,
  .appointment-page #bookingForm > .privacy-note,
  .appointment-page #bookingForm > #reviewButton {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .appointment-page .booking-layout { grid-template-columns: 1fr; gap: 20px; }
  .appointment-page .doctor-panel { padding-top: 0; }
}

@media (max-width: 760px) {
  .appointment-page .page-shell { padding-top: 24px; padding-bottom: 42px; }
  .appointment-page .page-intro { margin-bottom: 12px; }
  .appointment-page .doctor-panel { order: 0; }
  .appointment-page .appointments-section { margin-top: 28px; }
}

@media (max-width: 420px) {
  .appointment-page .page-shell { padding-top: 20px; }
  html body.appointment-page .booking-panel { padding: 20px 16px; }
  .appointment-page .doctor-details { column-gap: 14px; }
}

@media (max-width: 768px) {
  .page-intro h1 { font-size: clamp(24px, 7vw, 30px); }

  html body header.docavi-home-header.site-header {
    min-height: 54px !important;
    gap: 8px !important;
    padding: calc(env(safe-area-inset-top, 0px) + 6px) 12px 6px !important;
  }

  html body header.docavi-home-header > .brand-logo { font-size: 19px !important; }
  html body header.docavi-home-header .public-site-nav { display: none !important; }
  html body header.docavi-home-header .mobile-site-menu {
    display: block !important;
    position: relative !important;
    margin-left: auto !important;
  }

  html body header.docavi-home-header .mobile-site-menu summary {
    border: 1px solid rgba(255, 255, 255, .7) !important;
    color: #243447 !important;
    background: rgba(255, 255, 255, .48) !important;
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
  }

  html body header.docavi-home-header > .language-toggle {
    min-width: 36px !important;
    height: 30px !important;
    padding: 0 5px !important;
    font-size: 9px !important;
  }
}

@media (max-width: 600px) {
  html body header.docavi-home-header.site-header {
    min-height: 54px !important;
    gap: 8px !important;
    padding: 6px 12px !important;
  }

  html body header.docavi-home-header > .language-toggle {
    min-width: 32px !important;
    height: 28px !important;
    padding: 0 4px !important;
    font-size: 8px !important;
  }
}
