/* ===========================================
   ObraFlow Design System - CSS Variables
   =========================================== */

:root {
    /* ========== COLORES ========== */
    
    /* Fondos */
    --color-bg-primary: #0f1115;
    --color-bg-secondary: #0b0c10;
    --color-bg-card: #1a1d23;
    --color-bg-card-hover: #23272e;
    --color-bg-elevated: #2a2e35;
    
    /* Acentos */
    --color-accent: #FFD700;           /* Construction Gold */
    --color-accent-hover: #e6c200;
    --color-accent-subtle: rgba(255, 215, 0, 0.1);
    --color-accent-blue: #4a90e2;      /* Steel Blue */
    --color-accent-blue-hover: #3d7bc7;
    
    /* Estados */
    --color-success: #22c55e;
    --color-success-subtle: rgba(34, 197, 94, 0.1);
    --color-warning: #f59e0b;
    --color-warning-subtle: rgba(245, 158, 11, 0.1);
    --color-error: #ef4444;
    --color-error-subtle: rgba(239, 68, 68, 0.1);
    --color-info: #3b82f6;
    --color-info-subtle: rgba(59, 130, 246, 0.1);
    
    /* Texto */
    --color-text-primary: #ffffff;
    --color-text-secondary: #a0a0a0;
    --color-text-tertiary: #666666;
    --color-text-inverse: #000000;
    
    /* Bordes */
    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-hover: rgba(255, 255, 255, 0.2);
    --color-border-active: var(--color-accent);
    
    /* ========== TIPOGRAFÍA ========== */
    --font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --font-size-xs: 0.75rem;     /* 12px */
    --font-size-sm: 0.875rem;    /* 14px */
    --font-size-base: 1rem;      /* 16px */
    --font-size-lg: 1.125rem;    /* 18px */
    --font-size-xl: 1.25rem;     /* 20px */
    --font-size-2xl: 1.5rem;     /* 24px */
    --font-size-3xl: 2rem;       /* 32px */
    --font-size-4xl: 2.5rem;     /* 40px */
    
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    --line-height-tight: 1.1;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.6;
    
    /* ========== ESPACIADO ========== */
    --spacing-0: 0;
    --spacing-1: 0.25rem;   /* 4px */
    --spacing-2: 0.5rem;    /* 8px */
    --spacing-3: 0.75rem;   /* 12px */
    --spacing-4: 1rem;      /* 16px */
    --spacing-5: 1.25rem;   /* 20px */
    --spacing-6: 1.5rem;    /* 24px */
    --spacing-8: 2rem;      /* 32px */
    --spacing-10: 2.5rem;   /* 40px */
    --spacing-12: 3rem;     /* 48px */
    --spacing-16: 4rem;     /* 64px */
    --spacing-20: 5rem;     /* 80px */
    
    /* ========== BORDES ========== */
    --border-radius-sm: 4px;
    --border-radius-md: 6px;
    --border-radius-lg: 8px;
    --border-radius-xl: 12px;
    --border-radius-full: 9999px;
    
    --border-width: 1px;
    
    /* ========== SOMBRAS ========== */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.5);
    --shadow-accent: 0 0 20px rgba(255, 215, 0, 0.3);
    
    /* ========== TRANSICIONES ========== */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* ========== Z-INDEX ========== */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    
    /* ========== LAYOUT ========== */
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 72px;
    --header-height: 64px;
    --container-max-width: 1400px;
}

/* ========== DARK MODE (default) ========== */
/* El sistema usa dark mode por defecto, pero aquí se pueden definir
   variaciones si en el futuro se quiere un light mode */

[data-theme="light"] {
    /* Placeholder para futuro light mode */
}
