/* ═══════════════════════════════════════════════════════════
   KyHealth — pages.css
   All page-specific styles, deduplicated.
   Shared global styles are in style.css
═══════════════════════════════════════════════════════════ */

/* ── SHARED — ALL PAGES ── */

/* Mobile nav burger menu — ONE clean copy */

.nav-mob-book { display: none; }

.nav-burger   { display: none; }

.mobile-menu  { display: none; }

@media (max-width: 768px) {
  nav {
    left: 0; transform: none; top: 0; width: 100%; max-width: 100%;
    border-radius: 0; padding: 0 16px; height: 58px;
    display: grid; grid-template-columns: 1fr auto auto;
    align-items: center; gap: 10px;
  }
  .nav-links    { display: none; }
  .nav-right    { display: none; }
  .topbar       { display: none; }
  .nav-mob-book { display: block; padding: 8px 18px; font-size: 13px; justify-self: center; }
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center;
    gap: 5px; width: 38px; height: 38px;
    background: rgba(99,95,255,0.1); border: none; border-radius: 8px;
    cursor: pointer; padding: 8px;
  }
  .nav-burger span { display: block; height: 2px; border-radius: 2px; background: var(--first-color); transition: all 0.25s; }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu {
    display: none; flex-direction: column; position: fixed;
    top: 58px; left: 0; right: 0; background: white; z-index: 99;
    padding: 16px 20px 24px; box-shadow: 0 8px 32px rgba(99,95,255,0.12);
    border-top: 1px solid var(--border-light); gap: 4px;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    font-size: 15px; font-weight: 500; color: var(--text);
    text-decoration: none; padding: 12px 4px;
    border-bottom: 1px solid var(--border-light); transition: color 0.15s;
  }
  .mobile-menu a:hover { color: var(--first-color); }
  .mob-divider { border: none; border-top: 2px solid var(--border-light); margin: 6px 0; }
  .mob-book-full {
    margin-top: 12px; width: 100%; padding: 13px; font-size: 15px;
    border-radius: 12px; display: block; text-align: center; text-decoration: none;
  }
}




/* ── SERVICE PAGES ── */

/* Single-video hero (replaces 4-card ec-grid on service pages) */
.hero-video-single {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  min-height: 420px;
  max-height: 560px;
  background: #1a1a2e;
}
.hero-video-single video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Shared across all 4 service pages */

.service-hero {
  background: var(--forest);
  padding: 56px 5% 60px;
  display: flex;
  gap: 72px;
  align-items: center;
}

.service-hero-left { flex: 0 0 36%; }

.service-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--second-color);
  background: #ffe4ec; padding: 6px 14px; border-radius: 50px; margin-bottom: 18px;
}

.service-hero h2 { font-size: clamp(22px,2.8vw,34px); font-weight: 700; color: var(--text); line-height: 1.25; letter-spacing: -0.4px; margin-bottom: 14px; }

.service-hero p { font-size: 14px; color: var(--text-muted); line-height: 1.75; max-width: 380px; }

.service-hero-right { flex: 1; }

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.coverage-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 500;
  line-height: 1.45;
}

.coverage-item:last-child:nth-child(odd) { grid-column: span 2; }

.coverage-item svg { flex-shrink: 0; color: var(--first-color); margin-top: 1px; }




/* ── SERVICE PAGES — HERO MOBILE LAYOUT ── */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    flex-wrap: wrap;
    padding: 90px 20px 40px;
    gap: 0;
  }

  /* Unwrap hero-left so its children become direct flex items of .hero */
  .hero-left {
    display: contents;
  }

  /* Text block: eyebrow, h1, p */
  .hero-left .eyebrow { order: 1; width: 100%; margin-bottom: 12px; }
  .hero-left h1       { order: 2; width: 100%; font-size: clamp(38px, 10vw, 60px); margin-bottom: 14px; }
  .hero-left p        { order: 3; width: 100%; margin-bottom: 24px; }

  /* Video grid comes after text */
  .ec-grid {
    order: 4;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 8px;
    margin-bottom: 20px;
  }
  .ec-card { height: 200px; }

  /* Single-video hero — stack below text, above buttons */
  .hero-video-single {
    order: 4;
    width: 100%;
    min-height: 260px;
    max-height: 340px;
    border-radius: 16px;
    margin-bottom: 20px;
  }

  /* Buttons come last — after the video grid */
  .hero-btns {
    order: 5;
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .btn-g, .btn-o {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .ec-card  { height: 160px; }
  .ec-title { font-size: 14px; }
  .hero-video-single { min-height: 200px; max-height: 260px; }
}

/* Trust strip */

.page-trust { background: var(--cream); padding: 20px 5%; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }

.page-trust-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; max-width: 900px; margin: 0 auto; }

.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); font-weight: 500; }




/* What to expect */

.expect-section { background: white; padding: 72px 5%; }

.section-head { text-align: center; margin-bottom: 48px; }

.section-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--first-color); margin-bottom: 10px; }

.section-head h2 { font-size: clamp(24px,3.5vw,40px); font-weight: 800; color: var(--text); letter-spacing: -0.8px; line-height: 1.2; }

.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }

.feat-card { background: var(--forest); border-radius: 18px; padding: 28px 24px; border: 1px solid var(--border-light); }

.feat-card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--forest); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }

.feat-card h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }

.feat-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }




/* How it works */

