/* =============================================
   PILAY - Sistema de Facturas
   Variables CSS y configuración de tema
   ============================================= */

:root {
    /* Colores corporativos PILAY Design System */
    --pilay-primary: #004BEE;
    --pilay-primary-dark: #001E61;
    --pilay-primary-light: #3D72F5;
    --pilay-accent: #93D3B8;
    --pilay-accent-dark: #5BB99A;
    --pilay-accent-light: #C0E8D6;

    /* Fondos */
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-dark: #001E61;
    --bg-hover: #f1f5f9;

    /* Textos */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;

    /* Bordes */
    --border-color: #e2e8f0;
    --border-focus: #004BEE;

    /* Estados */
    --success: #10b981;
    --success-bg: #d1fae5;
    --success-text: #065f46;
    --warning: #f59e0b;
    --warning-bg: #fef3c7;
    --warning-text: #92400e;
    --error: #ef4444;
    --error-bg: #fee2e2;
    --error-text: #991b1b;
    --info: #004BEE;
    --info-bg: #dbeafe;
    --info-text: #001E61;

    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    /* Bordes redondeados */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Tipografía */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

    /* Transiciones */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.2s ease;
    --transition-slow: 0.3s ease;

    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 1000;
    --z-toast: 1100;
}

/* Tema oscuro (opcional para futuro) */
[data-theme="dark"] {
    --bg-main: #0f172a;
    --bg-card: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --border-color: #334155;
}
