/**
 * shadcn/ui design tokens (dark) — https://ui.shadcn.com/docs/theming
 * Space-separated HSL components for use with hsl(var(--token)).
 * Includes 369Network legacy --ent-* aliases for existing PHP/CSS.
 */
:root {
  --radius: 0.75rem;

  --background: 222 47% 11%;
  --foreground: 210 40% 98%;

  --card: 217 33% 17%;
  --card-foreground: 210 40% 98%;

  --popover: 217 33% 17%;
  --popover-foreground: 210 40% 98%;

  --primary: 239 84% 67%;
  --primary-foreground: 0 0% 100%;

  --secondary: 217 19% 27%;
  --secondary-foreground: 210 40% 98%;

  --muted: 217 19% 27%;
  --muted-foreground: 215 16% 47%;

  --accent: 239 84% 67%;
  --accent-foreground: 0 0% 100%;

  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 98%;

  --border: 217 19% 27%;
  --input: 222 47% 11%;
  --ring: 239 84% 67%;

  --chart-1: 239 84% 67%;
  --chart-2: 271 76% 53%;
  --chart-3: 160 84% 45%;
  --chart-4: 38 92% 50%;
  --chart-5: 215 16% 47%;

  /* --- Legacy enterprise_theme / bridges (alias → shadcn) --- */
  --ent-bg: var(--background);
  --ent-fg: var(--foreground);
  --ent-card: var(--card);
  --ent-card-fg: var(--card-foreground);
  --ent-primary: var(--primary);
  --ent-primary-fg: var(--primary-foreground);
  --ent-secondary: var(--secondary);
  --ent-secondary-fg: var(--secondary-foreground);
  --ent-muted: var(--muted);
  --ent-muted-fg: var(--muted-foreground);
  --ent-accent: var(--accent);
  --ent-accent-fg: var(--accent-foreground);
  --ent-destructive: var(--destructive);
  --ent-destructive-fg: var(--destructive-foreground);
  --ent-success: 160 84% 39%;
  --ent-success-fg: 0 0% 100%;
  --ent-warning: 38 92% 50%;
  --ent-warning-fg: 0 0% 100%;
  --ent-border: var(--border);
  --ent-input: var(--input);
  --ent-ring: var(--ring);
  --ent-radius: var(--radius);
  --ent-sidebar-w: 240px;
}

html.dark,
.dark {
  color-scheme: dark;
}
