.appointment-page { background: #f8fafc; }
.appointment-page [hidden] { display: none !important; }
.appointment-page .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.appointment-page .appointment-main { padding-bottom: 64px; }
.appointment-page .appointment-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .78rem; color: var(--home-muted); padding-block: 24px; }
.appointment-page .appointment-breadcrumb a { text-decoration: none; }
.appointment-page .page-intro { margin: 12px 0 32px; }
.appointment-page h1 { font-size: 2.25rem; margin-top: 10px; letter-spacing: -.8px; }
.appointment-page .page-intro p { color: var(--home-muted); margin-top: 12px; }
.appointment-page .booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 32px; align-items: start; }
.appointment-page .booking-panel { background: #fff; border: 1px solid var(--home-border); border-radius: 8px; box-shadow: 0 2px 5px #102e5108; overflow: hidden; }
.appointment-page .stepper { display: grid; grid-template-columns: repeat(3,1fr); list-style: none; padding: 24px 32px; margin: 0; border-bottom: 1px solid var(--home-border); gap: 16px; background: #fbfcfe; }
.appointment-page .stepper li { display: flex; align-items: center; gap: 10px; color: #666; font-size: .8rem; font-weight: 600; }
.appointment-page .step-badge { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #8b96a5; display: grid; place-items: center; flex-shrink: 0; }
.appointment-page .stepper [aria-current] { color: var(--home-blue); font-weight: 700; }
.appointment-page .stepper [aria-current] .step-badge { background: var(--home-blue); border-color: var(--home-blue); color: #fff; }
.appointment-page .stepper .completed .step-badge { background: #e6effc; border-color: var(--home-blue); color: var(--home-blue); }
.appointment-page form { padding: 28px 32px 32px; }
.appointment-page .required-note { font-size: .75rem; color: var(--home-muted); margin-bottom: 24px; }
.appointment-page .form-section-heading { margin-bottom: 28px; }
.appointment-page .step-caption { font-size: .75rem; color: var(--home-blue); font-weight: 600; }
.appointment-page .form-section-heading h2 { margin: 8px 0 12px; font-size: 1.45rem; font-weight: 700; letter-spacing: -.4px; }
.appointment-page .form-section-heading h2:focus, .appointment-page #successTitle:focus { outline: none; }
.appointment-page .form-section-heading p { font-size: .85rem; color: var(--home-muted); }
.appointment-page .form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.appointment-page .field-wide { grid-column: 1 / -1; }
.appointment-page .field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.appointment-page label { font-size: .85rem; font-weight: 600; }
.appointment-page .optional { font-weight: 400; color: var(--home-muted); font-size: .75rem; }
.appointment-page input, .appointment-page select, .appointment-page textarea { font: inherit; font-size: .9rem; width: 100%; min-width: 0; min-height: 48px; border: 1px solid #7d8998; background: #fff; color: var(--home-ink); border-radius: 4px; padding: 11px 12px; }
.appointment-page textarea { resize: vertical; }
.appointment-page input:disabled, .appointment-page select:disabled { background: #f1f3f5; border-color: #cbd1da; color: #596575; cursor: not-allowed; }
.appointment-page input[aria-invalid=true], .appointment-page select[aria-invalid=true], .appointment-page textarea[aria-invalid=true] { border: 2px solid #b50909; }
.appointment-page .ts-wrapper { width: 100%; }
.appointment-page .ts-control { min-height: 48px; border: 1px solid #7d8998; border-radius: 4px; padding: 11px 12px; font-size: .9rem; box-shadow: none; }
.appointment-page .ts-control input { min-height: 0; border: 0; border-radius: 0; padding: 0 !important; font: inherit; line-height: 1.6; box-shadow: none; }
.appointment-page .ts-control input:focus-visible { outline: none; }
.appointment-page .ts-wrapper.focus .ts-control { outline: 3px solid #c2850c; outline-offset: 3px; }
.appointment-page .ts-dropdown { border: 1px solid #7d8998; border-radius: 4px; font: inherit; font-size: .9rem; box-shadow: 0 4px 16px #102e5118; }
.appointment-page .ts-dropdown .option, .appointment-page .ts-dropdown .no-results { padding: 12px; overflow-wrap: anywhere; }
.appointment-page .ts-dropdown .active { background: #edf3fc; color: var(--home-blue); }
.appointment-page .ts-wrapper:has(select[aria-invalid=true]) .ts-control { border: 2px solid #b50909; }
.appointment-page .field-hint, .appointment-page .schedule-status { font-size: .77rem; color: var(--home-muted); }
.appointment-page .schedule-status { margin-top: 18px; }
.appointment-page .inline-note { font-size: .78rem; line-height: 1.8; padding: 14px 18px; border-left: 3px solid var(--home-blue); background: #f1f6fc; color: #414b5b; margin-top: 28px; }
.appointment-page .form-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; margin-top: 28px; border-top: 1px solid #e5e9ef; }
.appointment-page .action-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; border-radius: 24px; border: 1px solid var(--home-blue); padding: 11px 24px; font: 600 .85rem/1.4 Lato, 'Segoe UI', Arial, sans-serif; color: #fff; background: var(--home-blue); cursor: pointer; text-decoration: none; text-align: center; }
.appointment-page .action-button:hover { color: #fff; background: var(--home-navy); }
.appointment-page .action-button.secondary { color: var(--home-blue); background: #fff; }
.appointment-page .action-button.secondary:hover { background: #edf3fc; }
.appointment-page .action-button:disabled { opacity: .6; cursor: wait; }
.appointment-page .secondary-link, .appointment-page .retry-button { color: var(--home-blue); font: 600 .8rem/1.6 Lato, 'Segoe UI', Arial, sans-serif; text-decoration: none; }
.appointment-page .retry-button { border: 0; padding: 10px 0; background: none; cursor: pointer; text-decoration: underline; }
.appointment-page .secondary-link:hover { text-decoration: underline; }
.appointment-page .form-alert { padding: 16px; color: #8b0a03; background: #fff1ef; border-left: 4px solid #b50909; border-radius: 4px; font-size: .85rem; margin-bottom: 24px; }
.appointment-page .booking-help { padding: 28px; background: #edf3fc; border: 1px solid #d8e3f3; border-radius: 8px; }
.appointment-page .booking-help .eyebrow { font-size: .65rem; letter-spacing: 1px; }
.appointment-page .booking-help h2 { color: var(--home-navy); font-size: 1.2rem; margin-top: 16px; line-height: 1.5; }
.appointment-page .booking-help ul { margin: 20px 0 0; padding-left: 18px; }
.appointment-page .booking-help li { padding-left: 3px; margin-bottom: 14px; font-size: .8rem; color: #414b5b; line-height: 1.8; }
.appointment-page .help-divider { padding-top: 24px; margin-top: 24px; border-top: 1px solid #cbd6e5; }
.appointment-page .help-divider h3 { font-size: .9rem; margin-bottom: 10px; }
.appointment-page .help-divider p { font-size: .8rem; color: #414b5b; }
.appointment-page .help-divider a, .appointment-page .help-bottom { display: block; margin-top: 18px; font-weight: 600; font-size: .8rem; text-decoration: none; }
.appointment-page .help-bottom { padding-top: 22px; border-top: 1px solid #cbd6e5; margin-top: 24px; }
.appointment-page .review-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 0 0 28px; padding: 24px; border: 1px solid var(--home-border); border-radius: 4px; background: #fafbfc; }
.appointment-page .review-summary dt { color: var(--home-muted); font-size: .75rem; }
.appointment-page .review-summary dd { font-size: .9rem; font-weight: 600; margin: 4px 0 0; overflow-wrap: anywhere; }
.appointment-page .confirmation-panel { padding: 36px; }
.appointment-page .success-symbol { display: grid; place-items: center; width: 52px; height: 52px; color: #168821; background: #e7f5e9; border-radius: 50%; font-size: 1.8rem; margin-bottom: 20px; }
.appointment-page .confirmation-panel h2 { color: #13501b; font-size: 1.65rem; }
.appointment-page .confirmation-panel > p { margin: 14px 0 28px; color: var(--home-muted); font-size: .9rem; }
.appointment-page .confirmation-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.appointment-page .confirmation-code { display: flex; align-items: center; gap: 24px; margin-bottom: 28px; }
.appointment-page #qrcode { flex-shrink: 0; }
.appointment-page .confirmation-code p { color: var(--home-muted); font-size: .8rem; }
@media (max-width: 1000px) { .appointment-page .booking-layout { grid-template-columns: minmax(0,1fr) 240px; gap: 24px; } .appointment-page .booking-help { padding: 22px; } .appointment-page form, .appointment-page .stepper { padding-inline: 24px; } }
@media (max-width: 760px) {
    .appointment-page .booking-layout { grid-template-columns: minmax(0,1fr); }
    .appointment-page h1 { font-size: 1.85rem; }
    .appointment-page .page-intro > p { font-size: .9rem; }
    .appointment-page .stepper { padding: 20px 16px; gap: 10px; }
    .appointment-page .stepper li { flex-direction: column; text-align: center; font-size: .68rem; gap: 8px; }
    .appointment-page form { padding: 24px 20px; }
    .appointment-page .form-grid { grid-template-columns: 1fr; gap: 22px; }
    .appointment-page .form-section-heading h2 { font-size: 1.3rem; }
    .appointment-page .form-actions { align-items: stretch; flex-direction: column-reverse; }
    .appointment-page .form-actions .secondary-link { text-align: center; padding: 10px; }
    .appointment-page .review-summary { grid-template-columns: 1fr; padding: 20px; }
    .appointment-page .confirmation-panel { padding: 28px 20px; }
    .appointment-page .confirmation-actions { flex-direction: column; align-items: stretch; text-align: center; }
}
