/* BooCode+ (id: boocode-plus) — cool deep-slate + indigo accent #5e6ad2.
   Tasteful sci-fi tier: calm, premium, Linear-grade. Dark is the priority
   (the user only runs dark mode); the light variant is kept reasonable but
   secondary. Token shape mirrors obsidian.css exactly.

   Phase 2 effects (frosted-glass chrome, static ambient gradient, indigo glow,
   spring transitions) live in the sibling sheet below. The scaffold wired the
   two CANVAS themes' *-fx.css in globals.css but never a boocode-plus-fx.css,
   and globals.css is out of scope for Phase 2 — so the effects sheet is pulled
   in here via a nested @import (Lightning CSS resolves it relative to this
   file → ./effects/boocode-plus-fx.css). @import must precede all rules. */
@import "./effects/boocode-plus-fx.css";

/* Light variant — secondary. Deeper indigo (#5159c4) so white button text
   clears AA on light, darker muted-foreground (#5c6178) for AA secondary text.
   Glass/gradient/glow are dark-only (see the fx sheet), so light is flat. */
.theme-boocode-plus {
  --background: #f7f8fc;
  --foreground: #1b1e2e;
  --card: #ffffff;
  --card-foreground: #1b1e2e;
  --popover: #ffffff;
  --popover-foreground: #1b1e2e;
  --primary: #5159c4;
  --primary-foreground: #ffffff;
  --secondary: #eceef6;
  --secondary-foreground: #1b1e2e;
  --muted: #eceef6;
  --muted-foreground: #5c6178;
  --accent: #5159c4;
  --accent-foreground: #ffffff;
  --destructive: #c8202e;
  --destructive-foreground: #ffffff;
  --border: #e0e3ef;
  --input: #e0e3ef;
  --ring: #5159c4;
  --sidebar: #eef0f7;
  --sidebar-foreground: #1b1e2e;
  --sidebar-primary: #5159c4;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: color-mix(in oklab, #5159c4 14%, transparent);
  --sidebar-accent-foreground: #1b1e2e;
  --sidebar-border: #e0e3ef;
  --sidebar-ring: #5159c4;
}

/* Dark variant — the priority. AA-verified against its surfaces:
   foreground #e3e6f1 on card #1a1d2e = 13.0:1; muted-foreground #8f95ad on
   muted #242838 = 4.9:1; primary/accent-foreground #ffffff on #5e6ad2 = 4.7:1;
   destructive #f05252 as text on the dark base = 5.4:1. (primary-foreground
   and muted-foreground were lifted off the stub's #0f1117 / #7a7f99, which
   failed AA at 4.0:1 and 4.2:1.) */
.theme-boocode-plus.dark {
  --background: #0f1117;
  --foreground: #e3e6f1;
  --card: #1a1d2e;
  --card-foreground: #e3e6f1;
  --popover: #1a1d2e;
  --popover-foreground: #e3e6f1;
  --primary: #5e6ad2;
  --primary-foreground: #ffffff;
  --secondary: #242838;
  --secondary-foreground: #e3e6f1;
  --muted: #242838;
  --muted-foreground: #8f95ad;
  --accent: #5e6ad2;
  --accent-foreground: #ffffff;
  --destructive: #f05252;
  --destructive-foreground: #ffffff;
  --border: #2a2f44;
  --input: #2a2f44;
  --ring: #5e6ad2;
  --sidebar: #13151d;
  --sidebar-foreground: #e3e6f1;
  --sidebar-primary: #5e6ad2;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: color-mix(in oklab, #5e6ad2 20%, transparent);
  --sidebar-accent-foreground: #e3e6f1;
  --sidebar-border: #2a2f44;
  --sidebar-ring: #5e6ad2;
}
