/*
 * Design System Variables
 * Sistema de variables centralizadas para evitar duplicación
 * Usado por modern-cards.css y main-styles.css
 */

:root {
    /* === COLORES CASCARÓN (NEUTROS) === */
    /* Base neutral colors for shell/template */
    --neutral-50: #f9fafb;
    --neutral-100: #f3f4f6;
    --neutral-200: #e5e7eb;
    --neutral-300: #d1d5db;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;

    /* === COLORES PRINCIPALES CASCARÓN === */
    /* Colores base neutros - serán sobrescritos por event-colors.css */
    --primary: #6c757d;              /* Gris neutro cascarón */
    --secondary: #adb5bd;            /* Gris claro cascarón */
    --accent: #fd7e14;               /* Naranja cascarón */
    --background: #ffffff;
    --text-dark: #495057;
    --text-light: #6c757d;
    
    /* Colores para tarjetas */
    --card-bg: #ffffff;
    --card-bg-gradient: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(108, 117, 125, 0.2);
    
    /* Gradientes cascarón */
    --gradient-primary: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    --gradient-secondary: linear-gradient(135deg, #adb5bd 0%, #6c757d 100%);
    --gradient-accent: linear-gradient(135deg, #fd7e14 0%, #e85d04 100%);
    --gradient-neutral: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    
    /* Tipografías */
    --typography-main: 'Roboto', sans-serif;
    --typography-titles: 'CustomTitle', 'Montserrat', sans-serif;
    --typography-light: 'CustomLight', 'Open Sans', sans-serif;
    --typography-footer: 'CustomFooter', 'Open Sans', sans-serif;

    /* === ESPACIADO === */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;

    /* === BORDER RADIUS === */
    --border-radius-xs: 4px;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    --border-radius-2xl: 24px;
    --border-radius-3xl: 32px;
    --border-radius-full: 9999px;

    /* === SOMBRAS === */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);

    /* Sombras especiales para glassmorphism */
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-glass-lg: 0 20px 40px rgba(0, 0, 0, 0.15);

    /* === TRANSICIONES === */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* === TIPOGRAFÍA === */
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 30px;
    --font-size-4xl: 36px;

    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-loose: 1.75;

    /* === Z-INDEX === */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;

    /* === BREAKPOINTS (para uso en JS si es necesario) === */
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --breakpoint-xxl: 1400px;
}

/* === UTILIDADES GLOBALES === */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.transition-all {
    transition: all var(--transition-normal);
}

.transition-colors {
    transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

.transition-transform {
    transition: transform var(--transition-normal);
}