/* Public booking journey v1. Scoped to preserve the staff workspace. */
.booking-page {
    --booking-primary:#08759b; --booking-primary-hover:#075f7d; --booking-ink:#182c3a;
    --booking-muted:#526575; --booking-border:#dce5eb; --booking-soft:#edf6fa;
    --booking-error:#a72732; --booking-radius:20px; --booking-space:24px;
    background:#f3f6f8; color:var(--booking-ink); font-size:16px; line-height:1.65;
}
.booking-page *, .booking-page *::before, .booking-page *::after { box-sizing:border-box; }
.booking-page [hidden] { display:none !important; }
.booking-page .public-language { position:static; max-width:1040px; margin:0 auto; padding:20px 24px 0; display:flex; justify-content:flex-end; }
.booking-shell { max-width:1040px; margin:24px auto 64px; padding:0 24px; }
.booking-brand { display:flex; align-items:center; gap:18px; margin-bottom:28px; }
.booking-brand img { width:64px; height:64px; flex-shrink:0; border-radius:20px; object-fit:cover; border:3px solid #fff; }
.booking-page .booking-eyebrow { margin:0 0 4px; color:var(--booking-primary); font-size:13px; font-weight:700; }
.booking-brand h1 { margin:0; font-size:26px; line-height:1.4; letter-spacing:-.4px; }
.booking-brand p:last-child { margin:5px 0 0; font-size:14px; color:var(--booking-muted); }
.booking-layout { display:grid; grid-template-columns:240px minmax(0,1fr); gap:28px; align-items:start; }
.booking-guide { padding-top:20px; }
.booking-timeline { list-style:none; margin:20px 0 24px; padding:0; }
.booking-timeline li { position:relative; padding-bottom:16px; }
.booking-timeline li:not(:last-child)::after { content:""; position:absolute; inset-inline-start:18px; top:42px; bottom:0; width:2px; background:var(--booking-border); }
.booking-timeline button { border:0; background:transparent; color:var(--booking-muted); display:flex; align-items:center; gap:12px; width:100%; min-height:44px; padding:2px 0; font:inherit; font-size:14px; text-align:start; border-radius:8px; cursor:pointer; }
.booking-timeline button:disabled { cursor:default; opacity:1; }
.booking-step-number { width:38px; height:38px; display:grid; place-items:center; flex-shrink:0; border:1px solid #bccbd5; border-radius:50%; background:#fff; font-weight:700; }
.booking-timeline [aria-current="step"] { color:var(--booking-primary); font-weight:700; }
.booking-timeline [aria-current="step"] .booking-step-number { color:#fff; background:var(--booking-primary); border-color:var(--booking-primary); box-shadow:0 0 0 4px #dceef5; }
.booking-timeline .is-complete .booking-step-number { background:var(--booking-soft); border-color:var(--booking-primary); color:var(--booking-primary); }
.booking-step-check { display:none; color:var(--booking-primary); margin-inline-start:auto; padding-inline-end:8px; }
.booking-timeline .is-complete .booking-step-check { display:inline; }
.booking-guide-note { color:var(--booking-muted); font-size:13px; border-top:1px solid var(--booking-border); padding-top:18px; margin:0; }
.booking-card { border:1px solid var(--booking-border); border-radius:var(--booking-radius); background:#fff; padding:32px; box-shadow:0 8px 32px #182c3a05; min-width:0; }
.booking-progress { font-size:12px; color:var(--booking-primary); font-weight:700; margin:0 0 10px; }
.booking-step h2 { font-size:22px; line-height:1.5; margin:0 0 6px; outline:none; }
.booking-description { margin:0 0 24px; color:var(--booking-muted); font-size:14px; }
.booking-required-note { color:var(--booking-muted); font-size:12px; margin:0 0 16px; }
.booking-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 16px; margin-bottom:20px; }
#booking-step-0 .booking-fields { grid-template-columns:1fr; }
.booking-page .form-group { margin:0; min-width:0; }
.booking-page .label { display:block; font-size:14px; font-weight:600; margin:0 0 8px; color:var(--booking-ink); }
.booking-page .required::after { color:var(--booking-error); }
.booking-page .input,.booking-page .select,.booking-page .textarea { width:100%; min-width:0; min-height:48px; border:1px solid #bdcbd5; border-radius:10px; background:#fff; color:var(--booking-ink); padding:11px 12px; font:inherit; font-size:16px; line-height:1.5; box-shadow:none; }
.booking-page .select { padding-inline-end:30px; }
.booking-page .textarea { resize:vertical; min-height:104px; }
.booking-page input[type="date"],.booking-page input[type="time"] { appearance:none; -webkit-appearance:none; }
.booking-page input::-webkit-date-and-time-value { text-align:start; }
.booking-page :is(input,select,textarea)[aria-invalid="true"] { border-color:var(--booking-error); background:#fffafb; }
.booking-page :is(button,a,input,select,textarea):focus-visible { outline:3px solid var(--booking-primary); outline-offset:3px; }
.booking-field-error { margin:6px 0 0; color:var(--booking-error); font-size:13px; }
.booking-optional { font-size:12px; color:var(--booking-muted); font-weight:400; }
.booking-actions { display:flex; align-items:center; gap:12px; border-top:1px solid var(--booking-border); margin-top:28px; padding-top:20px; }
.booking-page .btn { min-width:0; white-space:normal; line-height:1.5; text-align:center; font-size:15px; min-height:48px; border-radius:10px; padding:11px 22px; display:inline-flex; align-items:center; justify-content:center; gap:12px; font-weight:600; }
.booking-page .btn-primary { background:var(--booking-primary); color:#fff; border:1px solid var(--booking-primary); }
.booking-page .btn-primary:hover { background:var(--booking-primary-hover); }
.booking-page .btn:disabled { cursor:wait; opacity:.65; }
.booking-next,.booking-submit { margin-inline-start:auto; }
.booking-back { color:var(--booking-ink); border:1px solid #bdcbd5; background:#fff; }
html[dir="ltr"] .booking-next span { transform:rotate(180deg); }
.booking-final-note { color:var(--booking-muted); font-size:12px; text-align:center; margin:14px 0 0; }
.booking-review-group { padding:16px; background:#f6f9fb; border:1px solid var(--booking-border); border-radius:12px; margin-bottom:12px; }
.booking-review-title { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:6px; }
.booking-review-title h3 { font-size:14px; margin:0; }
.booking-edit { color:var(--booking-primary); background:transparent; border:0; min-height:44px; min-width:44px; padding:8px; font:inherit; font-size:13px; text-decoration:underline; cursor:pointer; border-radius:6px; }
.booking-review dl { margin:0; }
.booking-review dl>div { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:12px; padding:5px 0; font-size:13px; }
.booking-review dt { color:var(--booking-muted); }
.booking-review dd { margin:0; font-weight:600; overflow-wrap:anywhere; white-space:pre-wrap; text-align:start; }
.booking-consent { display:flex; align-items:flex-start; gap:12px; font-size:14px; line-height:1.8; margin:20px 0 8px; cursor:pointer; }
.booking-consent input { width:20px; height:20px; flex:0 0 20px; margin:4px 0 0; accent-color:var(--booking-primary); }
.booking-consent-optional { font-size:12px; color:var(--booking-muted); }
.booking-error-summary { background:#fff3f3; color:var(--booking-error); padding:16px; border:1px solid #ecc1c5; border-radius:12px; margin-bottom:24px; font-size:14px; }
.booking-error-summary ul { padding-inline-start:20px; margin-bottom:0; }
.booking-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.booking-page:not(.booking-enhanced) .booking-step + .booking-step { margin-top:32px; border-top:1px solid var(--booking-border); padding-top:24px; }
.booking-page #booking-form-security-error { max-width:992px; margin:12px auto; padding:12px 24px; color:var(--booking-error); }
@media(max-width:760px) {
 .booking-page .public-language { padding:12px 16px 0; }
 .booking-shell { padding:0 16px; margin:16px auto 32px; }
 .booking-brand { gap:12px; margin-bottom:20px; align-items:flex-start; }
 .booking-brand img { width:52px; height:52px; border-radius:16px; }
 .booking-brand h1 { font-size:22px; }
 .booking-brand p:last-child { font-size:13px; }
 .booking-layout { display:block; }
 .booking-guide { padding:0; margin-bottom:20px; }
 .booking-guide>.booking-eyebrow,.booking-guide-note { display:none; }
 .booking-timeline { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin:0; gap:4px; }
 .booking-timeline li { padding:0; min-width:0; }
 .booking-timeline li:not(:last-child)::after { top:20px; inset-inline-start:calc(50% + 22px); width:calc(100% - 40px); height:2px; bottom:auto; }
 .booking-timeline button { flex-direction:column; text-align:center; gap:8px; font-size:12px; line-height:1.5; min-height:82px; padding:2px 0 0; }
 .booking-step-check { display:none !important; }
 .booking-card { padding:24px; border-radius:16px; }
 .booking-step h2 { font-size:20px; }
 .booking-description { margin-bottom:20px; }
}
@media(max-width:480px) {
 .booking-card { padding:20px 16px; }
 .booking-fields { grid-template-columns:1fr; gap:18px; }
 .booking-actions { gap:10px; }
 .booking-page .btn { padding:11px 16px; }
 .booking-next,.booking-submit { flex:1; }
 .booking-review-group { padding:12px; }
 .booking-review dl>div { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:8px; }
}
@media(prefers-reduced-motion:reduce) { .booking-page * { scroll-behavior:auto !important; transition:none !important; } }

/* Booking receipt: pending clinic confirmation, with an optional assistance link. */
.booking-success-shell { max-width:760px; }
.booking-success-page .booking-brand-title { margin:0; font-size:20px; font-weight:700; color:var(--booking-ink); }
.booking-success-card { text-align:center; padding:36px; }
.booking-success-symbol { display:grid; place-items:center; width:64px; height:64px; margin:0 auto 16px; border-radius:50%; color:var(--booking-primary); background:var(--booking-soft); }
.booking-success-symbol svg { width:34px; height:34px; }
.booking-success-card h1 { font-size:26px; line-height:1.5; margin:0 0 10px; }
.booking-success-status { display:inline-block; margin:0 0 16px; padding:5px 12px; border-radius:30px; color:var(--booking-primary); background:var(--booking-soft); font-weight:600; font-size:13px; }
.booking-success-description { margin:0 auto 28px; max-width:560px; color:var(--booking-muted); font-size:15px; line-height:1.9; }
.booking-success-next { text-align:start; background:#f6f9fb; border:1px solid var(--booking-border); border-radius:12px; padding:20px; }
.booking-success-card h2 { margin:0 0 16px; font-size:17px; line-height:1.6; }
.booking-success-next ol { list-style:none; margin:0; padding:0; }
.booking-success-next li { display:flex; gap:14px; position:relative; }
.booking-success-next li+li { margin-top:20px; }
.booking-success-next li:first-child::after { content:""; position:absolute; top:38px; inset-inline-start:16px; bottom:-14px; width:1px; background:var(--booking-border); }
.booking-success-number { display:grid; place-items:center; flex:0 0 34px; height:34px; border:1px solid #bdcbd5; border-radius:50%; font-size:13px; font-weight:700; color:var(--booking-primary); background:#fff; }
.booking-success-next h3 { margin:2px 0 4px; font-size:14px; }
.booking-success-next p { margin:0; color:var(--booking-muted); font-size:13px; }
.booking-success-help { margin-top:28px; }
.booking-success-help h2 { margin-bottom:6px; }
.booking-success-help>p:first-of-type { color:var(--booking-muted); font-size:14px; margin:0 0 18px; }
.booking-whatsapp { max-width:100%; }
.booking-whatsapp svg { width:21px; height:21px; flex-shrink:0; }
.booking-whatsapp-number { margin:10px 0 0; font-size:14px; color:var(--booking-ink); }
.booking-whatsapp-hint { margin:4px 0 0; font-size:12px; color:var(--booking-muted); }
.booking-success-footer { margin-top:28px; padding-top:20px; border-top:1px solid var(--booking-border); }
@media(max-width:480px) {
 .booking-success-card { padding:24px 16px; }
 .booking-success-card h1 { font-size:23px; }
 .booking-success-description { font-size:14px; }
 .booking-success-next { padding:16px; }
 .booking-whatsapp,.booking-success-footer .btn { width:100%; }
}

/* First contact step: clear purpose, readable hints and compact mobile progress. */
.booking-field-hint { margin:6px 0 0; font-size:13px; line-height:1.6; color:var(--booking-muted); }
.booking-contact-alternative { margin:16px 0 0; font-size:14px; line-height:1.7; text-align:center; color:var(--booking-muted); }
.booking-contact-alternative a { color:var(--booking-primary-hover); text-decoration:underline; text-underline-offset:3px; display:inline-block; padding:8px 2px; min-height:44px; }
html[dir="ltr"] .booking-next [data-next-text] { transform:none; }
@media(max-width:760px) {
 .booking-brand { margin-bottom:12px; }
 .booking-guide { margin-bottom:12px; }
 .booking-timeline button { min-height:64px; gap:4px; }
 #booking-step-0 .booking-description { margin-bottom:14px; }
 #booking-step-0 .booking-required-note { margin-bottom:12px; }
}
