/* =====================================================================
   THEME – hier wird das AUSSEHEN festgelegt.
   Nur Variablen: Farben, Schriften, Abstände, Rundungen, Schatten.
   Um den Look zu ändern, reicht es fast immer, diese Datei anzupassen.
   Weitere Themes: einfach einen neuen Block [data-theme="name"] anlegen
   und in js/ui/tabs.js (Optionen) in die Theme-Liste eintragen.
   ===================================================================== */

:root,
[data-theme="candle"] {
  /* Grundfarben */
  --bg:            #16131a;   /* Hintergrund ganz hinten */
  --bg-panel:      #201b25;   /* Spalten / Panels */
  --bg-card:       #2a2430;   /* Karten, Knöpfe */
  --bg-card-hover: #352d3c;
  --bg-input:      #1b1720;
  --border:        #3d3446;
  --border-strong: #5a4c66;

  --text:          #ece4d8;   /* normaler Text */
  --text-muted:    #a99d91;   /* blasser Text */
  --text-faint:    #74695f;

  --accent:        #e8b04b;   /* Kerzenflamme: Akzent, aktive Tabs */
  --accent-soft:   rgba(232, 176, 75, 0.15);
  --good:          #8fc27a;   /* positiv / leistbar */
  --bad:           #e07a6a;   /* negativ / zu teuer */
  --warn:          #e6b35a;
  --info:          #7fb6d6;
  --mystery:       #b48ee0;   /* Die Alten, Siegel */

  /* Hausfarben */
  --house-ashfox:     #c46a2f;
  --house-moonstag:   #8a6fc4;
  --house-mossbear:   #5f8a4a;
  --house-stormcrane: #3fa7a7;

  /* Schrift */
  --font-body:  'Georgia', 'Iowan Old Style', 'Palatino Linotype', serif;
  --font-title: 'Georgia', 'Palatino Linotype', serif;
  --font-num:   'Consolas', 'Menlo', monospace;
  --fs-xs: 11px; --fs-sm: 12.5px; --fs-md: 14px; --fs-lg: 17px; --fs-xl: 22px;

  /* Abstände & Formen */
  --gap-xs: 4px; --gap-sm: 6px; --gap-md: 10px; --gap-lg: 16px;
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 12px;
  --shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  --btn-width: 190px;        /* Breite der Bau-Knöpfe */
  --sidebar-width: 270px;
  --log-width: 300px;
}

[data-theme="parchment"] {
  --bg:            #e9e0cc;
  --bg-panel:      #f3ecdc;
  --bg-card:       #fbf7ee;
  --bg-card-hover: #fffdf7;
  --bg-input:      #fffaf0;
  --border:        #cfc2a6;
  --border-strong: #a8977a;
  --text:          #2f2618;
  --text-muted:    #6f6250;
  --text-faint:    #9c8e78;
  --accent:        #a35f12;
  --accent-soft:   rgba(163, 95, 18, 0.12);
  --good:          #3f7a2a;
  --bad:           #b33d2b;
  --warn:          #a8711a;
  --info:          #2e6f93;
  --mystery:       #6d3fa8;
  --shadow: 0 4px 14px rgba(60, 40, 10, 0.18);
}

[data-theme="midnight"] {
  --bg:            #0d1220;
  --bg-panel:      #131a2c;
  --bg-card:       #1b2440;
  --bg-card-hover: #24305a;
  --bg-input:      #10172a;
  --border:        #2b3760;
  --border-strong: #41508a;
  --text:          #dde6ff;
  --text-muted:    #94a3cc;
  --text-faint:    #63709a;
  --accent:        #9fc1ff;
  --accent-soft:   rgba(159, 193, 255, 0.14);
}
