:root{--ink:#101820;--muted:#66717c;--paper:#f3f5f6;--white:#fff;--yellow:#ffd400;--yellow-dark:#e3bd00;--green:#137a52;--red:#bb2d3b;--line:#e2e6e8;--shadow:0 16px 45px rgba(16,24,32,.08);--radius:20px}*{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}body{margin:0;min-height:100vh}.topbar{height:78px;padding:0 max(24px,calc((100vw - 1180px)/2));background:var(--ink);display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{color:white;text-decoration:none;display:flex;align-items:center;gap:13px}.brand img{width:58px;height:46px;object-fit:contain;background:white;border-radius:10px;padding:5px}.brand span{display:flex;flex-direction:column;line-height:1.1}.brand strong{font-size:18px}.brand small{color:#aeb7bf;margin-top:4px}.topbar nav{display:flex;gap:6px}.topbar nav a{color:#d6dce0;text-decoration:none;padding:10px 14px;border-radius:10px;font-size:14px;font-weight:700}.topbar nav a:hover{background:#27313a;color:white}.shell{width:min(1180px,calc(100% - 32px));margin:32px auto 60px}.hero{background:var(--ink);color:white;border-radius:var(--radius);padding:34px 38px;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;box-shadow:var(--shadow);position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:240px;height:240px;border:54px solid var(--yellow);border-radius:50%;right:-80px;top:-120px;opacity:.12}.eyebrow{display:block;text-transform:uppercase;letter-spacing:.14em;color:#8d98a2;font-size:11px;font-weight:900;margin-bottom:8px}.hero .eyebrow{color:var(--yellow)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(30px,5vw,48px);line-height:1.05;margin-bottom:10px;letter-spacing:-.04em}h2{font-size:23px;margin:0;letter-spacing:-.02em}.hero p,.page-head p{color:#b9c1c7;margin:0;max-width:570px}.stats{display:flex;gap:10px;position:relative;z-index:1}.stats div{background:rgba(255,255,255,.09);min-width:100px;border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:14px;display:flex;flex-direction:column}.stats strong{font-size:28px;color:var(--yellow)}.stats span{font-size:12px;color:#c1c8cd}.layout{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.panel{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:0 8px 30px rgba(16,24,32,.045)}.panel-head,.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px}.page-head{align-items:center;margin:6px 0 24px}.page-head h1{margin-bottom:5px}.page-head p{color:var(--muted)}.booking-form,.edit-form{display:grid;gap:15px}label{display:grid;gap:7px;font-weight:750;font-size:13px}label>span{color:#38434d}input,select{width:100%;height:48px;border:1px solid #ccd3d8;border-radius:12px;background:#fff;color:var(--ink);font:inherit;padding:0 13px;outline:none}input:focus,select:focus{border-color:var(--yellow-dark);box-shadow:0 0 0 4px rgba(255,212,0,.17)}.button{min-height:46px;border:0;border-radius:12px;padding:12px 16px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;font:inherit;font-size:14px;font-weight:850;cursor:pointer}.button.primary{background:var(--yellow);color:var(--ink)}.button.primary:hover{background:#ffe13d}.button.secondary{background:#edf0f2;color:var(--ink)}.button.success{background:var(--ink);color:white}.button.full{width:100%}.vehicle-grid{display:grid;gap:8px}.vehicle-tile{display:grid;grid-template-columns:38px 1fr 20px;align-items:center;gap:12px;padding:12px;border-radius:13px;color:var(--ink);text-decoration:none;border:1px solid transparent}.vehicle-tile:hover{background:#f7f8f9;border-color:var(--line)}.vehicle-icon{width:36px;height:36px;border-radius:10px;background:#eef1f2;display:grid;place-items:center;font-weight:900}.vehicle-tile strong,.vehicle-tile small{display:block}.vehicle-tile small{font-size:12px;margin-top:3px}.available{color:var(--green)}.busy{color:var(--red)}.arrow{font-size:26px;color:#9ca5ac}.active-panel{margin-top:20px}.count{min-width:38px;height:38px;border-radius:12px;background:var(--ink);color:var(--yellow);display:grid;place-items:center;font-weight:900}.reservation-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.reservation-card{border:1px solid var(--line);border-radius:16px;padding:17px;display:grid;gap:14px}.reservation-top{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px}.reservation-top h3{font-size:16px;margin:0 0 3px}.reservation-top p{font-size:13px;color:var(--muted);margin:0}.car-mark{width:42px;height:42px;border-radius:12px;background:var(--yellow);display:grid;place-items:center;font-weight:950}.status,.badge{font-size:11px;font-weight:850;padding:6px 8px;border-radius:99px;background:#fff2f3;color:var(--red)}.time-row{background:#f5f7f8;padding:11px;border-radius:10px}.time-row span,.time-row strong{display:block}.time-row span{color:var(--muted);font-size:11px;text-transform:uppercase;font-weight:800;margin-bottom:3px}.time-row strong{font-size:13px}details summary{list-style:none;cursor:pointer}details summary::-webkit-details-marker{display:none}.edit-form{padding:12px 0 3px}.choice-row{display:flex;gap:14px;margin-bottom:10px}.choice-row label{display:flex;align-items:center;gap:6px}.choice-row input{width:auto;height:auto}.return-time{display:none;margin-bottom:10px}.return-time.show{display:block}.return-form .button{width:100%}.text-button,.icon-button{border:0;background:none;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.text-button.danger,.icon-button.danger{color:var(--red)}.reservation-card>form:last-child{text-align:center}.empty-state{text-align:center;padding:38px 15px}.empty-state>span{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;margin:0 auto 13px;background:#e8f5ef;color:var(--green);font-size:26px}.empty-state h3{margin-bottom:5px}.empty-state p,.empty{color:var(--muted);margin:0}.messages{display:grid;gap:8px;margin-bottom:16px}.message{background:white;border-left:5px solid var(--ink);border-radius:10px;padding:13px 16px;box-shadow:var(--shadow);font-weight:700}.message.success{border-color:var(--green)}.message.error{border-color:var(--red)}.history-list{display:grid}.history-item{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px 4px;border-bottom:1px solid var(--line)}.history-item:last-child{border:0}.history-main{display:flex;align-items:center;gap:13px}.history-main strong,.history-main span{display:block}.history-main span{color:var(--muted);font-size:13px;margin-top:4px}.history-dot{width:12px;height:12px;border-radius:50%;background:var(--red)}.history-dot.done{background:var(--green)}.history-actions{display:flex;align-items:center;gap:10px}.badge.done{background:#e8f5ef;color:var(--green)}.badge.active{background:#fff2f3;color:var(--red)}.back-link{color:var(--muted);font-weight:800;text-decoration:none;font-size:13px;display:block;margin-bottom:18px}.settings-list{display:grid;gap:9px;margin-bottom:15px}.settings-row{display:grid;grid-template-columns:1fr 90px 38px;gap:8px}.settings-row .order-input{text-align:center}.icon-button{height:48px;border-radius:12px;background:#fff1f2;font-size:22px}.panel hr{border:0;border-top:1px solid var(--line);margin:24px 0}.login-card{width:min(460px,100%);margin:70px auto;background:white;border:1px solid var(--line);border-radius:var(--radius);padding:34px;box-shadow:var(--shadow);text-align:center}.login-card .lock{width:58px;height:58px;border-radius:17px;background:var(--yellow);display:grid;place-items:center;margin:0 auto 18px;font-size:28px;font-weight:900}.login-card p{color:var(--muted)}.login-card form{text-align:left;display:grid;gap:16px;margin-top:24px}footer{text-align:center;color:#8a949c;font-size:12px;padding:0 20px 34px}
@media(max-width:850px){.layout{grid-template-columns:1fr}.reservation-grid{grid-template-columns:1fr 1fr}.hero{align-items:flex-start;flex-direction:column}.topbar nav a:first-child{display:none}}
@media(max-width:580px){.topbar{height:68px;padding:0 16px}.brand img{width:48px;height:38px}.brand strong{font-size:15px}.brand small{font-size:10px}.topbar nav a{font-size:12px;padding:9px}.shell{width:min(100% - 20px,1180px);margin-top:10px}.hero{padding:25px 20px;border-radius:16px}.hero h1{font-size:33px}.stats{width:100%}.stats div{flex:1;min-width:0}.panel{padding:18px;border-radius:16px}.layout{gap:10px;margin-top:10px}.active-panel{margin-top:10px}.reservation-grid{grid-template-columns:1fr}.page-head{padding:14px 4px;margin-bottom:8px}.page-head h1{font-size:31px}.history-item{align-items:flex-start;flex-direction:column}.history-actions{width:100%;justify-content:space-between}.settings-row{grid-template-columns:1fr 68px 38px}.login-card{margin:24px auto;padding:25px 20px}.topbar nav{gap:0}}
.active-panel{grid-column:1/-1;margin-top:0}
@media(max-width:850px){.booking-panel{order:1}.active-panel{order:2}.vehicles-panel{order:3}}
@media(max-width:580px){.active-panel{margin-top:0}.reservation-top{grid-template-columns:42px 1fr}.reservation-top .status{grid-column:2;justify-self:start}.button{min-height:50px}.vehicle-tile{min-height:62px}}
:root{--ink:#0d3266;--muted:#66758a;--paper:#eef3f9;--line:#dce4ee;--shadow:0 16px 45px rgba(13,50,102,.10)}
:root{--ink:#07366f;--muted:#61748b;--paper:#eef4fb;--yellow:#004999;--yellow-dark:#003b7d;--line:#d7e2ef;--shadow:0 16px 45px rgba(0,73,153,.12)}
.brand img{width:190px;height:52px;background:transparent;border-radius:0;padding:0}
.button.primary{background:#004999;color:#fff}.button.primary:hover{background:#075cad}
.hero .eyebrow{color:#b9d8fa}.hero:after{border-color:#2d79c7}
.stats strong{color:#fff}.count{background:#004999;color:#fff}
.car-mark{background:#e1effe;color:#004999}.vehicle-icon{background:#e7f1fc;color:#004999}
@media(max-width:580px){.brand img{width:150px;height:42px}.brand span{display:none}}


/* Compacte kop op het reservatie-overzicht */
.hero{padding:16px 22px;align-items:center;gap:18px}
.hero h1{font-size:clamp(25px,3vw,34px);margin-bottom:5px}
.hero .eyebrow{font-size:10px;margin-bottom:5px}
.hero p{font-size:14px;line-height:1.35}
.hero:after{width:150px;height:150px;border-width:34px;right:-48px;top:-76px}
.stats{gap:8px;flex-shrink:0}
.stats div{min-width:88px;border-radius:11px;padding:8px 11px}
.stats strong{font-size:21px;line-height:1.1}
.stats span{font-size:11px;margin-top:2px}
@media(max-width:850px){.hero{flex-direction:row;align-items:center}}
@media(max-width:580px){.hero{padding:14px 15px;gap:10px;flex-direction:column;align-items:flex-start}.hero h1{font-size:27px}.hero p{font-size:13px}.stats{width:100%}.stats div{padding:7px 10px}.stats strong{font-size:20px}}


/* Extra compacte start en gelijk uitgelijnde reservatievelden */
.hero{padding:9px 14px;min-height:0;align-items:center;gap:12px}
.hero>div:first-child{min-width:0}
.hero .eyebrow,.hero p{display:none}
.hero h1{font-size:22px;line-height:1.1;margin:0;letter-spacing:-.02em}
.hero:after{width:90px;height:90px;border-width:24px;right:-32px;top:-48px}
.stats{gap:6px;margin-left:auto}
.stats div{min-width:76px;padding:5px 9px;border-radius:10px}
.stats strong{font-size:17px;line-height:1}
.stats span{font-size:10px;margin-top:3px}
.booking-panel .panel-head{margin-bottom:14px}
.booking-panel .panel-head h2{font-size:20px}
.booking-form{gap:11px;min-width:0}
.booking-form label{min-width:0;gap:5px}
.booking-form input,.booking-form select{display:block;width:100%;max-width:100%;min-width:0;height:46px}
.booking-form .button{width:100%;min-height:46px}
@media(max-width:580px){
  .hero{padding:8px 10px;flex-direction:row;border-radius:12px}
  .hero h1{font-size:19px}
  .stats{width:auto}
  .stats div{min-width:64px;padding:5px 7px}
  .stats strong{font-size:16px}
  .stats span{font-size:9px}
  .booking-panel{padding:15px}
  .booking-panel .panel-head{margin-bottom:12px}
  .booking-panel .panel-head h2{font-size:19px}
  .booking-form{gap:10px}
  .booking-form input,.booking-form select{height:44px}
  .booking-form .button{min-height:44px}
}


/* Mobiele correctie: geen decoratieve streep of uitstekende velden */
html,body{width:100%;max-width:100%;overflow-x:hidden}
.hero:after{display:none}
.layout,.panel,.booking-panel,.booking-form,.booking-form label{width:100%;max-width:100%;min-width:0}
.booking-form{grid-template-columns:minmax(0,1fr);overflow:hidden}
.booking-form input,
.booking-form select,
.booking-form input[type="datetime-local"]{
  box-sizing:border-box!important;
  display:block!important;
  inline-size:100%!important;
  width:100%!important;
  min-inline-size:0!important;
  min-width:0!important;
  max-inline-size:100%!important;
  max-width:100%!important;
  margin:0!important;
  -webkit-appearance:none;
  appearance:none;
}
@media(max-width:580px){
  .shell{width:calc(100% - 16px);margin-top:6px}
  .hero{padding:8px 10px}
  .panel{overflow:hidden}
  .booking-form input,
  .booking-form select,
  .booking-form input[type="datetime-local"]{height:44px;font-size:16px;padding:0 11px}
  .reservation-top{grid-template-columns:38px minmax(0,1fr) auto;gap:9px}
  .reservation-top .status{grid-column:auto;justify-self:end;white-space:nowrap}
  .car-mark{width:38px;height:38px}
}


/* Datum en uur exact centreren, inclusief iPhone Safari */
#pickup-time{
  text-align:center;
  text-align-last:center;
  padding-left:12px;
  padding-right:12px;
}
#pickup-time::-webkit-date-and-time-value{
  width:100%;
  margin:0;
  text-align:center;
}
#pickup-time::-webkit-datetime-edit{
  display:flex;
  width:100%;
  justify-content:center;
  padding:0;
}


/* Datum ook verticaal exact in het midden plaatsen */
#pickup-time{
  padding-top:0;
  padding-bottom:0;
  line-height:44px;
}
#pickup-time::-webkit-date-and-time-value{
  display:flex;
  height:100%;
  align-items:center;
  justify-content:center;
  line-height:normal;
}
#pickup-time::-webkit-datetime-edit{
  height:100%;
  align-items:center;
  justify-content:center;
  line-height:normal;
}


/* Afgewerkte mobiele bediening */
.vehicle-tile.free{background:#edf8f2;border-color:#b9e2cb}
.vehicle-tile.free .vehicle-icon{background:#d7f1e2;color:#137a52}
.vehicle-tile.occupied{background:#fff2f3;border-color:#f1c7cc}
.vehicle-tile.occupied .vehicle-icon{background:#fbdde0;color:#bb2d3b}
.return-details .return-form{padding-top:12px}
.return-question{font-size:13px;font-weight:800;color:var(--muted);margin:0 0 9px}
.return-details[open] summary{background:#dfe7f1;color:#07366f}
.backup-box{display:grid;gap:10px}
.backup-box h2{font-size:18px}
.backup-box p{font-size:13px;line-height:1.45;margin:0 0 2px;padding:10px 12px;border-radius:10px}
.storage-ok{color:#137a52;background:#edf8f2}
.storage-warning{color:#8a5a00;background:#fff7dc}
@media(max-width:850px){.booking-panel{order:1}.vehicles-panel{order:2}.active-panel{order:3}}
@media(max-width:580px){
  .topbar{height:58px;padding:0 12px}
  .brand img{width:126px;height:36px}
  .topbar nav a{padding:7px 8px;font-size:11px}
  .reservation-card{padding:13px;gap:10px}
  .reservation-top h3{font-size:15px}
  .time-row{padding:9px 10px}
  .button{min-height:44px}
  .return-details .return-form{padding-top:10px}
  .choice-row{margin-bottom:8px}
  .vehicle-tile{min-height:54px;padding:9px 10px}
}


/* Mobiele volgorde: reserveren, actieve reservaties, beschikbaarheid */
@media(max-width:850px){
  .booking-panel{order:1}
  .active-panel{order:2}
  .vehicles-panel{order:3}
}
