/**
 * ============================================================================
 * FightArtMX - CORE CSS (Estilos Globales, Tokens y Componentes Compartidos)
 * ============================================================================
 * Este archivo define los colores oficiales, tipografias, scrollbars y
 * notificaciones Toast para todo el ecosistema FightArtMX.
 */
/* ==========================================================================
       1. DESIGN TOKENS & RESET
       ========================================================================== */
    :root {
      --bg-base: #0a0d12;
      --bg-surface: #111620;
      --bg-card: #161d2b;
      --bg-card-hover: #1c2536;
      --bg-input: #0e141f;
      --border-subtle: #242f42;
      --border-focus: #ff6b00;
      
      --accent: #ff6b00;
      --accent-hover: #ff8528;
      --accent-glow: rgba(255, 107, 0, 0.28);
      --accent-soft: rgba(255, 107, 0, 0.12);
      
      --text-main: #f0f4fc;
      --text-muted: #8b9bb4;
      --text-dim: #5c6c84;
      
      --success: #10b981;
      --success-soft: rgba(16, 185, 129, 0.15);
      --danger: #ef4444;
      --danger-soft: rgba(239, 68, 68, 0.15);
      --warning: #f59e0b;
      --warning-soft: rgba(245, 158, 11, 0.15);
      --info: #3b82f6;

      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 18px;
      --radius-pill: 9999px;

      --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
      --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
      --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
      --shadow-glow: 0 0 25px var(--accent-glow);

      --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
      --transition-base: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
      --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background-color: var(--bg-base);
      color: var(--text-main);
      font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
      line-height: 1.6;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      overflow-x: hidden;
    }

    /* Fondo degradado ambiental */
    body::before {
      content: "";
      position: fixed;
      top: -150px;
      left: 20%;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(255, 102, 0, 0.08) 0%, transparent 70%);
      pointer-events: none;
      z-index: 0;
    }

/* Contenedor universal de Toasts (para modulos que usen FightArtUI.toast) */
.fa-toast-stack {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.fa-toast-item {
  background: var(--bg-card, #161d2b);
  border: 1px solid var(--border-subtle, #242f42);
  border-left: 4px solid var(--accent, #ff6600);
  border-radius: 12px;
  padding: 12px 18px;
  color: var(--text-main, #f0f4fc);
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  animation: faToastSlideIn 0.25s ease forwards;
  min-width: 260px;
}

.fa-toast-item.success { border-left-color: var(--success, #10b981); }
.fa-toast-item.error   { border-left-color: var(--danger, #ef4444); }

@keyframes faToastSlideIn {
  from { transform: translateX(30px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
