/*
 * Scanner Sentinel - Color Variables
 * Centralized color management for easy theming
 */

:root {
    /* Primary Brand Colors */
    --primary-blue-dark: #1e3a5f;
    --primary-blue: #2d5287;
    --primary-blue-light: #4a6fa5;

    /* Secondary Colors */
    --accent-blue: #3b7dd6;
    --accent-light: #5b9df8;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #2d5287 50%, #4a6fa5 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(30, 58, 95, 0.95) 0%, rgba(45, 82, 135, 0.95) 100%);
    --gradient-page-overlay: linear-gradient(135deg, rgba(30, 58, 95, 0.1) 0%, rgba(74, 111, 165, 0.1) 100%);

    /* Platform Item Backgrounds (on blue gradient) */
    --platform-bg: rgba(255, 255, 255, 0.12);
    --platform-bg-hover: rgba(255, 255, 255, 0.18);
    --platform-border: rgba(255, 255, 255, 0.15);
    --platform-border-hover: rgba(255, 255, 255, 0.25);
    --platform-text: rgba(255, 255, 255, 0.85);

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #e9ecef;
    --gray-200: #dee2e6;
    --gray-300: #ced4da;
    --gray-400: #adb5bd;
    --gray-500: #6c757d;
    --gray-600: #495057;
    --gray-700: #343a40;
    --gray-800: #212529;
    --gray-900: #0d1117;

    /* Status Colors */
    --success: #28a745;
    --success-light: #d4edda;
    --warning: #ffc107;
    --warning-light: #fff3cd;
    --danger: #dc3545;
    --danger-light: #f8d7da;
    --info: #17a2b8;
    --info-light: #d1ecf1;

    /* Highlight Colors */
    --highlight-cyan: #00ffff;
    --highlight-electric-blue: #00a8ff;
    --highlight-accent: #3b7dd6;

    /* Text Colors */
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-light: #ffffff;
    --text-muted: #adb5bd;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #1e3a5f;

    /* Border Colors */
    --border-color: #dee2e6;
    --border-light: #e9ecef;

    /* Shadow Colors */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-navbar: 0 2px 10px rgba(0, 0, 0, 0.2);
    --shadow-login-card: 0 25px 70px rgba(0, 0, 0, 0.25);
    --shadow-button: 0 6px 16px rgba(45, 82, 135, 0.35);
    --shadow-button-hover: 0 8px 24px rgba(45, 82, 135, 0.45);

    /* Button Colors */
    --btn-primary-bg: #2d5287;
    --btn-primary-hover: #1e3a5f;
    --btn-primary-active: #153049;

    /* Input Colors */
    --input-bg: #ffffff;
    --input-border: #ced4da;
    --input-focus-border: #4a6fa5;
    --input-focus-shadow: 0 0 0 0.2rem rgba(74, 111, 165, 0.25);

    /* Link Colors */
    --link-color: #3b7dd6;
    --link-hover: #2d5287;

    /* Navbar Colors */
    --navbar-bg: var(--primary-blue-dark);
    --navbar-text: #ffffff;
    --navbar-link: rgba(255, 255, 255, 0.9);
    --navbar-hover: rgba(255, 255, 255, 0.1);

    /* Footer Colors */
    --footer-bg: #f8f9fa;
    --footer-text: #6c757d;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 2.5rem;
    --spacing-xxxl: 3rem;

    /* Border Radius */
    --radius-sm: 0.35rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 0.85rem;
    --radius-xxl: 1.25rem;

    /* Font Sizes */
    --font-xs: 0.85rem;
    --font-sm: 0.9rem;
    --font-md: 0.95rem;
    --font-base: 1rem;
    --font-lg: 1.1rem;
    --font-xl: 1.5rem;
    --font-xxl: 1.75rem;
    --font-xxxl: 2rem;
    --font-icon-sm: 1.1rem;
    --font-icon-md: 1.5rem;
    --font-icon-lg: 2rem;
    --font-icon-xl: 2.5rem;
    --font-icon-xxl: 3rem;

    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Z-index */
    --z-navbar: 1000;
    --z-dropdown: 1050;
    --z-modal: 1100;
    --z-tooltip: 1200;

    /* Table hover effect */
    --table-hover-bg: rgba(74, 111, 165, 0.05);
}

/* Dark mode variables (for future implementation) */
[data-theme="dark"] {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --text-primary: #c9d1d9;
    --text-secondary: #8b949e;
    --border-color: #30363d;
}
