/* Chauffeursapp Van Deuveren: inloggen en de schermen voor de tablet in de cabine.
   Stijl uit de mockup (04 Mockup). Tablet-eerst (staand, ongeveer 800 x 1280), ook bruikbaar op een telefoon.
   Alles onder body.chauffeur, zodat het beheer (css/beheer.css) er geen last van heeft. */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
[hidden] { display: none !important; }

.chauffeur {
  --blauw: #027db7; --navy: #0b3f7f; --navy-d: #082f60; --oranje: #ea8532; --oranje-d: #cf6d1c; --oranje-z: #fdeee1;
  --licht: #e3eff8; --licht-2: #f2f7fb; --grond: #f1f4f7; --vlak: #fff; --inkt: #13253b; --grijs: #5b6b7d; --flauw: #8d9aa8;
  --lijn: #dde4ec; --groen: #2e9d5b; --groen-z: #e2f4ea; --rood: #d6363e; --rood-z: #fbe4e5; --geel-z: #fff4d6;
  --schaduw: 0 1px 2px rgba(19,37,59,.06), 0 10px 24px -16px rgba(19,37,59,.25);
  background: var(--grond); color: var(--inkt);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 17px; line-height: 1.4;
  -webkit-tap-highlight-color: transparent;
}
.chauffeur button, .chauffeur input, .chauffeur textarea { font: inherit; color: inherit; }
.chauffeur button { cursor: pointer; }
.chauffeur a { color: inherit; text-decoration: none; }
.chauffeur svg { display: block; }
.chauffeur h1, .chauffeur h2 { margin: 0; }

.chauffeur #app { height: 100vh; height: 100dvh; display: flex; flex-direction: column; max-width: 900px; margin: 0 auto; background: var(--grond); }

