/* =============================================================
   tokens.css — Inode Analyzer v3.8
   Design tokens (CSS variables dark/light) + @font-face locais.
   Nenhum valor de cor ou fonte deve ser hard-coded fora deste arquivo.
   ============================================================= */

/* ── Exo 2 ──────────────────────────────────────────────────── */
@font-face {
    font-family: 'Exo 2';
    src: url('../../vendor/fonts/exo2/exo2-latin-300-normal.woff2') format('woff2');
    font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Exo 2';
    src: url('../../vendor/fonts/exo2/exo2-latin-400-normal.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Exo 2';
    src: url('../../vendor/fonts/exo2/exo2-latin-400-italic.woff2') format('woff2');
    font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
    font-family: 'Exo 2';
    src: url('../../vendor/fonts/exo2/exo2-latin-500-normal.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Exo 2';
    src: url('../../vendor/fonts/exo2/exo2-latin-600-normal.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Exo 2';
    src: url('../../vendor/fonts/exo2/exo2-latin-700-normal.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Exo 2';
    src: url('../../vendor/fonts/exo2/exo2-latin-800-normal.woff2') format('woff2');
    font-weight: 800; font-style: normal; font-display: swap;
}

/* ── JetBrains Mono ──────────────────────────────────────────── */
@font-face {
    font-family: 'JetBrains Mono';
    src: url('../../vendor/fonts/jetbrains-mono/jetbrains-mono-latin-400-normal.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'JetBrains Mono';
    src: url('../../vendor/fonts/jetbrains-mono/jetbrains-mono-latin-500-normal.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'JetBrains Mono';
    src: url('../../vendor/fonts/jetbrains-mono/jetbrains-mono-latin-700-normal.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}

/* ── Tema Escuro ─────────────────────────────────────────────── */
[data-theme="dark"] {
    --bg-base:        #07080d;
    --bg-surface:     #0f111a;
    --bg-elevated:    #12151f;
    --bg-input:       #161925;
    --border:         #1e2335;
    --border-hi:      #2d344d;
    --text-1:         #f1f5f9;
    --text-2:         #94a3b8;
    --text-3:         #475569;
    --accent:         #f59e0b;
    --accent-rgb:     245,158,11;
    --accent-d:       #b45309;
    --accent-d2:      #451a03;
    --accent-glow:    rgba(245,158,11,0.15);
    --blue:           #3b82f6;
    --blue-d:         #1e3a8a;
    --yellow:         #facc15;
    --yellow-d:       #713f12;
    --red:            #ef4444;
    --red-d:          #7f1d1d;
    --green:          #10b981;
    --green-d:        #064e3b;
    --purple:         #a78bfa;
    --purple-d:       #3b0764;
    --term-bg:        #010203;
    --term-green:     #34d399;
    --shadow-sm:      0 2px 8px rgba(0,0,0,0.45);
    --shadow-md:      0 4px 24px rgba(0,0,0,0.55);
    --chart-tick:     #94a3b8;
    --chart-grid:     rgba(255,255,255,0.05);

    /* Badge tokens */
    --badge-orphan-bg:   rgba(239,68,68,0.15);
    --badge-orphan-fg:   #f87171;
    --badge-junk-bg:     rgba(251,191,36,0.15);
    --badge-junk-fg:     #fbbf24;
    --badge-pattern-bg:  rgba(139,92,246,0.15);
    --badge-pattern-fg:  #a78bfa;

    /* Session status tokens */
    --session-running-bg:   rgba(16,185,129,0.12);
    --session-running-fg:   #10b981;
    --session-finished-bg:  rgba(245,158,11,0.12);
    --session-finished-fg:  #f59e0b;
    --session-stopped-bg:   rgba(239,68,68,0.12);
    --session-stopped-fg:   #ef4444;
    --session-error-bg:     rgba(239,68,68,0.18);
    --session-error-fg:     #f87171;
    --session-paused-bg:    rgba(251,191,36,0.12);
    --session-paused-fg:    #facc15;
}

/* ── Tema Claro ──────────────────────────────────────────────── */
[data-theme="light"] {
    --bg-base:        #edf0f7;
    --bg-surface:     #ffffff;
    --bg-elevated:    #f8fafc;
    --bg-input:       #f1f5f9;
    --border:         #e2e8f0;
    --border-hi:      #cbd5e1;
    --text-1:         #0f172a;
    --text-2:         #475569;
    --text-3:         #94a3b8;
    --accent:         #d97706;
    --accent-rgb:     217,119,6;
    --accent-d:       #fef3c7;
    --accent-d2:      #fffbeb;
    --accent-glow:    rgba(217,119,6,0.10);
    --blue:           #2563eb;
    --blue-d:         #dbeafe;
    --yellow:         #ca8a04;
    --yellow-d:       #fef9c3;
    --red:            #dc2626;
    --red-d:          #fee2e2;
    --green:          #059669;
    --green-d:        #d1fae5;
    --purple:         #7c3aed;
    --purple-d:       #ede9fe;
    --term-bg:        #0a0f1d;
    --term-green:     #34d399;
    --shadow-sm:      0 2px 8px rgba(0,0,0,0.06);
    --shadow-md:      0 4px 24px rgba(0,0,0,0.10);
    --chart-tick:     #475569;
    --chart-grid:     rgba(0,0,0,0.05);

    /* Badge tokens */
    --badge-orphan-bg:   rgba(220,38,38,0.10);
    --badge-orphan-fg:   #dc2626;
    --badge-junk-bg:     rgba(202,138,4,0.10);
    --badge-junk-fg:     #92400e;
    --badge-pattern-bg:  rgba(124,58,237,0.10);
    --badge-pattern-fg:  #7c3aed;

    /* Session status tokens */
    --session-running-bg:   rgba(5,150,105,0.10);
    --session-running-fg:   #059669;
    --session-finished-bg:  rgba(217,119,6,0.10);
    --session-finished-fg:  #d97706;
    --session-stopped-bg:   rgba(220,38,38,0.10);
    --session-stopped-fg:   #dc2626;
    --session-error-bg:     rgba(220,38,38,0.14);
    --session-error-fg:     #b91c1c;
    --session-paused-bg:    rgba(202,138,4,0.10);
    --session-paused-fg:    #92400e;
}
