/* ============================================
   VARIABLES.CSS - ONE SOURCE OF TRUTH
   Shared by Frontend + Admin + Shop
   ============================================ */

:root {
    /* ===== COLORS ===== */
    --color-primary: #1e3a8a;
    --color-primary-dark: #0f2b6d;
    --color-primary-light: #3b5cbf;
    --color-accent: #0d9488;
    --color-accent-dark: #0f766e;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #3b82f6;
    
    /* Admin Primary (same as color-primary) */
    --primary: #1e3a8a;
    --primary-hover: #0f2b6d;
    --primary-light: rgba(30, 58, 138, 0.1);
    
    /* Backgrounds */
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-section: #ffffff;
    --bg-section-alt: #f1f5f9;
    --bg-footer: #0f172a;
    
    /* Sidebar */
    --sidebar-bg: #0f172a;
    --sidebar-hover: #1e293b;
    --sidebar-active: var(--color-primary);
    --sidebar-text: #94a3b8;
    --sidebar-text-hover: #ffffff;
    
    /* Text */
    --text-body: #1e293b;
    --text-muted: #64748b;
    --text-heading: #0f172a;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    
    /* Borders */
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --border-medium: #e2e8f0;
    --border-dark: #cbd5e1;
    
    /* Status Badges */
    --status-paid-bg: #dcfce7;
    --status-pending-bg: #fef3c7;
    --status-processing-bg: #dbeafe;
    --status-shipped-bg: #f3e8ff;
    --status-cancelled-bg: #fee2e2;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.1);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Spacing (8px system) */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;
    --space-5xl: 96px;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'SF Mono', Monaco, monospace;
    
    --text-xs: 11px;
    --text-sm: 13px;
    --text-base: 14px;
    --text-md: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 32px;
    
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    
    /* Transitions */
    --transition: 0.2s ease;
    --transition-slow: 0.3s ease;
    --transition-fast: 0.15s ease;
    
    /* Layout */
    --sidebar-width: 280px;
    --sidebar-width-collapsed: 80px;
    --topbar-height: 64px;
    
    /* Z-Index */
    --z-hamburger: 1001;
    --z-sidebar: 1000;
    --z-modal: 2000;
    --z-tooltip: 3000;
}