/* Sasora Rental: overzicht, voertuigpagina, reserveerblok, formulier en reservering.
   Kleuren via custom properties (per theme te overschrijven). Mockup: docs/mockups/verhuur-v1.html. */
.sr {
  --sr-navy: #0b1d2a; --sr-primary: #005781; --sr-primary-soft: #e8f1f6; --sr-gold: #cd9d40; --sr-gold-text: #86611a;
  --sr-text: #1b1b1b; --sr-muted: #5a6670; --sr-line: #e3e8ec; --sr-soft: #f5f7f9; --sr-ok: #1f7a4d; --sr-bad: #8b2939;
  --sr-radius: 14px; --sr-shadow: 0 1px 2px rgb(11 29 42 / 6%), 0 8px 24px rgb(11 29 42 / 6%);
  padding: 32px 0 72px; color: var(--sr-text);
}
.sr *, .sr *::before, .sr *::after { box-sizing: border-box; }
.sr-wrap { width: min(1200px, 100% - 48px); margin: 0 auto; }
.sr-wrap--narrow { max-width: 760px; }
.sr h1 { margin: 0 0 10px; font-size: clamp(30px, 4vw, 42px); line-height: 1.15; }
.sr-h2 { margin: 32px 0 12px; font-size: 22px; }
.sr-muted { color: var(--sr-muted); }
.sr-eyebrow { display: inline-flex; gap: 8px; align-items: center; margin: 0 0 8px; color: var(--sr-gold-text); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sr-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.sr-label { display: block; margin: 12px 0 6px; font-weight: 700; font-size: 15px; }
.sr-btw { color: var(--sr-muted); font-size: 13px; font-weight: 400; }
.sr-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 2px solid transparent; border-radius: 10px; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.sr-btn--primary { background: var(--sr-primary); color: #fff; }
.sr-btn--gold { background: var(--sr-gold); color: #1b1b1b; }
.sr-btn--line { background: #fff; border-color: var(--sr-primary); color: var(--sr-primary); }
.sr-btn--block { width: 100%; margin-top: 14px; }
/* Hover/focus: het theme kleurt links bij hover; de tekst houdt hier de knopkleur */
.sr .sr-btn--primary:hover, .sr .sr-btn--primary:focus, .sr .sr-btn--primary:active { background: #0b3d5c; color: #fff; text-decoration: none; }
.sr .sr-btn--gold:hover:not(:disabled), .sr .sr-btn--gold:focus, .sr .sr-btn--gold:active { background: #b8862c; color: #1b1b1b; text-decoration: none; }
.sr .sr-btn--line:hover, .sr .sr-btn--line:focus, .sr .sr-btn--line:active { background: var(--sr-primary); color: #fff; text-decoration: none; }
.sr-btn:disabled { opacity: .5; cursor: not-allowed; }
.sr a:focus-visible, .sr button:focus-visible, .sr input:focus-visible, .sr select:focus-visible, .sr textarea:focus-visible, .sr [tabindex="-1"]:focus-visible { outline: 3px solid var(--sr-gold); outline-offset: 2px; }

/* Particulier / zakelijk */
.sr-who { display: inline-flex; padding: 4px; border: 1px solid var(--sr-line); border-radius: 999px; background: var(--sr-soft); }
.sr-who button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--sr-text); font: inherit; font-weight: 600; cursor: pointer; }
.sr-who button[aria-pressed="true"] { background: var(--sr-navy); color: #fff; }
.sr-who--full { display: flex; margin-bottom: 14px; } .sr-who--full button { flex: 1; }

/* Overzicht */
.sr-archive__head { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.sr-archive__who { text-align: right; } .sr-archive__who .sr-btw { margin: 6px 0 0; }
.sr-search { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px; align-items: end; padding: 18px; border-radius: var(--sr-radius); background: var(--sr-navy); color: #fff; }
.sr-search label { display: grid; gap: 4px; font-size: 13px; color: #c9d6df; }
.sr input, .sr select, .sr textarea, .sr input[type], .sr input[type="email"], .sr input[type="tel"], .sr input[type="date"] { margin: 0; box-sizing: border-box; } /* theme: marge/hoogte op velden */
.sr .sr-search input, .sr .sr-search select { height: 44px; min-height: 44px; width: 100%; margin: 0; padding: 0 14px; border: 0; border-radius: 8px; font: inherit; line-height: 44px; color: var(--sr-text); background-color: #fff; box-shadow: none; }
/* Eigen pijl op dezelfde plek als het kalendericoon van de datumvelden */
.sr .sr-search select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 2 6 6.2 10.5 2' fill='none' stroke='%231b1b1b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 11px 7px; cursor: pointer; }
.sr-search input[type="date"]::-webkit-calendar-picker-indicator { margin-right: 2px; cursor: pointer; }
.sr-count { margin: 22px 0 12px; color: var(--sr-muted); }
.sr-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.sr-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--sr-line); border-radius: var(--sr-radius); background: #fff; box-shadow: var(--sr-shadow); }
.sr-card__media img, .sr-card__noimg { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--sr-soft); }
.sr-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 18px 20px 20px; }
.sr-card__body .sr-eyebrow { margin: 0; }
.sr-card__title { margin: 0; font-size: 20px; }
.sr-card__title a { color: inherit; text-decoration: none; }
.sr-card__title a:hover { color: var(--sr-primary); text-decoration: underline; }
.sr-specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sr-specs li { padding: 3px 10px; border-radius: 999px; background: var(--sr-soft); color: var(--sr-muted); font-size: 13px; }
.sr-avail { margin: 0; font-size: 14px; font-weight: 700; }
.sr-avail--yes { color: var(--sr-ok); } .sr-avail--no { color: var(--sr-bad); }
.sr-from { margin: auto 0 0; }
.sr-from .sr-price { color: var(--sr-navy); font-size: 24px; font-weight: 800; }
.sr-price__per { color: var(--sr-muted); font-size: 14px; }
.sr-empty { padding: 24px; border: 1px dashed var(--sr-line); border-radius: var(--sr-radius); text-align: center; }

/* Voertuigpagina */
.sr-crumbs { margin: 0 0 14px; color: var(--sr-muted); font-size: 14px; }
.sr-crumbs a { color: var(--sr-primary); text-decoration: underline; text-underline-offset: 2px; }
.sr-detail { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.sr-gallery__main { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: var(--sr-radius); object-fit: cover; }
.sr-gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.sr-gallery__thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 8px; object-fit: cover; }
.sr-title { margin-top: 18px !important; }
.sr-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--sr-primary-soft); color: var(--sr-primary); font-size: 13px; font-weight: 700; vertical-align: middle; }
.sr-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sr-table th, .sr-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--sr-line); text-align: left; vertical-align: top; }
.sr-table tbody th { width: 40%; color: var(--sr-muted); font-weight: 500; }
.sr-table--prices thead th { color: var(--sr-muted); font-size: 13px; }
.sr-table--prices td:last-child, .sr-table--prices th:last-child { text-align: right; padding-right: 0; }
.sr-incl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 15px; }
.sr-incl li::before { content: "✓ "; color: var(--sr-ok); font-weight: 800; }

/* Reserveerblok */
.sr-book { position: sticky; top: 100px; padding: 22px; border: 1px solid var(--sr-line); border-radius: var(--sr-radius); background: #fff; box-shadow: var(--sr-shadow); }
.sr-book .sr-h2 { margin-top: 0; }
.sr-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 6px; margin-bottom: 14px; }
.sr-modes button { min-height: 44px; border: 1px solid var(--sr-line); border-radius: 10px; background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.sr-modes button[aria-pressed="true"] { border-color: var(--sr-primary); background: var(--sr-primary-soft); color: var(--sr-primary); }
.sr-cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-weight: 700; }
.sr-cal__head button { width: 36px; height: 36px; border: 1px solid var(--sr-line); border-radius: 8px; background: #fff; font-size: 18px; cursor: pointer; }
.sr-cal__head button:disabled { opacity: .35; cursor: default; }
.sr-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; font-size: 14px; }
.sr-cal__dow { color: var(--sr-muted); font-size: 12px; font-weight: 700; }
.sr-day { min-width: 0; padding: 0; aspect-ratio: 1; border: 1px solid transparent; border-radius: 8px; background: #fff; font: inherit; cursor: pointer; }
.sr-day.free { background: #eaf6ef; } .sr-day.part { background: #fff3c4; }
.sr-day.full, .sr-day.closed, .sr-day.off { background: #f3f4f5; color: #6f777d; text-decoration: line-through; cursor: not-allowed; }
.sr-day.is-range { background: var(--sr-primary-soft); }
.sr-day.is-selected { background: var(--sr-primary); color: #fff; }
.sr-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 8px 0 0; color: var(--sr-muted); font-size: 12px; }
.sr-legend i { display: inline-block; width: 12px; height: 12px; margin-right: 4px; border-radius: 3px; vertical-align: -1px; }
.sr-legend .free { background: #eaf6ef; } .sr-legend .part { background: #fff3c4; } .sr-legend .full { background: #f3f4f5; }
.sr-slots { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; }
.sr-slots button { min-height: 38px; padding: 0 12px; border: 1px solid var(--sr-line); border-radius: 8px; background: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.sr-slots button[aria-pressed="true"] { border-color: var(--sr-primary); background: var(--sr-primary); color: #fff; }
.sr-slots button:disabled { color: #8a9095; text-decoration: line-through; cursor: not-allowed; }
.sr-select { width: 100%; min-height: 42px; padding: 0 10px; border: 1px solid #c3c4c7; border-radius: 8px; font: inherit; }
.sr-hint { margin: 6px 0; font-size: 14px; }
.sr-extras { margin: 14px 0; padding: 0; border: 0; }
.sr-extras legend { padding: 0; margin-bottom: 4px; font-weight: 700; }
.sr-extras label { display: flex; gap: 8px; align-items: center; padding: 5px 0; font-size: 15px; }
.sr-extras small { margin-left: auto; color: var(--sr-muted); }
.sr-sum { margin-top: 12px; padding: 14px; border-radius: 10px; background: var(--sr-soft); font-size: 15px; }
.sr-sum > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.sr-sum p { margin: 4px 0 0; font-size: 14px; }
.sr-sum__when { margin: 0 0 6px !important; font-weight: 600; font-size: 14px !important; }
.sr-sum__total { margin-top: 6px; padding-top: 8px !important; border-top: 1px solid var(--sr-line); font-size: 18px; font-weight: 800; }
.sr-error { margin: 8px 0 0; color: var(--sr-bad); font-weight: 600; }
.sr-note { padding: 12px; border-radius: 8px; background: #fff3c4; }

/* Formulier */
.sr-checkout { margin-top: 40px; padding: 28px; border: 1px solid var(--sr-line); border-radius: var(--sr-radius); background: #fff; }
.sr-checkout:focus { outline: none; }
.sr-checkout .sr-h2 { margin-top: 0; }
.sr-form { display: grid; gap: 16px; max-width: 820px; }
.sr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.sr-form label { display: flex; flex-wrap: wrap; align-content: flex-start; align-items: baseline; gap: 4px 6px; font-weight: 600; font-size: 15px; }
.sr-form label > input:not([type="checkbox"]):not([type="radio"]), .sr-form label > select, .sr-form label > textarea { flex: 1 1 100%; }
.sr-form input:not([type="checkbox"]):not([type="radio"]), .sr-form textarea { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #c3c4c7; border-radius: 8px; font: inherit; font-weight: 400; line-height: 1.4; background: #fff; }
.sr-form input:not([type="checkbox"]):not([type="radio"]) { height: 44px; }
.sr-full { grid-column: 1 / -1; }
.sr-fieldset { margin: 0; padding: 16px; border: 1px solid var(--sr-line); border-radius: 10px; }
.sr-fieldset legend { width: auto; margin: 0; padding: 0 6px; border: 0; font-size: 17px; font-weight: 700; line-height: 1.3; }
.sr-form label.sr-check, .sr-form label.sr-option { display: flex; flex-wrap: nowrap; gap: 10px; align-items: flex-start; font-weight: 400; }
.sr-form label.sr-option { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; }
.sr-form label.sr-option small { grid-column: 2; }
.sr-form .sr-check input, .sr-form .sr-option input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; }
.sr-check input, .sr-option input { margin-top: 4px; }
.sr-option { padding: 10px 12px; margin-bottom: 8px; border: 1px solid var(--sr-line); border-radius: 10px; font-weight: 600 !important; }
.sr-option small { display: block; color: var(--sr-muted); font-weight: 400; }
.sr-deposit { margin-top: 8px; }
.sr-terms summary { cursor: pointer; color: var(--sr-primary); font-weight: 600; }
.sr-hp { position: absolute; left: -9999px; }
[hidden] { display: none !important; }

/* Reservering */
.sr-done { margin-bottom: 20px; text-align: center; }
.sr-done__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: #fff3c4; color: #7a5a00; font-size: 28px; font-weight: 800; }
.sr-done__icon--confirmed, .sr-done__icon--active, .sr-done__icon--returned { background: #eaf6ef; color: var(--sr-ok); }
.sr-done__icon--cancelled { background: #f6e5e8; color: var(--sr-bad); }
.sr-card--plain { padding: 18px 22px; box-shadow: none; }
.sr-timeline { margin: 24px 0; padding-left: 20px; } .sr-timeline li { margin-bottom: 10px; }

@media (max-width: 980px) {
  .sr-detail { grid-template-columns: 1fr; } .sr-book { position: static; }
  .sr-cards { grid-template-columns: 1fr 1fr; } .sr-search { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .sr-wrap { width: min(1200px, 100% - 32px); }
  .sr-cards, .sr-grid, .sr-incl, .sr-search { grid-template-columns: 1fr; }
  .sr-archive__who { text-align: left; }
  .sr-checkout { padding: 20px 16px; }
}
/* Fase 2: documenten en afrekening op de reserveringspagina */
.sr-docs { margin: 0 0 20px; padding: 0; list-style: none; }
.sr-docs li { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--sr-line); }
.sr-docs a:not(.sr-btn) { color: var(--sr-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.sr-btn--small { min-height: 36px; padding: 0 14px; font-size: 14px; }
.sr-reservation .sr-h2 { margin: 24px 0 10px; }

/* Demo-modus */
.sr-demo { margin: 0 0 20px; padding: 12px 16px; border-left: 4px solid var(--sr-gold); border-radius: 8px; background: #fff7e6; color: var(--sr-text); font-size: 15px; line-height: 1.5; }
.sr-demo a { color: var(--sr-primary); font-weight: 600; text-decoration: underline; }
