:root {
    --blauw: #1d4ed8;
    --blauw-donker: #1e3a8a;
    --groen: #16a34a;
    --geel: #ca8a04;
    --grijs: #6b7280;
    --achtergrond: #f3f4f6;
    --kaart: #ffffff;
    --rand: #e5e7eb;
    --tekst: #111827;
}

* { box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--achtergrond);
    color: var(--tekst);
    margin: 0;
    padding: 0;
}

.top {
    background: var(--blauw-donker);
    color: white;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top a { color: white; text-decoration: none; margin-left: 16px; font-size: 14px; }
.top .merk { font-weight: 700; font-size: 18px; }

.wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 16px 60px;
}

.kaart {
    background: var(--kaart);
    border: 1px solid var(--rand);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
}

h1 { font-size: 22px; margin-top: 0; }
h2 { font-size: 18px; }

label { display: block; font-weight: 600; margin: 12px 0 4px; font-size: 14px; }
input[type=text], input[type=tel], input[type=date], input[type=password], input[type=email], textarea, select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--rand);
    border-radius: 6px;
    font-size: 16px; /* voorkomt inzoomen op iOS */
}
textarea { min-height: 90px; }

button, .knop {
    background: var(--blauw);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-top: 14px;
}
button:hover, .knop:hover { background: var(--blauw-donker); }
.knop.grijs { background: var(--grijs); }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--rand); font-size: 14px; }
th { color: var(--grijs); font-weight: 600; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: white; }
.badge.nieuw { background: var(--geel); }
.badge.bevestigd { background: var(--groen); }
.badge.afgerond { background: var(--grijs); }
.badge.geannuleerd { background: #dc2626; }

.melding { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.melding.ok { background: #dcfce7; color: #166534; }
.melding.fout { background: #fee2e2; color: #991b1b; }

.klus-kaart { border-left: 4px solid var(--blauw); }
.klus-kaart.bevestigd { border-left-color: var(--groen); }

@media (max-width: 600px) {
    .top { flex-direction: column; align-items: flex-start; }
    .top a { margin-left: 0; margin-right: 16px; }
}
