/**
 * Variables CSS Globales - Sistema INACAP
 * Define todas las variables de diseño del sistema
 */

:root {
    /* ==========================================
       COLORES INACAP
       ========================================== */
    --color-primary: #D32F2F;
    --color-primary-dark: #B71C1C;
    --color-primary-light: #E53935;
    --color-primary-lighter: #FFCDD2;
    
    --color-secondary: #1e3a5f;
    --color-secondary-dark: #0d1f33;
    --color-secondary-light: #2e4a6f;
    
    /* Estados de Actividades */
    --color-solicitada: #6c757d;
    --color-pendiente: #ffc107;
    --color-confirmada: #28a745;
    --color-en-ejecucion: #17a2b8;
    --color-completada: #007bff;
    --color-cancelada: #dc3545;
    --color-rechazada: #343a40;
    
    /* Colores Semánticos */
    --color-success: #28a745;
    --color-success-light: #d4edda;
    --color-warning: #ffc107;
    --color-warning-light: #fff3cd;
    --color-danger: #dc3545;
    --color-danger-light: #f8d7da;
    --color-info: #17a2b8;
    --color-info-light: #d1ecf1;
    
    /* Grises */
    --color-gray-50: #fafafa;
    --color-gray-100: #f8f9fa;
    --color-gray-200: #e9ecef;
    --color-gray-300: #dee2e6;
    --color-gray-400: #ced4da;
    --color-gray-500: #adb5bd;
    --color-gray-600: #6c757d;
    --color-gray-700: #495057;
    --color-gray-800: #343a40;
    --color-gray-900: #212529;
    
    /* Blanco y Negro */
    --color-white: #ffffff;
    --color-black: #000000;
    
    /* ==========================================
       ESPACIADOS
       ========================================== */
    --spacing-xs: 0.25rem;      /* 4px */
    --spacing-sm: 0.5rem;       /* 8px */
    --spacing-md: 1rem;         /* 16px */
    --spacing-lg: 1.5rem;       /* 24px */
    --spacing-xl: 2rem;         /* 32px */
    --spacing-2xl: 3rem;        /* 48px */
    --spacing-3xl: 4rem;        /* 64px */
    --spacing-4xl: 5rem;        /* 80px */
    --spacing-5xl: 6rem;        /* 96px */
    
    /* ==========================================
       BORDES Y RADIOS
       ========================================== */
    --border-width: 1px;
    --border-width-thick: 2px;
    
    --border-radius-none: 0;
    --border-radius-sm: 0.25rem;    /* 4px */
    --border-radius-md: 0.5rem;     /* 8px */
    --border-radius-lg: 1rem;       /* 16px */
    --border-radius-xl: 1.5rem;     /* 24px */
    --border-radius-2xl: 2rem;      /* 32px */
    --border-radius-full: 9999px;   /* Completamente redondo */
    
    /* ==========================================
       SOMBRAS
       ========================================== */
    --shadow-none: none;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
    
    /* Sombras de color */
    --shadow-primary: 0 4px 15px rgba(211, 47, 47, 0.2);
    --shadow-success: 0 4px 15px rgba(40, 167, 69, 0.2);
    --shadow-danger: 0 4px 15px rgba(220, 53, 69, 0.2);
    
    /* ==========================================
       TRANSICIONES
       ========================================== */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-veryslow: 0.7s ease;
    
    /* Curvas de animación */
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* ==========================================
       TIPOGRAFÍA
       ========================================== */
    --font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-family-monospace: 'Courier New', Courier, monospace;
    
    /* Tamaños de fuente */
    --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: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */
    --font-size-6xl: 3.75rem;   /* 60px */
    
    /* Pesos de fuente */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
    
    /* Altura de línea */
    --line-height-none: 1;
    --line-height-tight: 1.25;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;
    
    /* ==========================================
       Z-INDEX
       ========================================== */
    --z-index-dropdown: 1000;
    --z-index-sticky: 1020;
    --z-index-fixed: 1030;
    --z-index-modal-backdrop: 1040;
    --z-index-modal: 1050;
    --z-index-popover: 1060;
    --z-index-tooltip: 1070;
    
    /* ==========================================
       BREAKPOINTS (para referencia en JS)
       ========================================== */
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --breakpoint-xxl: 1400px;
    
    /* ==========================================
       LAYOUT
       ========================================== */
    --max-width-screen-sm: 540px;
    --max-width-screen-md: 720px;
    --max-width-screen-lg: 960px;
    --max-width-screen-xl: 1140px;
    --max-width-screen-xxl: 1320px;
    
    /* ==========================================
       COMPONENTES ESPECÍFICOS
       ========================================== */
    
    /* Navbar */
    --navbar-height: 56px;
    --navbar-bg: var(--color-primary);
    --navbar-text: var(--color-white);
    
    /* Sidebar */
    --sidebar-width: 250px;
    --sidebar-width-collapsed: 60px;
    
    /* Cards */
    --card-bg: var(--color-white);
    --card-border-color: var(--color-gray-200);
    --card-border-radius: var(--border-radius-lg);
    
    /* Inputs */
    --input-height: 38px;
    --input-height-sm: 32px;
    --input-height-lg: 48px;
    --input-border-color: var(--color-gray-300);
    --input-border-radius: var(--border-radius-md);
    
    /* Buttons */
    --button-height: 38px;
    --button-height-sm: 32px;
    --button-height-lg: 48px;
    --button-border-radius: var(--border-radius-md);
    
    /* ==========================================
       ANIMACIONES
       ========================================== */
    --animation-duration-fast: 150ms;
    --animation-duration-normal: 300ms;
    --animation-duration-slow: 500ms;
}

/* ==========================================
   DARK MODE (opcional para futuro)
   ========================================== */
@media (prefers-color-scheme: dark) {
    :root {
        /* Tema oscuro deshabilitado por ahora */
        color-scheme: light;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
    :root {
        --shadow-sm: none;
        --shadow-md: none;
        --shadow-lg: none;
    }
}
