/* ADMIN-DIZAJN-2026-11-06: ZAJEDNICKI tokeni i fontovi javnog sajta I admin panela.
   Premesteno doslovno iz style.css (fontovi + :root); base.html i admin/index.html ga ucitavaju PRE svog CSS-a.
   Boje se menjaju SAMO ovde - admin.css koristi iste promenljive (aliasi u njegovom :root). */

/* SR26-I01-2026-10-18: self-hostovani fontovi (ranije @import sa Google Fonts) */
/* Outfit - latin-ext */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('/static/fonts/outfit-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Outfit - latin */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('/static/fonts/outfit-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono - latin-ext */
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/static/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono - latin */
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/static/fonts/jetbrains-mono-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    /* Core palette */
    --bg-primary: #061420;
    --bg-secondary: #08192a;
    --bg-card: #0b2033;
    --bg-card-hover: #0f2a40;
    --bg-elevated: #0e2638;

    /* Borders */
    --border-subtle: rgba(34, 211, 238, 0.10);
    --border-medium: rgba(34, 211, 238, 0.18);
    --border-accent: rgba(34, 211, 238, 0.40);

    /* Text */
    --text-primary: #e6f1f7;
    --text-secondary: #a3b8c8;
    --text-muted: #7c92a2;  /* QA-01-2026-11-05: bilo #6f8799 (4,42:1 na --bg-card); min 4,55:1 na svim pozadinama */
    --text-accent: #22d3ee;

    /* Accent colors */
    --cyan: #22d3ee;
    --cyan-glow: rgba(34, 211, 238, 0.18);
    --green: #34d399;
    --green-glow: rgba(52, 211, 153, 0.15);
    --red: #f87171;
    --orange: #fb923c;
    --yellow: #fbbf24;
    --purple: #a78bfa;

    /* Severity */
    --severity-low: #34d399;
    --severity-low-bg: rgba(52, 211, 153, 0.1);
    --severity-medium: #fbbf24;
    --severity-medium-bg: rgba(251, 191, 36, 0.1);
    --severity-high: #fb923c;
    --severity-high-bg: rgba(251, 146, 60, 0.1);
    --severity-critical: #f87171;
    --severity-critical-bg: rgba(248, 113, 113, 0.1);

    /* Layout */
    --max-width: 1320px;
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 16px;

    /* Shadows */
    --shadow-card: 0 1px 3px rgba(0,0,0,0.3), 0 0 20px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 24px rgba(34, 211, 238, 0.12);

    /* REDESIGN-LJUSKA-2026-11-03: pozadina strane */
    --bg-gradient: radial-gradient(1200px 600px at 70% -10%, rgba(34, 211, 238, 0.08), transparent 60%), var(--bg-primary);
}

/* ADMIN-DIZAJN-2026-11-06: dodatni zajednicki tokeni (koristi ih admin; javni sajt za sada ne) */
:root {
    --text-on-accent: var(--bg-primary);   /* tekst na teal/crvenoj/zutoj podlozi (kontrast >= 7:1) */
    --overlay-bg: rgba(2, 8, 14, 0.72);     /* zatamnjenje ispod modala */
    --shadow-modal: 0 12px 48px rgba(0, 0, 0, 0.5);
}
