/* ==========================================================================
   VIVAGYM — Design Tokens
   Tema por defecto = MOCK APROBADO: claro + rojo coral (#F4F5F7 / #E04836)
   Fuente: gym-qr-bilingual-mock/assets/css/styles.css
   El tema oscuro + lima queda disponible como alternativa con
   <html data-theme="dark">, pero NO es el diseño del proyecto.
   Los componentes solo usan variables: cambiar acá no rompe la lógica.
   ========================================================================== */
:root {
  /* Superficies */
  --bg: #F4F5F7;
  --surface: #FFFFFF;
  --surface-2: #F8FAFC;
  --surface-3: #E2E6EC;
  --border: #E2E6EC;
  --border-strong: #CBD5E1;
  --topbar-bg: rgba(255, 255, 255, .94);

  /* Texto */
  --text: #1E242B;
  --muted: #5A6572;
  --text-dim: #94A3B8;
  --charcoal: #2B2F36;

  /* Marca (rojo coral del mock) */
  --accent: #E04836;
  --accent-hover: #C23626;
  --on-accent: #FFFFFF;
  --accent-soft: rgba(224, 72, 54, 0.10);

  /* Estados */
  --success: #16A34A;
  --success-soft: rgba(22, 163, 74, 0.10);
  --warning: #D97706;
  --warning-soft: rgba(217, 119, 6, 0.10);
  --danger: #E04836;
  --danger-soft: rgba(224, 72, 54, 0.10);

  /* Color del gimnasio (se sobreescribe por gym en runtime) */
  --gym-brand: var(--accent);
  --gym-on-brand: var(--on-accent);

  /* Tipografía */
  --font-display: 'Oswald', 'Impact', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Forma y ritmo */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --space: 16px;
  --tabbar-h: 64px;
  --max-width: 1180px;
}

/* Alternativa oscura + lima. No activa por defecto. */
:root[data-theme='dark'] {
  --bg: #111111;
  --surface: #18181B;
  --surface-2: #202024;
  --surface-3: #27272C;
  --border: #2E2E33;
  --border-strong: #3F3F46;
  --topbar-bg: rgba(17, 17, 17, .92);
  --text: #F4F4F5;
  --muted: #A1A1AA;
  --text-dim: #71717A;
  --charcoal: #0B0B0C;
  --accent: #C8F526;
  --accent-hover: #D9FF4D;
  --on-accent: #111111;
  --accent-soft: rgba(200, 245, 38, 0.12);
  --success: #22C55E;
  --success-soft: rgba(34, 197, 94, 0.12);
  --warning: #F59E0B;
  --warning-soft: rgba(245, 158, 11, 0.12);
  --danger: #EF4444;
  --danger-soft: rgba(239, 68, 68, 0.12);
}
