
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
:root{--bg:#f7f7f8;--fg:#0f1115;--muted:#6b7280;--card:#fff;--border:#e5e7eb;--brand:#FFF200;--brandText:#000}
*{box-sizing:border-box} html,body,#app{height:100%}
body{margin:0;font-family:Roboto, system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;background:#f7f7f8;color:#0f1115}
.container{max-width:1200px;margin:0 auto;padding:24px}
.header{position:sticky;top:0;background:#ffffffcc;backdrop-filter:saturate(1.2) blur(6px);border-bottom:1px solid var(--border);z-index:10}
.header-inner{/*display:flex*/;align-items:center;justify-content:space-between;gap:12px;padding:12px 24px;max-width:1200px;margin:0 auto}
.brand{display:flex;align-items:center;gap:12px}
.brand img{height:38px}
h1{font-size:18px;margin:0}
.header-inner h1 {
    font-size: 28px;
    margin: 0;
    margin-left:28%;
}
h2{margin:0 0 8px 0}
.btn{border:1px solid var(--border);padding:10px 14px;background:#fff;cursor:pointer}
.btn.primary{background:#FFF200;color:#000;border-color:#FFF200}
.btn:disabled{opacity:.6;cursor:not-allowed}
.link{color:#0f1115;text-decoration:underline;cursor:pointer}
.card{background:#fff;border:1px solid var(--border);padding:18px;font-size:14px;}
.grid{display:grid;gap:12px} .grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.input,.number,.password,.textarea{width:100%;padding:10px 12px;border:1px solid var(--border);font-family:inherit}
.label{font-size:12px;color:#6b7280;margin-bottom:4px;display:block}
.stepper{display:flex;gap:6px;margin:0 0 16px} .dot{height:8px;border-radius:999px;background:#d1d5db;flex:1} .dot.active{background:#0f1115}
.option{border:1px solid var(--border);padding:10px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.option .opt-left{display:flex;align-items:center;gap:10px}
.option img.opt-thumb{height:150px;max-width:160px;width:auto;display:block}
.small{font-size:12px;color:#6b7280} .table{width:100%;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.table th,.table td{padding:8px;text-align:left;vertical-align:top}
.mt{margin-top:16px;}
.aflever-wrap{min-height:248px; transition:opacity .2s ease}
#print-stage{position:absolute; left:-9999px; top:0;background:#fff}
/* Zorg dat elke .card het hele scherm vult minus header */
main.container {
    min-height: calc(100vh - 100px);
    /* hoogte minus headerbalk */
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

/* Kaart vult de hoogte, inhoud blijft normaal */
.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* boven: inhoud, onder: knoppen */
    flex: 1;
}

/* optioneel: voor net iets meer ademruimte onderin */
.card>.row.mt {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
    input,
    select,
    textarea,
    button {
        font-size: 16px !important;
    }
    #opts .option {
        align-items: flex-start;
        /* hele tile wat meer naar boven uitlijnen */
    }

    #opts .option .opt-left {
        flex-direction: column;
        /* zet img + tekst onder elkaar */
        align-items: flex-start;
        /* tekst links uitlijnen onder de afbeelding */
    }

    .option img.opt-thumb {
        height: 56px;
        /* mag eventueel net iets groter op mobiel */
    }
    .grid.grid-2 {
        grid-template-columns: 1fr !important;
    }

    #opts .option {
        flex-direction: column;
        align-items: flex-start;
    }
    #opts .row {
        margin-left:auto;
    }

.header-inner h1 {
    font-size: 20px;
    margin: 0;
    margin-left: unset;
    line-height: 1rem;
    }

}