/* ==========================================================================
   VISKOVIĆ GROUP ERP - GLOBAL THEMES
   Ova datoteka sadrži sve CSS varijable za teme. Ne definirajte ih u HTML-u!
   ========================================================================== */

/* 1. DEFAULT THEME (Dark / Gold - Visković Premium) */
:root {
    /* Main colors */
    --primary-color: #c9a84c; /* Gold */
    --secondary-color: #34495e; /* Dark Blue */
    --accent-color: #1abc9c; /* Turquoise */
    --text-color: #e0e0e0; /* Light Gray */
    --background-color: #2c3e50; /* Dark Blue Gray */
    --card-background: #34495e; /* Secondary Dark Blue */
    --border-color: #4a627a;
    --success-color: #2ecc71;
    --error-color: #e74c3c;
    --warning-color: #f39c12;
    --info-color: #3498db;

    /* Typography */
    --font-family-primary: 'Roboto', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.5;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;

    /* Borders & Shadows */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --shadow-elevation-1: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-elevation-2: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-elevation-3: 0 8px 16px rgba(0, 0, 0, 0.2);


    /* ═══ FENIX DESIGN SYSTEM TOKENS (DRON3) ═══ */
    --gold: #c9a84c;
    --gold2: #e8c96a;
    --gold-dim: rgba(201,168,76,0.12);
    --gold-border: rgba(201,168,76,0.28);
    --black: #0a0a0a;
    --white: #f0ede8;
    --dark: #111214;
    --surface: #181a1d;
    --surface2: #1e293b;
    --surface3: #22222c;
    --surface-deep: #0f172a;
    --card: #1e293b;
    --border: #252830;
    --border2: #334155;
    --border-light: rgba(255,255,255,0.08);
    --text: #e2e8f0;
    --text-dim: #94a3b8;
    --text-muted: #94a3b8;
    --muted: #4a5060;
    --muted2: #64748b;
    --green: #10b981;
    --red: #ef4444;
    --amber: #f59e0b;
    --blue: #3b82f6;

    /* 1.2 DARK THEME - Dopune (Sprint 1.2) */
    /* UI ELEMENTS */
    --ui-background: #1e1e1e;
    --ui-surface: #2c2c2c;
    --ui-border: #444444;
    --ui-text-primary: #e0e0e0;
    --ui-text-secondary: #aaaaaa;
    --ui-focus: #c9a84c; /* Gold accent */
    --ui-success: #28a745;
    --ui-error: #dc3545;
    --ui-warning: #ffc107;

    /* INPUTS & FORMS */
    --input-bg: #3c3c3c;
    --input-border: #555555;
    --input-text: #e0e0e0;
    --input-placeholder: #888888;
    --input-focus-border: var(--ui-focus);
    --input-success-border: var(--ui-success);
    --input-error-border: var(--ui-error);

    /* BUTTONS */
    --button-primary-bg: #c9a84c;
    --button-primary-text: #1e1e1e;
    --button-primary-hover-bg: #e0b955;
    --button-secondary-bg: #444444;
    --button-secondary-text: #e0e0e0;
    --button-secondary-hover-bg: #555555;

    /* SHADOWS & OVERLAYS */
    --shadow-small: 0 1px 3px rgba(0, 0, 0, 0.25);
    --shadow-medium: 0 3px 6px rgba(0, 0, 0, 0.35);
    --shadow-large: 0 10px 20px rgba(0, 0, 0, 0.45);
    --overlay-bg: rgba(0, 0, 0, 0.7);
}

/* 2. LIGHT THEME (White / Blue - Client Default) */
.theme-light {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --accent-color: #28a745;
    --text-color: #212529;
    --background-color: #f8f9fa;
    --card-background: #ffffff;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;

    /* 1.3 LIGHT THEME - Dopune (Sprint 1.3) */
    /* UI ELEMENTS */
    --ui-background: #f8f9fa;
    --ui-surface: #ffffff;
    --ui-border: #e9ecef;
    --ui-text-primary: #212529;
    --ui-text-secondary: #6c757d;
    --ui-focus: #007bff; /* Blue accent */
    --ui-success: #28a745;
    --ui-error: #dc3545;
    --ui-warning: #ffc107;

    /* INPUTS & FORMS */
    --input-bg: #ffffff;
    --input-border: #ced4da;
    --input-text: #495057;
    --input-placeholder: #6c757d;
    --input-focus-border: var(--ui-focus);
    --input-success-border: var(--ui-success);
    --input-error-border: var(--ui-error);

    /* BUTTONS */
    --button-primary-bg: #007bff;
    --button-primary-text: #ffffff;
    --button-primary-hover-bg: #0069d9;
    --button-secondary-bg: #6c757d;
    --button-secondary-text: #ffffff;
    --button-secondary-hover-bg: #5a6268;

    /* SHADOWS & OVERLAYS */
    --shadow-small: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 3px 6px rgba(0, 0, 0, 0.15);
    --shadow-large: 0 10px 20px rgba(0, 0, 0, 0.2);
    --overlay-bg: rgba(0, 0, 0, 0.5);
}

/* 3. RESPONSIVE BREAKPOINTS */
:root {
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
}