/* .how-section { background: var(--forest); padding: 72px 5%; }

.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; max-width: 900px; margin: 40px auto 0; }

.step-card { text-align: center; padding: 0 16px; }

.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--first-color); color: white; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; margin: 0 auto 16px; }

.step-card h4 { font-size: 15px; font-weight: 700; color: var(--first-color); margin-bottom: 8px; }

.step-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; } */




/* Testimonial */

.testimonial-section { background: white; padding: 72px 5%; }

.testimonial-inner { max-width: 760px; margin: 0 auto; text-align: center; }

.testimonial-stars { font-size: 22px; color: #f59e0b; margin-bottom: 20px; }

.testimonial-quote { font-size: clamp(17px,2.5vw,22px); font-weight: 600; color: var(--text); line-height: 1.5; margin-bottom: 24px; font-style: italic; }

.testimonial-author { display: flex; align-items: center; gap: 12px; justify-content: center; }

.testimonial-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--forest); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; color: var(--first-color); }

.testimonial-name { font-size: 14px; font-weight: 700; color: var(--text); }

.testimonial-loc { font-size: 12px; color: var(--text-muted); }




/* CTA */

.cta-section { background: var(--first-color); padding: 64px 5%; text-align: center; }

.cta-section h2 { font-size: clamp(24px,3.5vw,38px); font-weight: 800; color: white; margin-bottom: 12px; letter-spacing: -0.5px; }

.cta-section p { font-size: 15px; color: rgba(255,255,255,0.75); margin-bottom: 28px; }

.btn-cta-white {
  padding: 15px 36px; background: white; color: var(--first-color);
  border: none; border-radius: 10px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit; text-decoration: none; display: inline-block; transition: transform 0.15s;
}

.btn-cta-white:hover { transform: translateY(-2px); }




/* Service page mobile responsive */

@media (max-width: 768px) {
  .service-hero { flex-direction: column; padding: 40px 5% 48px; gap: 32px; }
  .service-hero-left { flex: none; width: 100%; }
  .service-hero-right { flex: none; width: 100%; }
  .coverage-grid { grid-template-columns: 1fr; }
  .coverage-item:last-child:nth-child(odd) { grid-column: span 1; }
  .features-grid, .steps-grid { grid-template-columns: 1fr; gap: 16px; }
}




/* ── PRE-SCREENING PAGE ── */

body { background: var(--forest); }




/* Screens */

.ps-screen { display: none; padding-top: 80px; padding-bottom: 80px; }

.ps-screen.active { display: block; }




/* Landing */

.ps-landing {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  padding: 60px 24px 60px;
}

.ps-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--second-color);
  background: #ffe4ec; padding: 5px 14px; border-radius: 50px;
  margin-bottom: 20px; display: inline-block;
}

.ps-landing h1 {
  font-size: clamp(32px, 5vw, 56px); font-weight: 800;
  color: var(--first-color); line-height: 1.1; letter-spacing: -1.5px;
  margin-bottom: 18px; max-width: 640px;
}

.ps-landing p {
  font-size: 16px; color: var(--text-muted); line-height: 1.7;
  max-width: 520px; margin-bottom: 32px;
}

.ps-ticks {
  display: flex; gap: 24px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 36px;
}

.ps-tick { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text-mid); }

.ps-tick-dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--first-color); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}

.ps-tick-dot svg { width: 10px; height: 10px; }

.ps-start-btn {
  padding: 16px 40px; background: var(--first-color); color: white;
  border: none; border-radius: 12px; font-size: 16px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: -0.01em;
}

.ps-start-btn:hover { background: #4a47cc; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(99,95,255,0.35); }

.ps-disclaimer { margin-top: 20px; font-size: 11px; color: #9ca3af; max-width: 440px; line-height: 1.6; }




/* Service selector */

.ps-inner { max-width: 860px; margin: 0 auto; padding: 48px 24px; }

.ps-section-head { text-align: center; margin-bottom: 36px; }

.ps-section-head h2 {
  font-size: clamp(22px, 3.5vw, 34px); font-weight: 800;
  color: var(--first-color); letter-spacing: -0.8px;
}

.ps-section-head p { font-size: 14px; color: var(--text-muted); margin-top: 8px; }

.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 32px; }

.svc-card {
  background: white; border-radius: 18px;
  border: 2px solid var(--border); padding: 24px 20px;
  cursor: pointer; transition: all 0.2s;
  display: flex; flex-direction: column; gap: 12px;
}

.svc-card:hover { border-color: var(--first-color); background: #f5f4ff; }

.svc-card.selected { border-color: var(--first-color); background: #efeeff; box-shadow: 0 4px 18px rgba(99,95,255,0.15); }

.svc-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; }

.svc-name { font-size: 16px; font-weight: 700; color: var(--text); }

.svc-card.selected .svc-name { color: var(--first-color); }

.svc-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

.svc-cta { font-size: 12px; font-weight: 700; color: var(--first-color); text-transform: uppercase; letter-spacing: 1px; margin-top: auto; }




/* Questions */

.ps-progress-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }

.ps-progress-label-text { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--first-color); }

.ps-progress-pct { font-size: 11px; font-weight: 600; color: #9ca3af; }

.ps-progress-bar-wrap { background: var(--border-light); border-radius: 4px; height: 5px; margin-bottom: 28px; overflow: hidden; }

.ps-progress-fill { height: 100%; background: var(--first-color); border-radius: 4px; transition: width 0.4s ease; }

.ps-q-card { background: white; border-radius: 18px; padding: 28px 24px; border: 1px solid var(--border-light); margin-bottom: 20px; }

.ps-q-num  { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--first-color); margin-bottom: 8px; }

