/*
 * Línea gráfica de Ally Apps (allyapps.cl) para Ally Connect:
 * marco gris claro (o negro), tarjetas blancas flotantes muy redondeadas, degradado
 * azul → celeste del logo de Ally Connect (rosa solo para alertas), titulares pesados con interletra apretada,
 * etiquetas mono en mayúsculas con numeración y mucho movimiento.
 * Toda la interfaz usa solo estas variables.
 */
:root {
  --blue: #0047ff;
  --alert: #f2479c;
  --azure: #1a8cff;
  --cyan: #00d4ff;
  --grad: linear-gradient(100deg, var(--blue) 0%, var(--azure) 50%, var(--cyan) 100%);
  --grad-soft: linear-gradient(100deg, rgba(0, 71, 255, .08), rgba(0, 116, 252, .08), rgba(0, 212, 255, .10));

  /* Modo claro (por defecto). El modo oscuro se elige con el botón sol/luna. */
  --shell: #eef1f6;          /* fondo de la aplicación */
  --shell-text: #0a0a0a;
  --shell-muted: #6e6e73;
  --shell-hover: #e2e6ee;
  --shell-line: #d9dde6;
  --shell-control: #ffffff;
  --active-bg: #0a0a0a;      /* pestaña o vista elegida */
  --active-text: #ffffff;
  --logo-ink: #011031;       /* "lly" del logo */

  --brand: #0a0a0a;          /* botones principales sobre blanco */
  --on-brand: #ffffff;
  --accent: #18a957;         /* WhatsApp / confirmaciones */
  --warn: #c77700;
  --danger: #e5245f;

  --bg: #f4f4f6;             /* interior de las tarjetas */
  --surface: #ffffff;
  --surface-2: #f4f4f6;
  --border: #ececf0;
  --text: #0a0a0a;
  --text-muted: #6e6e73;

  --bubble-customer: #ffffff;
  --bubble-business: #0a0a0a;
  --bubble-business-text: #ffffff;
  --bubble-ai: #eef6ff;
  --bubble-note: #fff6e0;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --font-label: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --radius: 28px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 30px rgba(0, 0, 0, .06);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* Modo oscuro: marco negro como allyapps.cl, con las tarjetas blancas. */
:root[data-theme="dark"] {
  --shell: #000000;
  --shell-text: #f5f5f7;
  --shell-muted: #8e8e93;
  --shell-hover: #161618;
  --shell-line: #2a2a2e;
  --shell-control: #161618;
  --active-bg: #ffffff;
  --active-text: #0a0a0a;
  --logo-ink: #ffffff;
}
