/* Interlink Chatbot design tokens: shared by the widget, client admin and super user console. */
:root,
:host {
  --ic-font: "Inter", "InterVariable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ic-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ic-text-xs: 11.5px;
  --ic-text-sm: 13px;
  --ic-text-md: 14px;
  --ic-text-lg: 16px;
  --ic-text-xl: 20px;
  --ic-text-2xl: 26px;

  --ic-space-1: 4px;
  --ic-space-2: 8px;
  --ic-space-3: 12px;
  --ic-space-4: 16px;
  --ic-space-5: 20px;
  --ic-space-6: 24px;
  --ic-space-8: 32px;

  --ic-radius-sm: 6px;
  --ic-radius-md: 10px;
  --ic-radius-lg: 14px;
  --ic-radius-xl: 20px;

  --ic-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ic-fast: 120ms;
  --ic-base: 200ms;

  --ic-accent: #22b573;
  --ic-accent-strong: #1c9a62;
  --ic-accent-soft: rgba(34, 181, 115, 0.12);
  --ic-accent-ring: rgba(34, 181, 115, 0.35);
  --ic-on-accent: #04130b;
  --ic-blue: #3b82f6;
  --ic-blue-soft: rgba(59, 130, 246, 0.12);
  --ic-warn: #f5a524;
  --ic-warn-soft: rgba(245, 165, 36, 0.12);
  --ic-danger: #f0525a;
  --ic-danger-soft: rgba(240, 82, 90, 0.12);
}

/* Dark is the default theme. */
:root,
:host,
[data-theme="dark"],
:host([data-theme="dark"]) {
  color-scheme: dark;
  --ic-bg: #0a0a0f;
  --ic-bg-raised: #101017;
  --ic-surface: #14141c;
  --ic-surface-2: #1a1a24;
  --ic-surface-3: #22222e;
  --ic-border: rgba(255, 255, 255, 0.07);
  --ic-border-strong: rgba(255, 255, 255, 0.13);
  --ic-text: #f0f0f5;
  --ic-text-2: #a3a3b2;
  --ic-text-3: #6e6e7e;
  --ic-overlay: rgba(4, 4, 8, 0.6);
  --ic-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 12px 32px -12px rgba(0, 0, 0, 0.6);
}

[data-theme="light"],
:host([data-theme="light"]) {
  color-scheme: light;
  --ic-bg: #f6f6f8;
  --ic-bg-raised: #fbfbfc;
  --ic-surface: #ffffff;
  --ic-surface-2: #f3f3f6;
  --ic-surface-3: #e9e9ee;
  --ic-border: rgba(15, 15, 30, 0.08);
  --ic-border-strong: rgba(15, 15, 30, 0.15);
  --ic-text: #121218;
  --ic-text-2: #55556a;
  --ic-text-3: #8a8a9c;
  --ic-overlay: rgba(20, 20, 30, 0.28);
  --ic-accent-strong: #15834f;
  --ic-on-accent: #ffffff;
  --ic-shadow: 0 1px 2px rgba(15, 15, 30, 0.04), 0 12px 32px -16px rgba(15, 15, 30, 0.18);
}
