/* ============================================================
   ZEVUNIQ: daily rental booking request (/book) v1 · 2026-09-24
   Loaded after styles.css and apply.css: reuses the form cards, segmented radios,
   inline errors, notice and success panel of the application flow. Only the booking
   layout, the live estimate and a few details live here.
   ============================================================ */

.bk-hero .chips{margin-bottom:0}
.book-sec{padding-top:56px}
html:not(.js) .bk-form{display:none}
.bk-noscript{max-width:720px;margin:0 auto}

/* layout: cards on the left, the estimate sticks on the right; one column below 961px,
   where the estimate sits straight after the dates (its place in the source order) */
.bk-form{display:grid;grid-template-columns:minmax(0,1fr) 340px;column-gap:32px;align-items:start;max-width:1120px;margin:0 auto}
.bk-form>*{grid-column:1;min-width:0}
.bk-form>.flow-info,.bk-form>.flow-card{margin:0 0 20px}
.bk-est{grid-column:2;grid-row:1 / span 12;position:sticky;top:96px}

/* card headings with a step number */
.bk-card>.bk-h{display:flex;align-items:center;gap:12px;font-size:1.25rem;letter-spacing:-.01em;line-height:1.2;margin-bottom:20px}
.bk-n{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex-shrink:0;border-radius:50%;background:var(--ink);color:#fff;font-size:.8rem;font-weight:700;letter-spacing:0}

/* fields */
.bk-form .form-field input,.bk-form .form-field textarea{width:100%;min-width:0}
.bk-form input[type=date],.bk-form input[type=time]{min-height:50px;-webkit-appearance:none;appearance:none}
.bk-form input::-webkit-date-and-time-value{text-align:left}
.bk-when{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}
.bk-hint{display:block;margin-top:12px}
.opt{font-weight:400;color:var(--muted)}
.bk-cond{margin-top:18px}
.bk-note{margin-top:14px;font-size:.85rem;color:var(--muted)}
.bk-form .bk-os{margin:14px 0 0}
.bk-notes{margin-top:16px}

/* radio groups: fieldset + legend, drawn with the segmented control */
.bk-fs{border:0;padding:0;margin:0;min-width:0}
.bk-fs>legend{padding:0}
.bk-fs.bk-lic{margin-top:22px}
.bk-fs .seg{position:relative}
.bk-fs .seg label{text-align:center;line-height:1.35}
.seg.bk-seg{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}
.seg.bk-seg-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.bk-fs>.field-err{display:block;margin-top:8px}
/* Windows High Contrast: the browser replaces backgrounds, so give each option a border and draw the
   chosen one in the system highlight colours (the radios themselves are invisible) */
@media (forced-colors:active){
  .bk-seg label{border:1px solid ButtonText}
  .bk-seg input:checked+label{forced-color-adjust:none;background:Highlight;color:HighlightText;border-color:Highlight}
  .bk-seg input:focus-visible+label{outline-color:Highlight}
}

/* checkboxes: the whole row is the 44px target */
.bk-check{min-height:44px;padding:10px 0;margin-top:14px;cursor:pointer;font-size:.92rem;color:var(--charcoal)}
.bk-check input{width:20px;height:20px;margin-top:2px;accent-color:var(--ink);flex-shrink:0;cursor:pointer}
.bk-check input:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.bk-sub{display:block;margin:-6px 0 0 30px}
.bk-consent{margin-top:4px}
.bk-consent+.field-err{display:block;margin:-4px 0 4px 30px}
.bk-send{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin-top:18px}
.bk-send .form-note{flex:1 1 220px;max-width:44ch}

/* ---------- live estimate ---------- */
.bk-est-card{position:relative;overflow:hidden;background:#fff;border:1px solid var(--mist);border-radius:var(--radius);padding:28px 26px 22px;box-shadow:0 16px 40px rgba(17,17,17,.06)}
.bk-est-card::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--ink)}
.bk-est-card::after{content:"";position:absolute;top:0;right:26px;width:26px;height:7px;background:var(--red);transform:skewX(-45deg)}
.bk-est-h{font-size:1.15rem;letter-spacing:-.01em;margin-bottom:12px}
.bk-rate{font-size:.88rem;color:var(--muted);padding-bottom:14px;border-bottom:1px solid var(--mist);line-height:1.45}
.bk-rate b{font-family:'Montserrat',sans-serif;font-size:1.6rem;font-weight:700;letter-spacing:-.02em;color:var(--ink);margin-right:5px}
.bk-rate span{display:block;font-size:.78rem;margin-top:2px}
.bk-est-empty{font-size:.88rem;color:var(--muted);padding:14px 0 6px}
.bk-est-dl{padding:10px 0 4px}
.bk-est-dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:5px 0}
.bk-est-dl dt{font-size:.88rem;color:var(--muted)}
.bk-est-dl dd{font-weight:600;text-align:right}
.bk-est-dl .bk-total dt{color:var(--ink);font-weight:600}
.bk-est-dl .bk-total dd{font-family:'Montserrat',sans-serif;font-size:1.7rem;font-weight:700;letter-spacing:-.02em;line-height:1.2}
.bk-est-notes{list-style:none;margin-top:10px;padding-top:12px;border-top:1px solid var(--mist);display:grid;gap:6px}
.bk-est-notes li{position:relative;padding-left:20px;font-size:.82rem;line-height:1.5;color:var(--charcoal)}
.bk-est-notes li::before{content:"";position:absolute;left:2px;top:.6em;width:9px;height:3px;background:var(--red);transform:skewX(-45deg)}

/* ---------- confirmation ---------- */
.bk-ref-lbl{margin-top:4px}
.bk-fallback,.bk-short{text-align:left;margin:14px 0 4px}
.bk-short{font-size:.88rem;color:var(--charcoal)}
.bk-done-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:18px 0 6px}
.bk-copy-status{min-height:1.5em;font-size:.86rem}
.flow-done .bk-copy-status{color:var(--ink)}
.bk-details{text-align:left;margin:8px 0 18px;border:1px solid var(--mist);border-radius:12px;background:var(--bg)}
.bk-details summary{display:list-item;min-height:44px;padding:11px 16px;cursor:pointer;font-weight:600;font-size:.9rem}
.bk-details summary:focus-visible{outline:2px solid var(--red);outline-offset:2px;border-radius:12px}
.bk-text{margin:0;padding:0 16px 14px;white-space:pre-wrap;word-break:break-word;font-family:inherit;font-size:.84rem;line-height:1.6;color:var(--charcoal)}
.bk-done .done-sub a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.bk-done .bk-id-note{margin-top:10px;font-size:.86rem}
.bk-done-foot{justify-content:center;gap:12px}

/* ---------- responsive ---------- */
@media (max-width:960px){
  .bk-form{grid-template-columns:minmax(0,1fr);max-width:720px}
  .bk-est{grid-column:1;grid-row:auto;position:static;margin:0 0 20px}
}
@media (max-width:640px){
  .book-sec{padding-top:36px}
  .bk-est-card{padding:24px 20px 18px}
  .bk-send .btn{width:100%}
  .bk-done-actions .btn,.bk-done-foot .btn{width:100%}
}
@media (max-width:380px){
  .bk-when{grid-template-columns:minmax(0,1fr)}
}
