/*
 * EFL Transport - Centralized Color System
 *
 * All colors are defined here as CSS variables.
 * To change the theme, modify values in :root.
 *
 * Usage: var(--color-name)
 * Example: background-color: var(--primary);
 */

:root {
    /* ===========================================
     * Brand Colors
     * =========================================== */
    --primary: #007bff;
    --primary-hover: #0056b3;
    --primary-light: #e7f1ff;

    --secondary: #6c757d;
    --secondary-hover: #545b62;
    --secondary-light: #e9ecef;

    /* ===========================================
     * Status Colors
     * =========================================== */
    --success: #28a745;
    --success-hover: #218838;
    --success-bg: #d4edda;
    --success-text: #155724;
    --success-border: #c3e6cb;

    --danger: #dc3545;
    --danger-hover: #c82333;
    --danger-bg: #f8d7da;
    --danger-text: #721c24;
    --danger-border: #f5c6cb;

    --warning: #ffc107;
    --warning-hover: #e0a800;
    --warning-bg: #fff3cd;
    --warning-text: #856404;
    --warning-border: #ffeeba;

    --info: #17a2b8;
    --info-hover: #138496;
    --info-bg: #d1ecf1;
    --info-text: #0c5460;
    --info-border: #bee5eb;

    /* ===========================================
     * Text Colors
     * =========================================== */
    --text-primary: #333333;
    --text-secondary: #6c757d;
    --text-muted: #868e96;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --text-body: #495057;

    /* ===========================================
     * Background Colors
     * =========================================== */
    --bg-body: #f8f9fa;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #343a40;
    --bg-card: #ffffff;
    --bg-input: #ffffff;
    --bg-hover: #f1f3f4;
    --bg-table-header: #f8f9fa;
    --bg-table-stripe: #f9f9f9;

    /* ===========================================
     * Border Colors
     * =========================================== */
    --border-light: #dee2e6;
    --border-medium: #ced4da;
    --border-dark: #adb5bd;
    --border-input: #ced4da;
    --border-focus: #007bff;

    /* ===========================================
     * Shadow Colors
     * =========================================== */
    --shadow-sm: rgba(0, 0, 0, 0.05);
    --shadow-md: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);

    /* ===========================================
     * Form Colors
     * =========================================== */
    --input-bg: #ffffff;
    --input-border: #ced4da;
    --input-focus-border: #007bff;
    --input-focus-shadow: rgba(0, 123, 255, 0.25);
    --input-placeholder: #6c757d;
    --input-disabled-bg: #e9ecef;

    /* ===========================================
     * Table Colors
     * =========================================== */
    --table-border: #dee2e6;
    --table-header-bg: #f8f9fa;
    --table-row-hover: #f1f3f4;
    --table-stripe-bg: #f9f9f9;

    /* ===========================================
     * Badge Colors
     * =========================================== */
    --badge-pending: #ffc107;
    --badge-pending-text: #856404;
    --badge-approved: #28a745;
    --badge-approved-text: #ffffff;
    --badge-rejected: #dc3545;
    --badge-rejected-text: #ffffff;
    --badge-review: #fd7e14;
    --badge-review-text: #ffffff;

    /* ===========================================
     * OCR Confidence Colors
     * =========================================== */
    --confidence-high: #28a745;
    --confidence-high-bg: #d4edda;
    --confidence-medium: #ffc107;
    --confidence-medium-bg: #fff3cd;
    --confidence-low: #dc3545;
    --confidence-low-bg: #f8d7da;

    /* ===========================================
     * Spacing (for consistency)
     * =========================================== */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;

    /* ===========================================
     * Border Radius
     * =========================================== */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 50%;

    /* ===========================================
     * Transitions
     * =========================================== */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===========================================
 * Dark Mode (future support)
 * Uncomment to enable dark mode via media query
 * =========================================== */
/*
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #e9ecef;
        --text-secondary: #adb5bd;
        --bg-body: #1a1a2e;
        --bg-white: #16213e;
        --bg-card: #1f2937;
        --border-light: #374151;
        --border-medium: #4b5563;
    }
}
*/
