/* Giridhar Eye Institute — e-Consultation portal
   Theme aligned to giridhareye.org: GEI teal + dark slate, clean sans-serif. */

:root {
  --teal:      #0b9a9e;
  --teal-deep: #077a7d;
  --teal-soft: #e4f4f4;
  --grad-from: #0a7a80;
  --grad-to:   #0e2630;
  --ink:       #16303c;   /* headings / dark slate */
  --ink-deep:  #0e2630;   /* footer / staff header */
  --text:      #2c3e48;
  --muted:     #61737d;
  --line:      #e2e9ec;
  --bg:        #f6f9fa;
  --card:      #ffffff;
  --danger:    #c0392b;
  --radius:    12px;
  --shadow:    0 8px 26px rgba(16, 48, 60, .07);
  --maxw:      1100px;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--teal-deep); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; color: var(--ink); line-height: 1.18; margin: 0; letter-spacing: -.01em; }
.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700; color: var(--teal); margin: 0 0 10px; }
.eyebrow.center, .section-title.center { text-align: center; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { height: 42px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.site-nav a.active, .site-nav a:hover { color: var(--teal); }
.nav-cta { background: var(--teal); color: #fff !important; padding: 10px 20px; border-radius: 999px; font-size: .9rem; }
.nav-cta:hover { background: var(--teal-deep); }

/* ---------- buttons ---------- */
.btn { display: inline-block; border: none; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: .96rem; text-decoration: none; padding: 11px 24px; border-radius: 999px; transition: transform .08s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); }
.btn-lg { padding: 14px 32px; font-size: 1.02rem; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-ghost { background: #fff; color: var(--teal-deep); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--teal); }
.btn-sm { padding: 7px 14px; font-size: .85rem; }

/* ---------- hero ---------- */
/* Full-width image banner strip (Option C). Falls back to a gradient if no photo. */
.hero-banner-img {
  width: 100%;
  height: clamp(220px, 34vw, 420px);
  background: url('/img/hero.jpg') center/cover no-repeat, linear-gradient(120deg, var(--grad-from) 0%, var(--grad-to) 100%);
  background-color: var(--grad-to);
}
/* Text intro below the banner, on clean background */
.hero { padding: 48px 0 40px; }
.hero-copy h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -.01em; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 34em; margin: 16px 0 26px; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero-points li { position: relative; padding-left: 28px; color: var(--text); font-weight: 600; }
.hero-points li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; background: var(--teal-soft); color: var(--teal-deep); border-radius: 50%; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }

.hero-aside { display: grid; place-items: center; }
.iris { position: relative; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #fff 0 6%, var(--teal) 7% 16%, var(--ink) 17% 100%); box-shadow: var(--shadow); display: grid; place-items: center; overflow: hidden; }
.iris::after { content: ""; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.10) 0deg 6deg, transparent 6deg 12deg); }
.iris-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); }
.iris-ring:nth-child(1) { inset: 28px; } .iris-ring:nth-child(2) { inset: 62px; }
.iris-pupil { width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle at 38% 35%, #14333a 0 60%, #06181d 100%); box-shadow: 0 0 28px rgba(0,0,0,.4); position: relative; }
.iris-pupil::after { content: ""; position: absolute; top: 15px; left: 19px; width: 15px; height: 15px; border-radius: 50%; background: rgba(255,255,255,.85); filter: blur(1px); }

/* ---------- sections ---------- */
.section { padding: 60px 0; }
.section-tight { padding: 42px 0 68px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 6px; }
.empty, .notice { background: var(--teal-soft); color: var(--ink); padding: 15px 18px; border-radius: var(--radius); margin: 18px 0; }
.notice code { background: rgba(11,154,158,.12); padding: 1px 6px; border-radius: 5px; }

/* ---------- doctor list (no cards) ---------- */
.doctor-list { margin-top: 30px; max-width: 760px; margin-left: auto; margin-right: auto; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.doctor-row { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.doctor-row:last-child { border-bottom: none; }
.doctor-avatar { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: #fff; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; display: grid; place-items: center; }
.doctor-meta { flex: 1; min-width: 0; }
.doctor-meta h3 { font-size: 1.12rem; }
.doctor-meta .dept { color: var(--teal-deep); font-weight: 600; font-size: .9rem; margin-top: 2px; }
.doctor-meta .qual { color: var(--muted); font-size: .85rem; margin-top: 1px; }
.doctor-row .btn { flex: 0 0 auto; }

/* ---------- booking ---------- */
.booking-wrap, .form-wrap { max-width: 680px; }
.back-link { display: inline-block; color: var(--muted); text-decoration: none; font-size: .9rem; margin-bottom: 14px; }
.back-link:hover { color: var(--teal); }
.field-label { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 30px 0 12px; font-weight: 700; }
.date-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.date-chip { flex: 0 0 auto; width: 64px; text-align: center; text-decoration: none; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 0; display: grid; gap: 2px; }
.date-chip.active { background: var(--teal); color: #fff; border-color: var(--teal); }
.dc-day { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.dc-num { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.dc-mon { font-size: .7rem; opacity: .85; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px; }
.slot { text-align: center; text-decoration: none; color: var(--teal-deep); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 6px; font-weight: 600; font-size: .95rem; cursor: pointer; transition: border-color .12s, background .12s; }
.slot:hover { border-color: var(--teal); background: var(--teal-soft); }

/* ---------- forms ---------- */
.summary-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 10px; margin: 18px 0 26px; box-shadow: var(--shadow); }
.summary-card > div { display: flex; justify-content: space-between; gap: 16px; font-size: .98rem; }
.summary-card .muted { font-weight: 500; }
.summary-total { border-top: 1px solid var(--line); padding-top: 10px; font-size: 1.1rem; }
.summary-total strong, .fee { color: var(--teal-deep); }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > span { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field > span small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fee-field { background: var(--teal-soft); border: 1px solid var(--teal); border-radius: 10px; padding: 14px 16px; display: flex; align-items: baseline; justify-content: space-between; }
.fee-field .amt { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--teal-deep); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); line-height: 1.5; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--teal); }
.form-error { color: var(--danger); font-size: .85rem; font-style: normal; }
.form-error.block { background: #fcebea; padding: 12px 16px; border-radius: 10px; }
.center-card { text-align: center; }
.center-card .summary-card { text-align: left; }
.secure-note { color: var(--muted); font-size: .88rem; margin-top: 12px; }
.tick { width: 62px; height: 62px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-deep); display: grid; place-items: center; font-size: 1.8rem; margin: 0 auto 18px; }

/* segmented (Indian/Foreign) */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg-opt { position: relative; }
.seg-opt input { position: absolute; opacity: 0; }
.seg-opt span { display: block; text-align: center; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 600; font-size: .92rem; cursor: pointer; }
.seg-opt input:checked + span { border-color: var(--teal); background: var(--teal); color: #fff; }

/* ---------- prose / content ---------- */
.prose { max-width: 720px; }
.prose h1 { font-size: 2rem; margin-bottom: 16px; }
.prose h3 { font-size: 1.18rem; margin: 26px 0 6px; }
.prose p { color: var(--text); }
.prose code { background: rgba(11,154,158,.1); padding: 1px 6px; border-radius: 5px; }

/* ---------- staff area ---------- */
.staff-header { position: sticky; top: 0; z-index: 20; background: var(--ink-deep); border-bottom: 1px solid rgba(255,255,255,.08); }
.staff-header .brand-logo { height: 34px; background: #fff; padding: 5px 8px; border-radius: 6px; }
.staff-header .site-nav a { color: #cfdde2; }
.staff-header .site-nav a.active, .staff-header .site-nav a:hover { color: #fff; }
.staff-header .who { color: #8aa2ab; font-size: .85rem; }

.login-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(1200px 600px at 50% -10%, var(--teal) 0, var(--bg) 55%); }
.login-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 36px 32px; width: 100%; max-width: 380px; text-align: center; }
.login-card .brand-logo { height: 46px; margin: 0 auto 10px; display: block; }
.login-card h1 { font-size: 1.5rem; margin: 6px 0 2px; }
.login-card .form { margin-top: 22px; text-align: left; }

.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nowrap { white-space: nowrap; }
.small { font-size: .85rem; }
.action-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 22px; }
.action-row form { display: flex; gap: 8px; align-items: center; }
.action-row input { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }

.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.pill-confirmed { background: var(--teal-soft); color: var(--teal-deep); }
.pill-paid { background: #eaf1fb; color: #2f6fd0; }
.pill-pending { background: #fdf3e3; color: #c9962f; }
.pill-cancelled { background: #fcebea; color: var(--danger); }
.row-muted { opacity: .55; }

.admin-filter { display: flex; gap: 12px; align-items: flex-end; margin: 16px 0; flex-wrap: wrap; }
.admin-filter label { display: inline-flex; flex-direction: column; gap: 4px; font-size: .82rem; color: var(--muted); }
.admin-filter input, .admin-filter select { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.table-scroll { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.admin-table th, .admin-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: middle; line-height: 1.45; }
.admin-table th { background: var(--ink); color: #fff; font-family: var(--font-body); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; padding-top: 14px; padding-bottom: 14px; }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: color-mix(in srgb, var(--teal-soft) 45%, transparent); }
.admin-table td small.muted { font-size: .82rem; }

.manage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-top: 22px; }
.manage-tile { display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: border-color .12s; }
.manage-tile:hover { border-color: var(--teal); }
.manage-tile h3 { font-size: 1.2rem; margin-bottom: 6px; }
.manage-tile p { color: var(--muted); font-size: .92rem; margin: 0; }

.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.inline-form input { padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; font: inherit; }
.inline-form input[name="name"], .inline-form input[name="description"], .inline-form input[name="note"] { flex: 1; min-width: 150px; }

.sched-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 18px; }
.sched-day { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; box-shadow: var(--shadow); }
.sched-day h3 { font-size: 1rem; margin-bottom: 10px; }
.slot-list { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; }
.slot-list li { display: flex; align-items: center; justify-content: space-between; background: var(--teal-soft); color: var(--ink); border-radius: 7px; padding: 5px 6px 5px 10px; font-weight: 600; font-size: .9rem; }
.add-slot { display: flex; gap: 6px; }
.add-slot input { flex: 1; min-width: 0; padding: 7px 8px; border: 1px solid var(--line); border-radius: 7px; font: inherit; font-size: .85rem; }
.timeoff-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; max-width: 520px; }
.timeoff-list li { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; font-size: .92rem; }
.timeoff-list li form { margin-left: auto; }
.x { border: none; background: transparent; color: var(--danger); font-size: 1.15rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.x:hover { color: #8e211a; }

/* ---------- footer ---------- */
.site-footer { background: linear-gradient(160deg, var(--grad-from) 0%, var(--grad-to) 100%); color: #c6d4d9; margin-top: 56px; border-top: 4px solid var(--teal); }
.footer-inner { display: grid; grid-template-columns: 1.7fr 1fr 1.2fr 1.2fr; gap: 36px; padding: 52px 20px 36px; }
.footer-logo { height: 42px; width: auto; margin-bottom: 14px; display: block; background: #fff; padding: 8px 10px; border-radius: 8px; }
.footer-tagline { font-size: .92rem; line-height: 1.6; color: #adc0c7; margin: 0 0 18px; max-width: 34ch; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.12); color: #eaf3f5; display: inline-flex; align-items: center; justify-content: center; line-height: 0; transition: background .15s, color .15s, transform .1s; }
.footer-social a:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.footer-social a svg { display: block; }
.footer-col h4 { color: #fff; font-family: var(--font-display); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.footer-col a { display: block; color: #c6d4d9; text-decoration: none; font-size: .92rem; margin: 9px 0; transition: color .12s; }
.footer-col a:hover { color: var(--teal); }
.footer-addr { margin: 7px 0; font-size: .92rem; color: #c6d4d9; }
.footer-addr a { color: #c6d4d9; text-decoration: none; }
.footer-addr a:hover { color: var(--teal); }
.footer-base-wrap { border-top: 1px solid rgba(255,255,255,.1); }
.footer-base { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; font-size: .82rem; color: #7e969e; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-aside { order: -1; }
  .iris { width: 170px; height: 170px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-nav { gap: 14px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 20px; }
  .doctor-row { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* ---------- single-page booking flow ---------- */
.step { margin-top: 34px; }
.step-title { display: flex; align-items: center; gap: 10px; font-size: 1.18rem; margin-bottom: 16px; }
.step-n { width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff; display: inline-grid; place-items: center; font-size: .9rem; font-weight: 700; flex: 0 0 auto; }

.cal { max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.cal-nav { width: 36px; height: 36px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; font-size: 1.3rem; color: var(--teal-deep); line-height: 1; }
.cal-nav:disabled { opacity: .3; cursor: not-allowed; }
.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-bottom: 6px; }
.cal-dow span { text-align: center; font-size: .68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-day { aspect-ratio: 1 / 1; min-height: 40px; border: none; background: transparent; border-radius: 9px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.cal-day.blank { visibility: hidden; }
.cal-day.disabled { color: #c4ced4; cursor: default; }
.cal-day.open { background: var(--teal-soft); color: var(--teal-deep); }
.cal-day.open:hover { background: var(--teal); color: #fff; }
.cal-day.selected { background: var(--teal); color: #fff; }
.cal-hint { font-size: .78rem; color: var(--muted); margin: 12px 0 0; }
.slot.sel { background: var(--teal); color: #fff; border-color: var(--teal); }

.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.how-step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.how-n { width: 40px; height: 40px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-deep); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; margin-bottom: 14px; }
.how-step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.how-step p { color: var(--muted); font-size: .95rem; margin: 0; }

@media (max-width: 720px) { .how-grid { grid-template-columns: 1fr; } }

/* ---------- doctor portal ---------- */
.consult-list { display: grid; gap: 10px; margin-bottom: 8px; }
.consult-row { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); flex-wrap: wrap; }
.consult-when { flex: 0 0 auto; min-width: 92px; display: grid; }
.consult-when .muted { font-size: .85rem; }
.consult-meta { flex: 1; min-width: 160px; display: grid; gap: 2px; }
.consult-meta .muted { font-size: .88rem; }
.consult-actions { flex: 0 0 auto; display: flex; gap: 8px; }
@media (max-width: 560px) { .consult-actions { width: 100%; } .consult-actions .btn { flex: 1; text-align: center; } }

/* ---------- booking wizard ---------- */
.wizard-steps { list-style: none; display: flex; padding: 0; margin: 0 0 30px; }
.wizard-steps li { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--muted); font-size: .82rem; font-weight: 600; }
.wizard-steps li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.wizard-steps li:first-child::before { display: none; }
.wizard-steps li .ws-n { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid var(--line); color: var(--muted); display: grid; place-items: center; font-size: .85rem; transition: background .2s, border-color .2s, color .2s; }
.wizard-steps li.active { color: var(--text); }
.wizard-steps li.active .ws-n { background: var(--teal); border-color: var(--teal); color: #fff; }
.wizard-steps li.done { color: var(--text); }
.wizard-steps li.done .ws-n { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.wizard-steps li.done::before, .wizard-steps li.active::before { background: var(--teal); }
.wizard-steps li.clickable { cursor: pointer; }
.wizard-panel { animation: wizfade .25s ease; }
@keyframes wizfade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wiz-nav { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.wiz-nav .btn-primary { margin-left: auto; }
@media (max-width: 560px) {
  .wizard-steps li { font-size: .7rem; }
  .wizard-steps li .ws-l { line-height: 1.2; }
}

/* ---------- appearance preview ---------- */
input[type="color"] { width: 100%; height: 46px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.theme-preview { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tp-banner { height: 90px; display: grid; place-items: center; color: #fff; font-weight: 700; letter-spacing: .02em; }
.tp-row { display: flex; align-items: center; gap: 16px; padding: 16px; flex-wrap: wrap; }
.tp-chip { padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem; }

/* pending booking row highlight (awaiting payment) */
.row-pending { background: #fffaf0; }
.pill-failed { background: #fcebea; color: var(--danger); }

/* ---------- bookings search ---------- */
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-search { display: flex; gap: 10px; margin: 0 0 18px; flex-wrap: wrap; }
.admin-search input[type="search"] { flex: 1; min-width: 220px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }

/* ---------- user management ---------- */
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.linkbtn { background: none; border: 0; color: var(--teal-deep); font: inherit; font-weight: 600; cursor: pointer; padding: 0; }
.linkbtn:hover { text-decoration: underline; }
.nowrap { white-space: nowrap; }
.pw-inline { display: inline-flex; gap: 6px; margin-top: 6px; }
.pw-inline input { padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.pill-cancelled { background: #fbe4e4; color: #a12b2b; }

/* ---------- bookings range presets ---------- */
.range-presets { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.range-presets .chip { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--teal-deep); font-weight: 600; font-size: .88rem; text-decoration: none; transition: background .15s, border-color .15s; }
.range-presets .chip:hover { background: var(--teal-soft); border-color: var(--teal); }

/* ---------- self-service + danger actions ---------- */
.narrow-wrap { max-width: 560px; }
.lede-dark { font-size: 1.08rem; color: var(--text); margin: 12px 0 24px; }
.btn-danger { background: #c0392b; color: #fff; }
.btn-danger:hover { background: #a93226; }
.danger-box { border: 1px solid #f0d0cc; background: #fdf6f5; border-radius: 14px; padding: 18px 20px; margin-top: 20px; }
.danger-box .field-label { margin-top: 0; }
.danger-box form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.danger-box input { padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.ss-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
.ss-card.ok { border-color: #bfe6cf; background: #f4fbf6; }
.ss-card.warn { border-color: #f3e2b8; background: #fdf9ee; }

/* ---------- form spacing polish + button group ---------- */
.wizard-panel .field { margin-bottom: 18px; }
.wizard-panel .field-row { margin-bottom: 18px; }
.wizard-panel .field-row .field { margin-bottom: 0; }
.wizard-panel .seg { margin-top: 6px; }
.wizard-panel .fee-field { margin: 20px 0; }
.wizard-panel .consent { margin-top: 8px; display: flex; gap: 10px; align-items: flex-start; }
.btn-group { display: flex; gap: 10px; flex-wrap: wrap; }

/* Ensure the hidden attribute always wins over display rules (e.g. .field grid). */
[hidden] { display: none !important; }

.info-callout { text-align: left; background: #f0f9fa; border: 1px solid #bfe4e6; border-left: 4px solid var(--teal); border-radius: 12px; padding: 18px 20px; margin: 22px 0; }
.info-callout .ic-item + .ic-item { margin-top: 14px; padding-top: 14px; border-top: 1px solid #d6ecee; }
.info-callout h4 { margin: 0 0 4px; font-size: .95rem; color: var(--teal-deep); }
.info-callout p { margin: 0; font-size: .9rem; color: var(--text); line-height: 1.5; }
