/* =====================================================
   BUSINESSCORE THEME SYSTEM - Unified Color Variables
   Change colors here only — all pages inherit these.
   ===================================================== */

/* Hide scrollbar across all browsers */
::-webkit-scrollbar { display: none; }
* { scrollbar-width: none; }

/* DARK THEME (Default) */
:root {
    /* Backgrounds */
    --bg-primary: #141a22;
    --bg-secondary: #141a22;
    --bg-card: #141a22;

    /* Accents */
    --accent-primary: #56d4c8;
    --accent-secondary: #7ee8de;
    --accent-danger: #f85149;
    --accent-warning: #d29922;
    --accent-online: #3fb950;

    /* Text */
    --text-primary: #d4d4d4;
    --text-secondary: #8b949e;
    --text-tertiary: #484f58;

    /* Borders */
    --border-color: #3a424b;

    /* Button States */
    --btn-bg: #141a22;
    --btn-text: #e8e8e8;
    --btn-border: #3a424b;
    --btn-hover-bg: #1a2230;
    --btn-hover-text: #56d4c8;
    --btn-hover-border: #56d4c8;

    /* Special Colors */
    --color-info: #56d4c8;
    --color-success: #3fb950;
    --color-warning: #d29922;
    --color-error: #f85149;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-menu: -4px 0 20px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 4px 20px rgba(86, 212, 200, 0.2);

    /* Modal */
    --modal-backdrop: rgba(0, 0, 0, 0.85);

    /* Alerts */
    --alert-bg: rgba(86, 212, 200, 0.08);
    --alert-border: rgba(86, 212, 200, 0.25);
    --alert-text: #56d4c8;

    /* Status Indicators (same in both themes) */
    --status-otvoren: #0288d1;
    --status-zatvoren: #1e8449;
    --status-odlozen: #c0392b;
}

/* LIGHT THEME */
[data-theme="light"] {
    /* Backgrounds */
    --bg-primary: #e0e4e8;
    --bg-secondary: #e0e4e8;
    --bg-card: #e0e4e8;

    /* Accents */
    --accent-primary: #4a5568;
    --accent-secondary: #2d3748;
    --accent-danger: #cf222e;
    --accent-warning: #bf8700;
    --accent-online: #1a7f37;

    /* Text */
    --text-primary: #3b4252;
    --text-secondary: #636e7f;
    --text-tertiary: #8891a0;

    /* Borders */
    --border-color: #b0b8c2;

    /* Button States */
    --btn-bg: #e0e4e8;
    --btn-text: #2c3038;
    --btn-border: #b0b8c2;
    --btn-hover-bg: #d5dbe1;
    --btn-hover-text: #4a5568;
    --btn-hover-border: #4a5568;

    /* Special Colors */
    --color-info: #4a5568;
    --color-success: #1a7f37;
    --color-warning: #bf8700;
    --color-error: #cf222e;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-menu: -4px 0 20px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 4px 20px rgba(74, 85, 104, 0.2);

    /* Modal */
    --modal-backdrop: rgba(200, 205, 212, 0.85);

    /* Alerts */
    --alert-bg: rgba(74, 85, 104, 0.1);
    --alert-border: rgba(74, 85, 104, 0.3);
    --alert-text: #4a5568;

    /* Status Indicators (same in both themes) */
    --status-otvoren: #0288d1;
    --status-zatvoren: #1e8449;
    --status-odlozen: #c0392b;
}

/* =====================================================
   SHARED ANIMATIONS
   ===================================================== */

@keyframes modalSlideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
