/* =============================================================
   Evoltic Energy — Design Tokens (white-label variant van tokens.css)
   Brand: GROEN #3da435 · DONKER #2b2b2b · ZWART #000000
   Zelfde variabele-namen als tokens.css — style.css blijft ongewijzigd.
   ============================================================= */

:root {

  /* --- Brand kleuren --- */
  --sun:      #4fc043;   /* logo/highlight — Evoltic licht groen */
  --sand:     #eaf6e9;
  --leaf:     #3da435;   /* primary accent — Evoltic groen */
  --sky:      #444444;   /* secondary light */
  --ocean:    #2b2b2b;   /* secondary — Evoltic donker */
  --midnight: #000000;   /* zwart */
  --sidebar-accent-end: #3da435;  /* laatste stop in de sidebar-gradient — Evoltic groen */

  /* --- Pagina achtergrond --- */
  --color-bg-page:    #f8f8f8;
  --color-bg-surface: #FFFFFF;
  --color-bg-subtle:  #f0f0f0;
  --color-bg-card:    #FFFFFF;
  --color-bg-overlay: rgba(0, 0, 0, 0.5);

  /* --- Accent (GROEN) --- */
  --color-accent:       #3da435;
  --color-accent-hover: #2d7a27;
  --color-accent-light: rgba(61, 164, 53, 0.12);
  --color-accent-text:  #2b2b2b;

  /* --- Tekst --- */
  --color-text-primary:   #2b2b2b;
  --color-text-secondary: #666666;
  --color-text-tertiary:  #999999;
  --color-text-inverse:   #FFFFFF;
  --color-text-accent:    #3da435;

  /* --- Randen --- */
  --color-border:        #e0e0e0;
  --color-border-strong: #cccccc;

  /* --- Semantische kleuren (ongewijzigd — UI-status, geen merkkleur) --- */
  --color-primary:  #2b2b2b;
  --color-success:  #16A34A;
  --color-warning:  #D97706;
  --color-error:    #DC2626;
  --color-info:     #444444;

  /* --- Status badges --- */
  --color-status-active-bg:     rgba(22, 163, 74, 0.1);
  --color-status-active-text:   #16A34A;
  --color-status-warn-bg:       rgba(217, 119, 6, 0.1);
  --color-status-warn-text:     #D97706;
  --color-status-error-bg:      rgba(220, 38, 38, 0.1);
  --color-status-error-text:    #DC2626;
  --color-status-inactive-bg:   rgba(148, 163, 184, 0.15);
  --color-status-inactive-text: #64748B;
  --color-status-info-bg:       rgba(68, 68, 68, 0.1);
  --color-status-info-text:     #444444;

  /* --- Typografie --- */
  --font-sans: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", ui-monospace, monospace;

  --text-xs:   11px;
  --text-sm:   12px;
  --text-base: 13px;
  --text-md:   14px;
  --text-lg:   16px;
  --text-xl:   20px;
  --text-2xl:  26px;

  --font-normal: 400;
  --font-medium: 500;

  --line-height-tight:  1.25;
  --line-height-normal: 1.6;

  /* --- Spacing --- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;

  /* --- Border radius --- */
  --radius-sm:   4px;
  --radius-md:   6px;
  --radius-lg:   8px;
  --radius-xl:   12px;
  --radius-full: 9999px;

  /* --- Layout --- */
  --sidebar-width:     220px;
  --topbar-height:     52px;
  --content-max-width: 1200px;

  /* --- Schaduwen --- */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);

  /* --- Transitie --- */
  --transition-fast: 100ms ease;
  --transition-base: 150ms ease;

  /* --- Z-index --- */
  --z-base:    0;
  --z-raised:  10;
  --z-overlay: 100;
  --z-modal:   200;
  --z-toast:   300;

  /* --- Backward-compat aliases --- */
  --accent:         #3da435;
  --accent-hover:   #2d7a27;
  --accent-faint:   rgba(61, 164, 53, 0.12);
  --border:         #e0e0e0;
  --fg:             #2b2b2b;
  --fg-soft:        #666666;
  --fg-faint:       #999999;
  --surface:        #FFFFFF;
  --surface-alt:    #f8f8f8;
  --bg:             #f8f8f8;
  --radius:         6px;
  --radius-pill:    9999px;
  --highlight:      #3da435;
  --highlight-text: #2b2b2b;

  /* Alias gebruikt in portal templates */
  --color-surface:     #FFFFFF;
  --color-surface-alt:  #f8f8f8;
  --color-surface-2:   #f0f0f0;
}
