/* ------------------------------------------------------------
   Templates voor het beheer-/regiepaneel (per gebruiker te kiezen bij Account):
   - Donker (standaard, app.css)
   - Licht: lichte achtergrond, goed leesbaar bij daglicht
   - Studio: blauw accent, menu aan de linkerkant, compacter
   ------------------------------------------------------------ */

/* ---------- Licht ---------- */
body.theme-licht {
  --bg: #f3f4f7; --panel: #ffffff; --panel2: #f1f3f6; --line: #dde1e8;
  --text: #1c1f26; --dim: #5f6673; --red: #c8102e; --red2: #a50d26; --green: #1d8a47; --amber: #b07800;
  --header: #ffffff; --sel: #fdecef; --hover: #e8ebf0; --toast: #1c1f26; --link: #b00d28;
}
body.theme-licht section { box-shadow: 0 1px 2px rgba(20, 24, 33, .05), 0 4px 14px rgba(20, 24, 33, .04); }
body.theme-licht header.top { box-shadow: 0 1px 0 var(--line); }
body.theme-licht .toast { color: #fff; }
body.theme-licht .btn-start, body.theme-licht button.primary, body.theme-licht .btn.primary { color: #fff; }
body.theme-licht .flash.ok { background: #e8f6ee; border-color: #9ed4b4; }
body.theme-licht .flash.error { background: #fdecef; border-color: #f0a5b2; }
body.theme-licht .flash.info { background: #fff6e0; border-color: #ead08a; }
body.theme-licht .alert.red { background: #fdecef; }
body.theme-licht .alert.amber { background: #fff6e0; }
body.theme-licht .alert.ok { background: #e8f6ee; }
body.theme-licht button.danger:hover { background: #fdecef; }
body.theme-licht .preview-wrap, body.theme-licht .logo-thumb { background: #1c1f26; }
body.theme-licht #notify-list, body.theme-licht .npop { box-shadow: 0 14px 40px rgba(20, 24, 33, .18); }

/* ---------- Studio ---------- */
body.theme-studio {
  --bg: #0d1117; --panel: #151b24; --panel2: #1c2430; --line: #2a3442;
  --text: #e6edf3; --dim: #8b98a9; --red: #2f81f7; --red2: #1f6feb; --green: #3fb950; --amber: #d29922;
  --header: #0a0e14; --sel: #13233d; --hover: #222c3a; --toast: #1c2430; --link: #6cb6ff; --radius: 8px;
  font-size: 13.5px;
}
body.theme-studio section { padding: 14px; }
body.theme-studio .dot.live { background: #f85149; box-shadow: 0 0 8px #f85149; }
body.theme-studio .badge.red { background: #f85149; }
@media (min-width: 1000px) {
  body.theme-studio { padding-left: 232px; }
  body.theme-studio header.top {
    position: fixed; left: 0; top: 0; bottom: 0; width: 232px; flex-direction: column; align-items: stretch;
    gap: 6px; padding: 18px 12px; border-bottom: 0; border-right: 1px solid var(--line); overflow-y: auto;
  }
  body.theme-studio .testbar { position: relative; z-index: 6; }
  body.theme-studio .brand { padding: 0 8px 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
  body.theme-studio .brand span { color: var(--link); }
  body.theme-studio .mainnav { flex-direction: column; gap: 2px; }
  body.theme-studio .mainnav a { padding: 9px 12px; border-radius: 6px; }
  body.theme-studio .mainnav a.on { box-shadow: inset 3px 0 0 var(--red); background: var(--sel); }
  body.theme-studio .conn { margin: auto 0 0; flex-direction: column; align-items: stretch; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
  body.theme-studio .conn .bell { align-self: flex-start; }
  body.theme-studio #notify-list { left: 244px; right: auto; top: auto; bottom: 16px; }
}

/* Voorbeeldjes van de templates bij Account */
.theme-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.theme-pick label { display: block; border: 2px solid var(--line); border-radius: 10px; padding: 8px; cursor: pointer; }
.theme-pick label:has(input:checked) { border-color: var(--red); }
.theme-pick input { margin-right: 6px; }
.theme-pick .mini { height: 90px; border-radius: 6px; margin-bottom: 8px; display: grid; grid-template-columns: 26% 1fr; overflow: hidden; border: 1px solid rgba(128,128,128,.3); }
.theme-pick .mini i { display: block; }
