/* Site-specific styles — overrides theme.css */

.brand a{ text-decoration:none; color:var(--primary-dark); font-weight:800; letter-spacing:-.02em; }
.brand span{ color:var(--accent); }
.pill-driver{ background:var(--primary); color:#fff; margin-left:4px; }

/* Boekingsformulier */
h2.hero{ font-size:24px; font-weight:800; letter-spacing:-.02em; margin:0 0 18px; color:var(--primary-dark); }
.loc-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(160px, 1fr)); gap:10px; margin-bottom:14px; }
.loc-option{ position:relative; cursor:pointer; }
.loc-option input{ position:absolute; opacity:0; pointer-events:none; }
.loc-option span{
  display:block; padding:16px 14px; border:2px solid var(--border); border-radius:10px;
  font-weight:700; font-size:15px; background:var(--card-bg); text-align:center;
}
.loc-option:hover span{ border-color:var(--primary); }
.loc-option input:checked + span{ border-color:var(--primary); background:var(--primary); color:#fff; }
.loc-option input:focus-visible + span{ outline:2px solid var(--accent); outline-offset:2px; }
.address-field{ display:none; }
.booking form:has(input[value=anders]:checked) .address-field{ display:flex; }
.form-row > div.narrow{ flex:0 0 110px; min-width:110px; }
.hint{ font-size:11px; color:var(--muted); margin-top:4px; }
input[type=datetime-local]{
  font-family:inherit; font-size:13px; padding:7px 10px; border:1px solid var(--border);
  border-radius:6px; background:#fff; color:var(--text); width:100%;
}
.magic{ margin:4px 0 18px; padding:14px 16px; border-radius:8px; border:1px dashed var(--accent); background:color-mix(in srgb, var(--accent) 6%, white); }
.btn-big{ font-size:16px; padding:13px 24px; width:100%; border-radius:10px; }

/* Lopende rit */
.ride-live-head{ display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:6px; }
.ride-live-head h2.section{ margin:0; }
.progress{ list-style:none; display:flex; margin:16px 0 18px; padding:0; }
.progress li{ flex:1; position:relative; text-align:center; font-size:12px; font-weight:600; color:var(--muted); padding-top:22px; }
.progress li::before{ content:''; position:absolute; top:7px; left:-50%; width:100%; height:3px; background:var(--border); }
.progress li:first-child::before{ display:none; }
.progress .dot{ position:absolute; top:0; left:50%; transform:translateX(-50%); width:17px; height:17px; border-radius:50%; background:var(--border); z-index:1; }
.progress li.done, .progress li.current{ color:var(--primary-dark); }
.progress li.done::before, .progress li.current::before{ background:var(--accent); }
.progress li.done .dot{ background:var(--accent); }
.progress li.current .dot{ background:var(--accent); box-shadow:0 0 0 5px color-mix(in srgb, var(--accent) 25%, transparent); animation:pulse 1.6s ease-in-out infinite; }
@keyframes pulse{ 50%{ box-shadow:0 0 0 9px color-mix(in srgb, var(--accent) 8%, transparent); } }
.progress-stopped{ margin:12px 0; }

.ride-facts{ display:flex; flex-wrap:wrap; gap:10px 28px; margin:0 0 12px; }
.ride-facts dt{ font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.03em; color:var(--muted); }
.ride-facts dd{ margin:2px 0 0; font-size:15px; font-weight:600; }
.ride-facts dd.eta{ color:var(--accent); font-size:18px; }
.ride-note{ margin:0 0 12px; padding:8px 12px; border-left:3px solid var(--border); background:#fafafa; border-radius:0 6px 6px 0; }
.ride-note.driver{ border-left-color:var(--accent); }

/* Chauffeur */
.ride-row{ padding:14px 0; border-top:1px solid var(--border); }
.ride-row:first-of-type{ border-top:none; padding-top:0; }
.ride-row-head{ display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:10px; }
.ride-title{ font-weight:700; font-size:15px; text-decoration:none; }
.ride-actions{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:10px; }
.inline-form{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.eta-input{ display:flex; align-items:center; gap:6px; font-size:13px; font-weight:600; }
.eta-input input{ width:70px; }

.pill-status{ background:#f0f0f0; color:#555; }
.status-requested{ background:#fff4dc; color:#8a6116; }
.status-accepted, .status-arrived{ background:color-mix(in srgb, var(--accent) 15%, white); color:#04713f; }
.status-completed{ background:#eef0f3; color:#22303c; }
.status-declined, .status-cancelled{ background:#fdeceb; color:#b23a2a; }

.stat-row{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:18px; }
.stat-card{ flex:1; min-width:140px; background:var(--card-bg); border:1px solid var(--border); border-radius:8px; padding:16px 18px; }
.stat-value{ font-size:26px; font-weight:800; color:var(--primary-dark); line-height:1.1; }
.stat-label{ font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.03em; color:var(--muted); margin-top:4px; }

/* Sterren */
.star{ color:#f2b134; }
.star-empty{ color:var(--border); }
.star.big, .star-empty.big{ font-size:22px; }
.stars{ display:inline-flex; flex-direction:row-reverse; gap:2px; margin-bottom:12px; }
.stars input{ position:absolute; opacity:0; pointer-events:none; }
.stars label{ font-size:32px; color:var(--border); cursor:pointer; line-height:1; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label{ color:#f2b134; }
.stars input:focus-visible + label{ outline:2px solid var(--accent); }

.timeline{ list-style:none; margin:0; padding:0; }
.timeline li{ padding:5px 0; display:flex; gap:12px; align-items:baseline; }

.table-scroll{ overflow-x:auto; }
.pager-wrap{ margin-top:12px; font-size:13px; }
.pager-wrap nav{ display:flex; gap:10px; }
.pager-wrap ul{ list-style:none; display:flex; gap:10px; padding:0; margin:0; }

.chat-page{ height:calc(100vh - 160px); }

@media (max-width:600px){
  header.app-header{ padding:10px 16px; }
  main{ padding:16px 12px 60px; }
  .card-panel{ padding:16px; }
  h2.hero{ font-size:20px; }
  .progress li{ font-size:10px; }
}
