/* splashnodes.com/book: choose a time, your details, done; and the manage page. */
.book-wrap { --bk: #9d8cff; --bk-soft: rgba(157, 140, 255, .14); --bk-line: rgba(157, 140, 255, .45); max-width: 1040px; }
.book-app { margin-top: 28px; }
.book-panel { border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; background: linear-gradient(180deg, rgba(157, 140, 255, .06), rgba(255, 255, 255, .02) 55%); padding: 24px; }
.book-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; }
@media (max-width: 820px) { .book-grid { grid-template-columns: 1fr; } .book-panel { padding: 18px; } }
.book-step { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--bk); font-weight: 700; margin: 0 0 8px; }
.book-panel h2 { font-size: 20px; margin: 0 0 14px; }
.book-note { color: rgba(255, 255, 255, .62); font-size: 14px; margin: 10px 0 0; }
/* Calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head b { font-size: 16px; }
.cal-nav { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: #fff; font-size: 18px; cursor: pointer; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .dow { text-align: center; font-size: 12px; color: rgba(255, 255, 255, .5); padding: 4px 0; }
.cal button { aspect-ratio: 1; min-height: 44px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: rgba(255, 255, 255, .28); font: inherit; font-size: 15px; cursor: default; }
.cal button.free { color: #fff; background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); cursor: pointer; font-weight: 600; }
.cal button.free:hover { border-color: var(--bk-line); }
.cal button.on { background: var(--bk); color: #0b0b0d; border-color: var(--bk); }
.cal button:focus-visible, .slot:focus-visible, .mode:focus-within { outline: 2px solid var(--bk); outline-offset: 2px; }
/* Times */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; max-height: 360px; overflow: auto; padding: 2px; }
.slot { padding: 11px 8px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: #fff; font: inherit; font-weight: 600; cursor: pointer; text-align: center; }
.slot small { display: block; font-weight: 400; font-size: 11.5px; color: rgba(255, 255, 255, .55); margin-top: 2px; }
.slot:hover { border-color: var(--bk-line); } .slot.on { background: var(--bk); border-color: var(--bk); color: #0b0b0d; } .slot.on small { color: #2a2440; }
.empty-times { color: rgba(255, 255, 255, .6); font-size: 14px; padding: 18px; border: 1px dashed rgba(255, 255, 255, .16); border-radius: 12px; text-align: center; }
/* Details */
.chosen { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; padding: 14px 16px; border-radius: 12px; background: var(--bk-soft); border: 1px solid var(--bk-line); margin-bottom: 18px; }
.chosen b { font-size: 16px; } .linkbtn { background: none; border: 0; color: var(--bk); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; padding: 4px; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; } @media (max-width: 520px) { .modes { grid-template-columns: 1fr; } }
.mode { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); cursor: pointer; }
.mode input { accent-color: var(--bk); width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; }
.mode b { display: block; } .mode span span { display: block; color: rgba(255, 255, 255, .6); font-size: 13.5px; margin-top: 2px; }
.mode:has(input:checked) { border-color: var(--bk); background: var(--bk-soft); }
.book-form .field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } @media (max-width: 620px) { .book-form .field-grid { grid-template-columns: 1fr; } }
.book-form label { display: block; font-size: 14px; color: rgba(255, 255, 255, .8); margin: 0 0 12px; }
.book-form label span { color: rgba(255, 255, 255, .5); }
.book-form input, .book-form textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 12px 13px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18); background: #0b0b0d; color: #fff; font: inherit; }
.book-form input:focus, .book-form textarea:focus { outline: none; border-color: var(--bk); box-shadow: 0 0 0 3px rgba(157, 140, 255, .2); }
.book-form .bot-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.book-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 0; background: var(--bk); color: #0b0b0d; font: inherit; font-weight: 700; cursor: pointer; }
.book-btn:disabled { opacity: .6; cursor: progress; } .book-btn.quiet { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .2); font-weight: 600; }
.book-btn.danger { background: transparent; color: #ffb4b4; border: 1px solid rgba(255, 120, 120, .45); }
.book-error { color: #ffb4b4; font-size: 14px; margin: 10px 0 0; min-height: 1em; }
.book-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
/* Done / manage */
.done-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.done-tick { width: 44px; height: 44px; border-radius: 50%; background: var(--bk); color: #0b0b0d; display: grid; place-items: center; font-size: 22px; font-weight: 800; flex-shrink: 0; }
.done-list { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0 0 6px; font-size: 15px; } .done-list dt { color: rgba(255, 255, 255, .55); } .done-list dd { margin: 0; overflow-wrap: anywhere; }
.cal-add { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cal-add a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.cal-add a:hover { border-color: var(--bk-line); }
.status-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--bk-soft); color: #d7cfff; }
.status-pill.cancelled { background: rgba(255, 120, 120, .14); color: #ffb4b4; }
.book-wrap .cf-turnstile { margin: 0 0 12px; }
