.demo-booking-open { overflow:hidden; }
.demo-modal { --demo-navy:#092849; --demo-teal:#008f83; width:min(1120px,calc(100vw - 48px)); max-width:none; max-height:calc(100dvh - 64px); margin:auto; padding:0; overflow:hidden; border:1px solid #d9e5ec; border-radius:16px; color:var(--demo-navy); background:#fff; box-shadow:0 28px 100px #03172e44; font-family:Inter,Arial,sans-serif; }
.demo-modal[open] { display:grid; grid-template-rows:auto minmax(0,1fr) auto; }
.demo-modal::backdrop { background:rgba(3,23,46,.66); backdrop-filter:blur(6px); }
.demo-modal * { box-sizing:border-box; }
.demo-modal [hidden] { display:none!important; }
.demo-modal button,.demo-modal input,.demo-modal textarea { font:inherit; }
.demo-modal button { cursor:pointer; }
.demo-modal button:disabled { cursor:not-allowed; }
.demo-modal :is(button,input,textarea,a,summary):focus-visible { outline:3px solid #00aa9880; outline-offset:3px; }
.demo-modal__header { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 28px; border-bottom:1px solid #e1eaf0; background:#fff; }
.demo-modal__header h2 { margin:0; color:var(--demo-navy); font-size:30px; font-weight:750; line-height:1.25; letter-spacing:-.035em; }
.demo-icon-button { flex:0 0 44px; width:44px; height:44px; padding:12px; display:grid; place-items:center; border:0; border-radius:50%; color:var(--demo-navy); background:#eaf8f4; }
.demo-icon-button .icon { width:20px; height:20px; }
.demo-icon-button:hover:enabled { background:#d9f2ea; }
.demo-icon-button:disabled { opacity:.35; }
.demo-modal__close { color:#66758c; background:transparent; }
.demo-modal__close:hover:enabled { background:#f2f5f8; }
.demo-modal__layout { display:grid; grid-template-columns:290px minmax(0,1fr); min-height:0; overflow-y:auto; overscroll-behavior:contain; }
.demo-modal__intro { min-width:0; padding:30px 26px; border-right:1px solid #e1eaf0; background:#fff; }
.demo-modal__logo { width:160px; margin:0 0 36px; }
.demo-modal__logo :is(img,svg) { display:block; width:100%; height:auto; }
.demo-modal__intro h3 { margin:0; color:var(--demo-navy); font-size:26px; font-weight:750; line-height:1.22; letter-spacing:-.025em; }
.demo-modal__intro p { margin:26px 0 0; color:var(--demo-navy); font-size:15px; line-height:1.6; }
.demo-modal__intro ul { display:grid; gap:18px; margin:28px 0; padding:0; list-style:none; }
.demo-modal__intro li { display:flex; align-items:center; gap:12px; font-size:16px; line-height:1.5; }
.demo-modal__intro li .icon { flex:none; width:25px; height:25px; }
.demo-modal__intro .demo-modal__hours { margin-top:30px; padding-top:22px; border-top:1px solid #e1eaf0; font-size:13px; }
.demo-modal__content { min-width:0; padding:24px 26px; }
.demo-message,.demo-empty { margin:0; padding:22px 0; color:#61758d; font-size:14px; line-height:1.6; }
.demo-error { margin:0 0 18px; padding:13px 16px; border:1px solid #f2c6c6; border-radius:8px; color:#a42b3a; background:#fff6f6; font-size:14px; line-height:1.5; }
.demo-scheduler { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); gap:24px; }
.demo-calendar-panel,.demo-slots-panel { min-width:0; }
.demo-scheduler h3,.demo-form__title { margin:0; color:var(--demo-navy); font-size:23px; font-weight:750; line-height:1.3; letter-spacing:-.025em; }
.demo-calendar__toolbar { display:flex; justify-content:space-between; align-items:center; gap:10px; margin:18px 0; }
.demo-calendar__toolbar h4 { margin:0; color:var(--demo-navy); font-size:17px; font-weight:650; text-transform:capitalize; }
.demo-calendar__weekdays,.demo-calendar__days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:4px; }
.demo-calendar__weekdays { margin-bottom:12px; text-align:center; color:var(--demo-navy); font-size:12px; font-weight:650; text-transform:uppercase; }
.demo-calendar__days > button { justify-self:center; width:100%; max-width:44px; min-width:0; min-height:44px; padding:0; border:1px solid transparent; border-radius:50%; color:var(--demo-navy); background:#e6f8f2; font-size:16px; font-weight:600; }
.demo-calendar__days > button:disabled { color:#89919b; background:transparent; font-weight:500; }
.demo-calendar__days > button[aria-pressed="true"] { color:#fff; background:linear-gradient(120deg,#008b80,#00b59b); }
.demo-calendar__days > button:hover:enabled { border-color:var(--demo-teal); }
.demo-calendar__meta { display:grid; gap:8px; margin-top:28px; }
.demo-calendar__meta p { display:flex; align-items:center; gap:8px; margin:0; color:#536780; font-size:13px; line-height:1.5; }
.demo-calendar__meta .icon { width:18px; height:18px; flex:none; }
.demo-calendar__meta .demo-text-button { justify-self:start; }
.demo-slots-panel { padding-left:24px; border-left:1px solid #e1eaf0; }
.demo-slots__hint { margin:6px 0 16px; font-size:15px; line-height:1.5; }
.demo-slots { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px 10px; }
.demo-slots button { display:flex; align-items:center; justify-content:center; gap:7px; min-height:44px; padding:8px 4px; border:1px solid var(--demo-teal); border-radius:7px; color:var(--demo-navy); background:#fff; font-size:16px; font-weight:650; }
.demo-slots button:not([aria-pressed="true"]):hover:enabled { background:#edf9f5; }
.demo-slots button:disabled { border-color:#edf0f3; color:#78828f; background:#edf0f3; text-decoration:line-through; }
.demo-slots button[aria-pressed="true"] { color:#fff; background:linear-gradient(110deg,#007b77,#009c92); }
.demo-slots button[aria-pressed="true"]::before { content:'✓'; font-size:19px; line-height:1; }
.demo-slots__legend { margin:14px 0 0; color:#536780; font-size:12px; }
.demo-slots-panel .demo-empty { padding:14px 0 0; font-size:13px; }
.demo-text-button { display:inline-flex; align-items:center; gap:7px; min-height:32px; padding:4px 0; border:0; color:#007f79; background:none; font-size:13px!important; font-weight:650!important; text-underline-offset:3px; }
.demo-text-button:hover { text-decoration:underline; }
.demo-text-button .icon { flex:none; width:17px; height:17px; }
.demo-button { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:46px; padding:12px 22px; border:1px solid transparent; border-radius:8px; color:#fff; background:linear-gradient(110deg,#007b77,#009b92); font-size:15px!important; font-weight:700!important; }
.demo-button:hover:enabled { background:#007e75; }
.demo-button:disabled { border-color:#dce7ea; color:#62758d; background:#edf2f6; }
.demo-button .icon { width:19px; height:19px; }
.demo-modal__footer { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 28px; border-top:1px solid #e1eaf0; background:#fff; }
.demo-modal__footer .demo-button { min-width:190px; }
.demo-summary { display:grid; gap:5px; min-width:0; }
.demo-summary strong { color:var(--demo-navy); font-size:17px; line-height:1.4; }
.demo-summary>span { color:#536780; font-size:13px; }
.demo-form__back { margin-bottom:10px; }
.demo-form__title { margin-bottom:16px; }
.demo-selected { display:flex; align-items:center; gap:16px; margin-bottom:18px; padding:14px 18px; border-radius:8px; color:var(--demo-navy); background:#eaf8f4; }
.demo-selected>.icon { flex:none; width:27px; height:27px; color:var(--demo-teal); }
.demo-selected>div { display:grid; gap:4px; }
.demo-selected strong { font-size:16px; line-height:1.5; }
.demo-selected span { color:#536780; font-size:13px; }
.demo-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 22px; }
.demo-fields label,.demo-phone label { display:block; color:var(--demo-navy); font-size:14px; font-weight:650; }
.demo-fields label>span { color:#c84050; }
.demo-fields small { color:#62758d; font-size:13px; font-weight:400; }
.demo-fields__wide { grid-column:1/-1; }
.demo-fields input,.demo-fields textarea,.demo-phone input { display:block; width:100%; min-height:44px; margin-top:7px; padding:10px 12px; border:1px solid #cbd9e6; border-radius:6px; color:var(--demo-navy); background:#fff; font-size:15px; font-weight:400; line-height:1.4; }
.demo-fields textarea { min-height:80px; resize:vertical; }
.demo-phone { margin-top:12px; color:#536780; font-size:13px; }
.demo-phone summary { cursor:pointer; padding:6px 0; }
.demo-phone label { margin-top:8px; }
.demo-test-tool { display:flex; align-items:center; gap:12px; margin-top:16px; color:var(--demo-navy); font-size:14px; line-height:1.5; cursor:pointer; }
.demo-modal .demo-test-tool input { flex:none; width:20px; height:20px; margin:0; accent-color:var(--demo-teal); }
.demo-form__footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; margin-top:20px; padding-top:18px; border-top:1px solid #e1eaf0; }
.demo-form__footer .demo-button { margin-left:auto; }
.demo-privacy,.demo-contact { color:#62758d; font-size:12px; line-height:1.6; }
.demo-privacy { flex:1 1 250px; margin:0; }
.demo-contact { margin:18px 0 0; }
.demo-modal :is(.demo-contact,.demo-privacy) a { color:#007f79; text-underline-offset:3px; }
.demo-success { padding:28px 0; text-align:center; }
.demo-success__icon { display:grid; place-items:center; width:64px; height:64px; margin:0 auto 22px; border-radius:50%; color:var(--demo-teal); background:#e0f6ed; }
.demo-success__icon .icon { width:32px; height:32px; }
.demo-success h3 { margin:0 0 18px; font-size:26px; letter-spacing:-.03em; }
.demo-success p { color:#61758d; font-size:14px; line-height:1.7; }
.demo-success [data-demo-confirmed-date] { padding:14px; border-radius:8px; color:#007d72; background:#e9f7f2; font-weight:650; }
.demo-success .demo-success__reference { font-size:12px; }
@media(max-width:1020px) {
    .demo-modal__layout { grid-template-columns:minmax(0,1fr); }
    .demo-modal__intro { display:flex; flex-wrap:wrap; align-items:center; gap:12px 24px; padding:18px 24px; border-right:0; border-bottom:1px solid #e1eaf0; }
    .demo-modal__logo { width:130px; margin:0; }
    .demo-modal__intro h3 { flex:1; font-size:18px; }
    .demo-modal__intro ul { display:flex; flex-wrap:wrap; gap:12px 20px; margin:0; }
    .demo-modal__intro li { font-size:14px; }
    .demo-modal__intro li .icon { width:20px; height:20px; }
    .demo-modal__intro>p { display:none; }
}
@media(max-width:700px) {
    .demo-modal { width:100vw; height:100dvh; max-height:100dvh; margin:0; border:0; border-radius:0; }
    .demo-modal__header { gap:12px; padding:14px 16px; }
    .demo-modal__header h2 { font-size:22px; }
    .demo-modal__intro { padding:14px 16px; gap:12px 20px; }
    .demo-modal__intro h3 { display:none; }
    .demo-modal__intro li { font-size:13px; }
    .demo-modal__content { padding:22px 16px; }
    .demo-scheduler { grid-template-columns:minmax(0,1fr); gap:26px; }
    .demo-scheduler h3,.demo-form__title { font-size:22px; }
    .demo-calendar__meta { margin-top:18px; }
    .demo-slots-panel { padding:22px 0 0; border-left:0; border-top:1px solid #e1eaf0; }
    .demo-slots button { font-size:15px; }
    .demo-fields { gap:15px 12px; }
    .demo-fields input,.demo-fields textarea,.demo-phone input { font-size:16px; }
    .demo-modal__footer { display:grid; grid-template-columns:minmax(0,1fr); justify-items:stretch; gap:12px; padding:14px 16px max(14px,env(safe-area-inset-bottom)); }
    .demo-summary strong { font-size:14px; }
    .demo-modal__footer .demo-button { width:100%; min-width:0; }
    .demo-form__footer .demo-button { width:100%; }
}
@media(max-width:360px) {
    .demo-fields { grid-template-columns:minmax(0,1fr); }
    .demo-fields__wide { grid-column:auto; }
}
