/* style.css | Versie 1.6 -- 2026-04-24 | Ondertitels kaart-header toegevoegd */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    background-color: #f0e8d5;
    color: #2c2416;
    min-height: 100vh;
    display: flex;
}

/* --- ACCEPTATIE-BALK --- */
.acceptatie-balk {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #c0392b;
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 3px;
    padding: 6px 0;
    text-transform: uppercase;
}

/* Wanneer acceptatie-balk zichtbaar is, schuiven sidebar en content omlaag */
body.acceptatie .sidebar {
    top: 34px;
}

body.acceptatie .content-kolom {
    padding-top: 34px;
}

/* ============================================================
   SIDEBAR
   ============================================================ */

.sidebar {
    width: 220px;
    min-height: 100vh;
    background: #3b2f1e;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.sidebar-logo {
    font-size: 17px;
    font-weight: 700;
    color: #fdf6e3;
    padding: 24px 18px 4px 18px;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

.sidebar-subtitel {
    font-size: 11px;
    color: #c8a96e;
    padding: 0 18px 18px 18px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 4px 0;
}

.sidebar-navitem {
    display: block;
    padding: 11px 18px;
    color: #d4c5a9;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-left: 3px solid transparent;
    transition: background 0.12s, color 0.12s;
    cursor: pointer;
    background: none;
    border-top: none;
    border-right: none;
    border-bottom: none;
    text-align: left;
    width: 100%;
    font-family: 'Nunito', sans-serif;
    letter-spacing: 0.2px;
}

.sidebar-navitem:hover {
    background: #5a4530;
    color: #fdf6e3;
}

.sidebar-navitem-actief {
    background: #5a4530;
    color: #fdf6e3;
    border-left-color: #c8a96e;
}

.sidebar-navitem-uitloggen {
    margin-top: 8px;
    color: #a09080;
}

.sidebar-navitem-uitloggen:hover {
    color: #fdf6e3;
    background: #4a3020;
}

.sidebar-groep {
    display: flex;
    flex-direction: column;
}

.sidebar-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-pijl {
    font-size: 10px;
}

.sidebar-submenu {
    display: flex;
    flex-direction: column;
    background: #2c2010;
}

.sidebar-subitem {
    display: block;
    padding: 9px 18px 9px 30px;
    color: #b0a090;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-left: 3px solid transparent;
    transition: background 0.12s, color 0.12s;
}

.sidebar-subitem:hover {
    background: #4a3020;
    color: #fdf6e3;
}

.sidebar-subitem-actief {
    color: #fdf6e3;
    border-left-color: #c8a96e;
    background: #4a3020;
}

.verborgen {
    display: none;
}

.sidebar-voet {
    padding: 16px 18px;
    border-top: 1px solid #5a4530;
}

.sidebar-acceptatie {
    font-size: 11px;
    font-weight: 700;
    color: #ff6b6b;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.sidebar-datum {
    font-size: 11px;
    color: #8a7560;
}

/* ============================================================
   CONTENT KOLOM
   ============================================================ */

.content-kolom {
    margin-left: 220px;
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-kolom-vol {
    margin-left: 0;
}

/* ============================================================
   FORMULIER-PAGINAS: GECENTREERDE KAART
   ============================================================ */

.form-centerer {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 32px 60px;
    width: 100%;
}

.kaart {
    background: #fdf6e3;
    border: 1px solid #c8b89a;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    overflow: hidden;
}

.kaart-header {
    background: #3b2f1e;
    color: #fdf6e3;
    padding: 28px 32px 20px;
    text-align: center;
}

.kaart-header h1 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
}

.kaart-header .subtitel {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 4px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.kaart-header .subtitel-licht {
    font-size: 13px;
    color: #c8a96e;
    margin-top: 10px;
    font-style: italic;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.kaart-header .subtitel-latijn {
    font-size: 11px;
    color: #a08858;
    margin-top: 3px;
    font-style: italic;
    letter-spacing: 0.3px;
    opacity: 0.8;
}

.kaart-inhoud {
    padding: 32px;
}

/* ============================================================
   BEHEER-PAGINAS: VOLLE BREEDTE
   ============================================================ */

.beheer-inhoud {
    padding: 32px 40px;
    width: 100%;
}

/* ============================================================
   MELDINGEN
   ============================================================ */

.meldingen {
    padding: 0 32px;
}

.meldingen-beheer {
    margin-bottom: 20px;
}

.melding {
    padding: 10px 14px;
    border-radius: 3px;
    margin: 12px 0 0;
    font-size: 14px;
}

.melding-fout {
    background: #fdecea;
    border-left: 3px solid #c0392b;
    color: #7b241c;
}

.melding-info {
    background: #eaf4fb;
    border-left: 3px solid #2980b9;
    color: #1a5276;
}

/* ============================================================
   TYPOGRAFIE
   ============================================================ */

h2 {
    font-size: 22px;
    font-weight: 700;
    color: #3b2f1e;
    margin-bottom: 8px;
}

h3 {
    font-size: 16px;
    font-weight: 700;
    color: #3b2f1e;
    margin: 20px 0 10px;
}

p {
    font-size: 15px;
    color: #4a3c2a;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* ============================================================
   FORMULIERVELDEN
   ============================================================ */

.veld {
    margin-bottom: 18px;
}

.veld label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #3b2f1e;
    margin-bottom: 5px;
}

.veld input[type="text"],
.veld input[type="email"],
.veld input[type="password"],
.veld input[type="date"] {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #c8b89a;
    border-radius: 3px;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    background: #fffdf7;
    color: #2c2416;
    transition: border-color 0.15s;
}

.veld input:focus {
    outline: none;
    border-color: #8b6914;
    box-shadow: 0 0 0 2px rgba(139,105,20,0.15);
}

.veld-hint {
    display: block;
    font-size: 12px;
    color: #8a7560;
    margin-top: 4px;
}

.veld-hint.sleutel {
    font-family: monospace;
    color: #b0936a;
}

.veld-rij {
    display: flex;
    gap: 16px;
}

.veld-rij .veld {
    flex: 1;
}

/* ============================================================
   KNOPPEN
   ============================================================ */

.knop-rij {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: flex-end;
}

.knop-primair,
.knop-secundair {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 3px;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: background 0.15s;
}

.knop-primair {
    background: #3b2f1e;
    color: #fdf6e3;
}

.knop-primair:hover {
    background: #5a4530;
}

.knop-secundair {
    background: #e8dcc8;
    color: #3b2f1e;
    border: 1px solid #c8b89a;
}

.knop-secundair:hover {
    background: #d5c9b0;
}

.knop-klein {
    padding: 4px 12px;
    font-size: 13px;
}

.knop-anonimiseer {
    padding: 4px 10px;
    background: #7b241c;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-family: 'Nunito', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.knop-anonimiseer:hover {
    background: #a93226;
}

/* ============================================================
   PERKAMENT
   ============================================================ */

.perkament {
    background: #F5E6C8;
    border: 1px solid #c8a96e;
    border-radius: 3px;
    padding: 24px 28px;
    margin: 16px 0;
}

/* ============================================================
   BEVESTIGINGSLAYOUT
   ============================================================ */

.blok-titel {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #8a6a30;
    margin-bottom: 10px;
    margin-top: 4px;
}

.bevestiging-tabel {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 4px;
}

.bevestiging-tabel th {
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #5a4530;
    padding: 5px 16px 5px 0;
    width: 44%;
    vertical-align: top;
}

.bevestiging-tabel td {
    font-size: 15px;
    padding: 5px 0;
    color: #2c2416;
    vertical-align: top;
}

.blok-lijn {
    border: none;
    border-top: 1px solid #c8a96e;
    margin: 16px 0;
}

.naam-gezel {
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.maconniek-blok {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed #c8a96e;
}

.maconniek-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8a6a30;
    margin-bottom: 6px;
}

.maconniek-regel {
    font-size: 15px;
    color: #2c2416;
    padding-left: 16px;
    margin-bottom: 4px;
    line-height: 1.7;
}

.maconniek-romeins {
    font-style: italic;
    color: #5a4530;
}

.diploma-naam {
    font-size: 20px;
    font-weight: 700;
    color: #3b2f1e;
    text-align: center;
    padding: 6px 0;
    letter-spacing: 0.5px;
}

/* ============================================================
   TABELLEN
   ============================================================ */

.overzicht-tabel {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0;
}

.overzicht-tabel th {
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #8a7560;
    padding: 6px 8px 6px 0;
    width: 40%;
}

.overzicht-tabel td {
    font-size: 15px;
    padding: 6px 8px 6px 0;
    color: #2c2416;
}

.beheer-tabel {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-top: 16px;
}

.beheer-tabel th {
    background: #3b2f1e;
    color: #fdf6e3;
    text-align: left;
    padding: 9px 12px;
    font-weight: 600;
    white-space: nowrap;
}

.beheer-tabel td {
    padding: 8px 12px;
    border-bottom: 1px solid #e0d4bc;
    vertical-align: middle;
}

.beheer-tabel tr:hover td {
    background: #fdf0d5;
}

.beheer-tabel tr.gehashed td {
    color: #aaa;
    font-style: italic;
}

.beheer-tabel a {
    color: #8b6914;
    text-decoration: none;
}

.beheer-tabel a:hover {
    text-decoration: underline;
}

/* ============================================================
   DIVERSEN
   ============================================================ */

.label-geanon {
    font-size: 12px;
    color: #aaa;
    font-style: italic;
}

.radio-rij {
    align-items: center;
    gap: 20px;
}

.radio-rij label {
    font-size: 14px;
    font-weight: 400;
    color: #3b2f1e;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.hulplinks {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
}

.hulplinks a {
    color: #8b6914;
    text-decoration: none;
}

.hulplinks a:hover {
    text-decoration: underline;
}

.scheidingslijn {
    border: none;
    border-top: 1px solid #d5c9b0;
    margin: 20px 0;
}

.voettekst {
    text-align: center;
    font-size: 12px;
    color: #8a7560;
    margin-top: 24px;
    letter-spacing: 0.5px;
}

/* --- INACTIEVE LOGE --- */
.loge-inactief td {
    color: #aaa;
    font-style: italic;
}

.loge-inactief a {
    color: #bbb;
}