/* Navstar Flows — v0.1 25-11-2026. Huisstijl van de Navstar Werkplek (balk met kleurverloop, lichtblauw canvas,
   witte kaarten, ronde knoppen; Outfit voor koppen, Inter voor tekst). */
* { box-sizing: border-box; margin: 0; }
:root {
  --blauw: #0088ca; --blauw-donker: #006a9a; --blauw-licht: #e3f2fb; --blauw-zacht: #f3f9fd;
  --inkt: #1b2a38; --inkt-zacht: #52677a; --inkt-mist: #8798a8; --rand: #d6e2eb; --rand-zacht: #e6eef4;
  --wit: #fff; --canvas: #f3f8fb; --kopgrijs: #edf3f7; --goed: #17a36b; --fout: #d93d42; --let-op: #e8740c; --navy: #0b2740;
  --verloop: linear-gradient(135deg, #006697 0%, #0088ca 55%, #33a9e0 100%);
  --schaduw: 0 10px 30px rgba(0, 102, 151, .07); --schaduw-zwaar: 0 18px 44px rgba(0, 102, 151, .16);
  --kop: "Outfit", "Segoe UI", system-ui, sans-serif; --tekst: "Inter", "Segoe UI", system-ui, sans-serif;
  --r: 16px; --veld: 42px;
}
html { font-size: 15px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--tekst); color: var(--inkt); background: var(--canvas); line-height: 1.45; -webkit-font-smoothing: antialiased;
       min-height: 100vh; display: flex; flex-direction: column; }
h1, h2, h3 { font-family: var(--kop); font-weight: 700; letter-spacing: -.01em; color: var(--navy); line-height: 1.2; }
a { color: var(--blauw-donker); text-decoration: none; }
a:hover { text-decoration: underline; }
[hidden] { display: none !important; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.num { font-variant-numeric: tabular-nums; }
.zacht { color: var(--inkt-zacht); }
.mist { color: var(--inkt-mist); }
code, .code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .86rem; }

/* ---- kopbalk */
.kop { background: var(--verloop); color: var(--wit); position: sticky; top: 0; z-index: 30; box-shadow: 0 2px 12px rgba(0, 60, 100, .15); }
.kop-binnen { max-width: 1320px; margin: 0 auto; min-height: 64px; display: flex; align-items: center; gap: 1.4rem; padding: 0 1.5rem; }
.kop-logo img { height: 26px; display: block; }
.kop-naam { font-family: var(--kop); font-weight: 500; font-size: 1.05rem; border-left: 1px solid rgba(255,255,255,.35); padding-left: 1.1rem; white-space: nowrap; }
.tabs { display: flex; gap: .3rem; align-items: center; }
.tabs a { display: inline-flex; align-items: center; gap: .45rem; height: 38px; padding: 0 .95rem; border-radius: 999px; color: rgba(255,255,255,.86);
          font-weight: 600; font-size: .95rem; white-space: nowrap; }
.tabs a:hover { color: var(--wit); background: rgba(255,255,255,.12); text-decoration: none; }
.tabs a.actief { color: var(--blauw-donker); background: var(--wit); box-shadow: 0 4px 14px rgba(0,50,90,.18); }
.kop-rechts { margin-left: auto; display: flex; align-items: center; gap: .7rem; }
.kop-wie { font-weight: 600; font-size: .9rem; opacity: .92; }
.kop-rechts form button { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); color: var(--wit); height: 34px;
                          border-radius: 999px; padding: 0 .9rem; font: inherit; font-weight: 600; font-size: .85rem; cursor: pointer; }
