/* Booking page (brug reserveren) */
.booking .top-actions { margin-left: auto; }
.back { color: var(--on-dark-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.back:hover { color: #fff; }
.bk { background: var(--floor); padding: 36px 0 150px; min-height: 70vh; }
.bk-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 760px; }
.bk-head h1 { font: 900 clamp(44px, 6vw, 68px)/.92 var(--display); text-transform: uppercase; margin-bottom: 10px; }
.bk-head .intro { margin-bottom: 6px; }
.demo-line { font: 400 13.5px var(--type); color: var(--muted); margin: 0 0 6px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px; min-width: 0; }
.step h2 { display: flex; align-items: center; gap: 12px; font: 800 26px/1 var(--display); text-transform: uppercase; margin-bottom: 14px; }
.sn { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 7px; background: var(--ink); color: var(--lime); font-size: 20px; flex: none; }
.hint { font-size: 14.5px; color: var(--muted); margin-bottom: 12px; }

/* days */
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.day { flex: none; width: 70px; padding: 9px 4px; border: 1.5px solid var(--line); border-radius: 9px; background: #fff; cursor: pointer;
  font: 600 13px/1.25 var(--font); text-align: center; color: var(--text); }
.day b { display: block; font: 800 24px/1.05 var(--display); }
.day small { display: block; color: var(--muted); font-weight: 500; }
.day[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.day[aria-selected="true"] small { color: var(--lime); }

/* duration */
.dur { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.dur-l { font-weight: 700; margin-right: 4px; }
.stp { width: 40px; height: 40px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; font: 700 20px var(--font); cursor: pointer; }
.stp:disabled { opacity: .35; cursor: default; }
.dur-v { min-width: 84px; text-align: center; font: 800 26px var(--display); }
.dur-quick { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.dq { height: 34px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 600 13.5px var(--font); cursor: pointer; }
.dq[aria-pressed="true"] { border-color: var(--lime-ink); color: var(--lime-ink); }

/* time slots: the day from 9:00 to 21:00 */
.slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 10px 0 8px; }
.slot { height: 42px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; font: 600 14.5px var(--font); cursor: pointer; color: var(--text); }
.slot:hover:not(:disabled) { border-color: var(--lime-ink); }
.slot.busy { background: repeating-linear-gradient(135deg, #e3e6e0 0 6px, #eceeea 6px 12px); color: #9aa098; border-color: #e0e3dd; cursor: not-allowed; text-decoration: line-through; }
.slot.no { opacity: .38; cursor: not-allowed; }
.slot.in { background: #e3f2d6; border-color: var(--lime); }
.slot.start { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.legend { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); flex-wrap: wrap; margin-bottom: 14px; }
.lg { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line); background: #fff; margin-left: 8px; }
.lg:first-child { margin-left: 0; }
.lg.busy { background: repeating-linear-gradient(135deg, #dfe2dc 0 3px, #eceeea 3px 6px); }
.lg.sel { background: var(--lime); border-color: var(--lime); }

/* ticks */
.tick { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; }
.tick input { width: 22px; height: 22px; accent-color: var(--lime-ink); margin: 1px 0 0; flex: none; }
.tick span { display: block; }
.tick em { font-style: normal; font-weight: 700; color: var(--lime-ink); margin-left: 4px; }
.tick small { display: block; color: var(--muted); font-size: 14px; }

/* tools */
.tools-pick { list-style: none; margin: 0 0 4px; padding: 0; }
.tools-pick li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); min-height: 52px; }
.tools-pick li:first-child { border-top: 0; }
.tools-pick input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--lime-ink); flex: none; }
.tools-pick label { flex: 1; display: flex; flex-direction: column; line-height: 1.3; cursor: pointer; }
.tools-pick small { color: var(--muted); font-size: 13.5px; }
.tools-pick .q { display: inline-flex; align-items: center; gap: 6px; }
.tools-pick .q button { width: 30px; height: 30px; border-radius: 7px; border: 1.5px solid var(--line); background: #fff; font: 700 16px var(--font); cursor: pointer; }
.tools-pick .q output { min-width: 18px; text-align: center; font-weight: 700; }
.tools-pick .tp { min-width: 62px; text-align: right; font-weight: 700; white-space: nowrap; }
.tools-pick li.on .tp { color: var(--lime-ink); }
.tools-pick li.more { border-top: 0; padding-top: 4px; }
.tools-pick li.more .btn { width: 100%; }

/* parts */
.parts-box { padding: 4px 0 4px 34px; }
.fl { display: block; font-size: 14px; font-weight: 600; margin: 10px 0 5px; }
.plate { display: inline-flex; align-items: stretch; border: 2px solid var(--ink); border-radius: 7px; overflow: hidden; background: #f7c900; }
.plate .eu { display: grid; place-items: center; width: 30px; background: #1f47a8; color: #fff; font: 700 11px var(--font); }
.plate input { width: 170px; border: 0; background: transparent; font: 800 26px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; color: var(--ink); }
.plate input:focus { outline: none; }
.plate:focus-within { outline: 3px solid var(--lime); outline-offset: 2px; }
.parts-box textarea, .fields input { width: 100%; font: 400 16px var(--font); padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; }
.warn { margin: 8px 0 0; padding: 9px 12px; border-radius: 8px; background: #fff4d6; font-size: 14px; }

/* details */
.veh { display: inline-flex; border: 1.5px solid var(--line); border-radius: 9px; overflow: hidden; margin-bottom: 6px; }
.veh label { cursor: pointer; }
.veh input { position: absolute; opacity: 0; pointer-events: none; }
.veh span { display: block; padding: 9px 20px; font-weight: 600; background: #fff; }
.veh input:checked + span { background: var(--ink); color: #fff; }
.veh input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: -3px; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }
.fields .wide { grid-column: 1 / -1; }
.agree-list { margin: 0 0 6px; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 15px; }
.agree-list li { padding-left: 16px; position: relative; }
.agree-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--lime-ink); transform: skewX(-20deg); }

/* the meter at the bottom */
.meter { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--ink); color: var(--on-dark); border-top: 3px solid var(--lime); }
.meter-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 72px; max-width: 760px; }
.meter-l { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 10px; min-width: 0; }
.meter-k { font: 400 13px var(--type); color: var(--on-dark-2); }
.meter-v { font: 800 32px/1 var(--display); color: var(--lime); font-variant-numeric: tabular-nums; }
.meter-v.tick-anim { animation: tickup .35s ease; }
@keyframes tickup { 0% { transform: translateY(5px); opacity: .4; } 100% { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .meter-v.tick-anim { animation: none; } }
.meter-s { grid-column: 1 / -1; font-size: 13px; color: var(--on-dark-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meter-msg { position: absolute; left: 50%; bottom: 80px; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); margin: 0;
  background: #fff4d6; color: var(--text); padding: 10px 14px; border-radius: 10px; font-size: 14.5px; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.booking .pill { bottom: 84px; }

/* huurbon */
.bon-wrap { max-width: 560px; }
.bon { background: #fffdf7; color: var(--text); border-radius: 4px; padding: 26px 24px 30px; font: 400 15px/1.55 var(--type);
  box-shadow: 0 1px 0 #e6e2d6, 0 14px 30px rgba(21, 23, 26, .14); position: relative;
  -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 6.5px, #000 7px) 0 0 / 18px 100% repeat-x;
          mask: radial-gradient(circle 7px at 50% 100%, transparent 6.5px, #000 7px) 0 0 / 18px 100% repeat-x; }
.bon .bon-logo { width: 220px; margin: 0 auto 6px; background: var(--ink); padding: 8px 12px; border-radius: 4px; box-sizing: content-box; }
.bon .c { text-align: center; }
.bon hr { border: 0; border-top: 1.5px dashed #bdb8aa; margin: 12px 0; }
.bon .r { display: flex; justify-content: space-between; gap: 12px; }
.bon .r span:last-child { text-align: right; }
.bon .eur { font: 600 15px var(--font); font-variant-numeric: tabular-nums; }
.bon .tot .eur { font-size: 19px; font-weight: 800; }
.bon .tot { font-size: 19px; font-weight: 700; }
.bon .no { font-size: 13px; color: var(--muted); }
.bon .stamp { display: inline-block; border: 2.5px solid var(--lime-ink); color: var(--lime-ink); padding: 2px 10px; transform: rotate(-4deg); font-size: 17px; letter-spacing: .08em; margin-top: 4px; }
.bon ul { margin: 4px 0 0; padding-left: 18px; }
.bon-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn-line { border-color: var(--line); background: #fff; color: var(--text); }

@media (max-width: 640px) {
  .back { font-size: 0; }
  .back::before { content: "‹ Site"; font-size: 14.5px; }
  .bk { padding-top: 26px; }
  .step { padding: 16px 14px; }
  .slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dur-quick { margin-left: 0; width: 100%; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .parts-box { padding-left: 0; }
  .meter-in { height: 68px; }
  .meter-v { font-size: 28px; }
  .meter .btn-big { min-height: 48px; padding: 0 18px; }
  .bon-actions .btn { flex: 1 1 100%; }
  .booking .pill { bottom: 78px; left: 8px; font-size: 11.5px; }
}