/* ---------- kopbalk, inhoud, voet ---------- */
.chauffeur .kopbalk { background: #fff; flex: none; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--lijn); }
.chauffeur .logo { display: flex; align-items: center; gap: 10px; line-height: 1; min-width: 0; }
.chauffeur .logo svg { height: 34px; width: auto; flex: none; }
.chauffeur .logo b { display: block; font-size: 22px; color: var(--navy); letter-spacing: -.01em; white-space: nowrap; }
.chauffeur .logo span { display: block; font-size: 12.5px; color: var(--oranje); font-weight: 800; letter-spacing: .16em; margin-top: 3px; }
.chauffeur .logo.groot svg { height: 56px; }
.chauffeur .logo.groot b { font-size: 34px; }
.chauffeur .logo.groot span { font-size: 18px; }
.chauffeur .net { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; padding: 7px 12px; border-radius: 99px; background: var(--groen-z); color: #1f7343; text-align: right; flex: none; max-width: 52%; }
.chauffeur .net i { width: 9px; height: 9px; border-radius: 50%; background: var(--groen); flex: none; }
.chauffeur .net.uit { background: var(--oranje-z); color: #94480b; }
.chauffeur .net.uit i { background: var(--oranje); }

.chauffeur .inhoud { flex: 1; overflow-y: auto; padding: 22px 24px 28px; -webkit-overflow-scrolling: touch; }
.chauffeur .titel { font-size: 30px; font-weight: 800; color: var(--navy); line-height: 1.15; }
.chauffeur .titel.doctitel { font-size: 24px; margin-bottom: 12px; }
.chauffeur .sub { color: var(--grijs); font-size: 18px; margin: 6px 0 18px; }
.chauffeur .klein { color: var(--grijs); font-size: 15px; }
.chauffeur .zacht { font-weight: 500; color: var(--grijs); font-size: 15px; }

.chauffeur .voet { flex: none; padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--lijn); display: flex; gap: 12px; align-items: center; }
.chauffeur .voet.tussen { justify-content: space-between; }
.chauffeur .terug { border: 1.5px solid var(--lijn); background: #fff; border-radius: 14px; min-height: 60px; padding: 0 20px; font-size: 19px; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 8px; flex: none; }
.chauffeur .terug svg { width: 22px; height: 22px; }
.chauffeur .knop { border: 0; border-radius: 14px; min-height: 62px; padding: 0 22px; font-size: 20px; font-weight: 800; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: 1; text-align: center; }
.chauffeur .knop:active { background: var(--navy-d); }
.chauffeur .knop.oranje { background: var(--oranje); }
.chauffeur .knop.oranje:active { background: var(--oranje-d); }
.chauffeur .knop.rood { background: var(--rood); }
.chauffeur .knop.wit { background: #fff; color: var(--navy); border: 1.5px solid var(--lijn); }
.chauffeur .knop.breed { width: 100%; margin-top: 8px; }
.chauffeur .knop svg { width: 24px; height: 24px; flex: none; }
.chauffeur .knop[disabled] { opacity: .6; cursor: default; }

/* ---------- inloggen ---------- */
.chauffeur .login { flex: 1; display: flex; flex-direction: column; background: #fff; min-height: 0; overflow-y: auto; }
.chauffeur .login .boven { padding: 34px 40px 10px; width: 100%; max-width: 620px; }
.chauffeur .login h1 { font-size: 32px; color: var(--navy); margin: 30px 0 16px; }
.chauffeur .label { display: block; font-size: 17px; font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.chauffeur .veld { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--lijn); border-radius: 14px; padding: 0 8px 0 16px; height: 64px; background: #fff; margin-bottom: 16px; }
.chauffeur .veld:focus-within { border-color: var(--blauw); box-shadow: 0 0 0 3px rgba(2,125,183,.15); }
.chauffeur .veld > svg { width: 26px; height: 26px; color: var(--flauw); flex: none; }
.chauffeur .veld input { border: 0; outline: 0; flex: 1; font-size: 21px; background: transparent; min-width: 0; height: 100%; }
.chauffeur .oogje { border: 0; background: transparent; width: 52px; height: 52px; display: grid; place-items: center; color: var(--flauw); }
.chauffeur .oogje svg { width: 24px; height: 24px; }
.chauffeur .fout { background: var(--rood-z); color: #a3242b; border-radius: 12px; padding: 12px 14px; font-size: 17px; margin: 0 0 14px; font-weight: 600; }
.chauffeur .fout p { margin: 0; }
.chauffeur .fout p + p { margin-top: 4px; }
.chauffeur .login .foto { flex: 1; min-height: 220px; background: #8fa3b5 url("../img/vrachtwagen.jpg") 30% 60% / cover no-repeat; position: relative; margin-top: 24px; }
.chauffeur .login .foto::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40px; background: linear-gradient(#fff, rgba(255,255,255,0)); }
.chauffeur .slogan { position: absolute; left: 28px; right: 20px; bottom: 34px; color: #fff; font-size: 26px; font-style: italic; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,.5); transform: rotate(-4deg); transform-origin: left bottom; }
.chauffeur .strepen { position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: linear-gradient(100deg, var(--navy) 0 60%, var(--oranje) 60% 100%); }

/* ---------- menu ---------- */
.chauffeur .groet { font-size: 19px; color: var(--grijs); margin: 0 0 18px; }
.chauffeur .groet b { color: var(--inkt); display: block; font-size: 24px; margin-top: 2px; }
.chauffeur .grootknop { width: 100%; border: 0; border-radius: 18px; min-height: 132px; display: flex; align-items: center; gap: 22px; padding: 16px 26px; margin-bottom: 18px; text-align: left; box-shadow: var(--schaduw); color: #fff; }
.chauffeur .grootknop .ico { width: 80px; display: grid; place-items: center; flex: none; }
.chauffeur .grootknop .ico svg { width: 64px; height: 64px; }
.chauffeur .grootknop .tekst { flex: 1; font-size: 30px; font-weight: 800; line-height: 1.1; }
.chauffeur .grootknop .pijl svg { width: 30px; height: 30px; }
.chauffeur .grootknop.b { background: var(--navy); }
.chauffeur .grootknop.o { background: var(--oranje); }
.chauffeur .grootknop.l { background: var(--licht); color: var(--navy); }
.chauffeur .grootknop:active { transform: scale(.99); }
.chauffeur .wachtregel { display: flex; gap: 10px; align-items: center; background: var(--geel-z); border-radius: 12px; padding: 14px 16px; font-size: 17px; margin-bottom: 18px; color: #6b4b00; font-weight: 600; }
.chauffeur .wachtregel svg { width: 24px; height: 24px; flex: none; }
.chauffeur .uitleglink { display: inline-flex; align-items: center; gap: 8px; color: var(--blauw); font-size: 18px; font-weight: 600; min-height: 56px; padding: 0 4px; text-decoration: underline; }
.chauffeur .uitleglink svg { width: 22px; height: 22px; }
.chauffeur .uitlog { border: 0; background: transparent; color: var(--grijs); font-size: 16px; display: inline-flex; gap: 8px; align-items: center; min-height: 56px; padding: 0 8px; }
.chauffeur .uitlog svg { width: 20px; height: 20px; }

/* ---------- trailer kiezen ---------- */
.chauffeur .zoek { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--lijn); border-radius: 14px; padding: 0 16px; height: 60px; background: #fff; margin-bottom: 14px; }
.chauffeur .zoek:focus-within { border-color: var(--blauw); }
.chauffeur .zoek svg { width: 24px; height: 24px; color: var(--flauw); flex: none; }
.chauffeur .zoek input { border: 0; outline: 0; flex: 1; font-size: 20px; background: transparent; min-width: 0; }
.chauffeur .rijknop { width: 100%; border: 0; background: #fff; border-radius: 14px; min-height: 72px; display: flex; align-items: center; gap: 16px; padding: 12px 18px; margin-bottom: 10px; box-shadow: var(--schaduw); text-align: left; }
.chauffeur .rijknop.heeft-open { box-shadow: inset 5px 0 0 var(--oranje), var(--schaduw); }
.chauffeur .rijknop .ico { width: 48px; color: var(--navy); flex: none; }
.chauffeur .rijknop .ico svg { width: 48px; height: 34px; }
.chauffeur .rijknop .ico.doc { color: var(--oranje); width: 36px; }
.chauffeur .rijknop .ico.doc svg { width: 34px; height: 34px; }
.chauffeur .rijtekst { flex: 1; min-width: 0; }
.chauffeur .rijtekst strong { display: block; font-size: 22px; color: var(--navy); line-height: 1.2; }
.chauffeur .rijtekst small { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 15px; color: var(--grijs); margin-top: 3px; }
.chauffeur .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chauffeur .rijknop .pijl { color: var(--flauw); flex: none; }
.chauffeur .rijknop .pijl svg { width: 26px; height: 26px; }
.chauffeur .leeg { color: var(--grijs); font-size: 18px; padding: 14px 4px; }
.chauffeur .chip { display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.chauffeur .chip.oranje { background: var(--oranje); color: #fff; }
.chauffeur .chip.rood { background: var(--rood-z); color: #a3242b; }
.chauffeur .chip.grijs { background: #e9edf1; color: #4b5967; }
.chauffeur .chip.zacht { background: var(--licht-2); color: var(--grijs); font-weight: 600; }

/* ---------- controleren ---------- */
.chauffeur .fotogrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chauffeur .fototegel { border: 0; padding: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--schaduw); text-align: left; display: block; width: 100%; }
.chauffeur .fototegel .beeld { aspect-ratio: 16 / 11; background: #dfe6ee; display: grid; place-items: center; overflow: hidden; }
.chauffeur .fototegel .beeld img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chauffeur .fototegel .onder { padding: 10px 12px; font-size: 17px; font-weight: 700; color: var(--navy); display: flex; flex-direction: column; gap: 2px; }
.chauffeur .fototegel .onder small { font-weight: 500; color: var(--grijs); font-size: 14px; }
.chauffeur .fototegel.schade .onder { background: var(--rood-z); color: #a3242b; }
.chauffeur .geenfoto { color: var(--flauw); font-size: 16px; display: grid; place-items: center; gap: 6px; text-align: center; padding: 10px; }
.chauffeur .geenfoto svg { width: 36px; height: 36px; }
.chauffeur .kopje { font-size: 21px; font-weight: 800; color: var(--navy); margin: 26px 0 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.chauffeur .kopje small { font-weight: 600; color: var(--grijs); font-size: 15px; }
.chauffeur .melding-ok { background: var(--groen-z); color: #1f7343; border-radius: 12px; padding: 14px 16px; font-size: 17px; margin: 0; }
.chauffeur .uitleg-klein { color: var(--grijs); font-size: 16px; margin: -4px 0 10px; }
.chauffeur .uitleg-klein b { color: var(--inkt); }
.chauffeur .niets { margin-top: 28px; display: flex; align-items: center; gap: 12px; background: #fff; border: 2px solid var(--groen); border-radius: 14px; padding: 16px 18px; color: #1f7343; font-size: 19px; }
.chauffeur .niets svg { width: 30px; height: 30px; flex: none; color: var(--groen); }

.chauffeur .gemeld { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.chauffeur .gemeld li { background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: var(--schaduw); display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: baseline; border-left: 5px solid var(--lijn); }
.chauffeur .gemeld li.gemeld-mankement { border-left-color: var(--oranje); }
.chauffeur .gemeld li.gemeld-schade { border-left-color: var(--rood); }
.chauffeur .gemeld .wat { font-size: 17px; font-weight: 600; }
.chauffeur .gemeld .wat i { color: var(--grijs); font-weight: 500; }
.chauffeur .gemeld small { grid-column: 2; color: var(--grijs); font-size: 14px; }
.chauffeur .soortlabel { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 6px; background: #e9edf1; color: #4b5967; white-space: nowrap; }
.chauffeur .soortlabel.mankement { background: var(--oranje); color: #fff; }
.chauffeur .soortlabel.schade { background: var(--rood-z); color: #a3242b; }

/* ---------- melden ---------- */
.chauffeur .trailerkeuze { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--licht); border-radius: 14px; padding: 12px 12px 12px 18px; margin: 14px 0 6px; }
.chauffeur .trailerkeuze small { display: block; font-size: 14px; color: var(--grijs); }
.chauffeur .trailerkeuze strong { font-size: 24px; color: var(--navy); }
.chauffeur .trailerkeuze a { background: #fff; border-radius: 12px; min-height: 56px; padding: 0 16px; display: inline-flex; align-items: center; font-weight: 700; color: var(--navy); font-size: 17px; }
.chauffeur .algemeld { background: var(--oranje-z); border-radius: 14px; padding: 4px 14px 14px; margin: 12px 0 4px; }
.chauffeur .algemeld .kopje { margin: 12px 0 6px; }
.chauffeur .algemeld .uitleg-klein { margin: 0 0 10px; }
.chauffeur .stapkop { font-size: 21px; font-weight: 800; color: var(--navy); margin: 24px 0 10px; }
.chauffeur .cats { display: grid; gap: 10px; }
.chauffeur .cat { width: 100%; border: 2px solid var(--lijn); background: #fff; border-radius: 14px; min-height: 76px; display: flex; align-items: center; gap: 14px; padding: 10px 16px; text-align: left; }
.chauffeur .cat .ico { width: 36px; flex: none; color: var(--navy); }
.chauffeur .cat .ico svg { width: 36px; height: 36px; }
.chauffeur .cat.schade .ico { color: var(--rood); }
.chauffeur .cattekst { flex: 1; }
.chauffeur .cattekst strong { display: block; font-size: 21px; line-height: 1.2; }
.chauffeur .cattekst small { display: block; font-size: 15px; color: var(--grijs); margin-top: 2px; }
.chauffeur .cat .vink { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--lijn); flex: none; display: grid; place-items: center; color: transparent; }
.chauffeur .cat .vink svg { width: 20px; height: 20px; }
.chauffeur .cat[aria-pressed="true"] { border-color: var(--oranje); background: var(--oranje-z); }
.chauffeur .cat[aria-pressed="true"] .vink { background: var(--oranje); border-color: var(--oranje); color: #fff; }
.chauffeur .fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.chauffeur .fotovak { aspect-ratio: 1; border-radius: 14px; overflow: hidden; position: relative; background: #e7edf3; }
.chauffeur .fotovak img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chauffeur .fotovak .weg { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(19,37,59,.82); color: #fff; display: grid; place-items: center; }
.chauffeur .fotovak .weg svg { width: 18px; height: 18px; }
.chauffeur .fotoplus { aspect-ratio: 1; border-radius: 14px; border: 2px dashed #a9b8c7; background: #fff; display: grid; place-items: center; align-content: center; gap: 4px; color: var(--navy); font-weight: 800; font-size: 18px; text-align: center; cursor: pointer; }
.chauffeur .fotoplus svg { width: 42px; height: 42px; }
.chauffeur .fotoplus small { font-weight: 500; color: var(--grijs); font-size: 14px; }
.chauffeur .fotobezig { color: var(--grijs); font-size: 16px; margin: 8px 2px 0; }
.chauffeur .tekstvak textarea { width: 100%; min-height: 110px; border: 1.5px solid var(--lijn); border-radius: 14px; padding: 14px 16px; font-size: 19px; resize: vertical; outline: 0; background: #fff; display: block; }
.chauffeur .tekstvak textarea:focus { border-color: var(--blauw); }
.chauffeur .hint { display: flex; gap: 10px; align-items: center; color: var(--grijs); font-size: 16px; margin: 10px 2px 0; }
.chauffeur .hint svg { width: 22px; height: 22px; flex: none; color: var(--navy); }
.chauffeur #meldfout { margin-top: 18px; }

/* ---------- opgeslagen ---------- */
.chauffeur .klaar { flex: 1; overflow-y: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px 28px; }
.chauffeur .klaar .rond { width: 128px; height: 128px; border-radius: 50%; background: var(--groen); color: #fff; display: grid; place-items: center; margin-bottom: 22px; flex: none; }
.chauffeur .klaar .rond svg { width: 70px; height: 70px; }
.chauffeur .klaar h1, .chauffeur .klaar h2 { font-size: 34px; color: var(--navy); margin: 0 0 8px; }
.chauffeur .klaar p { font-size: 20px; color: var(--grijs); margin: 0 0 6px; max-width: 460px; }
.chauffeur .klaar .samenvatting { font-size: 17px; color: var(--inkt); font-weight: 600; }
.chauffeur .klaar .offline, .chauffeur .klaar .bezig, .chauffeur .klaar .verstuurd { margin-top: 18px; border-radius: 12px; padding: 14px 18px; font-size: 17px; max-width: 480px; }
.chauffeur .klaar .offline { background: var(--geel-z); color: #6b4b00; }
.chauffeur .klaar .bezig { background: var(--licht-2); color: var(--grijs); }
.chauffeur .klaar .verstuurd { background: var(--groen-z); color: #1f7343; display: flex; gap: 8px; align-items: center; }
.chauffeur .klaar .verstuurd svg { width: 22px; height: 22px; }
.chauffeur .klaar .knop { flex: none; margin-top: 18px; }

/* ---------- documenten ---------- */
.chauffeur .kruimels { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 16px; margin-bottom: 8px; color: var(--grijs); }
.chauffeur .kruimels a { color: var(--blauw); font-weight: 600; text-decoration: underline; padding: 6px 0; }
.chauffeur .kruimels .scheiding { color: var(--flauw); }
.chauffeur .opgeslagen-op { display: flex; align-items: center; gap: 8px; font-size: 15px; color: #1f7343; background: var(--groen-z); border-radius: 10px; padding: 10px 12px; margin: 10px 0 16px; }
.chauffeur .opgeslagen-op svg { width: 18px; height: 18px; flex: none; }
.chauffeur .mapgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.chauffeur .map { background: #fff; border-radius: 16px; padding: 18px 16px; box-shadow: var(--schaduw); min-height: 116px; display: flex; flex-direction: column; gap: 8px; }
.chauffeur .map svg { width: 40px; height: 40px; color: var(--oranje); }
.chauffeur .map strong { font-size: 19px; color: var(--navy); line-height: 1.2; overflow-wrap: anywhere; }
.chauffeur .map small { font-size: 15px; color: var(--grijs); }
.chauffeur .documentweergave { background: #d9e0e7; }
.chauffeur .docvak { display: grid; gap: 12px; }
.chauffeur .pdfpagina, .chauffeur .docbeeld { display: block; max-width: 100%; height: auto; background: #fff; box-shadow: var(--schaduw); border-radius: 4px; }
.chauffeur .laden { color: var(--grijs); font-size: 18px; }
.chauffeur .melding-leeg { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 14px; padding: 18px; box-shadow: var(--schaduw); margin-top: 12px; }
.chauffeur .melding-leeg svg { width: 34px; height: 34px; flex: none; color: var(--oranje); }
.chauffeur .melding-leeg strong { font-size: 19px; color: var(--navy); }
.chauffeur .melding-leeg p { margin: 6px 0 0; color: var(--grijs); font-size: 17px; }

/* ---------- uitleg ---------- */
.chauffeur .uitleglijst { margin: 18px 0; padding-left: 0; list-style: none; counter-reset: r; display: grid; gap: 12px; }
.chauffeur .uitleglijst li { counter-increment: r; background: #fff; border-radius: 14px; padding: 14px 16px 14px 62px; position: relative; font-size: 19px; box-shadow: var(--schaduw); }
.chauffeur .uitleglijst li::before { content: counter(r); position: absolute; left: 16px; top: 13px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 17px; }

/* ---------- dialoog, toast, foto groot ---------- */
.chauffeur .dialoog { position: fixed; inset: 0; background: rgba(13,24,36,.55); display: grid; place-items: center; padding: 20px; z-index: 50; }
.chauffeur .dialoog-vak { background: #fff; border-radius: 18px; padding: 24px; max-width: 480px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.chauffeur .dialoog-vak p { font-size: 20px; margin: 0 0 20px; font-weight: 600; }
.chauffeur .dialoog-knoppen { display: flex; gap: 12px; }
.chauffeur .toast { position: fixed; left: 50%; bottom: 110px; transform: translateX(-50%) translateY(20px); background: var(--inkt); color: #fff; border-radius: 12px; padding: 12px 18px; font-size: 17px; opacity: 0; pointer-events: none; transition: all .2s; max-width: 86%; text-align: center; z-index: 60; }
.chauffeur .toast.aan { opacity: 1; transform: translateX(-50%) translateY(0); }
.chauffeur .lightbox { position: fixed; inset: 0; background: #0d1824; display: flex; flex-direction: column; z-index: 40; }
.chauffeur .lightbox .beeld { flex: 1; display: grid; place-items: center; padding: 16px; min-height: 0; }
.chauffeur .lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; background: #fff; }
.chauffeur .lightbox .onder { color: #fff; padding: 0 20px calc(20px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 18px; }
.chauffeur .lightbox .onder .knop { flex: none; }

/* ---------- telefoon ---------- */
@media (max-width: 560px) {
  .chauffeur { font-size: 16px; }
  .chauffeur .kopbalk { padding: 10px 14px; }
  .chauffeur .logo svg { height: 28px; }
  .chauffeur .logo b { font-size: 18px; }
  .chauffeur .logo span { font-size: 10.5px; }
  .chauffeur .net { font-size: 13px; padding: 6px 10px; }
  .chauffeur .inhoud { padding: 18px 16px 24px; }
  .chauffeur .titel { font-size: 26px; }
  .chauffeur .login .boven { padding: 26px 22px 10px; }
  .chauffeur .logo.groot svg { height: 44px; }
  .chauffeur .logo.groot b { font-size: 27px; }
  .chauffeur .logo.groot span { font-size: 14px; }
  .chauffeur .slogan { font-size: 21px; left: 20px; }
  .chauffeur .grootknop { min-height: 104px; gap: 14px; padding: 14px 18px; }
  .chauffeur .grootknop .ico { width: 52px; }
  .chauffeur .grootknop .ico svg { width: 46px; height: 46px; }
  .chauffeur .grootknop .tekst { font-size: 23px; }
  .chauffeur .voet { padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); gap: 10px; }
  .chauffeur .terug { padding: 0 14px; font-size: 17px; }
  .chauffeur .knop { font-size: 18px; padding: 0 14px; }
  .chauffeur .rijknop { padding: 10px 14px; gap: 12px; }
  .chauffeur .rijknop .ico { width: 38px; }
  .chauffeur .rijknop .ico svg { width: 38px; height: 28px; }
  .chauffeur .fotogrid { gap: 10px; }
  .chauffeur .fototegel .onder { font-size: 15px; }
  .chauffeur .mapgrid { gap: 10px; }
  .chauffeur .gemeld li { grid-template-columns: 1fr; }
  .chauffeur .gemeld small { grid-column: 1; }
  .chauffeur .uitleglijst li { font-size: 17px; }
}

/* ---------- de planning bekijkt de app als chauffeur ---------- */
#weergave-balk { position: sticky; top: 0; z-index: 50; min-height: 48px; display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap; padding: 6px 14px; background: #0b3f7f; color: #fff; font: 600 15px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; text-align: center; }
#weergave-balk .weergave-terug { border: 0; border-radius: 8px; background: #ea8532; color: #fff; font: inherit; padding: 8px 14px; min-height: 36px; cursor: pointer; }
#weergave-balk .weergave-terug:hover { background: #cf6d1c; }
body.met-weergave-balk.chauffeur #app { height: calc(100vh - 48px); height: calc(100dvh - 48px); }
@media (max-width: 520px) { #weergave-balk { font-size: 13px; gap: 8px; } }
