/**
 * Variables CSS para el Admin
 * Diseño Bentō moderno
 *
 * @package BravesChat
 * @version 1.2.0
 */

:root {
    /* ==================== COLORES PRINCIPALES ==================== */
    --braves-primary:         #0077b6;
    --braves-primary-hover:   #3c3c3c;
    --braves-primary-light:   #0096c7;
    --braves-primary-lighter: #eff2fe;

    /* ==================== COLORES DE ESTADO ==================== */
    --braves-success: #00a32a;
    --braves-success-light: #e7f7ed;
    --braves-warning: #f0b429;
    --braves-warning-light: #fcf9e8;
    --braves-error: #d63638;
    --braves-error-light: #fcf0f1;
    --braves-info: #3582c4;
    --braves-info-light: #e5f5fa;

    /* ==================== COLORES NEUTROS ==================== */
    --braves-white: #ffffff;
    --braves-black: #000000;
    --braves-dark: #141414;
    --braves-gray-50: #f9fafb;
    --braves-gray-100: #f3f4f6;
    --braves-gray-200: #e5e7eb;
    --braves-gray-300: #d1d5db;
    --braves-gray-400: #9ca3af;
    --braves-gray-500: #6b7280;
    --braves-gray-600: #4b5563;
    --braves-gray-700: #374151;
    --braves-gray-800: #1f2937;
    --braves-gray-900: #111827;

    /* ==================== TIPOGRAFÍA ==================== */
    --braves-font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --braves-font-mono: Menlo, Monaco, Consolas, "Courier New", monospace;

    /* Tamaños de fuente */
    --braves-text-xs: 0.75rem;
    /* 12px */
    --braves-text-sm: 0.875rem;
    /* 14px */
    --braves-text-base: 1rem;
    /* 16px */
    --braves-text-lg: 1.125rem;
    /* 18px */
    --braves-text-xl: 1.25rem;
    /* 20px */
    --braves-text-2xl: 1.5rem;
    /* 24px */
    --braves-text-3xl: 1.875rem;
    /* 30px */

    /* Pesos de fuente */
    --braves-font-normal: 400;
    --braves-font-medium: 500;
    --braves-font-semibold: 600;
    --braves-font-bold: 700;

    /* Line Heights */
    --braves-leading-tight: 1.25;
    --braves-leading-normal: 1.5;
    --braves-leading-relaxed: 1.75;

    /* ==================== ESPACIADO ==================== */
    --braves-space-xs: 0.25rem;
    /* 4px */
    --braves-space-sm: 0.5rem;
    /* 8px */
    --braves-space-md: 1rem;
    /* 16px */
    --braves-space-lg: 1.5rem;
    /* 24px */
    --braves-space-xl: 2rem;
    /* 32px */
    --braves-space-2xl: 2.5rem;
    /* 40px */
    --braves-space-3xl: 3rem;
    /* 48px */

    /* ==================== BORDER RADIUS ==================== */
    --braves-radius-sm: 4px;
    --braves-radius-md: 8px;
    --braves-radius-lg: 12px;
    --braves-radius-xl: 16px;
    --braves-radius-full: 9999px;

    /* ==================== SOMBRAS ==================== */
    --braves-shadow-accent: 0 10px 20px -3px rgba(0, 119, 182, 0.15), 0 4px 6px -2px rgba(0, 119, 182, 0.1);
    --braves-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --braves-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --braves-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --braves-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --braves-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

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

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

    /* ==================== LAYOUT ==================== */
    --braves-sidebar-width: 240px;
    --braves-header-height: 80px;
    --braves-card-gap: 24px;
    --braves-container-max-width: 1400px;

    /* ==================== BREAKPOINTS (para referencia) ==================== */
    /* sm: 640px */
    /* md: 768px */
    /* lg: 1024px */
    /* xl: 1280px */
    /* 2xl: 1536px */

    /* ==================== VARIABLES SEMÁNTICAS (TEMA CLARO) ==================== */
    --braves-bg-page:        #f3f4f6;
    --braves-surface:        #ffffff;
    --braves-surface-alt:    #f9fafb;
    --braves-surface-input:  #ffffff;
    --braves-border-color:   #e5e7eb;
    --braves-text-primary:    #111827;
    --braves-text-secondary:  #4b5563;
    --braves-text-muted:      #9ca3af;
    --braves-text-on-primary: #ffffff;
}

/* ==================== TEMA OSCURO ==================== */
[data-braves-theme="dark"] {
    /* Superficies: grises neutros sin tinte de color */
    --braves-bg-page:          #0c0c0c;
    --braves-surface:          #161616;
    --braves-surface-alt:      #1e1e1e;
    --braves-surface-elevated: #131313;
    --braves-surface-input:    #1a1a1a;
    --braves-border-color:     rgba(255, 255, 255, 0.08);

    /* Texto */
    --braves-text-primary:     #f5f5f5;
    --braves-text-secondary:   #8e8e93;
    --braves-text-muted:       #48484a;
    --braves-text-on-primary:  #141414;

    /* Acento teal — sólo para interactivos */
    --braves-primary:          #01b7af;
    --braves-primary-hover:    #31bdad;
    --braves-primary-light:    #5dd5c7;
    --braves-primary-lighter:  rgba(1, 183, 175, 0.15);
    --braves-shadow-accent:    0 10px 24px -4px rgba(1, 183, 175, 0.28), 0 4px 8px -2px rgba(1, 183, 175, 0.14);

    /* Estados */
    --braves-success-light:    rgba(0, 163, 42, 0.18);
    --braves-warning-light:    rgba(240, 180, 41, 0.18);
    --braves-error-light:      rgba(214, 54, 56, 0.18);
    --braves-info-light:       rgba(53, 130, 196, 0.18);

    /* Gray scale neutro para dark mode */
    --braves-gray-50:  #161616;
    --braves-gray-100: #1e1e1e;
    --braves-gray-200: #2a2a2a;
    --braves-gray-300: #3a3a3a;
    --braves-gray-400: #48484a;
    --braves-gray-500: #8e8e93;
    --braves-gray-600: #aeaeb2;
    --braves-gray-700: #c7c7cc;
    --braves-gray-800: #e5e5ea;
    --braves-gray-900: #f5f5f5;

}