.proefband { background: #fff4e5; color: #8a4b00; text-align: center; font-size: .85rem; font-weight: 600; padding: .35rem 1rem; }

main { width: 100%; max-width: 1320px; margin: 0 auto; padding: 1.6rem 1.5rem 2.5rem; flex: 1; }
.voet { max-width: 1320px; width: 100%; margin: 0 auto; padding: .8rem 1.5rem 1.4rem; display: flex; justify-content: space-between;
        font-size: .82rem; color: var(--inkt-mist); }
.paginakop { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.paginakop h1 { font-size: 1.75rem; }
.paginakop .rechts { margin-left: auto; display: flex; gap: .6rem; }

/* ---- kaarten, meldingen */
.kaart { background: var(--wit); border: 1px solid var(--rand-zacht); border-radius: var(--r); box-shadow: var(--schaduw); padding: 1.25rem 1.35rem; }
.kaart + .kaart { margin-top: 1.1rem; }
.kaart h2 { font-size: 1.15rem; margin-bottom: .9rem; display: flex; align-items: center; gap: .5rem; }
.melding { border-radius: 12px; padding: .8rem 1.05rem; margin-bottom: 1.1rem; font-weight: 600; background: #e3f6ee; color: #0f6a45; border: 1px solid #bfe7d3; }
.melding.fout { background: #fdecec; color: #a8262b; border-color: #f6c9cb; }
.melding ul { margin: .3rem 0 0 1.1rem; font-weight: 500; }
.eenmalig { background: #fff8ec; border: 1px solid #f3d6a6; border-radius: 12px; padding: 1rem 1.1rem; margin-bottom: 1.1rem; }
.eenmalig strong { display: block; margin-bottom: .5rem; color: #7a4300; }
.eenmalig .waarde { display: flex; gap: .5rem; }
.eenmalig input { flex: 1; font-family: ui-monospace, Consolas, monospace; }

/* ---- knoppen en velden */
.knop { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; height: var(--veld); padding: 0 1.1rem; border-radius: 999px;
        border: 1px solid var(--rand); background: var(--wit); color: var(--inkt); font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.knop:hover { border-color: var(--blauw); color: var(--blauw-donker); text-decoration: none; }
.knop.hoofd { background: var(--blauw); border-color: var(--blauw); color: var(--wit); }
.knop.hoofd:hover { background: var(--blauw-donker); color: var(--wit); }
.knop.klein { height: 32px; padding: 0 .8rem; font-size: .86rem; }
.knop.gevaar:hover { border-color: var(--fout); color: var(--fout); }
.knop.icoon { width: 32px; height: 32px; padding: 0; }
label.veld { display: block; margin-bottom: .85rem; }
label.veld > span { display: flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .88rem; margin-bottom: .3rem; color: var(--inkt-zacht); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=time], select, textarea {
  width: 100%; height: var(--veld); border: 1px solid var(--rand); border-radius: 10px; padding: 0 .75rem; font: inherit; color: var(--inkt); background: var(--wit); }
textarea { height: auto; min-height: 90px; padding: .6rem .75rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blauw); box-shadow: 0 0 0 3px rgba(0,136,202,.15); }
.rij { display: flex; gap: .6rem; align-items: flex-end; flex-wrap: wrap; }
.rij > * { flex: 1; min-width: 140px; }
.rij > .knop, .rij > button { flex: none; }
.pillen { display: inline-flex; gap: 3px; background: var(--kopgrijs); border-radius: 999px; padding: 3px; flex-wrap: wrap; }
.pillen button, .pillen label { border: 0; background: none; height: 32px; min-width: 42px; padding: 0 .8rem; border-radius: 999px; font: inherit;
                                font-size: .88rem; font-weight: 600; color: var(--inkt-zacht); cursor: pointer; display: inline-flex; align-items: center; }
.pillen .aan { background: var(--wit); color: var(--blauw-donker); box-shadow: 0 2px 8px rgba(0,60,100,.12); }

/* ---- stip + woord voor een status */
.stip { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; white-space: nowrap; }
.stip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--inkt-mist); }
.stip.live, .stip.geslaagd, .stip.ja { color: #0f7a4f; } .stip.live::before, .stip.geslaagd::before, .stip.ja::before { background: var(--goed); }
.stip.proef { color: #a35400; } .stip.proef::before { background: var(--let-op); }
.stip.niet_geslaagd, .stip.nee { color: #a8262b; } .stip.niet_geslaagd::before, .stip.nee::before { background: var(--fout); }
.stip.uit { color: var(--inkt-zacht); }

/* ---- tabellen */
table.lijst { width: 100%; border-collapse: collapse; }
.lijst th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--inkt-mist); font-weight: 600;
            padding: .55rem .7rem; border-bottom: 1px solid var(--rand); white-space: nowrap; }
.lijst td { padding: .7rem .7rem; border-bottom: 1px solid var(--rand-zacht); vertical-align: middle; }
.lijst tr:last-child td { border-bottom: 0; }
.lijst tr.klik { cursor: pointer; }
.lijst tr.klik:hover td { background: var(--blauw-zacht); }
.lijst td.acties { text-align: right; white-space: nowrap; width: 1%; }
.lijst td.acties form { display: inline; }
.lijst .breed { min-width: 260px; }
.leeg { color: var(--inkt-mist); padding: 1.2rem .2rem; }
.tabelvak { overflow-x: auto; }

/* ---- i-teken met uitleg */
.info { display: inline-flex; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--inkt-mist); color: var(--inkt-mist);
        font-size: 10px; font-weight: 700; align-items: center; justify-content: center; cursor: pointer; position: relative; font-style: normal; flex: none; }
.info::after { content: "i"; }
.info-pop { position: absolute; z-index: 60; max-width: 320px; background: var(--navy); color: var(--wit); font-size: .84rem; font-weight: 500;
            line-height: 1.4; padding: .6rem .75rem; border-radius: 10px; box-shadow: var(--schaduw-zwaar); }

/* ---- indeling editor */
.indeling { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1.5rem; align-items: start; }
.zijkant { position: sticky; top: 84px; }
@media (max-width: 1000px) { .indeling { grid-template-columns: 1fr; } .zijkant { position: static; } }

/* ---- keten van stappen */
.keten { display: flex; flex-direction: column; align-items: stretch; }
.stap { background: var(--wit); border: 1px solid var(--rand-zacht); border-radius: var(--r); box-shadow: var(--schaduw); }
.stap.fout { border-color: #f0b4b6; }
.stap-kop { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; }
.stap-nr { width: 30px; height: 30px; border-radius: 50%; background: var(--blauw); color: var(--wit); display: inline-flex; align-items: center;
           justify-content: center; font-family: var(--kop); font-weight: 700; flex: none; }
.stap-icoon { width: 38px; height: 38px; border-radius: 11px; background: var(--blauw-licht); color: var(--blauw-donker); display: inline-flex;
              align-items: center; justify-content: center; flex: none; }
.stap-icoon.effect { background: #fff1e0; color: #a35400; }
.stap-icoon.start { background: #e3f6ee; color: #0f7a4f; }
.stap-titel { flex: 1; min-width: 0; }
.stap-titel strong { display: block; font-family: var(--kop); font-size: 1.02rem; color: var(--navy); }
.stap-titel input { height: 30px; border: 1px dashed transparent; padding: 0 .35rem; margin-left: -.35rem; font-size: .88rem; color: var(--inkt-zacht); background: none; }
.stap-titel input:hover, .stap-titel input:focus { border-color: var(--rand); background: var(--wit); }
.stap-knoppen { display: flex; gap: .3rem; }
.stap-velden { padding: .2rem 1rem 1rem 3.9rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 .9rem; }
.stap-velden .heel { grid-column: 1 / -1; }
.verbinder { display: flex; flex-direction: column; align-items: center; padding: .25rem 0; }
.verbinder::before { content: ""; width: 2px; height: 14px; background: var(--rand); }
.verbinder::after { content: ""; width: 2px; height: 14px; background: var(--rand); }
.plus { width: 32px; height: 32px; border-radius: 50%; border: 1px dashed var(--blauw); background: var(--wit); color: var(--blauw); cursor: pointer;
        display: inline-flex; align-items: center; justify-content: center; }
.plus:hover { background: var(--blauw); color: var(--wit); border-style: solid; }
.kiezer { background: var(--wit); border: 1px solid var(--rand); border-radius: var(--r); box-shadow: var(--schaduw-zwaar); padding: 1rem; margin: .3rem 0;
          display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .4rem 1rem; }
.kiezer h3 { grid-column: 1 / -1; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--inkt-mist); margin-top: .4rem; }
.kiezer button { display: flex; align-items: center; gap: .6rem; text-align: left; border: 1px solid transparent; background: none; border-radius: 10px;
                 padding: .5rem .6rem; font: inherit; cursor: pointer; color: var(--inkt); }
.kiezer button:hover { background: var(--blauw-zacht); border-color: var(--rand-zacht); }
.kiezer .stap-icoon { width: 32px; height: 32px; }
.paar { display: grid; grid-template-columns: 180px 1fr 32px; gap: .5rem; margin-bottom: .5rem; align-items: center; }

/* ---- run */
.verloop .stap { margin-bottom: .8rem; }
.verloop .stap-kop .rechts { margin-left: auto; display: flex; gap: 1.2rem; align-items: center; font-size: .9rem; }
.verloop .inhoud { padding: 0 1rem 1rem 3.9rem; }
.verloop ul.meldingen { list-style: none; padding: 0; margin: 0 0 .6rem; }
.verloop ul.meldingen li { padding: .15rem 0; color: var(--inkt-zacht); }
.verloop .foutregel { color: #a8262b; font-weight: 600; margin-bottom: .5rem; }
pre.voorbeeld { background: var(--blauw-zacht); border: 1px solid var(--rand-zacht); border-radius: 10px; padding: .7rem .85rem; overflow-x: auto;
                font-size: .8rem; max-height: 280px; }
details > summary { cursor: pointer; color: var(--blauw-donker); font-weight: 600; font-size: .88rem; }
dl.feiten { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; font-size: .92rem; }
dl.feiten dt { color: var(--inkt-mist); }

/* ---- inloggen */
.inlogvak { max-width: 400px; margin: 6vh auto 0; }
.inlogvak h1 { font-size: 1.5rem; margin-bottom: 1rem; }
.inlogvak .knop { width: 100%; margin-top: .3rem; }

/* ---- aanvullingen */
.pillen a.knoplink { height: 32px; padding: 0 .9rem; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--inkt-zacht); display: inline-flex; align-items: center; }
.pillen a.knoplink:hover { text-decoration: none; color: var(--blauw-donker); }
.pillen a.knoplink.aan { background: var(--wit); color: var(--blauw-donker); box-shadow: 0 2px 8px rgba(0,60,100,.12); }
.lijst td.acties { display: table-cell; }
.lijst td.acties form + form { margin-left: .3rem; }
input.smal { width: 180px; height: 32px; }
form.onder { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--rand-zacht); }
form.onder .veld { margin-bottom: 0; }
.paginakop.tussen { margin-top: 2rem; }
#runknoppen { margin-top: 1rem; }
#runknoppen form { flex: none; min-width: 0; }
.verwijderform { margin-top: 1rem; text-align: right; }
.stap-knoppen select { height: 32px; width: auto; font-size: .88rem; }
