/* Panora klantenportaal — huisstijl uit de mockups (Design-canvas 2468c8ce).
   Mobile-first op 390px; op grotere schermen staat de app gecentreerd. */

:root {
  --blauw: #044D8E;
  --blauw2: #0F61AC;
  --licht: #1792D0;
  --pastel: #9FCAE3;
  --pastelbg: #E8F4FB;
  --pastelbg2: #F3F9FD;
  --tekst: #4A6478;
  --hulp: #7A93A6;
  --rand: #C9DEED;
  --rand2: #E3EEF6;
  --bg: #F7FAFD;
  --groen: #1B8A5A;
  --groenbg: #E6F7EF;
  --oranje: #B76E00;
  --oranjebg: #FFF4E0;
  --rood: #B3261E;
  --roodbg: #FCEEED;
}

* { box-sizing: border-box; }
html { height: 100%; }
body {
  margin: 0; min-height: 100%;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg); color: var(--tekst);
  font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.app { max-width: 480px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.app.wit { background: #FFFFFF; }
a { color: var(--licht); }
a:hover { color: var(--blauw2); }

h1, h2, h3, .kop { font-family: Montserrat, Inter, sans-serif; color: var(--blauw); margin: 0; }
h1 { font-weight: 700; font-size: 24px; line-height: 1.25; }
h2 { font-weight: 700; font-size: 18px; }
h3 { font-weight: 700; font-size: 15px; }

/* Koppen en merk */
.merk { display: flex; align-items: center; gap: 8px; }
.merk img { width: 24px; height: 24px; }
.merk .naam { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 16px; letter-spacing: 2.5px; color: var(--blauw); }
.merk.op-blauw .naam { color: #FFFFFF; }
.merk.op-blauw .logovak { width: 32px; height: 32px; border-radius: 9px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.merk.op-blauw .logovak img { width: 22px; height: 22px; }

.top { padding: 24px 24px 0 24px; display: flex; align-items: center; gap: 12px; }
.top .terug { display: flex; align-items: center; color: var(--blauw); text-decoration: none; }

/* Wizard-kop */
.wizardkop { background: #FFFFFF; padding: 24px 24px 18px 24px; border-bottom: 1px solid var(--rand2); display: flex; flex-direction: column; gap: 12px; }
.wizardkop .rij { display: flex; justify-content: space-between; align-items: center; }
.stapje { font-size: 12px; font-weight: 600; color: var(--hulp); }
.balkjes { display: flex; gap: 6px; }
.balkjes div { flex-grow: 1; height: 4px; border-radius: 999px; background: var(--rand2); }
.balkjes div.aan { background: var(--licht); }
.adresregel { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--tekst); }
.adresregel strong { color: var(--blauw); }

/* Hero (landing en beheer) */
.hero { background: linear-gradient(180deg, #044D8E 0%, #0F61AC 100%); padding: 56px 28px 40px 28px; display: flex; flex-direction: column; gap: 20px; }
.hero.beheer { padding: 28px 24px 22px 24px; gap: 14px; }
.hero .titel { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 30px; line-height: 1.2; color: #FFFFFF; text-wrap: pretty; }
.hero.beheer .titel { font-size: 24px; }
.hero .sub { font-size: 17px; line-height: 1.5; color: #D7EAF8; }
.hero .sub strong { color: #FFFFFF; }
.hero .logoblok { width: 42px; height: 42px; border-radius: 11px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.hero .logoblok img { width: 30px; height: 30px; }
.hero .merkgroot { display: flex; align-items: center; gap: 11px; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 22px; letter-spacing: 3px; color: #FFFFFF; }
.avatar { width: 36px; height: 36px; border-radius: 999px; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; color: #FFFFFF; text-decoration: none; }

/* Bonusbalk op beheer */
.bonus { background: rgba(255,255,255,0.12); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.bonus .rij { display: flex; justify-content: space-between; align-items: center; }
.bonus .label { font-size: 13px; color: #D7EAF8; }
.bonus .teller { font-size: 13px; font-weight: 600; color: #FFFFFF; }
.bonus .baan { height: 8px; background: rgba(255,255,255,0.25); border-radius: 999px; }
.bonus .baan div { height: 8px; background: var(--pastel); border-radius: 999px; }

/* Kaarten en secties */
.blok { margin: 16px 24px 0 24px; }
.blok.eerste { margin-top: 18px; }
.kaart { background: #FFFFFF; border: 1.5px solid var(--rand); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.kaart.stil { border-color: var(--rand2); }
.kaart.gekozen { border: 2px solid var(--licht); box-shadow: 0 4px 14px rgba(23, 146, 208, 0.12); }
.kv { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; }
.kv .k { color: var(--hulp); flex-shrink: 0; }
.kv .v { color: var(--blauw); font-weight: 600; text-align: right; }
.kv .v .oud { color: var(--hulp); font-weight: 400; text-decoration: line-through; }

/* Knoppen — alles minstens 44px hoog */
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  min-height: 52px; border-radius: 12px; border: none; cursor: pointer; text-decoration: none;
  font-family: Montserrat, Inter, sans-serif; font-weight: 700; font-size: 16px; padding: 0 16px; }
.btn.primair { background: var(--licht); color: #FFFFFF; }
.btn.primair:hover { background: var(--blauw2); color: #FFFFFF; }
.btn.rand { background: #FFFFFF; border: 1.5px solid var(--licht); color: var(--licht); font-size: 15px; min-height: 48px; border-radius: 10px; }
.btn.stil { background: #FFFFFF; border: 1.5px solid var(--rand); color: var(--tekst); font-weight: 600; font-size: 14px; min-height: 48px; border-radius: 10px; font-family: Inter, sans-serif; }
.btn.klein { min-height: 44px; font-size: 13.5px; font-weight: 600; font-family: Inter, sans-serif; border-radius: 10px; }
.btn[disabled] { background: var(--pastel); cursor: default; }
.knoprij { display: flex; gap: 8px; padding-top: 4px; }
.knoprij .btn { flex: 1 1 0; }

/* Invulvelden */
input[type="text"], input[type="email"], input[type="date"], textarea, select {
  width: 100%; min-height: 52px; border: 1.5px solid var(--pastel); border-radius: 10px;
  padding: 12px 16px; font-size: 16px; font-family: Inter, sans-serif; color: var(--blauw);
  background: #FFFFFF; }
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--licht); outline-offset: 0; }
label { font-size: 13px; font-weight: 600; color: var(--tekst); display: block; margin-bottom: 6px; }
.veld { display: flex; flex-direction: column; }

/* Code-invoer */
.code-invoer { height: 58px; letter-spacing: 14px; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 24px; text-align: center; border: 1.5px solid var(--blauw); }

/* Keuzekaarten (radio's zonder bolletje) */
.keuze { position: relative; display: block; }
.keuze input { position: absolute; opacity: 0; inset: 0; }
.keuze .vlak { background: #FFFFFF; border: 1.5px solid var(--rand); border-radius: 12px; padding: 14px 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; min-height: 44px; }
.keuze input:checked + .vlak { background: var(--licht); border-color: var(--licht); }
.keuze input:checked + .vlak .t1 { color: #FFFFFF; }
.keuze input:checked + .vlak .t2 { color: #D7EAF8; }
.keuze input:checked + .vlak .prijs { color: #FFFFFF; }
.keuze input:focus-visible + .vlak { outline: 2px solid var(--blauw); }
.keuze .kolom { display: flex; flex-direction: column; gap: 2px; }
.keuze .t1 { font-weight: 600; font-size: 15px; color: var(--blauw); }
.keuze .t2 { font-size: 12.5px; color: var(--hulp); }
.keuze .prijs { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 17px; color: var(--blauw); white-space: nowrap; }
.keuzerij { display: flex; flex-direction: column; gap: 8px; }
.keuzerij.naast { flex-direction: row; }
.keuzerij.naast .keuze { flex: 1 1 0; }

/* Vinkjes */
.vink { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.vink input { width: 24px; height: 24px; flex-shrink: 0; accent-color: var(--licht); margin: 0; }
.vink span { font-size: 13.5px; line-height: 1.5; color: var(--tekst); }

/* Chips en badges */
.badge { border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; display: inline-block; }
.badge.groen { background: var(--groenbg); color: var(--groen); }
.badge.grijs { background: var(--rand2); color: var(--tekst); }
.badge.oranje { background: var(--oranjebg); color: var(--oranje); }
.badge.blauw { background: var(--pastelbg); color: var(--blauw2); }
.badge.donker { background: var(--blauw); color: #FFFFFF; }
.korting { background: var(--licht); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; color: #FFFFFF; }

/* Datumblokje bij beurten */
.beurt { background: #FFFFFF; border: 1.5px solid var(--rand); border-radius: 14px; padding: 16px 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.beurt.stil { border-color: var(--rand2); }
.datumblok { width: 44px; height: 48px; background: var(--pastelbg); border-radius: 10px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; }
.datumblok .mnd { font-size: 11px; font-weight: 600; color: var(--blauw2); }
.datumblok .dag { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 17px; color: var(--blauw); }
.beurt.stil .datumblok { background: var(--pastelbg2); }
.beurt.stil .datumblok .mnd { color: var(--hulp); }
.beurt.stil .datumblok .dag { color: var(--tekst); }
.beurt .info { display: flex; gap: 12px; align-items: center; min-width: 0; }
.beurt .t1 { font-weight: 600; font-size: 14px; color: var(--blauw); }
.beurt.stil .t1 { color: var(--tekst); }
.beurt .t2 { font-size: 12.5px; color: var(--hulp); }
.beurt .actie { min-height: 40px; padding: 0 14px; background: #FFFFFF; border: 1.5px solid var(--pastel);
  border-radius: 999px; display: flex; align-items: center; font-weight: 600; font-size: 13px;
  color: var(--blauw2); text-decoration: none; flex-shrink: 0; }
.beurt.stil .actie { border-color: var(--rand); color: var(--tekst); }

/* Prijsbanner (wizard stap 1) */
.prijsbanner { background: var(--blauw); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.prijsbanner .label { font-size: 13px; color: var(--pastel); font-weight: 500; }
.prijsbanner .rij { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.prijsbanner .oud { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 22px; color: var(--pastel); text-decoration: line-through; }
.prijsbanner .nieuw { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 32px; color: #FFFFFF; }
.prijsbanner .onder { font-size: 13px; color: #D7EAF8; }

/* Infovakken */
.info-blauw { background: var(--pastelbg); border-radius: 10px; padding: 12px 14px; font-size: 13px; line-height: 1.45; color: var(--blauw2); display: flex; gap: 10px; align-items: flex-start; }
.info-stil { background: var(--pastelbg2); border-radius: 12px; padding: 16px 18px; font-size: 13px; line-height: 1.5; color: var(--tekst); }
.hulptekst { font-size: 12.5px; line-height: 1.5; color: var(--hulp); }
.hulptekst.midden { text-align: center; }
.fout { background: var(--roodbg); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; color: var(--rood); }

/* Handtekeningveld */
.handtekening input { height: 64px; border: 1.5px dashed var(--pastel); border-radius: 10px; background: #FBFDFF;
  font-family: Caveat, cursive; font-size: 30px; color: var(--blauw); padding: 0 18px; }

/* Onderkant */
.voet { margin-top: auto; padding: 20px 24px 32px 24px; display: flex; flex-direction: column; gap: 12px; }
.usps { margin-top: auto; padding: 24px 28px 36px 28px; border-top: 1px solid var(--rand2); display: flex; flex-direction: column; gap: 14px; }
.usps .usp { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--tekst); }

/* Betalingenlijst */
.betaling { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rand2); }
.betaling:last-child { border-bottom: none; }
.betaling .t1 { font-weight: 600; font-size: 14px; color: var(--blauw); }
.betaling .t2 { font-size: 12.5px; }
.betaling .bedrag { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 15px; color: var(--blauw); white-space: nowrap; }
.status-groen { color: var(--groen); font-weight: 600; }
.status-oranje { color: var(--oranje); font-weight: 600; }

/* Groot succes-icoon */
.succesvak { width: 64px; height: 64px; border-radius: 16px; background: var(--pastelbg); display: flex; align-items: center; justify-content: center; }

/* AV-inhoudsopgave */
.toc { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.toc a { font-weight: 600; text-decoration: none; }

@media (max-width: 400px) {
  .knoprij { flex-direction: column; }
}