.ps-q-text { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 20px; line-height: 1.4; }

.ps-q-hint { font-size: 12px; color: #8080a0; font-style: italic; margin-bottom: 20px; margin-top: -12px; }

.ps-opts-list { display: flex; flex-direction: column; gap: 8px; }

.ps-opts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }

.ps-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 10px;
  border: 1.5px solid var(--border); background: white;
  cursor: pointer; transition: all 0.18s; font-family: inherit;
  text-align: left; width: 100%;
}

.ps-opt:hover    { border-color: var(--first-color); background: #f5f4ff; }

.ps-opt.selected { border-color: var(--first-color); background: #efeeff; }

.ps-opt-indicator {
  width: 18px; height: 18px; flex-shrink: 0; border: 2px solid var(--border);
  background: white; display: flex; align-items: center; justify-content: center;
  transition: all 0.18s;
}

.ps-opt.radio    .ps-opt-indicator { border-radius: 50%; }

.ps-opt.checkbox .ps-opt-indicator { border-radius: 5px; }

.ps-opt.selected .ps-opt-indicator { background: var(--first-color); border-color: var(--first-color); }

.ps-opt-inner-dot { width: 7px; height: 7px; border-radius: 50%; background: white; opacity: 0; }

.ps-opt.radio.selected    .ps-opt-inner-dot { opacity: 1; }

.ps-opt-check { width: 10px; height: 10px; opacity: 0; color: white; }

.ps-opt.checkbox.selected .ps-opt-check { opacity: 1; }

.ps-opt-label { font-size: 13px; color: var(--text); line-height: 1.35; }

.ps-opt.selected .ps-opt-label { color: var(--first-color); font-weight: 600; }




/* Number inputs */

.ps-num-row   { display: flex; gap: 14px; }

.ps-num-field { flex: 1; display: flex; flex-direction: column; gap: 6px; }

.ps-num-label { font-size: 12px; font-weight: 600; color: var(--text-muted); }

.ps-num-wrap  { position: relative; display: flex; align-items: center; }

.ps-num-input {
  width: 100%; border: 1.5px solid var(--border); border-radius: 10px;
  padding: 13px 44px 13px 14px; font-size: 18px; font-weight: 600;
  color: var(--text); background: #fafafa; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  -moz-appearance: textfield;
}

.ps-num-input::-webkit-outer-spin-button,
.ps-num-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.ps-num-input:focus { outline: none; border-color: var(--first-color); background: white; box-shadow: 0 0 0 3px rgba(99,95,255,0.09); }

.ps-num-unit { position: absolute; right: 12px; font-size: 12px; font-weight: 600; color: #8080a0; }




/* Nav buttons */

.ps-nav  { display: flex; align-items: center; gap: 12px; margin-top: 8px; }

.ps-back {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 20px; border: 1.5px solid var(--border); background: white;
  border-radius: 10px; font-size: 13px; font-weight: 600; color: #6B6A7A;
  cursor: pointer; font-family: inherit; transition: all 0.18s; white-space: nowrap;
}

.ps-back:hover  { border-color: var(--first-color); color: var(--first-color); }

.ps-back.hidden { display: none; }

.ps-next {
  flex: 1; padding: 13px; background: var(--first-color); color: white;
  border: none; border-radius: 10px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: background 0.2s, transform 0.15s;
}

.ps-next:hover { background: #4a47cc; transform: translateY(-1px); }




/* Result screens */

.ps-result { text-align: center; padding: 60px 24px; }

.ps-result-icon {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 32px;
}

.ps-result h2    { font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--text); margin-bottom: 12px; }

.ps-result p     { font-size: 15px; color: var(--text-muted); max-width: 500px; margin: 0 auto 28px; line-height: 1.7; }

.ps-result-summary {
  background: white; border-radius: 14px; padding: 18px 20px;
  max-width: 440px; margin: 0 auto 28px; border: 1px solid var(--border-light);
  text-align: left;
}

.ps-result-row   { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 4px 0; }

.ps-result-label { color: #6B6A7A; font-weight: 500; }

.ps-result-val   { color: var(--first-color); font-weight: 700; }

.ps-result-btn {
  display: inline-block; padding: 15px 36px; background: var(--first-color); color: white;
  border: none; border-radius: 12px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit; text-decoration: none;
  transition: background 0.2s, transform 0.15s; margin: 6px;
}

.ps-result-btn:hover            { background: #4a47cc; transform: translateY(-2px); }

.ps-result-btn.secondary        { background: white; color: var(--first-color); border: 1.5px solid var(--first-color); }

.ps-result-btn.secondary:hover  { background: #f5f4ff; }

.ps-result-btn.danger           { background: #dc2626; }

.ps-result-btn.danger:hover     { background: #b91c1c; }

.ps-emergency-box {
  background: #fef2f2; border: 1.5px solid #fecaca; border-radius: 14px;
  padding: 18px 20px; max-width: 440px; margin: 0 auto 24px;
  font-size: 14px; color: #991b1b; line-height: 1.6; font-weight: 500;
}

.ps-review-box {
  background: #fffbeb; border: 1.5px solid #fde68a; border-radius: 14px;
  padding: 18px 20px; max-width: 440px; margin: 0 auto 24px;
  font-size: 14px; color: #92400e; line-height: 1.6; font-weight: 500;
}




/* Pre-screening mobile */

@media (max-width: 640px) {
  .svc-grid     { grid-template-columns: 1fr; }
  .ps-opts-grid { grid-template-columns: 1fr; }
  .ps-num-row   { flex-direction: column; }
}




/* ── HOME PAGE ── */

/* index.html specific — the SHARED nav block above covers mobile nav.
   Add home-page-only component styles below if needed. */

/* ── APPOINTMENT PAGE ── */

/* Main content */

.appointment-section {
  background: var(--forest);
  padding-top: 140px;
  padding-bottom: 60px;
  padding-left: 24px;
  padding-right: 24px;
}

.appointment-title { padding: 0 4px; max-width: 1200px; margin: 0 auto; }

.main { flex: 1; display: flex; gap: 0; overflow: visible; max-width: 1200px; margin: 0 auto; }




/* Left panel */

.left-panel {
  flex: 1; display: flex; flex-direction: column; gap: 16px;
  overflow-y: auto; min-width: 0; padding-right: 4px;
}

.left-panel::-webkit-scrollbar       { width: 4px; }

.left-panel::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }




/* Search */

.search-bar {
  background: var(--white); border-radius: 14px; padding: 12px 18px;
  display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--border);
}

.search-bar input { border: none; outline: none; font-size: 14px; color: var(--muted); background: transparent; width: 100%; }

.search-bar svg   { color: var(--muted); flex-shrink: 0; }




/* Section card */

.section-card  { background: var(--white); border-radius: 18px; padding: 20px 22px; border: 1.5px solid var(--border); }

.section-title { font-size: 16px; font-weight: 700; color: var(--first-color); margin-bottom: 14px; }




/* Category chips */

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  display: flex; align-items: center; gap: 6px; padding: 7px 14px;
  border-radius: 30px; font-size: 13px; font-weight: 500;
  background: #f8fafc; border: 1.5px solid var(--border); color: var(--text);
  cursor: pointer; transition: all 0.18s;
}

.chip:hover  { border-color: var(--blue); color: var(--blue); }

.chip.active { background: var(--forest); border-color: var(--first-color); color: var(--first-color); }

.chip .dot   { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.6; }




/* Doctor cards */

.doctors-grid { display: flex; gap: 12px; }

.doctor-card {
  flex: 1; border-radius: 14px; padding: 14px 16px;
  border: 1.5px solid var(--border); cursor: pointer; transition: all 0.2s;
  display: flex; gap: 12px; align-items: center; position: relative;
}

.doctor-card:hover     { border-color: var(--blue); }

.doctor-card.active    { background: var(--blue-light); border-color: var(--blue); }

.doctor-card .menu-btn { position: absolute; top: 12px; right: 12px; color: var(--muted); font-size: 16px; cursor: pointer; }

.doc-avatar {
  width: 52px; height: 52px; border-radius: 12px; background: #e2e8f0;
  overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}

.doc-avatar img         { width: 100%; height: 100%; object-fit: cover; }

.doc-avatar.placeholder { background: linear-gradient(135deg, #dbeafe, #bfdbfe); font-size: 22px; }

.doc-info .name { font-size: 14px; font-weight: 600; color: var(--second-color); }

.doc-info .spec { font-size: 12px; color: var(--muted); margin-bottom: 4px; }

.stars      { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text); font-weight: 500; }

.stars svg  { color: #f59e0b; }




/* Calendar */

.calendar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }

.calendar-nav    { display: flex; gap: 6px; }

.cal-btn {
  width: 30px; height: 30px; border-radius: 8px;
  border: 1.5px solid var(--second-color); background: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--second-color); transition: all 0.15s;
}

.cal-btn:hover  { border-color: var(--blue); color: var(--blue); }

.month-label    { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--second-color); }

.cal-weekdays   { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 6px; }

.cal-weekday    { text-align: center; font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; padding: 4px 0 8px; }

.cal-grid       { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }

.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: 13px; font-weight: 500; color: var(--text);
  cursor: pointer; transition: all 0.18s; position: relative;
}

.cal-day:hover:not(.other-month):not(.unavailable) { background: var(--forest); color: var(--first-color); }

.cal-day.active             { background: var(--first-color); color: white; font-weight: 700; }

.cal-day.today:not(.active) { border: 1.5px solid var(--blue); color: var(--blue); font-weight: 600; }

.cal-day.other-month        { color: #cbd5e1; cursor: default; }

.cal-day.unavailable        { color: #cbd5e1; cursor: default; text-decoration: line-through; }




/* Time slots */

.times-section { margin-top: 16px; }

.times-label   { font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 10px; }

.times-grid    { display: flex; flex-wrap: wrap; gap: 8px; }

.time-slot {
  padding: 7px 14px; border-radius: 10px; border: 1.5px solid var(--border);
  font-size: 12px; font-weight: 500; text-align: center; cursor: pointer;
  color: var(--text); transition: all 0.18s; background: white;
}

.time-slot:hover       { border-color: var(--blue); color: var(--blue); }

.time-slot.active      { background: var(--forest-second); border-color: var(--second-color); color: var(--second-color); font-weight: 600; }

.time-slot.unavailable { color: #cbd5e1; background: #f8fafc; cursor: default; text-decoration: line-through; }




/* Footer bar */

.footer-bar {
  background: var(--white); border-radius: 14px; border: 1.5px solid var(--border);
  padding: 14px 18px; display: flex; align-items: center; justify-content: space-between;
}

.footer-bar .appt-time { font-size: 14px; font-weight: 600; color: var(--text); }

.book-btn {
  background: var(--second-color); color: #ffffff; font-size: 14px; font-weight: 700;
  padding: 10px 28px; border: none; border-radius: 12px; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s; letter-spacing: 0.2px;
}

.book-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px var(--second-color); }




/* Right panel (Doctor detail) */

.right-panel {
  width: 320px; flex-shrink: 0; margin-left: 20px;
  display: flex; flex-direction: column; gap: 14px;
  overflow-y: auto; padding-right: 2px;
}

.right-panel::-webkit-scrollbar { display: none; }

.doc-profile-card {
  background: white; border-radius: 18px; border: 1.5px solid var(--border);
  padding: 24px 20px 20px; display: flex; flex-direction: column;
  align-items: center; text-align: center; position: relative;
}

.close-btn {
  position: absolute; top: 14px; right: 14px;
  width: 26px; height: 26px; border-radius: 8px;
  background: #f1f5f9; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 14px;
}

.profile-avatar-wrap { position: relative; margin-bottom: 12px; }

.profile-avatar {
  width: 90px; height: 90px; border-radius: 20px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 40px;
}

.online-dot {
  position: absolute; top: 6px; right: -4px;
  width: 12px; height: 12px; background: #22c55e;
  border-radius: 50%; border: 2px solid white;
}

.profile-name { font-size: 17px; font-weight: 700; color: var(--first-color); margin-bottom: 3px; }

.profile-spec { font-size: 13px; color: var(--second-color); margin-bottom: 16px; }

.action-btns  { display: flex; gap: 10px; }

.action-btn {
  width: 44px; height: 44px; border-radius: 14px; background: #f1f5f9;
  border: none; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text); transition: all 0.18s;
}

.action-btn:hover { background: var(--blue-light); color: var(--blue); }

.action-btn svg   { width: 18px; height: 18px; }




/* Bio & location cards */

.detail-card           { background: white; border-radius: 16px; border: 1.5px solid var(--border); padding: 16px 18px; }

.detail-card h4        { font-size: 14px; font-weight: 600; color: var(--first-color); margin-bottom: 8px; }

.detail-card p         { font-size: 13px; color: var(--muted); line-height: 1.6; }

.detail-card p .read-more { color: var(--blue); cursor: pointer; font-weight: 500; }

.map-placeholder {
  height: 90px; border-radius: 10px;
  background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
  position: relative; overflow: hidden; margin-top: 10px;
  display: flex; align-items: center; justify-content: center;
}

.map-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 18px, rgba(148,163,184,0.25) 18px, rgba(148,163,184,0.25) 19px),
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(148,163,184,0.25) 18px, rgba(148,163,184,0.25) 19px);
}

.map-address {
  position: absolute; top: 8px; left: 10px; font-size: 10px; color: var(--accent);
  background: rgba(255,255,255,0.85); padding: 3px 8px; border-radius: 20px; font-weight: 500;
}

.map-pin {
  width: 28px; height: 28px; background: var(--blue);
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  box-shadow: 0 4px 12px rgba(59,130,246,0.4); position: relative;
}

.map-pin::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); width: 10px; height: 10px;
  background: white; border-radius: 50%;
}




