/* CIOS booking widget (cios.app/book). Uses the site's own design tokens. */
.cb { font-family: var(--font-sans, 'Montserrat', system-ui, sans-serif); color: var(--fg-1); }
.cb *, .cb *::before, .cb *::after { box-sizing: border-box; }
.cb-card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,17,33,.04); }
.cb-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--border); background: var(--bg-subtle); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.cb-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #DFFF1A; box-shadow: 0 0 0 3px rgba(223,255,26,.3); margin-right: 10px; vertical-align: middle; }
.cb-demo { margin: 0; padding: 10px 20px; font-size: 12.5px; background: #FFF4E0; color: #5b3d00; border-bottom: 1px solid var(--border); }
.cb-body { padding: clamp(18px, 3vw, 28px); min-height: 380px; }
.cb-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); }
@media (max-width: 720px) { .cb-grid { grid-template-columns: minmax(0, 1fr); } }

.cb-h { margin: 0 0 14px; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.cb-muted { color: var(--fg-2); font-size: 13.5px; line-height: 1.6; }

/* month */
.cb-month { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cb-month b { font-size: 15px; }
.cb-nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: transparent; color: var(--fg-1); cursor: pointer; font-size: 16px; line-height: 1; }
.cb-nav:disabled { opacity: .3; cursor: default; }
.cb-nav:not(:disabled):hover { background: var(--bg-subtle); }
.cb-dow, .cb-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cb-dow span { text-align: center; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; color: var(--fg-3); padding: 6px 0; text-transform: uppercase; }
.cb-day { aspect-ratio: 1; min-height: 38px; border-radius: 50%; border: 1px solid transparent; background: transparent; font: inherit; font-size: 14px; color: var(--fg-3); display: flex; align-items: center; justify-content: center; }
.cb-day[data-free] { color: var(--fg-1); font-weight: 700; background: var(--bg-subtle); cursor: pointer; }
.cb-day[data-free]:hover { border-color: var(--fg-1); }
.cb-day[aria-pressed="true"] { background: #DFFF1A; color: #001121; border-color: #DFFF1A; }
.cb-day:not([data-free]) { opacity: .45; }

/* times */
.cb-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; max-height: 330px; overflow-y: auto; padding: 2px; }
.cb-time { padding: 11px 6px; border-radius: 10px; border: 1px solid var(--border-strong, var(--border)); background: var(--bg-elevated); color: var(--fg-1); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; }
.cb-time:hover { border-color: var(--fg-1); }
.cb-time[aria-pressed="true"] { background: #DFFF1A; color: #001121; border-color: #DFFF1A; }
.cb-tz { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--fg-2); }
.cb-tz select { max-width: 100%; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--border); font-size: 12.5px; background: var(--bg-subtle); color: var(--fg-1); }

/* form */
.cb-summary { padding: 14px 16px; border-radius: 12px; background: var(--bg-subtle); font-size: 14px; line-height: 1.6; margin-bottom: 20px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.cb-link { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--fg-1); text-decoration: underline; cursor: pointer; white-space: nowrap; }
.cb-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 620px; }
.cb-form .cb-wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .cb-form { grid-template-columns: minmax(0, 1fr); } }
.cb-form label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; color: var(--fg-2); }
.cb-form input, .cb-form textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); font-size: 15px; background: var(--bg-subtle); color: var(--fg-1); font-family: inherit; }
.cb-form textarea { min-height: 84px; resize: vertical; }
.cb-form input:focus, .cb-form textarea:focus { outline: none; border-color: #CFE500; box-shadow: 0 0 0 3px rgba(223,255,26,.3); }
.cb-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.cb-btn { display: inline-block; padding: 12px 24px; border-radius: 999px; border: 1px solid #DFFF1A; background: #DFFF1A; color: #001121; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; }
.cb-btn:hover { background: #CFE500; border-color: #CFE500; text-decoration: none; }
.cb-btn:disabled { opacity: .55; cursor: default; }
.cb-btn--ghost { background: transparent; color: var(--fg-1); border-color: var(--border-strong, var(--border)); }
.cb-btn--ghost:hover { background: var(--bg-subtle); border-color: var(--fg-1); }
.cb-err { margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; background: rgba(225,84,84,.12); color: var(--cios-danger, #E15454); font-size: 13.5px; font-weight: 600; }
.cb-fine { font-size: 12px; color: var(--fg-3); line-height: 1.6; margin: 14px 0 0; }
.cb-fine a { text-decoration: underline; }

/* details step: Back top-left, Confirm on the right */
.cb-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 16px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid var(--border-strong, var(--border)); background: transparent; color: var(--fg-1); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.cb-back:hover { background: var(--bg-subtle); border-color: var(--fg-1); }
.cb-actions--end { justify-content: flex-end; }

/* done */
.cb-done { max-width: 560px; }
.cb-check { width: 44px; height: 44px; border-radius: 50%; background: #DFFF1A; color: #001121; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.cb-done h3 { margin: 0 0 10px; font-size: clamp(20px, 2.6vw, 26px); letter-spacing: -.02em; }
.cb-loading { display: flex; align-items: center; gap: 12px; color: var(--fg-2); font-size: 14px; padding: 40px 0; }
.cb-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border); border-top-color: var(--fg-1); animation: cb-spin .8s linear infinite; }
@keyframes cb-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cb-spin { animation: none; } }

/* ?embed=1 : widget only, for iframes */
html.cb-embed [data-nav-sticky], html.cb-embed footer, html.cb-embed [data-cb-hide-embed] { display: none !important; }

/* focused booking pages (/book/…): logo bar + widget + slim footer, no site menu */
.cb-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg-elevated); color: var(--fg-1); font-family: var(--font-sans, 'Montserrat', system-ui, sans-serif); }
.cb-page a { color: inherit; text-decoration: none; }
.cb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 32px); border-bottom: 1px solid var(--border); }
.cb-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; }
.cb-brand img { width: 28px; height: 28px; border-radius: 18%; display: block; }
.cb-bar .cb-site { font-size: 13px; font-weight: 600; color: var(--fg-2); }
.cb-main { flex: 1; width: 100%; max-width: 928px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 24px); }
.cb-eyebrow { margin: 0 0 14px; font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--fg-3); }
.cb-title { margin: 0 0 14px; font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.06; letter-spacing: -.02em; }
.cb-lead { margin: 0 0 clamp(24px, 3vw, 36px); max-width: 680px; font-size: clamp(15px, 1.7vw, 17px); line-height: 1.7; color: var(--fg-2); }
.cb-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 20px clamp(16px, 4vw, 32px); border-top: 1px solid var(--border); font-size: 12px; color: var(--fg-3); }
.cb-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.cb-footer a:hover, .cb-bar a:hover { text-decoration: underline; }
html.cb-embed .cb-bar, html.cb-embed .cb-footer, html.cb-embed .cb-eyebrow, html.cb-embed .cb-title, html.cb-embed .cb-lead { display: none !important; }
html.cb-embed .cb-main { padding: 0; }
