/* ==========================================
   ROBSER Help Center - CSS Variables
   Personaliza aquí colores, fuentes y espaciado
   ========================================== */

/* La fuente Inter se carga desde el <head> de cada página (con preconnect) para no bloquear el pintado */

:root {
    /* COLORES DE MARCA (logotipo Radares ROBSER) */
    --brand-blue: #00b4ff;           /* Cian del logotipo: solo decoración, no texto sobre blanco */
    --brand-orange: #f08519;         /* Naranja del logotipo */
    --brand-orange-dark: #c2620a;    /* Naranja legible sobre blanco */
    --brand-orange-soft: #fff4e8;
    --brand-green: #3a8a38;          /* Verde del logotipo, algo más claro */
    --brand-green-soft: #ecf7ec;
    --brand-black: #000000;          /* Fondo del logotipo y de la cabecera */
    --brand-gradient: linear-gradient(90deg, var(--brand-orange) 0%, var(--brand-blue) 100%);

    /* COLOR DE ACENTO - EDITA AQUÍ (derivado del cian de la marca, oscurecido para que el texto se lea bien) */
    --primary-color: #0077c2;        /* Azul principal (enlaces, botones) */
    --primary-light: #00a3e8;        /* Azul claro (focos, detalles) */
    --primary-dark: #005a94;         /* Azul oscuro (hover, títulos) */
    --primary-soft: #e6f6fe;         /* Fondo azul muy suave */
    --primary-border: #b3e2fa;       /* Borde azul suave */
    --primary-tint: #f3fafe;         /* Tinte azul casi blanco (fondos de apoyo) */
    --primary-tint-border: #d6eefb;  /* Borde para fondos tintados */

    /* COLORES SECUNDARIOS */
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --info-color: #0284c7;

    /* ESCALA DE GRISES (slate) */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* FONDOS */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;

    /* TEXTO */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;
    --text-inverse: #ffffff;

    /* BORDES */
    --border-color: #e2e8f0;
    --border-color-light: #f1f5f9;

    /* TIPOGRAFÍA */
    --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    --font-family-mono: ui-monospace, 'SFMono-Regular', 'Consolas', 'Courier New', monospace;

    --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-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* ESPACIADO */
    --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 */

    /* SOMBRAS (suaves) */
    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 24px -6px rgba(15, 23, 42, 0.10), 0 4px 8px -4px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 32px -8px rgba(15, 23, 42, 0.12), 0 8px 12px -6px rgba(15, 23, 42, 0.05);
    --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.20);
    --focus-ring: 0 0 0 3px rgba(0, 119, 194, 0.18);

    /* TRANSICIONES */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;

    /* RADIO DE BORDES */
    --radius-sm: 0.25rem;   /* 4px */
    --radius-md: 0.375rem;  /* 6px */
    --radius-lg: 0.5rem;    /* 8px */
    --radius-xl: 0.75rem;   /* 12px */
    --radius-2xl: 1rem;     /* 16px */

    /* Z-INDEX */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    /* ANCHO MÁXIMO */
    --max-width-sm: 640px;
    --max-width-md: 768px;
    --max-width-lg: 1024px;
    --max-width-xl: 1280px;
    --max-width-2xl: 1536px;

    color-scheme: light;
}
