/* Beheersmodule (bouwt verder op site.css) */
body.beheer { display: flex; min-height: 100vh; background: #f4f2ec; font-size: 16px; }
.zijbalk { width: 240px; flex: 0 0 240px; background: var(--groen-donker); color: #dfe6df; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.zb-logo { display: block; padding: 22px 20px; text-decoration: none; color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.zb-logo strong { display: block; font-family: var(--kop); font-size: 1.45rem; line-height: 1.1; }
.zb-logo small { color: var(--goud); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }
.zijbalk nav { padding: 12px 10px; flex: 1; }
.zijbalk nav a, .zb-onder a { display: flex; justify-content: space-between; align-items: center; color: #dfe6df; text-decoration: none; padding: 9px 12px; border-radius: 7px; font-weight: 600; font-size: .95rem; }
.zijbalk nav a:hover, .zb-onder a:hover { background: rgba(255,255,255,.07); color: #fff; }
.zijbalk nav a.actief { background: rgba(168,131,74,.25); color: #fff; box-shadow: inset 3px 0 0 var(--goud); }
.teller { background: var(--goud); color: #fff; border-radius: 99px; font-size: .75rem; padding: 1px 8px; }
.zb-onder { padding: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.zb-onder a { font-weight: 400; font-size: .9rem; }
.zb-onder small { color: #a9b6aa; }
.beheer-inhoud { flex: 1; min-width: 0; padding: 0 28px 40px; }
.beheer-kop { display: flex; align-items: center; gap: 16px; padding: 22px 0 14px; flex-wrap: wrap; }
.beheer-kop h1 { font-size: 2rem; margin: 0; flex: 1; }
.kop-acties { display: flex; gap: 8px; flex-wrap: wrap; }
.zb-knop { display: none; background: var(--groen-donker); color: #fff; border: 0; border-radius: 7px; padding: 6px 12px; font-size: 1.2rem; cursor: pointer; }
@media (max-width: 900px) {
  .zijbalk { position: fixed; left: -260px; z-index: 100; transition: left .2s; }
  body.zb-open .zijbalk { left: 0; box-shadow: 0 0 40px rgba(0,0,0,.4); }
  .zb-knop { display: block; }
  .beheer-inhoud { padding: 0 14px 40px; }
}

.tabel-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--lijn); border-radius: var(--radius); box-shadow: var(--schaduw); }
table.tabel { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tabel th, .tabel td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #eee8da; vertical-align: top; }
.tabel th { background: #faf8f2; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--tekst-zacht); white-space: nowrap; }
.tabel tr:hover td { background: #fcfbf7; }
.tabel td.acties { white-space: nowrap; text-align: right; }
.tabel a { font-weight: 600; }

.filterbalk { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-bottom: 16px; }
.filterbalk > div { min-width: 160px; }
.filterbalk input, .filterbalk select { padding: 8px 10px; }

.label { display: inline-block; font-size: .75rem; padding: 2px 9px; border-radius: 99px; font-weight: 700; background: #ecebe5; color: #555; white-space: nowrap; }
.label-nieuw, .label-in_behandeling { background: #fbefd9; color: #8a6020; }
.label-goedgekeurd { background: #e3f1e7; color: #276b3d; }
.label-afgewezen { background: #f7e1dd; color: #9a3324; }
.label-admin { background: var(--groen); color: #fff; }

.tegels { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.tegel { background: #fff; border: 1px solid var(--lijn); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--tekst); box-shadow: var(--schaduw); }
.tegel strong { display: block; font-family: var(--kop); font-size: 2.2rem; color: var(--groen-donker); line-height: 1; }
.tegel span { color: var(--tekst-zacht); font-size: .9rem; }
.tegel.aandacht { border-color: var(--goud); background: var(--goud-licht); }

.knop-rood { background: var(--fout); }
.knop-rood:hover { background: #7e2c1f; }
.formulier-acties { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding-top: 10px; border-top: 1px solid var(--lijn); margin-top: 10px; }
.formulier-acties .rechts { margin-left: auto; }
.sectie-titel { font-family: var(--kop); font-size: 1.4rem; margin: 6px 0 12px; color: var(--groen-donker); }
.kaartje + .kaartje { margin-top: 18px; }
.inline-form { display: inline; }
.link-knop { background: none; border: 0; color: var(--fout); cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }

.diff td.oud { color: #9a3324; text-decoration: line-through; }
.diff td.nieuw { color: #276b3d; font-weight: 600; }
.diff input[type=text], .diff textarea { min-width: 220px; }

.mini-kaart { height: 300px; border-radius: 8px; border: 1px solid var(--lijn); margin-bottom: 12px; }
.media-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.media-item { background: #fff; border: 1px solid var(--lijn); border-radius: var(--radius); overflow: hidden; box-shadow: var(--schaduw); display: flex; flex-direction: column; }
.media-item .voorbeeld { height: 160px; background: #f1ede2; display: flex; align-items: center; justify-content: center; }
.media-item .voorbeeld img { width: 100%; height: 160px; object-fit: cover; }
.media-item .info { padding: 12px; font-size: .9rem; flex: 1; }
.media-item .info strong { display: block; }
.media-item .acties { padding: 10px 12px; border-top: 1px solid var(--lijn); display: flex; gap: 6px; flex-wrap: wrap; }

.login-pagina { display: flex; align-items: center; justify-content: center; min-height: 100vh; width: 100%; background: var(--groen-donker) url('../img/hero-patroon.svg') center/420px; }
.login-doos { width: 100%; max-width: 400px; background: #fff; border-radius: 14px; padding: 34px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.login-doos h1 { text-align: center; margin-bottom: 4px; }
.login-doos p.zacht { text-align: center; margin-top: 0; }
.kinderen-lijst { list-style: none; padding: 0; margin: 0; }
.kinderen-lijst li { display: flex; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px dashed var(--lijn); }
.kinderen-lijst li input[type=number] { width: 70px; padding: 4px 6px; }
.kinderen-lijst li .naam { flex: 1; }
