/**
 * Digibox Inventory - CSS Variables
 * ================================
 * Central color and design token configuration
 * Edit these values to customize the theme
 */

:root {
    /* ========================================
       BRAND COLORS - Primary Theme
       ======================================== */

    /* Primary Color - Digibox Orange */
    --db-primary: #E94E1B;
    --db-primary-hover: #D14518;
    --db-primary-active: #B83C15;
    --db-primary-light: #FEF3EF;
    --db-primary-rgb: 233, 78, 27;

    /* Primary Color Shades */
    --db-primary-50: #FEF3EF;
    --db-primary-100: #FDDDD3;
    --db-primary-200: #FBB9A6;
    --db-primary-300: #F89579;
    --db-primary-400: #F5714C;
    --db-primary-500: #E94E1B;
    --db-primary-600: #D14518;
    --db-primary-700: #B83C15;
    --db-primary-800: #9F3312;
    --db-primary-900: #862A0F;

    /* Secondary Color - Dark Gray */
    --db-secondary: #32373c;
    --db-secondary-hover: #24282c;
    --db-secondary-light: #4a5056;

    /* ========================================
       NEUTRAL COLORS - Grayscale
       ======================================== */
    --db-white: #ffffff;
    --db-black: #0f172a;

    --db-gray-25: #fcfcfd;
    --db-gray-50: #f8fafc;
    --db-gray-100: #f1f5f9;
    --db-gray-200: #e2e8f0;
    --db-gray-300: #cbd5e1;
    --db-gray-400: #94a3b8;
    --db-gray-500: #64748b;
    --db-gray-600: #475569;
    --db-gray-700: #334155;
    --db-gray-800: #1e293b;
    --db-gray-900: #0f172a;

    /* ========================================
       STATUS / SEMANTIC COLORS
       ======================================== */

    /* Success - Green */
    --db-success: #10b981;
    --db-success-light: #ecfdf5;
    --db-success-dark: #059669;
    --db-success-rgb: 16, 185, 129;

    /* Warning - Amber */
    --db-warning: #f59e0b;
    --db-warning-light: #fffbeb;
    --db-warning-dark: #d97706;
    --db-warning-rgb: 245, 158, 11;

    /* Danger - Red */
    --db-danger: #ef4444;
    --db-danger-light: #fef2f2;
    --db-danger-dark: #dc2626;
    --db-danger-rgb: 239, 68, 68;

    /* Info - Cyan */
    --db-info: #06b6d4;
    --db-info-light: #ecfeff;
    --db-info-dark: #0891b2;
    --db-info-rgb: 6, 182, 212;

    /* ========================================
       BACKGROUND COLORS
       ======================================== */
    --db-bg-body: #f8fafc;
    --db-bg-card: #ffffff;
    --db-bg-sidebar: #ffffff;
    --db-bg-topbar: #ffffff;
    --db-bg-input: #ffffff;
    --db-bg-hover: #f1f5f9;
    --db-bg-active: #e2e8f0;

    /* ========================================
       TEXT COLORS
       ======================================== */
    --db-text-primary: #0f172a;
    --db-text-secondary: #475569;
    --db-text-muted: #64748b;
    --db-text-light: #94a3b8;
    --db-text-inverse: #ffffff;

    /* ========================================
       BORDER COLORS
       ======================================== */
    --db-border: #e2e8f0;
    --db-border-light: #f1f5f9;
    --db-border-dark: #cbd5e1;
    --db-border-focus: var(--db-primary);

    /* ========================================
       SHADOWS
       ======================================== */
    --db-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --db-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --db-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --db-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --db-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --db-shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --db-shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.04);
    --db-shadow-primary: 0 4px 14px rgba(var(--db-primary-rgb), 0.25);
    --db-shadow-success: 0 4px 14px rgba(var(--db-success-rgb), 0.25);
    --db-shadow-danger: 0 4px 14px rgba(var(--db-danger-rgb), 0.25);

    /* ========================================
       SPACING SCALE
       ======================================== */
    --db-space-1: 4px;
    --db-space-2: 8px;
    --db-space-3: 12px;
    --db-space-4: 16px;
    --db-space-5: 20px;
    --db-space-6: 24px;
    --db-space-8: 32px;
    --db-space-10: 40px;
    --db-space-12: 48px;
    --db-space-16: 64px;

    /* ========================================
       BORDER RADIUS
       ======================================== */
    --db-radius-sm: 6px;
    --db-radius: 8px;
    --db-radius-md: 10px;
    --db-radius-lg: 12px;
    --db-radius-xl: 16px;
    --db-radius-2xl: 20px;
    --db-radius-full: 9999px;

    /* ========================================
       LAYOUT DIMENSIONS
       ======================================== */
    --db-sidebar-width: 260px;
    --db-sidebar-collapsed: 72px;
    --db-topbar-height: 64px;
    --db-mobile-nav-height: 64px;

    /* ========================================
       TYPOGRAPHY
       ======================================== */
    --db-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --db-font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Font Sizes */
    --db-text-xs: 0.75rem;
    --db-text-sm: 0.8125rem;
    --db-text-base: 0.875rem;
    --db-text-md: 0.9375rem;
    --db-text-lg: 1rem;
    --db-text-xl: 1.125rem;
    --db-text-2xl: 1.25rem;
    --db-text-3xl: 1.5rem;

    /* Font Weights */
    --db-font-normal: 400;
    --db-font-medium: 500;
    --db-font-semibold: 600;
    --db-font-bold: 700;

    /* ========================================
       TRANSITIONS
       ======================================== */
    --db-transition-fast: 150ms ease;
    --db-transition: 200ms ease;
    --db-transition-slow: 300ms ease;
}
