/* Booking widget, booking pages and admin */
.muted { color: var(--muted); }
.demo-banner {
  background: #2b3358; color: #e6e9f5; font-size: .88rem; text-align: center; padding: 8px 16px;
}
.demo-banner a, .demo-banner button { color: #ffd2bf; background: none; border: 0; font: inherit; cursor: pointer; text-decoration: underline; padding: 0; }
.deposit-line { font-size: .82rem; color: var(--muted); margin: -6px 0 14px; }

.booking { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.booking-main { display: grid; gap: 22px; }
.bk-step { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0; background: var(--cream); min-width: 0; }
.bk-step legend { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.15rem; padding: 0 8px; display: flex; gap: 10px; align-items: center; }
.bk-step .num { width: 28px; height: 28px; border-radius: 50%; background: var(--flame); color: #fff; display: grid; place-items: center; font-size: .9rem; }
.bk-hint { margin: 0 0 12px; font-size: .92rem; }

.bk-scooters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bk-scooter {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px;
  background: #fff; cursor: pointer; margin: 0; font-weight: 500; transition: border-color .15s;
}
.bk-scooter:hover { border-color: #f3b79f; }
.bk-scooter.sel { border-color: var(--flame); box-shadow: 0 0 0 3px rgba(255, 90, 31, .15); }
.bk-scooter { position: relative; }
.bk-scooter input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; inset: 0; margin: 0; }
.bk-scooter .mini { width: 44px; height: 30px; color: var(--night); flex: none; }
.bk-scooter .mini-img { width: 64px; height: 48px; object-fit: contain; flex: none; border-radius: 8px; background: #fff; }
.bk-scooter .t { display: flex; flex-direction: column; flex: 1; line-height: 1.25; }
.bk-scooter .t small { color: var(--muted); font-size: .8rem; }
.bk-scooter .p { font-weight: 800; font-family: "Bricolage Grotesque", sans-serif; text-align: right; line-height: 1.1; }
.bk-scooter .p small { display: block; font-weight: 500; color: var(--muted); font-size: .75rem; font-family: Inter, sans-serif; }

/* calendar */
.cal { position: relative; }
.cal-nav { position: absolute; top: -4px; right: 0; display: flex; gap: 6px; }
.cal-nav button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.3rem; cursor: pointer; line-height: 1; }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cal-title { font-weight: 700; margin: 4px 0 10px; height: 28px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-grid .dow { font-size: .72rem; color: var(--muted); text-align: center; font-weight: 600; }
.day {
  aspect-ratio: 1; border: 0; border-radius: 10px; font: 600 .9rem Inter, sans-serif; cursor: pointer;
  background: #fff; color: var(--ink); position: relative;
}
.day.free { background: #e8f7ee; color: #145c32; }
.day.few { background: #fff1d6; color: #8a5300; }
.day.full { background: #f3e3e1; color: #b8b0ae; text-decoration: line-through; cursor: not-allowed; }
.day.past, .day.out { background: transparent; color: #c9c4bb; cursor: default; text-decoration: none; }
.day.loading { background: #f1eee8; color: #aaa; }
.day.in-range { background: #ffd9c9; color: var(--night); border-radius: 4px; }
.day.sel { background: var(--flame); color: #fff; }
.day:not([disabled]):hover { outline: 2px solid var(--flame); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: .82rem; color: var(--muted); }
.lg { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 4px; }
.lg-free { background: #e8f7ee; border: 1px solid #b5e0c4; } .lg-few { background: #fff1d6; border: 1px solid #f0d199; }
.lg-full { background: #f3e3e1; border: 1px solid #e0c6c2; } .lg-sel { background: var(--flame); }

.checkbox.opt { align-items: flex-start; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.checkbox.opt input { margin-top: 3px; }
.checkbox { line-height: 1.45; }
.field-hint { display: block; margin-top: 5px; font-size: .82rem; color: var(--muted); }
.field-hint.bad { color: #b3261e; font-weight: 600; }
.checkbox input { flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* summary */
.booking-summary {
  position: sticky; top: 88px; background: #fff; border-radius: 22px; padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.booking-summary h3 { font-size: 1.35rem; }
.booking-summary dl { margin: 0 0 14px; display: grid; gap: 8px; }
.booking-summary dl > div { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.booking-summary dt { color: var(--muted); }
.booking-summary dd { margin: 0; font-weight: 600; text-align: right; }
.sum-prices { border-top: 1px solid var(--line); padding-top: 14px; }
.sum-prices .total { border-top: 1px dashed var(--line); padding-top: 8px; font-size: 1.05rem; }
.sum-prices .total dt, .sum-prices .total dd { color: var(--ink); font-weight: 800; }
.sum-prices .now dd { color: var(--flame-dark); font-weight: 800; font-size: 1.15rem; }
.sum-prices .sec { font-size: .88rem; }
.sum-prices .sec small { font-size: .78rem; }
.bk-submit { width: 100%; }
.bk-submit:disabled { background: #d9d4cb; cursor: not-allowed; transform: none; }
.bk-error { color: #b3261e; background: #fdecea; border-radius: 10px; padding: 10px 12px; font-size: .9rem; }
.sum-notes { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: .84rem; color: var(--muted); }
.sum-notes li { display: flex; gap: 8px; align-items: flex-start; }
.sum-notes svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--flame); }

/* standalone pages (success, payment) */
.page-center { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--cream); }
.panel { background: #fff; border-radius: 22px; padding: 32px; box-shadow: var(--shadow); max-width: 560px; width: 100%; border: 1px solid var(--line); }
.panel h1 { font-size: 2rem; }
.panel .status { display: inline-block; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; margin-bottom: 12px; }
.status.ok { background: #e3f6ea; color: #17643a; } .status.wait { background: #fff3d6; color: #8a5300; } .status.bad { background: #fdecea; color: #a3261e; }
.panel dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 18px 0; }
.panel dt { color: var(--muted); } .panel dd { margin: 0; font-weight: 600; }
.panel .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

@media (max-width: 960px) {
  .booking { grid-template-columns: 1fr; }
  .booking-summary { position: static; }
}
@media (max-width: 760px) {
  .bk-scooters { grid-template-columns: 1fr; }
  .cal-months { grid-template-columns: 1fr; }
  .bk-step { padding: 16px; }
}

.checkbox.wa-optin { margin-top: 10px; font-size: .92rem; font-weight: 500; }
