/* styl-zijbalk.css
   Stijl voor de centrale zijbalk-navigatie. Gebruikt dezelfde
   CSS-variabelen (--hout, --hout-donker, etc.) die al in elke
   STYL-pagina gedefinieerd staan onder :root. */

.sz-balk {
  width: 230px;
  min-width: 230px;
  background: var(--hout-donker, var(--hout-d, #5C4A2A));
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow-y: auto;
  z-index: 100;
}

.sz-logo {
  font-family: 'DM Mono', monospace;
  font-size: 15px;
  font-weight: 500;
  color: var(--hout-licht, var(--hout-l, #C4A882));
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sz-logo span { color: #fff; }

.sz-items {
  flex: 1;
  padding: 8px 0;
}

.sz-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.sz-item:hover { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.06); }
.sz-item-actief { color: #fff; background: rgba(255,255,255,0.10); }
.sz-item-actief:hover { background: rgba(255,255,255,0.10); }
.sz-item-bevat-actief { color: rgba(255,255,255,0.85); }

.sz-item-uit {
  color: rgba(255,255,255,0.25);
  cursor: default;
}
.sz-item-uit:hover { background: none; color: rgba(255,255,255,0.25); }

.sz-icoon { font-size: 14px; width: 18px; text-align: center; flex-shrink: 0; }
.sz-label { flex: 1; }
.sz-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  font-size: 11px;
  flex-shrink: 0;
  transition: transform .2s, background .15s;
}

.sz-submenu { padding: 4px 0 8px; background: rgba(0,0,0,0.12); }

.sz-subgroep-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
  padding: 9px 20px 9px 46px;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-top: 6px;
  margin-bottom: 2px;
}
.sz-subgroep-label:first-child {
  border-top: none;
  margin-top: 0;
}

.sz-subitem {
  padding: 7px 20px 7px 46px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: all 0.15s;
}
.sz-subitem:hover { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.06); }
.sz-subitem-actief {
  color: #fff;
  background: rgba(255,255,255,0.14);
  border-radius: 0 6px 6px 0;
  margin-left: 0;
  font-weight: 500;
}
.sz-subitem-uit {
  color: rgba(255,255,255,0.22);
  cursor: default;
}
.sz-subitem-uit:hover { background: none; color: rgba(255,255,255,0.22); }

.sz-onder {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 8px 0;
}
.sz-uitloggen { color: rgba(255,255,255,0.4); }

/* Layout: zijbalk + inhoud naast elkaar.
   Pagina's gebruiken nu .container voor hun inhoud; we wrappen dat
   samen met de zijbalk in een flex-rij via #styl-layout-root. */
.sz-layout {
  display: flex;
  min-height: 100vh;
}
.sz-inhoud {
  flex: 1;
  min-width: 0;
  margin-left: 230px;
}

@media (max-width: 900px) {
  .sz-balk { width: 200px; min-width: 200px; }
}