/* Scrollbar & animations */

.main::-webkit-scrollbar { display: none; }

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

.section-card, .right-panel > * { animation: fadeUp 0.35s ease both; }

.section-card:nth-child(2) { animation-delay: 0.05s; }

.section-card:nth-child(3) { animation-delay: 0.10s; }

.section-card:nth-child(4) { animation-delay: 0.15s; }




/* Category cards */

.cat-intro { font-size: 12px; color: #6B6A7A; margin: -8px 0 16px; line-height: 1.5; }

.cat-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.cat-card {
  display: flex; flex-direction: column; gap: 12px; padding: 16px;
  border-radius: 16px; border: 1.5px solid var(--border); cursor: pointer;
  transition: all 0.2s; position: relative; background: white; user-select: none;
}

.cat-card:hover    { border-color: var(--first-color); background: #f5f4ff; }

.cat-card.selected { border-color: var(--first-color); background: #efeeff; box-shadow: 0 4px 18px rgba(99,95,255,0.14); }

.cat-card-top      { display: flex; align-items: center; gap: 12px; }

.cat-points {
  list-style: none; display: flex; flex-direction: column; gap: 5px;
  padding: 10px 12px; border-radius: 10px;
  background: rgba(99,95,255,0.04); border: 1px solid rgba(99,95,255,0.08); margin: 0;
}

.cat-points li {
  font-size: 11.5px; color: #4a4a6a; line-height: 1.4;
  display: flex; align-items: flex-start; gap: 7px;
}

.cat-points li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--first-color); flex-shrink: 0; margin-top: 5px; opacity: 0.6;
}

.cat-card.selected .cat-points            { background: rgba(99,95,255,0.08); border-color: rgba(99,95,255,0.18); }

.cat-card.selected .cat-points li         { color: #2a2a5a; }

.cat-card.selected .cat-points li::before { opacity: 1; }

.cat-icon-box    { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 22px; }

.cat-icon-female { background: #ffe4ec; }

.cat-icon-weight { background: #e4f5e4; }

.cat-icon-hair   { background: #ede4ff; }

.cat-icon-skin   { background: #fff4e0; }

.cat-card-info   { flex: 1; min-width: 0; }

.cat-card-info .cat-name { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.25; margin-bottom: 2px; }

.cat-card-info .cat-desc { font-size: 11px; color: #6B6A7A; line-height: 1.4; }

.cat-card.selected .cat-name { color: var(--first-color); }

.cat-tick {
  width: 20px; height: 20px; border-radius: 50%; background: var(--first-color); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.5); transition: opacity 0.2s, transform 0.2s;
}

.cat-tick svg              { width: 10px; height: 10px; color: white; }

.cat-card.selected .cat-tick { opacity: 1; transform: scale(1); }




/* Questionnaire panel */

.questionnaire-wrap      { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.35s ease; }

.questionnaire-wrap.open { max-height: 2400px; opacity: 1; }

.questionnaire-body      { margin-top: 20px; border-top: 1.5px solid var(--border-light); padding-top: 18px; }

.q-hdr           { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }

.q-hdr-icon      { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }

.q-hdr-title     { font-size: 14px; font-weight: 700; color: var(--first-color); margin-bottom: 2px; }

.q-hdr-sub       { font-size: 11px; color: #6B6A7A; }

.q-progress      { display: flex; align-items: center; gap: 6px; margin-bottom: 20px; }

.q-progress-bar  { flex: 1; height: 3px; border-radius: 3px; background: var(--border-light); overflow: hidden; }

.q-progress-fill { height: 100%; width: 0%; background: var(--first-color); border-radius: 3px; transition: width 0.4s ease; }

.q-progress-label { font-size: 11px; color: #6B6A7A; white-space: nowrap; font-weight: 500; }

.q-list  { display: flex; flex-direction: column; gap: 14px; }

.q-item  {}

.q-label { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 7px; }

.q-num   { min-width: 22px; height: 22px; border-radius: 50%; background: var(--first-color); color: white; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }

.q-text  { font-size: 13px; color: var(--text); line-height: 1.5; font-weight: 500; }

.q-textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 10px;
  padding: 10px 13px; font-size: 13px; color: var(--text);
  background: #fafafa; resize: vertical; min-height: 60px; max-height: 130px;
  font-family: inherit; line-height: 1.55;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.q-textarea:focus        { outline: none; border-color: var(--first-color); background: white; box-shadow: 0 0 0 3px rgba(99,95,255,0.08); }

.q-textarea::placeholder { color: #b0afbe; }

.q-continue {
  width: 100%; margin-top: 20px; padding: 13px; background: var(--first-color);
  color: white; border: none; border-radius: 12px; font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: inherit; letter-spacing: -0.01em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.q-continue:hover { background: #4a47cc; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(99,95,255,0.3); }

.q-saved-badge         { display: none; align-items: center; justify-content: center; gap: 7px; padding: 10px; margin-top: 12px; border-radius: 10px; background: #e8f5e9; color: #2e7d32; font-size: 13px; font-weight: 600; }

.q-saved-badge.visible { display: flex; }




/* Step wizard */

.wizard-steps { display: flex; align-items: flex-start; margin-bottom: 28px; position: relative; }

.wz-step      { flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; }

.wz-step:not(:last-child)::after {
  content: ''; position: absolute; top: 11px; left: calc(50% + 13px); right: calc(-50% + 13px);
  height: 2px; background: var(--border-light); transition: background 0.3s;
}

.wz-step.done:not(:last-child)::after { background: var(--first-color); }

.wz-dot {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--border-light); background: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: #b0afbe;
  transition: all 0.25s; z-index: 1; position: relative;
}

.wz-step.done   .wz-dot { background: var(--first-color); border-color: var(--first-color); color: white; }

.wz-step.active .wz-dot { border-color: var(--first-color); color: var(--first-color); box-shadow: 0 0 0 4px rgba(99,95,255,0.14); font-weight: 800; }

.wz-dot-label              { font-size: 9px; color: #c0bfd0; margin-top: 5px; text-align: center; font-weight: 500; }

.wz-step.active .wz-dot-label { color: var(--first-color); font-weight: 700; }

.wz-step.done   .wz-dot-label { color: var(--first-color); }

.wizard-question { margin-bottom: 18px; }

.wz-q-num        { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--first-color); margin-bottom: 8px; }

.wz-q-text       { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.45; margin-bottom: 6px; }

.wz-q-hint       { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #8080a0; font-style: italic; }

.opts-grid  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; }

.opts-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 20px; }

.opts-list  { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }

.opt-btn {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px;
  border: 1.5px solid var(--border); background: white; cursor: pointer;
  transition: all 0.18s; text-align: left; font-family: inherit; width: 100%;
}

.opt-btn:hover    { border-color: var(--first-color); background: #f5f4ff; }

.opt-btn.selected { border-color: var(--first-color); background: #efeeff; }

.opt-indicator    { width: 18px; height: 18px; flex-shrink: 0; border: 2px solid var(--border); background: white; display: flex; align-items: center; justify-content: center; transition: all 0.18s; }

.opt-btn.single-opt .opt-indicator          { border-radius: 50%; }

.opt-btn.single-opt.selected .opt-indicator { background: var(--first-color); border-color: var(--first-color); }

.opt-indicator-dot                          { width: 7px; height: 7px; border-radius: 50%; background: white; opacity: 0; transition: opacity 0.18s; }

.opt-btn.single-opt.selected .opt-indicator-dot { opacity: 1; }

.opt-btn.multi-opt .opt-indicator               { border-radius: 5px; }

.opt-btn.multi-opt.selected .opt-indicator      { background: var(--first-color); border-color: var(--first-color); }

.opt-indicator-check                            { width: 10px; height: 10px; opacity: 0; transition: opacity 0.18s; color: white; }

.opt-btn.multi-opt.selected .opt-indicator-check { opacity: 1; }

.opt-label              { font-size: 13px; color: var(--text); line-height: 1.35; }

.opt-btn.selected .opt-label { color: var(--first-color); font-weight: 600; }

.wz-input-wrap { position: relative; display: flex; align-items: center; margin-bottom: 20px; }

.wz-input {
  width: 100%; border: 1.5px solid var(--border); border-radius: 10px;
  padding: 13px 48px 13px 16px; font-size: 20px; font-weight: 600; color: var(--text);
  background: #fafafa; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -moz-appearance: textfield;
}

.wz-input::-webkit-outer-spin-button,
.wz-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.wz-input:focus        { outline: none; border-color: var(--first-color); background: white; box-shadow: 0 0 0 3px rgba(99,95,255,0.08); }

.wz-input::placeholder { color: #c0bfd0; font-weight: 400; font-size: 16px; }

.wz-input-unit         { position: absolute; right: 14px; font-size: 13px; font-weight: 600; color: #8080a0; pointer-events: none; }

.wz-textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 10px; padding: 12px 14px;
  font-size: 13px; color: var(--text); background: #fafafa;
  resize: vertical; min-height: 80px; max-height: 160px;
  font-family: inherit; line-height: 1.55; margin-bottom: 20px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.wz-textarea:focus        { outline: none; border-color: var(--first-color); background: white; box-shadow: 0 0 0 3px rgba(99,95,255,0.08); }

.wz-textarea::placeholder { color: #b0afbe; }

.wizard-nav { display: flex; align-items: center; gap: 10px; padding-top: 18px; border-top: 1px solid var(--border-light); }

.wz-back {
  display: flex; align-items: center; gap: 6px; padding: 11px 20px; border-radius: 10px;
  border: 1.5px solid var(--border); background: white;
  font-size: 13px; font-weight: 600; color: #6B6A7A;
  cursor: pointer; font-family: inherit; transition: all 0.18s; white-space: nowrap;
}

.wz-back:hover  { border-color: var(--first-color); color: var(--first-color); }

.wz-back.hidden { display: none; }

.wz-next {
  flex: 1; padding: 12px 24px; background: var(--first-color);
  color: white; border: none; border-radius: 10px; font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: background 0.2s, transform 0.15s;
  letter-spacing: -0.01em;
}

.wz-next:hover { background: #4a47cc; transform: translateY(-1px); }

.wz-complete   { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 32px 20px; text-align: center; }

.wz-complete-icon     { width: 56px; height: 56px; border-radius: 50%; background: #e8f5e9; display: flex; align-items: center; justify-content: center; }

.wz-complete-icon svg { width: 28px; height: 28px; color: #2e7d32; }

.wz-complete h4       { font-size: 16px; font-weight: 700; color: var(--text); }

.wz-complete p        { font-size: 13px; color: #6B6A7A; max-width: 320px; line-height: 1.5; }

.wz-complete-btn      { padding: 12px 30px; background: var(--first-color); color: white; border: none; border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; margin-top: 4px; }




/* Appointment page mobile responsive */

@media (max-width: 768px) {
  .appointment-section { padding-top: 80px; padding-left: 14px; padding-right: 14px; padding-bottom: 40px; }
  .main         { flex-direction: column; gap: 14px; }
  .right-panel  { width: 100%; margin-left: 0; flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .right-panel > * { flex: 1 1 100%; }
  .cat-grid     { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-card     { padding: 18px 12px 16px; }
  .cat-card-top { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .cat-icon-box { width: 54px; height: 54px; font-size: 26px; border-radius: 14px; }
  .cat-card-info { min-width: 0; }
  .cat-card-info .cat-name { font-size: 14px; font-weight: 700; }
  .cat-card-info .cat-desc { font-size: 11px; white-space: normal; }
  .cat-tick     { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; }
  .section-card { padding: 16px 14px; border-radius: 14px; }
  .wz-dot-label { display: none; }
  .wz-dot       { width: 20px; height: 20px; font-size: 8px; }
  .opts-grid    { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .opts-grid2   { grid-template-columns: 1fr; gap: 6px; }
  .wz-q-text    { font-size: 14px; }
  .wz-q-num     { font-size: 9px; }
  .opt-btn      { padding: 9px 10px; }
  .opt-label    { font-size: 12px; }
  .doctors-grid { flex-direction: column; }
  .left-panel   { overflow-y: visible; }
  .map-placeholder { height: 70px; }
  .wz-input     { font-size: 18px; padding: 12px 44px 12px 14px; }
}

@media (min-width: 480px) and (max-width: 768px) {
  .right-panel .doc-profile-card { flex: 1 1 45%; }
  .right-panel .detail-card      { flex: 1 1 45%; }
}

@media (max-width: 380px) {
  .cat-icon-box { width: 38px; height: 38px; font-size: 18px; }
  .cat-name     { font-size: 12px; }
  .cat-desc     { font-size: 10px; }
  .opts-grid    { grid-template-columns: 1fr; }
}




/* ── BOOKING PAGE ── */

/* Step indicator */

.booking-steps {
  display: flex; align-items: center; gap: 0;
  max-width: 1200px; margin: 0 auto 24px; padding: 0 4px;
}

.bk-step { display: flex; align-items: center; gap: 10px; flex: 1; }

.bk-step:not(:last-child)::after {
  content: ''; flex: 1; height: 2px;
  background: var(--border-light); margin: 0 12px; transition: background 0.3s;
}

.bk-step.done:not(:last-child)::after { background: var(--first-color); }

.bk-step-num {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--border); background: white;
  font-size: 12px; font-weight: 700; color: #b0afbe;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.25s;
}

.bk-step.active .bk-step-num { border-color: var(--first-color); color: var(--first-color); box-shadow: 0 0 0 4px rgba(99,95,255,0.12); }

.bk-step.done   .bk-step-num { background: var(--first-color); border-color: var(--first-color); color: white; }

.bk-step-label  { font-size: 12px; font-weight: 600; color: #b0afbe; white-space: nowrap; }

.bk-step.active .bk-step-label { color: var(--first-color); }

.bk-step.done   .bk-step-label { color: var(--first-color); }




/* Locked section */

.locked-section {
  position: relative; opacity: 0.45;
  pointer-events: none; user-select: none;
}

.locked-section::after {
  content: '\1F512 Select a consultation type first';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: var(--first-color);
  background: rgba(239,238,255,0.55); border-radius: 18px;
  letter-spacing: 0.01em; pointer-events: none;
}




/* Booking modal */

.booking-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,10,30,0.55);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 20px;
}

.booking-modal-overlay.open { display: flex; }

.booking-modal {
  background: white; border-radius: 24px;
  width: 100%; max-width: 580px; max-height: 90vh; overflow-y: auto;
  padding: 32px 32px 28px;
  box-shadow: 0 32px 80px rgba(10,10,30,0.2);
  animation: modalIn 0.28s cubic-bezier(0.34,1.56,0.64,1) both;
  position: relative;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.93) translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.booking-modal::-webkit-scrollbar       { width: 4px; }

.booking-modal::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.bm-close {
  position: absolute; top: 18px; right: 18px;
  width: 32px; height: 32px; border-radius: 8px;
  background: #f1f5f9; border: none; cursor: pointer;
  color: #64748b; transition: background 0.15s;
  display: flex; align-items: center; justify-content: center;
}

.bm-close:hover { background: #e2e8f0; }

.bm-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.bm-header-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--forest); display: flex;
  align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0;
}

.bm-title    { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 2px; }

.bm-sub      { font-size: 12px; color: #6B6A7A; }

.bm-row      { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.bm-field    { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }

.bm-label    { font-size: 13px; font-weight: 600; color: var(--text); }

.bm-req      { color: var(--second-color); }

.bm-optional { font-weight: 400; color: #9ca3af; font-size: 12px; }

.bm-input, .bm-textarea {
  border: 1.5px solid var(--border); border-radius: 10px;
  padding: 11px 14px; font-size: 14px; color: var(--text);
  background: #fafafa; font-family: inherit; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.bm-input:focus, .bm-textarea:focus {
  outline: none; border-color: var(--first-color);
  background: white; box-shadow: 0 0 0 3px rgba(99,95,255,0.09);
}

.bm-input::placeholder, .bm-textarea::placeholder { color: #b0afbe; }

.bm-textarea    { resize: vertical; min-height: 80px; }

.bm-check-row   { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }

.bm-check       { width: 16px; height: 16px; accent-color: var(--first-color); flex-shrink: 0; margin-top: 2px; cursor: pointer; }

.bm-check-label { font-size: 13px; color: #6B6A7A; line-height: 1.5; }

.bm-link        { color: var(--first-color); text-decoration: none; font-weight: 500; }

.bm-link:hover  { text-decoration: underline; }

.bm-submit {
  width: 100%; padding: 14px; background: var(--first-color);
  color: white; border: none; border-radius: 12px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  font-family: inherit; transition: background 0.2s, transform 0.15s;
}

.bm-submit:hover { background: #4a47cc; transform: translateY(-1px); }




/* Confirmation */

.bm-confirm {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 12px 0 8px; gap: 14px;
}

.bm-confirm-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: #e8f5e9; display: flex; align-items: center; justify-content: center;
}

.bm-confirm-icon svg { width: 32px; height: 32px; color: #22a857; }

.bm-confirm h3       { font-size: 20px; font-weight: 800; color: var(--text); margin: 0; }

.bm-confirm > p      { font-size: 14px; color: #6B6A7A; max-width: 380px; line-height: 1.6; margin: 0; }

.bm-confirm-summary  { width: 100%; background: var(--forest); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }

.bm-summary-row      { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }

.bm-summary-label    { color: #6B6A7A; font-weight: 500; }

.bm-summary-val      { color: var(--first-color); font-weight: 700; }

.bm-confirm-note     { font-size: 12px; color: #9ca3af; max-width: 340px; line-height: 1.6; margin: 0; }

.bm-done-btn {
  padding: 13px 40px; background: var(--first-color); color: white;
  border: none; border-radius: 12px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit;
}




/* Booking modal mobile */

@media (max-width: 600px) {
  .booking-modal { padding: 24px 18px 20px; border-radius: 18px; }
  .bm-row        { grid-template-columns: 1fr; gap: 0; }
}