/* Boekingsmodule en chat — Bodytec Utrecht */
:root { --bt-display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif; --bt-ink: #0B0C0F; --bt-blue: #3658A4; --bt-blue-dark: #22397A; --bt-soft: #F3F4F6; --bt-line: #D5D8DE; --bt-muted: #4A4F5A; --bt-error: #A32020; }

/* ── Boekingsmodule ── */
.bt-book { background: var(--bt-soft); border-radius: 8px; padding: clamp(20px, 4vw, 40px); display: flex; flex-direction: column; gap: 28px; }
.bt-book h3 { margin: 0; font-family: var(--bt-display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; }
.bt-book p { margin: 0; }
.bt-step { display: flex; flex-direction: column; gap: 12px; }
.bt-step-label { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bt-blue); }
.bt-muted { font-size: 14px; line-height: 1.5; color: var(--bt-muted); }
.bt-options { display: flex; flex-direction: column; gap: 8px; }
.bt-option { font: inherit; text-align: left; background: #fff; color: var(--bt-ink); border: 1.5px solid var(--bt-line); border-radius: 8px; padding: 14px 16px; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; min-height: 44px; }
.bt-option:hover { border-color: var(--bt-ink); }
.bt-option[aria-pressed="true"] { border-color: var(--bt-blue); box-shadow: inset 0 0 0 1px var(--bt-blue); }
.bt-option-name { font-weight: 600; font-size: 16px; }
.bt-option-desc { font-size: 14px; line-height: 1.45; color: var(--bt-muted); margin-top: 3px; }
.bt-option-price { font-family: var(--bt-display); font-weight: 700; font-size: 18px; white-space: nowrap; }
.bt-seg { display: inline-flex; background: #fff; border: 1.5px solid var(--bt-line); border-radius: 999px; padding: 3px; gap: 2px; align-self: flex-start; }
.bt-seg button { font: inherit; font-size: 15px; font-weight: 600; border: 0; background: transparent; color: var(--bt-ink); padding: 10px 18px; border-radius: 999px; cursor: pointer; min-height: 44px; }
.bt-seg button[aria-pressed="true"] { background: var(--bt-ink); color: #fff; }
.bt-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x proximity; }
.bt-day { font: inherit; flex: 0 0 auto; width: 68px; background: #fff; color: var(--bt-ink); border: 1.5px solid var(--bt-line); border-radius: 8px; padding: 10px 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; scroll-snap-align: start; }
.bt-day:hover:not(:disabled) { border-color: var(--bt-ink); }
.bt-day[aria-pressed="true"] { background: var(--bt-blue); border-color: var(--bt-blue); color: #fff; }
.bt-day:disabled { background: transparent; color: #6B707B; cursor: not-allowed; border-style: dashed; }
.bt-day-wd { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.bt-day-num { font-family: var(--bt-display); font-weight: 700; font-size: 22px; line-height: 1.1; }
.bt-day-mon { font-size: 12px; }
.bt-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.bt-slot { font: inherit; font-size: 16px; font-weight: 600; background: #fff; color: var(--bt-ink); border: 1.5px solid var(--bt-line); border-radius: 8px; padding: 12px 0; cursor: pointer; min-height: 44px; }
.bt-slot:hover { border-color: var(--bt-ink); }
.bt-slot[aria-pressed="true"] { background: var(--bt-blue); border-color: var(--bt-blue); color: #fff; }
.bt-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.bt-field { display: flex; flex-direction: column; gap: 6px; }
.bt-field.bt-wide { grid-column: 1 / -1; }
.bt-field label { font-size: 14px; font-weight: 600; }
.bt-field label span { font-weight: 400; color: var(--bt-muted); }
.bt-field input, .bt-field textarea, .bt-field select { font: inherit; font-size: 16px; padding: 13px 14px; border: 1.5px solid #B9BEC8; border-radius: 6px; background: #fff; color: var(--bt-ink); box-sizing: border-box; width: 100%; }
.bt-field textarea { resize: vertical; min-height: 72px; }
.bt-summary { background: #fff; border-radius: 8px; padding: 14px 16px; font-size: 15px; line-height: 1.5; }
.bt-summary strong { font-weight: 600; }
.bt-primary { font: inherit; font-size: 17px; font-weight: 600; padding: 17px 30px; border: 0; border-radius: 999px; background: var(--bt-blue); color: #fff; cursor: pointer; min-height: 44px; }
.bt-primary:hover { background: var(--bt-blue-dark); }
.bt-primary:disabled { background: #6B707B; cursor: progress; }
.bt-link { font: inherit; font-size: 15px; font-weight: 600; background: none; border: 0; padding: 12px 0; color: var(--bt-blue); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; align-self: flex-start; }
.bt-error { color: var(--bt-error); font-size: 15px; font-weight: 500; }
.bt-done { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.bt-done-check { width: 48px; height: 48px; border-radius: 50%; background: var(--bt-blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.bt-code { font-family: var(--bt-display); font-weight: 700; letter-spacing: 0.04em; }

/* ── Chat ── */
.bt-chat-launch { position: fixed; right: 20px; bottom: 20px; z-index: 50; font: inherit; font-size: 16px; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; background: var(--bt-ink); color: #fff; border: 0; border-radius: 999px; padding: 15px 22px; cursor: pointer; box-shadow: 0 8px 28px rgba(11, 12, 15, 0.28); min-height: 52px; }
.bt-chat-launch:hover { background: #23262E; }
.bt-chat { position: fixed; right: 20px; bottom: 20px; z-index: 51; width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100vh - 40px)); height: min(600px, calc(100dvh - 40px)); background: #fff; border-radius: 14px; box-shadow: 0 18px 60px rgba(11, 12, 15, 0.32); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--bt-line); }
.bt-chat[hidden] { display: none; }
.bt-chat-head { background: var(--bt-ink); color: #fff; padding: 14px 12px 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bt-chat-title { font-family: var(--bt-display); font-weight: 600; font-size: 17px; }
.bt-chat-sub { font-size: 13px; color: #C9CDD6; margin-top: 2px; }
.bt-chat-close { background: transparent; border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.bt-chat-close:hover { background: #23262E; }
.bt-chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bt-soft); }
.bt-msg { max-width: 86%; padding: 11px 14px; border-radius: 14px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.bt-msg-bot { background: #fff; color: var(--bt-ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.bt-msg-user { background: var(--bt-blue); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.bt-msg-typing { color: var(--bt-muted); font-style: italic; }
.bt-chat-action { font: inherit; font-size: 15px; font-weight: 600; align-self: flex-start; background: var(--bt-ink); color: #fff; border: 0; border-radius: 999px; padding: 12px 18px; cursor: pointer; min-height: 44px; }
.bt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bt-chip { font: inherit; font-size: 14px; font-weight: 600; background: #fff; color: var(--bt-ink); border: 1.5px solid var(--bt-ink); border-radius: 999px; padding: 10px 14px; cursor: pointer; min-height: 44px; }
.bt-chip:hover { background: var(--bt-ink); color: #fff; }
.bt-chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--bt-line); background: #fff; }
.bt-chat-form input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #B9BEC8; border-radius: 999px; color: var(--bt-ink); }
.bt-chat-form button { font: inherit; font-size: 15px; font-weight: 600; background: var(--bt-blue); color: #fff; border: 0; border-radius: 999px; padding: 0 18px; cursor: pointer; min-height: 44px; }
.bt-chat-form button:disabled { background: #6B707B; }
.bt-chat-note { font-size: 12px; line-height: 1.4; color: var(--bt-muted); padding: 0 14px 10px; background: #fff; }
.bt-book button:focus-visible, .bt-chat button:focus-visible, .bt-chat-launch:focus-visible, .bt-book input:focus-visible, .bt-book textarea:focus-visible, .bt-chat input:focus-visible { outline: 3px solid #8FA8F0; outline-offset: 2px; }
@media (max-width: 480px) { .bt-chat { right: 0; bottom: 0; width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; border: 0; } .bt-chat-launch { right: 14px; bottom: 14px; } }


/* Module in de stijl van de site */
.bt-book h3, .bt-chat-title { text-transform: uppercase; letter-spacing: 0.02em; }
.bt-book h3 { font-size: 36px; line-height: 1; }
.bt-option-price, .bt-day-num, .bt-code { letter-spacing: 0.02em; }
.bt-option-price { font-size: 24px; }
.bt-day-num { font-size: 26px; }
.bt-book, .bt-option, .bt-day, .bt-slot, .bt-summary, .bt-field input, .bt-field textarea { border-radius: 2px; }
.bt-primary { border-radius: 2px; font-family: var(--bt-display); font-size: 21px; letter-spacing: 0.06em; text-transform: uppercase; }

/* Onzichtbaar veld tegen spambots */
.bt-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
