/* ============================================ */
/* Layer - Custom Themes                       */
/* All colors in HSL for consistency           */
/* ============================================ */

/* Hello Kitty Theme - cute kawaii palette with playful accents */
[data-theme="pink"] {
  --background: hsl(350, 100%, 98%);
  --foreground: hsl(350, 40%, 25%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(350, 40%, 25%);
  --popover: hsl(0, 0%, 100%);
  --popover-foreground: hsl(350, 40%, 25%);

  /* Hello Kitty signature pink */
  --primary: hsl(340, 80%, 65%);
  --primary-foreground: hsl(0, 0%, 100%);

  /* Soft blush pink */
  --secondary: hsl(350, 70%, 94%);
  --secondary-foreground: hsl(350, 40%, 25%);

  /* Light pink muted */
  --muted: hsl(350, 60%, 92%);
  --muted-foreground: hsl(350, 30%, 45%);

  /* Hello Kitty red bow accent */
  --accent: hsl(350, 85%, 55%);
  --accent-foreground: hsl(0, 0%, 100%);

  --destructive: hsl(0, 70%, 60%);
  --destructive-foreground: hsl(0, 0%, 100%);

  --border: hsl(350, 50%, 88%);
  --border-strong: hsl(340, 80%, 65%);
  --input: hsl(0, 0%, 100%);
  --ring: hsl(340, 80%, 65%);

  --surface: hsl(350, 100%, 99%);
  --surface-hover: hsl(350, 70%, 94%);

  --glass-bg: hsla(0, 0%, 100%, 0.85);
  --glass-border: hsla(340, 80%, 65%, 0.3);
  --glass-shadow: 0 8px 32px hsla(340, 80%, 65%, 0.12);
}

[data-theme="pink"] body {
  background: linear-gradient(135deg, hsl(350, 100%, 98%) 0%, hsl(340, 80%, 96%) 50%, hsl(350, 90%, 99%) 100%);
  background-attachment: fixed;
}

[data-theme="pink"] body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 15% 25%, hsla(340, 80%, 65%, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 75%, hsla(350, 85%, 55%, 0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%, hsla(350, 70%, 94%, 0.2) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* Hello Kitty Dark Mode - with Hello Kitty background image */
[data-theme="pink"][data-mode="dark"] {
  --background: hsl(280, 20%, 8%);
  --foreground: hsl(340, 30%, 95%);
  --card: hsla(280, 15%, 12%, 0.85);
  --card-foreground: hsl(340, 30%, 95%);
  --popover: hsla(280, 15%, 12%, 0.9);
  --popover-foreground: hsl(340, 30%, 95%);

  /* Hello Kitty pink */
  --primary: hsl(340, 80%, 70%);
  --primary-foreground: hsl(0, 0%, 100%);

  --secondary: hsla(280, 15%, 18%, 0.8);
  --secondary-foreground: hsl(340, 30%, 95%);

  --muted: hsla(280, 15%, 25%, 0.7);
  --muted-foreground: hsl(340, 25%, 70%);

  /* Hello Kitty red bow */
  --accent: hsl(350, 85%, 60%);
  --accent-foreground: hsl(0, 0%, 100%);

  --GanttRows: hsla(280, 15%, 12%, 0.8);
  --border: hsla(280, 15%, 20%, 0.6);
  --border-strong: hsl(340, 80%, 70%);
  --input: hsla(280, 15%, 15%, 0.8);
  --ring: hsl(340, 80%, 70%);

  --surface: hsla(280, 15%, 14%, 0.85);
  --surface-hover: hsla(280, 15%, 20%, 0.85);

  --glass-bg: hsla(280, 15%, 12%, 0.75);
  --glass-border: hsla(340, 80%, 70%, 0.25);
  --glass-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.4);
}

[data-theme="pink"][data-mode="dark"] body {
  background: url('./images/hello-kitty-BG.png') center center / cover no-repeat fixed;
}

[data-theme="pink"][data-mode="dark"] body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, hsla(280, 20%, 8%, 0.3) 0%, hsla(280, 20%, 8%, 0.1) 50%, hsla(280, 20%, 8%, 0.4) 100%);
  pointer-events: none;
  z-index: -1;
}

/* Purple Theme - rich mystical tones with glass */
[data-theme="purple"] {
  --background: hsl(260, 45%, 15%);
  --foreground: hsl(265, 35%, 95%);
  --card: hsl(260, 40%, 18%);
  --card-foreground: hsl(265, 35%, 95%);
  --popover: hsl(260, 40%, 18%);
  --popover-foreground: hsl(265, 35%, 95%);

  --primary: hsl(256, 60%, 61%);
  --primary-foreground: hsl(0, 0%, 100%);

  --secondary: hsl(260, 30%, 25%);
  --secondary-foreground: hsl(265, 35%, 95%);

  --muted: hsl(260, 20%, 40%);
  --muted-foreground: hsl(265, 40%, 82%);

  --accent: hsl(260, 70%, 77%);
  --accent-foreground: hsl(0, 0%, 100%);

  --destructive: hsl(0, 65%, 51%);
  --destructive-foreground: hsl(0, 0%, 100%);

  --GanttRows: hsl(261, 49%, 17%);
  --border: hsl(260, 20%, 31%);
  --border-strong: hsl(256, 60%, 61%);
  --input: hsl(260, 30%, 25%);
  --ring: hsl(256, 60%, 61%);

  --surface: hsl(260, 40%, 18%);
  --surface-hover: hsl(260, 30%, 25%);

  --glass-bg: hsla(260, 40%, 18%, 0.6);
  --glass-border: hsla(256, 60%, 61%, 0.2);
  --glass-shadow: 0 8px 32px hsla(256, 60%, 61%, 0.2);
}

[data-theme="purple"] body {
  background: linear-gradient(135deg, hsl(260, 45%, 15%) 0%, hsl(260, 50%, 8%) 50%, hsl(260, 45%, 15%) 100%);
  background-attachment: fixed;
}

[data-theme="purple"] body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 20%, hsla(256, 60%, 61%, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, hsla(260, 70%, 77%, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Ocean Theme - soft, fresh, calming with glass */
[data-theme="ocean"] {
  --background: hsl(195, 35%, 26%);
  --foreground: hsl(165, 30%, 91%);
  --card: hsl(197, 35%, 29%);
  --card-foreground: hsl(165, 40%, 88%);
  --popover: hsl(197, 35%, 29%);
  --popover-foreground: hsl(165, 40%, 88%);

  --primary: hsl(174, 30%, 60%);
  --primary-foreground: hsl(0, 0%, 100%);

  --secondary: hsl(160, 30%, 75%);
  --secondary-foreground: hsl(195, 35%, 26%);

  --muted: hsl(197, 30%, 35%);
  --muted-foreground: hsl(160, 25%, 68%);

  --accent: hsl(20, 45%, 55%);
  --accent-foreground: hsl(0, 0%, 100%);

  --destructive: hsl(10, 45%, 50%);
  --destructive-foreground: hsl(0, 0%, 100%);

  --GanttRows: hsl(197, 33%, 29%);
  --border: hsl(197, 30%, 35%);
  --border-strong: hsl(174, 30%, 60%);
  --input: hsl(197, 35%, 29%);
  --ring: hsl(174, 30%, 60%);

  --surface: hsl(197, 35%, 29%);
  --surface-hover: hsl(197, 32%, 33%);

  --glass-bg: hsla(197, 35%, 29%, 0.6);
  --glass-border: hsla(174, 30%, 60%, 0.2);
  --glass-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.25);
}

[data-theme="ocean"] body {
  background: linear-gradient(135deg, hsl(195, 35%, 26%) 0%, hsl(200, 40%, 18%) 50%, hsl(197, 35%, 29%) 100%);
  background-attachment: fixed;
}

[data-theme="ocean"] body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 20%, hsla(174, 30%, 60%, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, hsla(20, 45%, 55%, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Forest Theme with glass */
[data-theme="forest"] {
  --background: hsl(150, 30%, 8%);
  --foreground: hsl(150, 20%, 90%);
  --card: hsl(150, 30%, 6%);
  --card-foreground: hsl(150, 20%, 90%);
  --popover: hsl(150, 30%, 6%);
  --popover-foreground: hsl(150, 20%, 90%);

  --primary: hsl(150, 70%, 50%);
  --primary-foreground: hsl(0, 0%, 100%);

  --secondary: hsl(150, 30%, 12%);
  --secondary-foreground: hsl(150, 20%, 90%);

  --muted: hsl(150, 30%, 14%);
  --muted-foreground: hsl(150, 20%, 65%);

  --accent: hsl(150, 30%, 12%);
  --accent-foreground: hsl(150, 20%, 90%);

  --destructive: hsl(0, 65%, 51%);
  --destructive-foreground: hsl(0, 0%, 100%);

  --GanttRows: hsl(148, 27%, 10%);
  --border: hsl(150, 25%, 18%);
  --border-strong: hsl(150, 70%, 50%);
  --input: hsl(150, 25%, 14%);
  --ring: hsl(150, 70%, 50%);

  --surface: hsl(150, 30%, 10%);
  --surface-hover: hsl(150, 30%, 14%);

  --glass-bg: hsla(150, 30%, 8%, 0.6);
  --glass-border: hsla(150, 70%, 50%, 0.15);
  --glass-shadow: 0 8px 32px hsla(150, 70%, 20%, 0.2);
}

[data-theme="forest"] body {
  background: linear-gradient(135deg, hsl(150, 30%, 8%) 0%, hsl(150, 35%, 4%) 50%, hsl(150, 30%, 10%) 100%);
  background-attachment: fixed;
}

[data-theme="forest"] body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 25% 25%, hsla(150, 70%, 50%, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 75%, hsla(150, 50%, 40%, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Midnight Blue Theme with glass */
[data-theme="midnight"] {
  --background: hsl(220, 40%, 8%);
  --foreground: hsl(220, 20%, 94%);
  --card: hsl(220, 40%, 6%);
  --card-foreground: hsl(220, 20%, 94%);
  --popover: hsl(220, 40%, 6%);
  --popover-foreground: hsl(220, 20%, 94%);

  --primary: hsl(220, 90%, 60%);
  --primary-foreground: hsl(0, 0%, 100%);

  --secondary: hsl(220, 40%, 12%);
  --secondary-foreground: hsl(220, 20%, 94%);

  --muted: hsl(220, 40%, 14%);
  --muted-foreground: hsl(220, 20%, 68%);

  --accent: hsl(220, 40%, 12%);
  --accent-foreground: hsl(220, 20%, 94%);

  --destructive: hsl(0, 65%, 51%);
  --destructive-foreground: hsl(0, 0%, 100%);

  --GanttRows: hsl(222, 38%, 9%);
  --border: hsl(220, 35%, 16%);
  --border-strong: hsl(220, 90%, 60%);
  --input: hsl(220, 35%, 14%);
  --ring: hsl(220, 90%, 60%);

  --surface: hsl(220, 40%, 10%);
  --surface-hover: hsl(220, 40%, 14%);

  --glass-bg: hsla(220, 40%, 8%, 0.6);
  --glass-border: hsla(220, 90%, 60%, 0.15);
  --glass-shadow: 0 8px 32px hsla(220, 60%, 20%, 0.25);
}

[data-theme="midnight"] body {
  background: linear-gradient(135deg, hsl(220, 40%, 8%) 0%, hsl(225, 50%, 4%) 50%, hsl(215, 35%, 10%) 100%);
  background-attachment: fixed;
}

[data-theme="midnight"] body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 20%, hsla(220, 90%, 60%, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, hsla(200, 80%, 50%, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Dracula Theme with glass */
[data-theme="dracula"] {
  --background: hsl(231, 15%, 18%);
  --foreground: hsl(60, 30%, 96%);
  --card: hsl(231, 15%, 15%);
  --card-foreground: hsl(60, 30%, 96%);
  --popover: hsl(231, 15%, 15%);
  --popover-foreground: hsl(60, 30%, 96%);

  --primary: hsl(330, 81%, 60%);
  --primary-foreground: hsl(0, 0%, 100%);

  --secondary: hsl(231, 15%, 22%);
  --secondary-foreground: hsl(60, 30%, 96%);

  --muted: hsl(231, 15%, 24%);
  --muted-foreground: hsl(210, 20%, 70%);

  --accent: hsl(231, 15%, 22%);
  --accent-foreground: hsl(60, 30%, 96%);

  --destructive: hsl(0, 65%, 51%);
  --destructive-foreground: hsl(0, 0%, 100%);

  --GanttRows: hsl(240, 11%, 20%);
  --border: hsl(231, 18%, 21%);
  --border-strong: hsl(330, 81%, 60%);
  --input: hsl(231, 15%, 22%);
  --ring: hsl(330, 81%, 60%);

  --surface: hsl(231, 15%, 20%);
  --surface-hover: hsl(231, 15%, 24%);

  --glass-bg: hsla(231, 15%, 18%, 0.6);
  --glass-border: hsla(330, 81%, 60%, 0.15);
  --glass-shadow: 0 8px 32px hsla(231, 30%, 10%, 0.3);
}

[data-theme="dracula"] body {
  background: linear-gradient(135deg, hsl(231, 15%, 18%) 0%, hsl(231, 20%, 12%) 50%, hsl(231, 15%, 20%) 100%);
  background-attachment: fixed;
}

[data-theme="dracula"] body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 30%, hsla(330, 81%, 60%, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, hsla(265, 89%, 78%, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Gruvbox Dark Theme with glass */
[data-theme="gruvbox"] {
  --background: hsl(0, 0%, 16%);
  --foreground: hsl(48, 45%, 82%);
  --card: hsl(30, 5%, 23%);
  --card-foreground: hsl(48, 45%, 82%);
  --popover: hsl(30, 5%, 23%);
  --popover-foreground: hsl(48, 45%, 82%);

  --primary: hsl(42, 75%, 49%);
  --primary-foreground: hsl(0, 0%, 16%);

  --secondary: hsl(30, 5%, 32%);
  --secondary-foreground: hsl(45, 25%, 73%);

  --muted: hsl(30, 5%, 41%);
  --muted-foreground: hsl(42, 25%, 66%);

  --accent: hsl(27, 99%, 55%);
  --accent-foreground: hsl(0, 0%, 16%);

  --destructive: hsl(0, 73%, 46%);
  --destructive-foreground: hsl(0, 0%, 100%);

  --border: hsl(30, 5%, 32%);
  --GanttRows: hsl(34, 8%, 18%);
  --border-strong: hsl(42, 75%, 49%);
  --input: hsl(30, 5%, 23%);
  --ring: hsl(42, 75%, 49%);

  --surface: hsl(30, 5%, 23%);
  --surface-hover: hsl(30, 5%, 32%);

  --glass-bg: hsla(30, 5%, 23%, 0.6);
  --glass-border: hsla(42, 75%, 49%, 0.2);
  --glass-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.3);
}

[data-theme="gruvbox"] body {
  background: linear-gradient(135deg, hsl(0, 0%, 16%) 0%, hsl(0, 0%, 11%) 50%, hsl(30, 3%, 19%) 100%);
  background-attachment: fixed;
}

[data-theme="gruvbox"] body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 20%, hsla(42, 75%, 49%, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, hsla(27, 99%, 55%, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Dark Lime Theme - Minimalistic clean dark theme with lime green accents */
[data-theme="darklime"] {
  --background: hsl(0, 0%, 4%);
  --foreground: hsl(120, 100%, 85%);
  --card: hsl(0, 0%, 8%);
  --card-foreground: hsl(120, 100%, 85%);
  --popover: hsl(0, 0%, 8%);
  --popover-foreground: hsl(120, 100%, 85%);

  --primary: hsl(120, 100%, 60%);
  --primary-foreground: hsl(0, 0%, 4%);

  --secondary: hsl(0, 0%, 12%);
  --secondary-foreground: hsl(120, 100%, 75%);

  --muted: hsl(0, 0%, 16%);
  --muted-foreground: hsl(120, 80%, 60%);

  --accent: hsl(120, 100%, 50%);
  --accent-foreground: hsl(0, 0%, 4%);

  --destructive: hsl(0, 100%, 60%);
  --destructive-foreground: hsl(0, 0%, 100%);

  --GanttRows: hsl(0, 0%, 10%);
  --border: hsl(120, 100%, 25%);
  --border-strong: hsl(120, 100%, 60%);
  --input: hsl(0, 0%, 10%);
  --ring: hsl(120, 100%, 60%);

  --surface: hsl(0, 0%, 10%);
  --surface-hover: hsl(0, 0%, 16%);

  --glass-bg: hsla(0, 0%, 8%, 0.85);
  --glass-border: hsla(120, 100%, 60%, 0.25);
  --glass-shadow: 0 4px 16px hsla(120, 100%, 40%, 0.15);
}

[data-theme="darklime"] body {
  background: hsl(0, 0%, 4%);
  background-attachment: fixed;
}

[data-theme="darklime"] .sidebar {
  box-shadow: none !important;
}

[data-theme="darklime"] .sidebar:hover {
  box-shadow: none !important;
}

[data-theme="darklime"] .sidebar-section {
  box-shadow: none !important;
}

[data-theme="darklime"] {
  --font-digital: 'Press Start 2P', 'Courier New', monospace;
}

[data-theme="darklime"] body,
[data-theme="darklime"] * {
  font-family: var(--font-digital) !important;
}

[data-theme="darklime"] input,
[data-theme="darklime"] textarea,
[data-theme="darklime"] [contenteditable] {
  font-family: var(--font-digital) !important;
}

[data-theme="darklime"] .nav-item,
[data-theme="darklime"] .sidebar-create-btn,
[data-theme="darklime"] .sign-in-btn,
[data-theme="darklime"] .focus-toggle-btn {
  font-size: 10px !important;
  line-height: 1.4 !important;
}

[data-theme="darklime"] h1,
[data-theme="darklime"] h2,
[data-theme="darklime"] h3,
[data-theme="darklime"] h4,
[data-theme="darklime"] h5,
[data-theme="darklime"] h6 {
  font-family: var(--font-digital) !important;
  font-weight: 400 !important;
}

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

[data-theme="rosepine"] body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 25% 25%, hsla(267, 57%, 78%, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 75%, hsla(2, 55%, 83%, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Theme Preview Swatches */
:root {
  --preview-dark: hsl(240, 6%, 6%);
  --preview-light: hsl(0, 0%, 98%);
  --preview-pink: hsl(340, 82%, 76%);
  --preview-purple: hsl(256, 60%, 61%);
  --preview-ocean: hsl(174, 30%, 60%);
  --preview-forest: hsl(150, 70%, 50%);
  --preview-midnight: hsl(220, 90%, 60%);
  --preview-dracula: hsl(330, 81%, 60%);
  --preview-gruvbox: hsl(42, 75%, 49%);
  --preview-rosepine: hsl(267, 57%, 78%);
  --preview-darklime: hsl(150, 85%, 55%);
}

/* ============================================
   LIGHT MODE VARIANTS FOR ALL THEMES
   Premium Repolished Design System
   Each theme has comprehensive light mode with
   high visibility and clean aesthetics
   ============================================ */

/* ----------------------------------------
   HELLO KITTY THEME - LIGHT MODE (Kawaii)
   ---------------------------------------- */
[data-theme="pink"][data-mode="light"] {
  /* Core Backgrounds - Pure white like Hello Kitty */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(350, 50%, 20%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(350, 50%, 20%);
  --popover: hsl(0, 0%, 100%);
  --popover-foreground: hsl(350, 50%, 20%);

  /* Hello Kitty signature pink */
  --primary: hsl(340, 80%, 65%);
  --primary-foreground: hsl(0, 0%, 100%);

  /* Soft pastel pink */
  --secondary: hsl(350, 100%, 96%);
  --secondary-foreground: hsl(350, 50%, 25%);

  /* Light blush pink */
  --muted: hsl(350, 80%, 94%);
  --muted-foreground: hsl(350, 40%, 50%);

  /* Hello Kitty red bow */
  --accent: hsl(350, 90%, 50%);
  --accent-foreground: hsl(0, 0%, 100%);

  /* Borders - soft pink */
  --border: hsl(350, 60%, 90%);
  --border-strong: hsl(340, 80%, 65%);
  --input: hsl(0, 0%, 100%);
  --ring: hsl(340, 80%, 65%);

  /* Surfaces */
  --surface: hsl(0, 0%, 100%);
  --surface-hover: hsl(350, 100%, 97%);

  /* Glass effects */
  --glass-bg: hsla(0, 0%, 100%, 0.95);
  --glass-border: hsla(340, 80%, 65%, 0.25);
  --glass-shadow: 0 8px 32px hsla(340, 80%, 65%, 0.1);

  /* Schedule/Calendar Variables */
  --schedule-bg: hsl(0, 0%, 100%);
  --schedule-surface: hsl(350, 100%, 98%);
  --schedule-surface-hover: hsl(350, 100%, 96%);
  --schedule-border: hsl(350, 60%, 90%);
  --schedule-border-subtle: hsl(350, 80%, 95%);
  --schedule-card: hsl(0, 0%, 100%);
  --schedule-muted: hsl(350, 40%, 50%);
  --schedule-text: hsl(350, 50%, 20%);
  --schedule-shadow: 0 1px 3px hsla(340, 80%, 65%, 0.1), 0 1px 2px hsla(340, 80%, 65%, 0.05);
  --schedule-shadow-lg: 0 4px 12px hsla(340, 80%, 65%, 0.15), 0 2px 4px hsla(340, 80%, 65%, 0.08);
  --timeline-grid-line: hsl(350, 60%, 92%);
  --timeline-hour-line: hsl(350, 50%, 88%);
}

[data-theme="pink"][data-mode="light"] body {
  background: url('./images/hello-kitty-light-BG.png') center center / cover no-repeat fixed;
}

[data-theme="pink"][data-mode="light"] body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, hsla(0, 0%, 100%, 0.1) 0%, hsla(0, 0%, 100%, 0.05) 50%, hsla(0, 0%, 100%, 0.15) 100%);
  pointer-events: none;
  z-index: -1;
}

/* ----------------------------------------
   PURPLE THEME - LIGHT MODE (Premium)
   ---------------------------------------- */
[data-theme="purple"][data-mode="light"] {
  --background: hsl(265, 60%, 99%);
  --foreground: hsl(260, 40%, 16%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(260, 40%, 16%);
  --popover: hsl(0, 0%, 100%);
  --popover-foreground: hsl(260, 40%, 16%);

  --primary: hsl(256, 65%, 55%);
  --primary-foreground: hsl(0, 0%, 100%);

  --secondary: hsl(265, 50%, 95%);
  --secondary-foreground: hsl(260, 35%, 28%);

  --muted: hsl(265, 40%, 92%);
  --muted-foreground: hsl(260, 25%, 45%);

  --accent: hsl(260, 70%, 72%);
  --accent-foreground: hsl(0, 0%, 100%);

  --border: hsl(265, 35%, 86%);
  --border-strong: hsl(256, 65%, 55%);
  --input: hsl(0, 0%, 100%);
  --ring: hsl(256, 65%, 55%);

  --surface: hsl(265, 50%, 98%);
  --surface-hover: hsl(265, 48%, 94%);

  --glass-bg: hsla(0, 0%, 100%, 0.92);
  --glass-border: hsla(256, 65%, 55%, 0.15);
  --glass-shadow: 0 8px 32px hsla(256, 65%, 55%, 0.08);

  /* Schedule/Calendar Variables */
  --schedule-bg: hsl(0, 0%, 100%);
  --schedule-surface: hsl(265, 50%, 98%);
  --schedule-surface-hover: hsl(265, 48%, 94%);
  --schedule-border: hsl(265, 35%, 86%);
  --schedule-border-subtle: hsl(265, 40%, 92%);
  --schedule-card: hsl(0, 0%, 100%);
  --schedule-muted: hsl(260, 25%, 45%);
  --schedule-text: hsl(260, 40%, 16%);
  --schedule-shadow: 0 1px 3px hsla(256, 65%, 55%, 0.08), 0 1px 2px hsla(256, 65%, 55%, 0.04);
  --schedule-shadow-lg: 0 4px 12px hsla(256, 65%, 55%, 0.12), 0 2px 4px hsla(256, 65%, 55%, 0.06);
  --timeline-grid-line: hsl(265, 30%, 90%);
  --timeline-hour-line: hsl(265, 25%, 86%);
}

[data-theme="purple"][data-mode="light"] body {
  background: linear-gradient(145deg, hsl(265, 60%, 99%) 0%, hsl(265, 50%, 96%) 50%, hsl(265, 60%, 99%) 100%);
  background-attachment: fixed;
}

[data-theme="purple"][data-mode="light"] body::before {
  background:
    radial-gradient(ellipse at 20% 20%, hsla(256, 65%, 55%, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, hsla(260, 70%, 72%, 0.04) 0%, transparent 55%);
}

/* ----------------------------------------
   OCEAN THEME - LIGHT MODE (Premium)
   ---------------------------------------- */
[data-theme="ocean"][data-mode="light"] {
  --background: hsl(175, 45%, 98%);
  --foreground: hsl(195, 50%, 16%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(195, 50%, 16%);
  --popover: hsl(0, 0%, 100%);
  --popover-foreground: hsl(195, 50%, 16%);

  --primary: hsl(174, 50%, 42%);
  --primary-foreground: hsl(0, 0%, 100%);

  --secondary: hsl(170, 40%, 94%);
  --secondary-foreground: hsl(195, 45%, 25%);

  --muted: hsl(170, 35%, 90%);
  --muted-foreground: hsl(195, 30%, 40%);

  --accent: hsl(20, 50%, 52%);
  --accent-foreground: hsl(0, 0%, 100%);

  --border: hsl(170, 30%, 85%);
  --border-strong: hsl(174, 50%, 42%);
  --input: hsl(0, 0%, 100%);
  --ring: hsl(174, 50%, 42%);

  --surface: hsl(175, 40%, 97%);
  --surface-hover: hsl(170, 38%, 93%);

  --glass-bg: hsla(0, 0%, 100%, 0.92);
  --glass-border: hsla(174, 50%, 42%, 0.15);
  --glass-shadow: 0 8px 32px hsla(174, 50%, 42%, 0.08);

  /* Schedule/Calendar Variables */
  --schedule-bg: hsl(0, 0%, 100%);
  --schedule-surface: hsl(175, 40%, 97%);
  --schedule-surface-hover: hsl(170, 38%, 93%);
  --schedule-border: hsl(170, 30%, 85%);
  --schedule-border-subtle: hsl(170, 35%, 90%);
  --schedule-card: hsl(0, 0%, 100%);
  --schedule-muted: hsl(195, 30%, 40%);
  --schedule-text: hsl(195, 50%, 16%);
  --schedule-shadow: 0 1px 3px hsla(174, 50%, 42%, 0.08), 0 1px 2px hsla(174, 50%, 42%, 0.04);
  --schedule-shadow-lg: 0 4px 12px hsla(174, 50%, 42%, 0.12), 0 2px 4px hsla(174, 50%, 42%, 0.06);
  --timeline-grid-line: hsl(170, 25%, 88%);
  --timeline-hour-line: hsl(170, 20%, 84%);
}

[data-theme="ocean"][data-mode="light"] body {
  background: linear-gradient(145deg, hsl(175, 45%, 98%) 0%, hsl(170, 40%, 95%) 50%, hsl(175, 45%, 98%) 100%);
  background-attachment: fixed;
}

[data-theme="ocean"][data-mode="light"] body::before {
  background:
    radial-gradient(ellipse at 30% 20%, hsla(174, 50%, 42%, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 80%, hsla(20, 50%, 52%, 0.04) 0%, transparent 55%);
}

/* ----------------------------------------
   FOREST THEME - LIGHT MODE (Premium)
   ---------------------------------------- */
[data-theme="forest"][data-mode="light"] {
  --background: hsl(145, 45%, 98%);
  --foreground: hsl(150, 45%, 14%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(150, 45%, 14%);
  --popover: hsl(0, 0%, 100%);
  --popover-foreground: hsl(150, 45%, 14%);

  --primary: hsl(150, 65%, 38%);
  --primary-foreground: hsl(0, 0%, 100%);

  --secondary: hsl(145, 40%, 93%);
  --secondary-foreground: hsl(150, 40%, 22%);

  --muted: hsl(145, 30%, 89%);
  --muted-foreground: hsl(150, 25%, 38%);

  --accent: hsl(150, 60%, 45%);
  --accent-foreground: hsl(0, 0%, 100%);

  --border: hsl(143, 47%, 93%);
  --border-strong: hsl(150, 65%, 38%);
  --input: hsl(0, 0%, 100%);
  --ring: hsl(150, 65%, 38%);

  --surface: hsl(145, 40%, 97%);
  --surface-hover: hsl(145, 38%, 93%);

  --glass-bg: hsla(0, 0%, 100%, 0.92);
  --glass-border: hsla(150, 65%, 38%, 0.15);
  --glass-shadow: 0 8px 32px hsla(150, 65%, 38%, 0.08);

  /* Schedule/Calendar Variables */
  --schedule-bg: hsl(0, 0%, 100%);
  --schedule-surface: hsl(145, 40%, 97%);
  --schedule-surface-hover: hsl(145, 38%, 93%);
  --schedule-border: hsl(143, 47%, 93%);
  --schedule-border-subtle: hsl(145, 35%, 91%);
  --schedule-card: hsl(0, 0%, 100%);
  --schedule-muted: hsl(150, 25%, 38%);
  --schedule-text: hsl(150, 45%, 14%);
  --schedule-shadow: 0 1px 3px hsla(150, 65%, 38%, 0.08), 0 1px 2px hsla(150, 65%, 38%, 0.04);
  --schedule-shadow-lg: 0 4px 12px hsla(150, 65%, 38%, 0.12), 0 2px 4px hsla(150, 65%, 38%, 0.06);
  --timeline-grid-line: hsl(143, 40%, 91%);
  --timeline-hour-line: hsl(143, 35%, 87%);
}

[data-theme="forest"][data-mode="light"] body {
  background: linear-gradient(145deg, hsl(145, 45%, 98%) 0%, hsl(145, 40%, 95%) 50%, hsl(145, 45%, 98%) 100%);
  background-attachment: fixed;
}

[data-theme="forest"][data-mode="light"] body::before {
  background:
    radial-gradient(ellipse at 25% 25%, hsla(150, 65%, 38%, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 75%, hsla(150, 50%, 45%, 0.04) 0%, transparent 55%);
}

/* ----------------------------------------
   MIDNIGHT THEME - LIGHT MODE (Premium)
   ---------------------------------------- */
[data-theme="midnight"][data-mode="light"] {
  --background: hsl(220, 60%, 99%);
  --foreground: hsl(220, 50%, 14%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(220, 50%, 14%);
  --popover: hsl(0, 0%, 100%);
  --popover-foreground: hsl(220, 50%, 14%);

  --primary: hsl(220, 85%, 52%);
  --primary-foreground: hsl(0, 0%, 100%);

  --secondary: hsl(220, 50%, 95%);
  --secondary-foreground: hsl(220, 45%, 25%);

  --muted: hsl(220, 40%, 91%);
  --muted-foreground: hsl(220, 28%, 42%);

  --accent: hsl(220, 80%, 60%);
  --accent-foreground: hsl(0, 0%, 100%);

  --border: hsl(220, 32%, 86%);
  --border-strong: hsl(220, 85%, 52%);
  --input: hsl(0, 0%, 100%);
  --ring: hsl(220, 85%, 52%);

  --surface: hsl(220, 55%, 98%);
  --surface-hover: hsl(220, 48%, 94%);

  --glass-bg: hsla(0, 0%, 100%, 0.92);
  --glass-border: hsla(220, 85%, 52%, 0.15);
  --glass-shadow: 0 8px 32px hsla(220, 85%, 52%, 0.08);

  /* Schedule/Calendar Variables */
  --schedule-bg: hsl(0, 0%, 100%);
  --schedule-surface: hsl(220, 55%, 98%);
  --schedule-surface-hover: hsl(220, 48%, 94%);
  --schedule-border: hsl(220, 32%, 86%);
  --schedule-border-subtle: hsl(220, 40%, 91%);
  --schedule-card: hsl(0, 0%, 100%);
  --schedule-muted: hsl(220, 28%, 42%);
  --schedule-text: hsl(220, 50%, 14%);
  --schedule-shadow: 0 1px 3px hsla(220, 85%, 52%, 0.08), 0 1px 2px hsla(220, 85%, 52%, 0.04);
  --schedule-shadow-lg: 0 4px 12px hsla(220, 85%, 52%, 0.12), 0 2px 4px hsla(220, 85%, 52%, 0.06);
  --timeline-grid-line: hsl(220, 28%, 89%);
  --timeline-hour-line: hsl(220, 25%, 85%);
}

[data-theme="midnight"][data-mode="light"] body {
  background: linear-gradient(145deg, hsl(220, 60%, 99%) 0%, hsl(220, 50%, 96%) 50%, hsl(220, 60%, 99%) 100%);
  background-attachment: fixed;
}

[data-theme="midnight"][data-mode="light"] body::before {
  background:
    radial-gradient(ellipse at 20% 20%, hsla(220, 85%, 52%, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, hsla(200, 80%, 50%, 0.04) 0%, transparent 55%);
}

/* ----------------------------------------
   DRACULA THEME - LIGHT MODE (Premium)
   ---------------------------------------- */
[data-theme="dracula"][data-mode="light"] {
  --background: hsl(340, 55%, 99%);
  --foreground: hsl(250, 30%, 18%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(250, 30%, 18%);
  --popover: hsl(0, 0%, 100%);
  --popover-foreground: hsl(250, 30%, 18%);

  --primary: hsl(330, 75%, 52%);
  --primary-foreground: hsl(0, 0%, 100%);

  --secondary: hsl(340, 45%, 95%);
  --secondary-foreground: hsl(250, 25%, 28%);

  --muted: hsl(340, 35%, 91%);
  --muted-foreground: hsl(250, 20%, 45%);

  --accent: hsl(330, 80%, 60%);
  --accent-foreground: hsl(0, 0%, 100%);

  --border: hsl(340, 30%, 86%);
  --border-strong: hsl(330, 75%, 52%);
  --input: hsl(0, 0%, 100%);
  --ring: hsl(330, 75%, 52%);

  --surface: hsl(340, 50%, 98%);
  --surface-hover: hsl(340, 45%, 94%);

  --glass-bg: hsla(0, 0%, 100%, 0.92);
  --glass-border: hsla(330, 75%, 52%, 0.15);
  --glass-shadow: 0 8px 32px hsla(330, 75%, 52%, 0.08);

  /* Schedule/Calendar Variables */
  --schedule-bg: hsl(0, 0%, 100%);
  --schedule-surface: hsl(340, 50%, 98%);
  --schedule-surface-hover: hsl(340, 45%, 94%);
  --schedule-border: hsl(340, 30%, 86%);
  --schedule-border-subtle: hsl(340, 35%, 91%);
  --schedule-card: hsl(0, 0%, 100%);
  --schedule-muted: hsl(250, 20%, 45%);
  --schedule-text: hsl(250, 30%, 18%);
  --schedule-shadow: 0 1px 3px hsla(330, 75%, 52%, 0.08), 0 1px 2px hsla(330, 75%, 52%, 0.04);
  --schedule-shadow-lg: 0 4px 12px hsla(330, 75%, 52%, 0.12), 0 2px 4px hsla(330, 75%, 52%, 0.06);
  --timeline-grid-line: hsl(340, 28%, 89%);
  --timeline-hour-line: hsl(340, 25%, 85%);
}

[data-theme="dracula"][data-mode="light"] body {
  background: linear-gradient(145deg, hsl(340, 55%, 99%) 0%, hsl(340, 45%, 96%) 50%, hsl(340, 55%, 99%) 100%);
  background-attachment: fixed;
}

[data-theme="dracula"][data-mode="light"] body::before {
  background:
    radial-gradient(ellipse at 20% 30%, hsla(330, 75%, 52%, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, hsla(265, 89%, 78%, 0.04) 0%, transparent 55%);
}

/* ----------------------------------------
   GRUVBOX THEME - LIGHT MODE (Premium)
   ---------------------------------------- */
[data-theme="gruvbox"][data-mode="light"] {
  --background: hsl(50, 87%, 95%);
  --foreground: hsl(30, 12%, 20%);
  --card: hsl(50, 100%, 97%);
  --card-foreground: hsl(30, 12%, 20%);
  --popover: hsl(50, 100%, 97%);
  --popover-foreground: hsl(30, 12%, 20%);

  --primary: hsl(42, 90%, 38%);
  --primary-foreground: hsl(50, 87%, 95%);

  --secondary: hsl(50, 55%, 88%);
  --secondary-foreground: hsl(30, 10%, 28%);

  --muted: hsl(48, 40%, 82%);
  --muted-foreground: hsl(30, 8%, 38%);

  --accent: hsl(27, 85%, 42%);
  --accent-foreground: hsl(50, 87%, 95%);

  --border: hsl(48, 35%, 78%);
  --border-strong: hsl(42, 90%, 38%);
  --input: hsl(50, 100%, 97%);
  --ring: hsl(42, 90%, 38%);

  --surface: hsl(50, 65%, 92%);
  --surface-hover: hsl(50, 55%, 88%);

  --glass-bg: hsla(50, 100%, 97%, 0.92);
  --glass-border: hsla(42, 90%, 38%, 0.15);
  --glass-shadow: 0 8px 32px hsla(42, 90%, 38%, 0.08);

  /* Schedule/Calendar Variables */
  --schedule-bg: hsl(50, 100%, 97%);
  --schedule-surface: hsl(50, 65%, 92%);
  --schedule-surface-hover: hsl(50, 55%, 88%);
  --schedule-border: hsl(48, 35%, 78%);
  --schedule-border-subtle: hsl(48, 40%, 82%);
  --schedule-card: hsl(50, 100%, 97%);
  --schedule-muted: hsl(30, 8%, 38%);
  --schedule-text: hsl(30, 12%, 20%);
  --schedule-shadow: 0 1px 3px hsla(42, 90%, 38%, 0.08), 0 1px 2px hsla(42, 90%, 38%, 0.04);
  --schedule-shadow-lg: 0 4px 12px hsla(42, 90%, 38%, 0.12), 0 2px 4px hsla(42, 90%, 38%, 0.06);
  --timeline-grid-line: hsl(48, 30%, 80%);
  --timeline-hour-line: hsl(48, 25%, 76%);
}

[data-theme="gruvbox"][data-mode="light"] body {
  background: linear-gradient(145deg, hsl(50, 87%, 95%) 0%, hsl(50, 65%, 92%) 50%, hsl(50, 87%, 95%) 100%);
  background-attachment: fixed;
}

[data-theme="gruvbox"][data-mode="light"] body::before {
  background:
    radial-gradient(ellipse at 30% 20%, hsla(42, 90%, 38%, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 80%, hsla(27, 85%, 42%, 0.04) 0%, transparent 55%);
}

/* ----------------------------------------
   ROSÉ PINE THEME - LIGHT MODE (Dawn)
   ---------------------------------------- */
[data-theme="rosepine"][data-mode="light"] {
  --background: hsl(32, 60%, 97%);
  --foreground: hsl(257, 35%, 35%);
  --card: hsl(35, 100%, 99%);
  --card-foreground: hsl(257, 35%, 35%);
  --popover: hsl(35, 100%, 99%);
  --popover-foreground: hsl(257, 35%, 35%);

  --primary: hsl(270, 30%, 52%);
  --primary-foreground: hsl(32, 60%, 97%);

  --secondary: hsl(32, 40%, 92%);
  --secondary-foreground: hsl(249, 15%, 42%);

  --muted: hsl(28, 25%, 88%);
  --muted-foreground: hsl(251, 12%, 50%);

  --accent: hsl(2, 52%, 62%);
  --accent-foreground: hsl(32, 60%, 97%);

  --border: hsl(28, 22%, 84%);
  --border-strong: hsl(270, 30%, 52%);
  --input: hsl(35, 100%, 99%);
  --ring: hsl(270, 30%, 52%);

  --surface: hsl(32, 45%, 94%);
  --surface-hover: hsl(32, 40%, 90%);

  --glass-bg: hsla(35, 100%, 99%, 0.92);
  --glass-border: hsla(270, 30%, 52%, 0.12);
  --glass-shadow: 0 8px 32px hsla(270, 30%, 52%, 0.06);

  /* Schedule/Calendar Variables */
  --schedule-bg: hsl(35, 100%, 99%);
  --schedule-surface: hsl(32, 45%, 94%);
  --schedule-surface-hover: hsl(32, 40%, 90%);
  --schedule-border: hsl(28, 22%, 84%);
  --schedule-border-subtle: hsl(28, 25%, 88%);
  --schedule-card: hsl(35, 100%, 99%);
  --schedule-muted: hsl(251, 12%, 50%);
  --schedule-text: hsl(257, 35%, 35%);
  --schedule-shadow: 0 1px 3px hsla(270, 30%, 52%, 0.08), 0 1px 2px hsla(270, 30%, 52%, 0.04);
  --schedule-shadow-lg: 0 4px 12px hsla(270, 30%, 52%, 0.12), 0 2px 4px hsla(270, 30%, 52%, 0.06);
  --timeline-grid-line: hsl(28, 20%, 82%);
  --timeline-hour-line: hsl(28, 18%, 78%);
}

[data-theme="rosepine"][data-mode="light"] body {
  background: linear-gradient(145deg, hsl(32, 60%, 97%) 0%, hsl(32, 45%, 94%) 50%, hsl(32, 60%, 97%) 100%);
  background-attachment: fixed;
}

[data-theme="rosepine"][data-mode="light"] body::before {
  background:
    radial-gradient(ellipse at 25% 25%, hsla(270, 30%, 52%, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 75%, hsla(2, 52%, 62%, 0.04) 0%, transparent 55%);
}

/* ============================================
   UNIVERSAL LIGHT MODE COMPONENT OVERRIDES
   Premium clean styling for all light themes
   ============================================ */

/* Mode Toggle Icons */
.sun-icon {
  display: none;
}

.moon-icon {
  display: block;
}

.light .sun-icon,
[data-mode="light"] .sun-icon {
  display: block;
}

.light .moon-icon,
[data-mode="light"] .moon-icon {
  display: none;
}


/* ============================================
   Layer Intelligence - Enhanced AI UI/UX
   Liquid Glass Minimalistic Professional Theme
   ============================================ */

/* ============================================
   Enhanced AI Icon Animation
   ============================================ */

/* AI Nav Icon - Morphing Gradient Animation */
.nav-item[data-view="ai"] .icon,
.ai-nav-icon-wrapper {
  position: relative;
  overflow: visible;
}

.ai-nav-icon-animated {
  position: relative;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ai-nav-icon-animated svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 4px hsla(263, 70%, 50%, 0.3));
  transition: all 0.2s ease;
}

.ai-nav-icon-animated .ai-icon-glasses {
  animation: aiIconPulse 4s ease-in-out infinite;
}

.nav-item[data-view="ai"]:hover .ai-nav-icon-animated {
  transform: scale(1.1);
}

.nav-item[data-view="ai"]:hover .ai-nav-icon-animated svg {
  filter: drop-shadow(0 0 6px hsla(263, 70%, 50%, 0.5));
  transform: scale(1.05);
}

@keyframes aiIconPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}



/* Colorful gradient effect for AI icon */
.ai-nav-icon-gradient {
  background: linear-gradient(135deg,
      hsl(187, 86%, 43%) 0%,
      hsl(217, 91%, 60%) 25%,
      hsl(263, 70%, 50%) 50%,
      hsl(330, 81%, 60%) 75%,
      hsl(24, 94%, 53%) 100%);
  background-size: 200% 200%;
  animation: aiGradientShift 4s ease-in-out infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes aiGradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.nav-item[data-view="ai"] .ai-morph-icon {
  stroke: url(#aiGradient);
  filter: drop-shadow(0 0 8px hsla(263, 70%, 50%, 0.5));
}

/* ============================================
   Liquid Glass Effect System
   ============================================ */
:root {
  --glass-blur-strong: 24px;
  --glass-blur-medium: 16px;
  --glass-blur-light: 8px;
  --glass-bg-primary: hsla(0, 0%, 100%, 0.03);
  --glass-bg-secondary: hsla(0, 0%, 100%, 0.05);
  --glass-bg-tertiary: hsla(0, 0%, 100%, 0.08);
  --glass-border-subtle: hsla(0, 0%, 100%, 0.06);
  --glass-border-normal: hsla(0, 0%, 100%, 0.1);
  --glass-border-strong: hsla(0, 0%, 100%, 0.15);
  --glass-gradient-1: linear-gradient(135deg, hsla(217, 91%, 60%, 0.1) 0%, hsla(263, 70%, 50%, 0.1) 50%, hsla(330, 81%, 60%, 0.1) 100%);
  --glass-gradient-2: linear-gradient(180deg, hsla(263, 70%, 50%, 0.08) 0%, transparent 50%);
  --ai-accent-cyan: hsl(187, 86%, 43%);
  --ai-accent-blue: hsl(217, 91%, 60%);
  --ai-accent-violet: hsl(263, 70%, 50%);
  --ai-accent-pink: hsl(330, 81%, 60%);
  --ai-accent-orange: hsl(24, 94%, 53%);
}

.light {
  --glass-bg-primary: hsla(0, 0%, 0%, 0.02);
  --glass-bg-secondary: hsla(0, 0%, 0%, 0.03);
  --glass-bg-tertiary: hsla(0, 0%, 0%, 0.05);
  --glass-border-subtle: hsla(0, 0%, 0%, 0.04);
  --glass-border-normal: hsla(0, 0%, 0%, 0.08);
  --glass-border-strong: hsla(0, 0%, 0%, 0.12);
  --glass-gradient-1: linear-gradient(135deg, hsla(217, 91%, 60%, 0.08) 0%, hsla(263, 70%, 50%, 0.08) 50%, hsla(330, 81%, 60%, 0.08) 100%);
}

/* ============================================
   SuperAgents AI View - Enhanced Liquid Glass
   ============================================ */
.superagents-view {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--background);
}

/* Enhanced Background Effects */
.superagents-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.superagents-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(180px);
  opacity: 0.08;
  animation: glowFloat 20s ease-in-out infinite;
}

.superagents-glow-1 {
  top: -15%;
  left: 10%;
  width: 50vw;
  height: 50vw;
  max-width: 700px;
  max-height: 700px;
  background: var(--ai-accent-violet);
  animation-delay: 0s;
}

.superagents-glow-2 {
  bottom: -15%;
  right: 10%;
  width: 45vw;
  height: 45vw;
  max-width: 600px;
  max-height: 600px;
  background: var(--ai-accent-blue);
  animation-delay: -7s;
}

.superagents-glow-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  background: var(--ai-accent-cyan);
  opacity: 0.04;
  animation-delay: -14s;
}

@keyframes glowFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(5%, 3%) scale(1.05);
  }

  50% {
    transform: translate(-3%, 5%) scale(0.95);
  }

  75% {
    transform: translate(-5%, -3%) scale(1.02);
  }
}

/* Subtle grid pattern */
.superagents-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.015;
  background-image:
    linear-gradient(var(--foreground) 1px, transparent 1px),
    linear-gradient(90deg, var(--foreground) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* Content */
.superagents-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Hero Section - Enhanced */
.superagents-hero {
  text-align: center;
  margin-bottom: 48px;
}

.superagents-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--glass-bg-secondary);
  backdrop-filter: blur(var(--glass-blur-medium));
  -webkit-backdrop-filter: blur(var(--glass-blur-medium));
  border: 1px solid var(--glass-border-normal);
  border-radius: 9999px;
  color: var(--ai-accent-violet);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  box-shadow: 0 4px 24px hsla(263, 70%, 50%, 0.1);
}

.superagents-badge-icon {
  width: 16px;
  height: 16px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

.superagents-title {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.superagents-title-gradient {
  background: linear-gradient(135deg,
      var(--ai-accent-cyan) 0%,
      var(--ai-accent-blue) 30%,
      var(--ai-accent-violet) 60%,
      var(--ai-accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.superagents-subtitle {
  font-size: 17px;
  color: var(--muted-foreground);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 400;
}

/* Input Container - Liquid Glass */
.superagents-input-wrapper {
  width: 100%;
  max-width: 720px;
  margin-bottom: 56px;
}

.superagents-input-container {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 10px 24px;
  background: var(--glass-bg-primary);
  backdrop-filter: blur(var(--glass-blur-strong));
  -webkit-backdrop-filter: blur(var(--glass-blur-strong));
  border: 1px solid var(--glass-border-normal);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px var(--glass-border-subtle),
    0 4px 32px hsla(0, 0%, 0%, 0.12),
    0 0 80px hsla(263, 70%, 50%, 0.08),
    inset 0 1px 0 hsla(0, 0%, 100%, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.superagents-input-container:focus-within {
  border-color: hsla(263, 70%, 50%, 0.4);
  box-shadow:
    0 0 0 1px hsla(263, 70%, 50%, 0.2),
    0 4px 32px hsla(0, 0%, 0%, 0.15),
    0 0 100px hsla(263, 70%, 50%, 0.15),
    inset 0 1px 0 hsla(0, 0%, 100%, 0.08);
}

.superagents-input-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.superagents-input-icon svg {
  width: 100%;
  height: 100%;
  stroke: url(#aiInputGradient);
}

.superagents-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 16px;
  color: var(--foreground);
  padding: 16px 0;
  font-weight: 400;
}

.superagents-input::placeholder {
  color: var(--muted-foreground);
  opacity: 0.7;
}

.superagents-send-btn {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
      var(--ai-accent-blue) 0%,
      var(--ai-accent-violet) 50%,
      var(--ai-accent-pink) 100%);
  background-size: 200% 200%;
  border: none;
  border-radius: 14px;
  color: white;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px hsla(263, 70%, 50%, 0.3);
}

.superagents-send-btn:hover:not(:disabled) {
  transform: scale(1.05) translateY(-1px);
  box-shadow: 0 8px 32px hsla(263, 70%, 50%, 0.4);
  background-position: 100% 100%;
}

.superagents-send-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.superagents-send-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.superagents-send-btn svg {
  width: 22px;
  height: 22px;
}

/* Suggestions - Enhanced */
.superagents-suggestions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.superagents-suggestion-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--glass-bg-primary);
  backdrop-filter: blur(var(--glass-blur-light));
  -webkit-backdrop-filter: blur(var(--glass-blur-light));
  border: 1px solid var(--glass-border-subtle);
  border-radius: 12px;
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.superagents-suggestion-btn:hover {
  background: var(--glass-bg-secondary);
  border-color: hsla(263, 70%, 50%, 0.25);
  color: var(--foreground);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px hsla(0, 0%, 0%, 0.1);
}

.superagents-suggestion-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.6;
}

/* Feature Cards - Liquid Glass */
.superagents-features {
  width: 100%;
}

.superagents-features-title {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted-foreground);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0.7;
}

.superagents-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}

.superagents-feature-card {
  position: relative;
  text-align: left;
  padding: 28px;
  background: var(--glass-bg-primary);
  backdrop-filter: blur(var(--glass-blur-medium));
  -webkit-backdrop-filter: blur(var(--glass-blur-medium));
  border: 1px solid var(--glass-border-subtle);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.superagents-feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: var(--glass-gradient-1);
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.superagents-feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      hsla(0, 0%, 100%, 0.1) 50%,
      transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.superagents-feature-card:hover {
  border-color: hsla(263, 70%, 50%, 0.2);
  transform: translateY(-4px);
  box-shadow:
    0 20px 50px -10px hsla(0, 0%, 0%, 0.2),
    0 0 60px hsla(263, 70%, 50%, 0.08);
}

.superagents-feature-card:hover::before,
.superagents-feature-card:hover::after {
  opacity: 1;
}

.superagents-feature-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 20px;
  color: white;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px hsla(0, 0%, 0%, 0.15);
}

.superagents-feature-card:hover .superagents-feature-icon {
  transform: scale(1.08);
  box-shadow: 0 8px 24px hsla(0, 0%, 0%, 0.2);
}

.superagents-feature-icon svg {
  width: 26px;
  height: 26px;
}

.superagents-feature-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 10px;
}

.superagents-feature-arrow {
  width: 18px;
  height: 18px;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.superagents-feature-card:hover .superagents-feature-arrow {
  opacity: 0.7;
  transform: translateX(0);
}

.superagents-feature-desc {
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   AI Chat View - Enhanced Liquid Glass
   ============================================ */
.ai-chat-view.clickup-style {
  background: var(--background);
}

.ai-chat-view.clickup-style .ai-chat-panel {
  background: transparent;
}

/* Chat Header - Minimal */
.ai-chat-header.clickup-header {
  padding: 16px 28px;
  border-bottom: 1px solid var(--glass-border-subtle);
  background: var(--glass-bg-primary);
  backdrop-filter: blur(var(--glass-blur-medium));
  -webkit-backdrop-filter: blur(var(--glass-blur-medium));
}

.ai-chat-back-btn {
  padding: 10px 16px;
  background: var(--glass-bg-secondary);
  border: 1px solid var(--glass-border-subtle);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.ai-chat-back-btn:hover {
  background: var(--glass-bg-tertiary);
  border-color: var(--glass-border-normal);
}

/* History Button - Enhanced */
.ai-chat-history-btn {
  padding: 10px 18px;
  background: var(--glass-bg-secondary);
  backdrop-filter: blur(var(--glass-blur-light));
  -webkit-backdrop-filter: blur(var(--glass-blur-light));
  border: 1px solid var(--glass-border-normal);
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-chat-history-btn:hover {
  background: var(--glass-bg-tertiary);
  border-color: hsla(263, 70%, 50%, 0.3);
  box-shadow: 0 4px 16px hsla(263, 70%, 50%, 0.1);
}

/* Messages - Clean styling */
.ai-chat-messages.clickup-messages {
  padding: 48px 28px 140px;
}

/* User Message Bubble - Refined */
.ai-chat-bubble-user.clickup-user-bubble {
  background: var(--glass-bg-tertiary);
  backdrop-filter: blur(var(--glass-blur-light));
  -webkit-backdrop-filter: blur(var(--glass-blur-light));
  border: 1px solid var(--glass-border-normal);
  border-radius: 18px 18px 6px 18px;
  padding: 16px 20px;
  max-width: 75%;
  font-size: 15px;
  line-height: 1.65;
}

/* Assistant Message - Clean */
.ai-chat-message-assistant.clickup-assistant-msg {
  gap: 18px;
}

.ai-chat-agent-icon.clickup-agent-icon {
  font-size: 22px;
}

.ai-chat-agent-name.clickup-agent-name {
  font-size: 15px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--ai-accent-blue), var(--ai-accent-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ai-chat-content.clickup-content {
  font-size: 15px;
  line-height: 1.8;
}

/* Input Area - Liquid Glass */
.ai-chat-input-area.clickup-input-area {
  padding: 0 28px 32px;
  background: linear-gradient(to top,
      var(--background) 0%,
      var(--background) 60%,
      transparent 100%);
}

.ai-chat-input-wrapper.clickup-input-wrapper {
  max-width: 580px;
}

/* Input Glow - Enhanced */
.ai-chat-input-glow {
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg,
      var(--ai-accent-cyan) 0%,
      var(--ai-accent-blue) 25%,
      var(--ai-accent-violet) 50%,
      var(--ai-accent-pink) 75%,
      var(--ai-accent-orange) 100%);
  background-size: 300% 300%;
  animation: gradientFlow 8s ease infinite;
  opacity: 0.7;
  z-index: 0;
}

@keyframes gradientFlow {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.ai-chat-input-box.clickup-input-box {
  position: relative;
  z-index: 1;
  background: var(--card);
  backdrop-filter: blur(var(--glass-blur-strong));
  -webkit-backdrop-filter: blur(var(--glass-blur-strong));
  border-radius: 16px;
  padding: 16px 20px 14px;
  box-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.15);
}

.ai-chat-input.clickup-input {
  font-size: 15px;
}

.ai-chat-input.clickup-input::placeholder {
  background: linear-gradient(90deg, var(--ai-accent-violet), var(--ai-accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.7;
}

/* Action Buttons */
.ai-chat-add-btn.clickup-add-btn,
.ai-chat-send-btn.clickup-send-btn {
  background: var(--glass-bg-secondary);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.ai-chat-add-btn.clickup-add-btn:hover,
.ai-chat-send-btn.clickup-send-btn:hover {
  background: var(--glass-bg-tertiary);
  color: var(--foreground);
}



/* ============================================
   Loading Animation - Enhanced
   ============================================ */
.ai-chat-loading {
  display: flex;
  gap: 8px;
  padding: 12px 0;
}

.ai-loading-dot {
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--ai-accent-blue), var(--ai-accent-violet));
  border-radius: 50%;
  animation: aiLoadingBounce 1.4s ease-in-out infinite;
}

.ai-loading-dot:nth-child(2) {
  animation-delay: 0.16s;
}

.ai-loading-dot:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes aiLoadingBounce {

  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.4;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ============================================
   Top Actions Position
   ============================================ */
.superagents-top-actions {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 10;
}

/* ============================================
   Follow-up Buttons - Refined
   ============================================ */
.ai-chat-followup-btn {
  background: var(--glass-bg-primary);
  backdrop-filter: blur(var(--glass-blur-light));
  -webkit-backdrop-filter: blur(var(--glass-blur-light));
  border: 1px solid var(--glass-border-subtle);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.ai-chat-followup-btn:hover {
  background: var(--glass-bg-secondary);
  border-color: hsla(263, 70%, 50%, 0.25);
  transform: translateY(-2px);
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
  .superagents-content {
    padding: 40px 16px;
  }

  .superagents-features-grid {
    grid-template-columns: 1fr;
  }

  .superagents-suggestions {
    flex-direction: column;
    align-items: center;
  }


}

/* ============================================
   Light Theme Refinements
   ============================================ */
.light .superagents-input-container {
  box-shadow:
    0 0 0 1px var(--glass-border-subtle),
    0 4px 32px hsla(0, 0%, 0%, 0.06),
    0 0 80px hsla(263, 70%, 50%, 0.05);
}

.light .superagents-feature-card {
  box-shadow: 0 2px 12px hsla(0, 0%, 0%, 0.04);
}

.light .superagents-feature-card:hover {
  box-shadow:
    0 20px 50px -10px hsla(0, 0%, 0%, 0.1),
    0 0 60px hsla(263, 70%, 50%, 0.05);
}



.light .ai-chat-input-area.clickup-input-area {
  background: linear-gradient(to top,
      var(--background) 0%,
      var(--background) 60%,
      transparent 100%);
}

/* ============================================
   TIMELINE THEME INTEGRATION
   Premium design for all color themes
   ============================================ */

/* === Pink Theme Timeline === */
[data-theme="pink"] .timeline-linear.clickup-enhanced {
  background: linear-gradient(180deg, var(--background) 0%, var(--card) 100%);
  box-shadow: 0 8px 40px hsla(340, 82%, 76%, 0.1);
}

[data-theme="pink"] .tl-header.tl-header-clickup {
  background: linear-gradient(180deg, var(--card) 0%, var(--background) 100%);
  border-bottom: 1px solid var(--border);
}

[data-theme="pink"] .tl-toolbar-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
}

[data-theme="pink"] .tl-toolbar-btn:hover {
  background: var(--secondary);
  color: var(--foreground);
  border-color: var(--primary);
}

[data-theme="pink"] .tl-toolbar-btn.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

[data-theme="pink"] .tl-view-tabs-clickup {
  background: var(--secondary);
  border: 1px solid var(--border);
}

[data-theme="pink"] .tl-view-tabs-clickup .tl-view-tab.active {
  background: var(--primary);
  color: var(--primary-foreground);
}

[data-theme="pink"] .tl-zoom-clickup {
  background: var(--secondary);
  border: 1px solid var(--border);
}

[data-theme="pink"] .tl-left-panel-clickup {
  background: linear-gradient(180deg, var(--card) 0%, var(--background) 100%);
  border-right: 1px solid var(--border);
}

/* Legacy task-item-clickup removed - using new ultra-minimal design */

/* ============================================
   PREMIUM TIMELINE STYLES FOR ALL THEMES
   Ultra-Clean, Minimalistic Design
   ============================================ */

/* === Base Timeline Styles (All Themes) === */

/* Column Rows */
.tl-column-row {
  border-bottom: 1px solid var(--border);
}

.tl-column-row:hover {
  background: var(--surface);
}

.tl-column-name {
  color: var(--foreground);
}

.tl-column-count {
  color: var(--muted-foreground);
}

/* Task Rows */
.tl-task-row:hover {
  background: var(--surface);
}

.tl-task-connector {
  border-color: var(--border);
}

.tl-task-check {
  border-color: var(--border);
}

.tl-task-name {
  color: var(--foreground);
}

/* Gantt Grid */
.tl-gantt-row {
  border-bottom: 1px solid var(--GanttRows);
}

.tl-gantt-row:hover {
  background: var(--surface);
}

.tl-gantt-cell {
  border-right: 1px solid var(--GanttRows);
}

.tl-gantt-cell.today {
  background: hsl(var(--primary) / 0.08);
}

.tl-gantt-cell.weekend {
  background: hsl(0 0% 0% / 0.02);
}

/* Bottom Stats */
.tl-bottom-stats {
  background: var(--card);
  border-top: 1px solid var(--border);
}

.tl-stat-chip,
.tl-progress-chip {
  background: var(--surface);
  border: 1px solid var(--border);
}

/* Kanban Styles */
.tl-kanban-section {
  background: var(--card);
  border: 1px solid var(--border);
}

.tl-kanban-column {
  background: var(--card);
  border: 1px solid var(--border);
}

.tl-kanban-column:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px hsl(var(--primary) / 0.1);
}

.tl-kanban-task {
  background: var(--card);
  border: 1px solid var(--border);
}

.tl-kanban-task:hover {
  border-color: var(--primary);
}

/* Toolbar */
.tl-advanced-toolbar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.tl-adv-btn {
  background: var(--surface);
  border: 1px solid var(--border);
}

.tl-adv-btn:hover {
  background: var(--accent);
  border-color: var(--primary);
}

.tl-adv-btn.active {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* Badges */
.tl-task-count-badge,
.tl-kanban-col-count,
.kanban-column-count,
.task-count-badge {
  background: var(--surface);
  color: var(--muted-foreground);
  border: 1px solid var(--border);
}

/* Dividers */
.tl-toolbar-divider,
.tl-adv-separator {
  background: var(--border);
}

/* Inspector */
.tl-inspector {
  background: var(--card);
  border-left: 1px solid var(--border);
}

/* Calendar & Dropdowns */
.tl-mini-calendar {
  background: var(--card);
  border: 1px solid var(--border);
}

.tl-zoom-dropdown {
  background: var(--card);
  border: 1px solid var(--border);
}

.tl-zoom-preset:hover {
  background: var(--accent);
}

.tl-zoom-preset.active {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* Week Ranges */
.tl-week-ranges-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.tl-week-range-block {
  border-right: 1px solid var(--border);
}

.tl-week-range-week {
  color: var(--primary);
  background: hsl(var(--primary) / 0.1);
}

/* Dependencies */
.tl-dep-banner {
  background: hsl(var(--primary) / 0.05);
  border-bottom: 1px solid var(--border);
}

.tl-dep-toggle {
  border: 1px solid var(--border);
  color: var(--primary);
}

/* === DARK LIME THEME === */
[data-theme="darklime"] .tl-column-row:hover,
[data-theme="darklime"] .tl-task-row:hover {
  background: hsla(150, 85%, 55%, 0.08);
}

[data-theme="darklime"] .tl-gantt-row:hover {
  background: hsla(150, 85%, 55%, 0.06);
}

[data-theme="darklime"] .tl-gantt-cell.today {
  background: hsla(150, 85%, 55%, 0.12);
}

[data-theme="darklime"] .tl-kanban-column:hover {
  border-color: hsl(150, 85%, 55%);
  box-shadow: 0 4px 16px hsla(150, 85%, 55%, 0.15);
}

/* === PINK THEME === */
[data-theme="pink"] .tl-column-row:hover,
[data-theme="pink"] .tl-task-row:hover {
  background: hsla(340, 82%, 76%, 0.05);
}

[data-theme="pink"] .tl-gantt-row:hover {
  background: hsla(340, 82%, 76%, 0.04);
}

[data-theme="pink"] .tl-gantt-cell.today {
  background: hsla(340, 82%, 76%, 0.08);
}

[data-theme="pink"] .tl-kanban-column:hover {
  box-shadow: 0 4px 20px hsla(340, 82%, 76%, 0.15);
}

/* === PURPLE THEME === */
[data-theme="purple"] .tl-column-row:hover,
[data-theme="purple"] .tl-task-row:hover {
  background: hsla(256, 60%, 61%, 0.05);
}

[data-theme="purple"] .tl-gantt-row:hover {
  background: hsla(256, 60%, 61%, 0.04);
}

[data-theme="purple"] .tl-gantt-cell.today {
  background: hsla(256, 60%, 61%, 0.1);
}

[data-theme="purple"] .tl-kanban-column:hover {
  box-shadow: 0 4px 20px hsla(256, 60%, 61%, 0.2);
}

/* === OCEAN THEME === */
[data-theme="ocean"] .tl-column-row:hover,
[data-theme="ocean"] .tl-task-row:hover {
  background: hsla(200, 70%, 50%, 0.05);
}

[data-theme="ocean"] .tl-gantt-row:hover {
  background: hsla(200, 70%, 50%, 0.04);
}

[data-theme="ocean"] .tl-gantt-cell.today {
  background: hsla(200, 70%, 50%, 0.1);
}

[data-theme="ocean"] .tl-kanban-column:hover {
  box-shadow: 0 4px 20px hsla(200, 70%, 50%, 0.15);
}

/* === FOREST THEME === */
[data-theme="forest"] .tl-column-row:hover,
[data-theme="forest"] .tl-task-row:hover {
  background: hsla(142, 70%, 45%, 0.05);
}

[data-theme="forest"] .tl-gantt-row:hover {
  background: hsla(142, 70%, 45%, 0.04);
}

[data-theme="forest"] .tl-gantt-cell.today {
  background: hsla(142, 70%, 45%, 0.1);
}

[data-theme="forest"] .tl-kanban-column:hover {
  box-shadow: 0 4px 20px hsla(142, 70%, 45%, 0.15);
}

/* === SUNSET THEME === */
[data-theme="sunset"] .tl-column-row:hover,
[data-theme="sunset"] .tl-task-row:hover {
  background: hsla(25, 90%, 55%, 0.05);
}

[data-theme="sunset"] .tl-gantt-row:hover {
  background: hsla(25, 90%, 55%, 0.04);
}

[data-theme="sunset"] .tl-gantt-cell.today {
  background: hsla(25, 90%, 55%, 0.1);
}

[data-theme="sunset"] .tl-kanban-column:hover {
  box-shadow: 0 4px 20px hsla(25, 90%, 55%, 0.15);
}

/* === MIDNIGHT THEME === */
[data-theme="midnight"] .tl-column-row:hover,
[data-theme="midnight"] .tl-task-row:hover {
  background: hsla(220, 60%, 60%, 0.05);
}

[data-theme="midnight"] .tl-gantt-row:hover {
  background: hsla(220, 60%, 60%, 0.04);
}

[data-theme="midnight"] .tl-gantt-cell.today {
  background: hsla(220, 60%, 60%, 0.1);
}

[data-theme="midnight"] .tl-kanban-column:hover {
  box-shadow: 0 4px 20px hsla(220, 60%, 60%, 0.2);
}

/* ============================================
   Claude Theme (Dark) - Warm earthy tones inspired by Claude AI
   ============================================ */
[data-theme="claude"] {
  --background: hsl(40, 12%, 10%);
  --foreground: hsl(35, 25%, 88%);
  --card: hsl(40, 10%, 13%);
  --card-foreground: hsl(35, 25%, 88%);
  --popover: hsl(40, 10%, 13%);
  --popover-foreground: hsl(35, 25%, 88%);

  --primary: hsl(17, 64%, 56%);
  --primary-foreground: hsl(0, 0%, 100%);

  --secondary: hsl(40, 8%, 18%);
  --secondary-foreground: hsl(35, 25%, 88%);

  --muted: hsl(40, 6%, 25%);
  --muted-foreground: hsl(35, 15%, 58%);

  --accent: hsl(17, 64%, 56%);
  --accent-foreground: hsl(0, 0%, 100%);

  --destructive: hsl(0, 60%, 50%);
  --destructive-foreground: hsl(0, 0%, 100%);

  --GanttRows: hsl(40, 10%, 12%);
  --border: hsl(40, 8%, 20%);
  --border-strong: hsl(17, 64%, 56%);
  --input: hsl(40, 10%, 15%);
  --ring: hsl(17, 64%, 56%);

  --surface: hsl(40, 10%, 13%);
  --surface-hover: hsl(40, 8%, 18%);

  --glass-bg: hsla(40, 10%, 13%, 0.7);
  --glass-border: hsla(17, 64%, 56%, 0.2);
  --glass-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.35);
}

[data-theme="claude"] body {
  background: linear-gradient(135deg, hsl(40, 12%, 10%) 0%, hsl(40, 10%, 7%) 50%, hsl(40, 12%, 10%) 100%);
  background-attachment: fixed;
}

[data-theme="claude"] body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 30%, hsla(17, 64%, 56%, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, hsla(30, 40%, 40%, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* ============================================
   Claude Light Theme - Warm cream/beige inspired by Claude AI
   ============================================ */
[data-theme="claude"][data-mode="light"] {
  --background: hsl(36, 33%, 95%);
  --foreground: hsl(30, 15%, 15%);
  --card: hsl(36, 30%, 97%);
  --card-foreground: hsl(30, 15%, 15%);
  --popover: hsl(36, 30%, 97%);
  --popover-foreground: hsl(30, 15%, 15%);

  --primary: hsl(17, 64%, 52%);
  --primary-foreground: hsl(0, 0%, 100%);

  --secondary: hsl(36, 25%, 90%);
  --secondary-foreground: hsl(30, 15%, 15%);

  --muted: hsl(36, 20%, 88%);
  --muted-foreground: hsl(30, 10%, 45%);

  --accent: hsl(17, 64%, 52%);
  --accent-foreground: hsl(0, 0%, 100%);

  --destructive: hsl(0, 60%, 50%);
  --destructive-foreground: hsl(0, 0%, 100%);

  --GanttRows: hsl(36, 28%, 94%);
  --border: hsl(36, 18%, 85%);
  --border-strong: hsl(17, 64%, 52%);
  --input: hsl(36, 30%, 97%);
  --ring: hsl(17, 64%, 52%);

  --surface: hsl(36, 30%, 97%);
  --surface-hover: hsl(36, 25%, 93%);

  --glass-bg: hsla(36, 30%, 97%, 0.8);
  --glass-border: hsla(17, 64%, 52%, 0.15);
  --glass-shadow: 0 8px 32px hsla(30, 15%, 15%, 0.08);
}

[data-theme="claude"][data-mode="light"] body {
  background: linear-gradient(135deg, hsl(36, 33%, 95%) 0%, hsl(36, 28%, 92%) 50%, hsl(36, 33%, 95%) 100%);
  background-attachment: fixed;
}

[data-theme="claude"][data-mode="light"] body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 20%, hsla(17, 64%, 52%, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, hsla(36, 33%, 80%, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Claude Light mode overrides for list/table views */
[data-theme="claude"][data-mode="light"] .tl-column-row:hover,
[data-theme="claude"][data-mode="light"] .tl-task-row:hover {
  background: hsla(30, 15%, 15%, 0.02);
}

[data-theme="claude"][data-mode="light"] .tl-task-connector {
  border-color: hsla(30, 15%, 15%, 0.06);
}

[data-theme="claude"][data-mode="light"] .tl-task-check {
  border-color: hsla(30, 15%, 15%, 0.15);
}

[data-theme="claude"][data-mode="light"] .tl-gantt-row {
  border-bottom: 1px solid hsla(30, 15%, 15%, 0.05);
}

[data-theme="claude"][data-mode="light"] .tl-gantt-row:hover {
  background: hsla(30, 15%, 15%, 0.015);
}

[data-theme="claude"][data-mode="light"] .tl-gantt-cell {
  border-right: 1px solid hsla(30, 15%, 15%, 0.04);
}

[data-theme="claude"][data-mode="light"] .tl-gantt-cell.weekend {
  background: hsla(30, 15%, 15%, 0.02);
}

[data-theme="claude"][data-mode="light"] .tl-kanban-column:hover {
  transform: translateY(-2px);
  transition: all 0.2s ease;
}

[data-theme="claude"][data-mode="light"] .tl-kanban-task:hover {
  transform: translateY(-1px);
  transition: all 0.15s ease;
}

/* === LIGHT MODE OVERRIDES === */
.light .tl-column-row:hover,
.light .tl-task-row:hover {
  background: rgba(0, 0, 0, 0.02);
}

.light .tl-task-connector {
  border-color: rgba(0, 0, 0, 0.06);
}

.light .tl-task-check {
  border-color: rgba(0, 0, 0, 0.15);
}

.light .tl-gantt-row {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.light .tl-gantt-row:hover {
  background: rgba(0, 0, 0, 0.015);
}

.light .tl-gantt-cell {
  border-right: 1px solid rgba(0, 0, 0, 0.04);
}

.light .tl-gantt-cell.weekend {
  background: rgba(0, 0, 0, 0.02);
}

.light .tl-gantt-wrapper::-webkit-scrollbar-thumb {
  background: var(--border);
}

.light .tl-gantt-wrapper::-webkit-scrollbar-track {
  background: var(--background);
}

/* Premium Hover States */
.light .tl-kanban-column:hover,
[data-theme="pink"] .tl-kanban-column:hover {
  transform: translateY(-2px);
  transition: all 0.2s ease;
}

.light .tl-kanban-task:hover,
[data-theme="pink"] .tl-kanban-task:hover {
  transform: translateY(-1px);
  transition: all 0.15s ease;
}

/* Focus States */
.light .tl-toolbar-btn:focus-visible,
[data-theme="pink"] .tl-toolbar-btn:focus-visible,
.light .tl-adv-btn:focus-visible,
[data-theme="pink"] .tl-adv-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ============================================
   Whiteboard (Grid Diagram) Theme Overrides
   ============================================ */

/* Light mode */
.light {
  --wb-bg: hsl(0, 0%, 98%);
  --wb-grid-color: hsla(0, 0%, 0%, 0.06);
  --wb-ui-bg: hsla(0, 0%, 100%, 0.85);
  --wb-ui-border: hsla(0, 0%, 0%, 0.1);
  --wb-accent: hsl(222, 47%, 11%);
  --wb-selection: hsla(222, 47%, 11%, 0.08);
  --wb-selection-border: hsla(222, 47%, 11%, 0.4);
  --wb-text: hsl(0, 0%, 10%);
  --wb-text-secondary: hsl(0, 0%, 45%);
}

/* Pink */
[data-theme="pink"] {
  --wb-bg: hsl(345, 80%, 97%);
  --wb-grid-color: hsla(340, 82%, 76%, 0.1);
  --wb-ui-bg: hsla(345, 100%, 98%, 0.85);
  --wb-ui-border: hsla(340, 82%, 76%, 0.2);
  --wb-accent: hsl(340, 82%, 66%);
  --wb-selection: hsla(340, 82%, 66%, 0.1);
  --wb-selection-border: hsla(340, 82%, 66%, 0.5);
  --wb-text: hsl(335, 30%, 24%);
  --wb-text-secondary: hsl(335, 20%, 50%);
}

/* Purple */
[data-theme="purple"] {
  --wb-bg: hsl(260, 45%, 10%);
  --wb-grid-color: hsla(256, 60%, 61%, 0.08);
  --wb-ui-bg: hsla(260, 40%, 15%, 0.85);
  --wb-ui-border: hsla(256, 60%, 61%, 0.2);
  --wb-accent: hsl(260, 70%, 77%);
  --wb-selection: hsla(260, 70%, 77%, 0.1);
  --wb-selection-border: hsla(260, 70%, 77%, 0.5);
  --wb-text: hsl(265, 35%, 95%);
  --wb-text-secondary: hsl(265, 20%, 65%);
}

/* Ocean */
[data-theme="ocean"] {
  --wb-bg: hsl(210, 50%, 10%);
  --wb-grid-color: hsla(200, 80%, 50%, 0.08);
  --wb-ui-bg: hsla(210, 50%, 12%, 0.85);
  --wb-ui-border: hsla(200, 80%, 50%, 0.2);
  --wb-accent: hsl(200, 80%, 55%);
  --wb-selection: hsla(200, 80%, 55%, 0.1);
  --wb-selection-border: hsla(200, 80%, 55%, 0.5);
  --wb-text: hsl(200, 30%, 95%);
  --wb-text-secondary: hsl(200, 20%, 65%);
}

/* Forest */
[data-theme="forest"] {
  --wb-bg: hsl(150, 30%, 8%);
  --wb-grid-color: hsla(140, 50%, 45%, 0.08);
  --wb-ui-bg: hsla(150, 30%, 10%, 0.85);
  --wb-ui-border: hsla(140, 50%, 45%, 0.2);
  --wb-accent: hsl(140, 50%, 50%);
  --wb-selection: hsla(140, 50%, 50%, 0.1);
  --wb-selection-border: hsla(140, 50%, 50%, 0.5);
  --wb-text: hsl(140, 20%, 92%);
  --wb-text-secondary: hsl(140, 15%, 60%);
}

/* Dark Lime */
[data-theme="darklime"] {
  --wb-bg: hsl(80, 10%, 8%);
  --wb-grid-color: hsla(80, 80%, 50%, 0.06);
  --wb-ui-bg: hsla(80, 10%, 10%, 0.85);
  --wb-ui-border: hsla(80, 80%, 50%, 0.15);
  --wb-accent: hsl(80, 80%, 55%);
  --wb-selection: hsla(80, 80%, 55%, 0.1);
  --wb-selection-border: hsla(80, 80%, 55%, 0.5);
  --wb-text: hsl(80, 10%, 92%);
  --wb-text-secondary: hsl(80, 10%, 60%);
}

/* Midnight Blue */
[data-theme="midnight"] {
  --wb-bg: hsl(230, 50%, 8%);
  --wb-grid-color: hsla(220, 80%, 55%, 0.06);
  --wb-ui-bg: hsla(230, 50%, 10%, 0.85);
  --wb-ui-border: hsla(220, 80%, 55%, 0.15);
  --wb-accent: hsl(220, 80%, 60%);
  --wb-selection: hsla(220, 80%, 60%, 0.1);
  --wb-selection-border: hsla(220, 80%, 60%, 0.5);
  --wb-text: hsl(220, 30%, 95%);
  --wb-text-secondary: hsl(220, 20%, 65%);
}

/* Dracula */
[data-theme="dracula"] {
  --wb-bg: hsl(231, 15%, 12%);
  --wb-grid-color: hsla(265, 89%, 78%, 0.06);
  --wb-ui-bg: hsla(231, 15%, 15%, 0.85);
  --wb-ui-border: hsla(265, 89%, 78%, 0.15);
  --wb-accent: hsl(265, 89%, 78%);
  --wb-selection: hsla(265, 89%, 78%, 0.1);
  --wb-selection-border: hsla(265, 89%, 78%, 0.5);
  --wb-text: hsl(60, 30%, 96%);
  --wb-text-secondary: hsl(225, 27%, 60%);
}

/* Gruvbox */
[data-theme="gruvbox"] {
  --wb-bg: hsl(0, 0%, 16%);
  --wb-grid-color: hsla(40, 73%, 49%, 0.06);
  --wb-ui-bg: hsla(0, 0%, 18%, 0.85);
  --wb-ui-border: hsla(40, 73%, 49%, 0.15);
  --wb-accent: hsl(40, 73%, 49%);
  --wb-selection: hsla(40, 73%, 49%, 0.1);
  --wb-selection-border: hsla(40, 73%, 49%, 0.5);
  --wb-text: hsl(49, 100%, 88%);
  --wb-text-secondary: hsl(40, 15%, 60%);
}

/* Rosé Pine */
[data-theme="rosepine"] {
  --wb-bg: hsl(249, 22%, 12%);
  --wb-grid-color: hsla(280, 36%, 65%, 0.06);
  --wb-ui-bg: hsla(249, 22%, 15%, 0.85);
  --wb-ui-border: hsla(280, 36%, 65%, 0.15);
  --wb-accent: hsl(280, 36%, 65%);
  --wb-selection: hsla(280, 36%, 65%, 0.1);
  --wb-selection-border: hsla(280, 36%, 65%, 0.5);
  --wb-text: hsl(245, 50%, 91%);
  --wb-text-secondary: hsl(249, 12%, 55%);
}

/* Claude (dark) */
[data-theme="claude"] {
  --wb-bg: hsl(40, 12%, 8%);
  --wb-grid-color: hsla(17, 64%, 56%, 0.06);
  --wb-ui-bg: hsla(40, 12%, 12%, 0.85);
  --wb-ui-border: hsla(17, 64%, 56%, 0.15);
  --wb-accent: hsl(17, 64%, 56%);
  --wb-selection: hsla(17, 64%, 56%, 0.1);
  --wb-selection-border: hsla(17, 64%, 56%, 0.5);
  --wb-text: hsl(36, 33%, 92%);
  --wb-text-secondary: hsl(36, 10%, 55%);
}

/* Claude (light mode) */
[data-theme="claude"][data-mode="light"] {
  --wb-bg: hsl(36, 33%, 95%);
  --wb-grid-color: hsla(17, 64%, 52%, 0.08);
  --wb-ui-bg: hsla(36, 30%, 97%, 0.85);
  --wb-ui-border: hsla(17, 64%, 52%, 0.15);
  --wb-accent: hsl(17, 64%, 52%);
  --wb-selection: hsla(17, 64%, 52%, 0.1);
  --wb-selection-border: hsla(17, 64%, 52%, 0.5);
  --wb-text: hsl(30, 15%, 15%);
  --wb-text-secondary: hsl(30, 10%, 45%);
}

/* Whiteboard component overrides for themed shapes */
[data-theme] .shape-pill {
  background: var(--wb-text);
  color: var(--wb-bg);
  box-shadow: 0 2px 10px hsla(0, 0%, 0%, 0.2);
}

[data-theme] .shape-flow-card {
  background: var(--wb-ui-bg);
  border-color: var(--wb-ui-border);
  color: var(--wb-text-secondary);
  box-shadow: 0 4px 20px hsla(0, 0%, 0%, 0.3);
}

[data-theme] .shape-header {
  color: var(--wb-text-secondary);
}

[data-theme] .shape-header.highlight {
  color: var(--wb-text);
}

[data-theme] .card-default {
  background: var(--wb-ui-bg);
  border-color: var(--wb-ui-border);
}

[data-theme] .shape-rect {
  border-color: var(--wb-text-secondary);
}

[data-theme] .shape-diamond {
  background: var(--wb-ui-bg);
  border-color: var(--wb-text-secondary);
}

[data-theme] .shape-ellipse {
  border-color: var(--wb-text-secondary);
}

[data-theme] .grip-toolbar-group {
  background: var(--wb-ui-bg);
  border-color: var(--wb-ui-border);
}

[data-theme] .grip-toolbar-bottom {
  background: var(--wb-ui-bg);
  border-color: var(--wb-ui-border);
  box-shadow: 0 10px 40px hsla(0, 0%, 0%, 0.3);
}

[data-theme] .grip-tool-btn {
  color: var(--wb-text-secondary);
}

[data-theme] .grip-tool-btn:hover {
  color: var(--wb-text);
}

[data-theme] .grip-tool-btn.active,
[data-theme] .grip-tool-btn.context-active {
  color: var(--wb-text);
}

[data-theme] .grip-btn-icon {
  color: var(--wb-text-secondary);
}

[data-theme] .grip-btn-icon:hover {
  color: var(--wb-text);
}

[data-theme] .grip-filename {
  color: var(--wb-text);
}

[data-theme] .grip-properties-panel {
  background: var(--wb-ui-bg);
  border-color: var(--wb-ui-border);
  color: var(--wb-text);
}

[data-theme] .grip-node-note-popup {
  background: var(--wb-ui-bg);
  border-color: var(--wb-ui-border);
}

[data-theme] .grip-node-note-popup textarea {
  background: var(--wb-bg);
  color: var(--wb-text);
  border-color: var(--wb-ui-border);
}

[data-theme] .grip-prop-btn {
  color: var(--wb-text-secondary);
  border-color: var(--wb-ui-border);
}

[data-theme] .grip-prop-btn:hover {
  color: var(--wb-text);
}

[data-theme] .grip-prop-header {
  color: var(--wb-text-secondary);
}

[data-theme] .grip-action-btn {
  color: var(--wb-text);
}

[data-theme] .grip-action-btn.drag-handle {
  background: var(--wb-accent);
  color: var(--wb-bg);
}

[data-theme] .grip-divider-vertical {
  background: var(--wb-ui-border);
}

/* Light themes: also override for .light class */
.light {
  --wb-bg: hsl(0, 0%, 98%);
  --wb-grid-color: hsla(0, 0%, 0%, 0.06);
  --wb-ui-bg: hsla(0, 0%, 100%, 0.85);
  --wb-ui-border: hsla(0, 0%, 0%, 0.1);
  --wb-accent: hsl(222, 47%, 11%);
  --wb-selection: hsla(222, 47%, 11%, 0.08);
  --wb-selection-border: hsla(222, 47%, 11%, 0.4);
  --wb-text: hsl(0, 0%, 10%);
  --wb-text-secondary: hsl(0, 0%, 45%);
}

.light .shape-pill {
  background: hsl(0, 0%, 15%);
  color: hsl(0, 0%, 98%);
}

.light .shape-flow-card {
  background: hsla(0, 0%, 100%, 0.9);
  border-color: hsla(0, 0%, 0%, 0.1);
  color: hsl(0, 0%, 35%);
  box-shadow: 0 4px 20px hsla(0, 0%, 0%, 0.08);
}

.light .grip-toolbar-group,
.light .grip-toolbar-bottom {
  background: hsla(0, 0%, 100%, 0.9);
  border-color: hsla(0, 0%, 0%, 0.08);
}

.light .grip-tool-btn {
  color: hsl(0, 0%, 45%);
}

.light .grip-tool-btn:hover,
.light .grip-tool-btn.active {
  color: hsl(0, 0%, 10%);
}

.light .grip-properties-panel {
  background: hsla(0, 0%, 100%, 0.95);
  border-color: hsla(0, 0%, 0%, 0.08);
  color: hsl(0, 0%, 10%);
}

.light .grip-node-note-popup {
  background: hsla(0, 0%, 100%, 0.95);
  border-color: hsla(0, 0%, 0%, 0.1);
}

.light .grip-node-note-popup textarea {
  background: hsl(0, 0%, 97%);
  color: hsl(0, 0%, 10%);
  border-color: hsla(0, 0%, 0%, 0.1);
}

/* ============================================
   ADVANCED WHITEBOARD LIGHT MODE VARIANTS
   Premium theming for all themes in light mode
   ============================================ */

/* Pink Theme - Light Mode Whiteboard */
[data-theme="pink"][data-mode="light"] {
  --wb-bg: hsl(350, 100%, 99%);
  --wb-grid-color: hsla(340, 75%, 55%, 0.08);
  --wb-ui-bg: hsla(0, 0%, 100%, 0.92);
  --wb-ui-border: hsla(340, 75%, 55%, 0.15);
  --wb-accent: hsl(340, 75%, 55%);
  --wb-selection: hsla(340, 75%, 55%, 0.08);
  --wb-selection-border: hsla(340, 75%, 55%, 0.4);
  --wb-text: hsl(335, 45%, 18%);
  --wb-text-secondary: hsl(335, 25%, 45%);
}

/* Purple Theme - Light Mode Whiteboard */
[data-theme="purple"][data-mode="light"] {
  --wb-bg: hsl(265, 60%, 99%);
  --wb-grid-color: hsla(256, 65%, 55%, 0.08);
  --wb-ui-bg: hsla(0, 0%, 100%, 0.92);
  --wb-ui-border: hsla(256, 65%, 55%, 0.15);
  --wb-accent: hsl(256, 65%, 55%);
  --wb-selection: hsla(256, 65%, 55%, 0.08);
  --wb-selection-border: hsla(256, 65%, 55%, 0.4);
  --wb-text: hsl(260, 40%, 16%);
  --wb-text-secondary: hsl(260, 25%, 45%);
}

/* Ocean Theme - Light Mode Whiteboard */
[data-theme="ocean"][data-mode="light"] {
  --wb-bg: hsl(175, 45%, 98%);
  --wb-grid-color: hsla(174, 50%, 42%, 0.08);
  --wb-ui-bg: hsla(0, 0%, 100%, 0.92);
  --wb-ui-border: hsla(174, 50%, 42%, 0.15);
  --wb-accent: hsl(174, 50%, 42%);
  --wb-selection: hsla(174, 50%, 42%, 0.08);
  --wb-selection-border: hsla(174, 50%, 42%, 0.4);
  --wb-text: hsl(195, 50%, 16%);
  --wb-text-secondary: hsl(195, 30%, 40%);
}

/* Forest Theme - Light Mode Whiteboard */
[data-theme="forest"][data-mode="light"] {
  --wb-bg: hsl(145, 45%, 98%);
  --wb-grid-color: hsla(150, 65%, 38%, 0.08);
  --wb-ui-bg: hsla(0, 0%, 100%, 0.92);
  --wb-ui-border: hsla(150, 65%, 38%, 0.15);
  --wb-accent: hsl(150, 65%, 38%);
  --wb-selection: hsla(150, 65%, 38%, 0.08);
  --wb-selection-border: hsla(150, 65%, 38%, 0.4);
  --wb-text: hsl(150, 45%, 14%);
  --wb-text-secondary: hsl(150, 25%, 38%);
}

/* Midnight Theme - Light Mode Whiteboard */
[data-theme="midnight"][data-mode="light"] {
  --wb-bg: hsl(220, 60%, 99%);
  --wb-grid-color: hsla(220, 85%, 52%, 0.08);
  --wb-ui-bg: hsla(0, 0%, 100%, 0.92);
  --wb-ui-border: hsla(220, 85%, 52%, 0.15);
  --wb-accent: hsl(220, 85%, 52%);
  --wb-selection: hsla(220, 85%, 52%, 0.08);
  --wb-selection-border: hsla(220, 85%, 52%, 0.4);
  --wb-text: hsl(220, 50%, 14%);
  --wb-text-secondary: hsl(220, 28%, 42%);
}

/* Dracula Theme - Light Mode Whiteboard */
[data-theme="dracula"][data-mode="light"] {
  --wb-bg: hsl(340, 55%, 99%);
  --wb-grid-color: hsla(330, 75%, 52%, 0.08);
  --wb-ui-bg: hsla(0, 0%, 100%, 0.92);
  --wb-ui-border: hsla(330, 75%, 52%, 0.15);
  --wb-accent: hsl(330, 75%, 52%);
  --wb-selection: hsla(330, 75%, 52%, 0.08);
  --wb-selection-border: hsla(330, 75%, 52%, 0.4);
  --wb-text: hsl(250, 30%, 18%);
  --wb-text-secondary: hsl(250, 20%, 45%);
}

/* Gruvbox Theme - Light Mode Whiteboard */
[data-theme="gruvbox"][data-mode="light"] {
  --wb-bg: hsl(50, 87%, 95%);
  --wb-grid-color: hsla(42, 90%, 38%, 0.08);
  --wb-ui-bg: hsla(50, 100%, 97%, 0.92);
  --wb-ui-border: hsla(42, 90%, 38%, 0.15);
  --wb-accent: hsl(42, 90%, 38%);
  --wb-selection: hsla(42, 90%, 38%, 0.08);
  --wb-selection-border: hsla(42, 90%, 38%, 0.4);
  --wb-text: hsl(30, 12%, 20%);
  --wb-text-secondary: hsl(30, 8%, 38%);
}

/* Rosé Pine Theme - Light Mode Whiteboard */
[data-theme="rosepine"][data-mode="light"] {
  --wb-bg: hsl(245, 65%, 97%);
  --wb-grid-color: hsla(267, 57%, 78%, 0.08);
  --wb-ui-bg: hsla(0, 0%, 100%, 0.92);
  --wb-ui-border: hsla(267, 57%, 78%, 0.15);
  --wb-accent: hsl(267, 57%, 78%);
  --wb-selection: hsla(267, 57%, 78%, 0.08);
  --wb-selection-border: hsla(267, 57%, 78%, 0.4);
  --wb-text: hsl(245, 50%, 20%);
  --wb-text-secondary: hsl(245, 30%, 45%);
}

/* Dark Lime Theme - Light Mode Whiteboard */
[data-theme="darklime"][data-mode="light"] {
  --wb-bg: hsl(120, 30%, 97%);
  --wb-grid-color: hsla(150, 85%, 55%, 0.08);
  --wb-ui-bg: hsla(0, 0%, 100%, 0.92);
  --wb-ui-border: hsla(150, 85%, 55%, 0.15);
  --wb-accent: hsl(150, 85%, 55%);
  --wb-selection: hsla(150, 85%, 55%, 0.08);
  --wb-selection-border: hsla(150, 85%, 55%, 0.4);
  --wb-text: hsl(0, 0%, 15%);
  --wb-text-secondary: hsl(0, 0%, 40%);
}

/* ============================================
   ADVANCED WHITEBOARD DARK MODE VARIANTS
   Enhanced dark mode theming for consistency
   ============================================ */

/* Pink Theme - Enhanced Dark Mode Whiteboard */
[data-theme="pink"][data-mode="dark"] {
  --wb-bg: hsl(345, 25%, 12%);
  --wb-grid-color: hsla(340, 82%, 70%, 0.06);
  --wb-ui-bg: hsla(345, 22%, 16%, 0.88);
  --wb-ui-border: hsla(340, 82%, 70%, 0.18);
  --wb-accent: hsl(340, 82%, 70%);
  --wb-selection: hsla(340, 82%, 70%, 0.1);
  --wb-selection-border: hsla(340, 82%, 70%, 0.5);
  --wb-text: hsl(340, 30%, 95%);
  --wb-text-secondary: hsl(340, 25%, 68%);
}

/* Purple Theme - Enhanced Dark Mode Whiteboard */
[data-theme="purple"][data-mode="dark"] {
  --wb-bg: hsl(260, 45%, 8%);
  --wb-grid-color: hsla(256, 60%, 61%, 0.06);
  --wb-ui-bg: hsla(260, 40%, 12%, 0.88);
  --wb-ui-border: hsla(256, 60%, 61%, 0.18);
  --wb-accent: hsl(256, 60%, 61%);
  --wb-selection: hsla(256, 60%, 61%, 0.1);
  --wb-selection-border: hsla(256, 60%, 61%, 0.5);
  --wb-text: hsl(265, 35%, 95%);
  --wb-text-secondary: hsl(265, 25%, 65%);
}

/* Ocean Theme - Enhanced Dark Mode Whiteboard */
[data-theme="ocean"][data-mode="dark"] {
  --wb-bg: hsl(195, 35%, 12%);
  --wb-grid-color: hsla(174, 30%, 60%, 0.06);
  --wb-ui-bg: hsla(197, 35%, 18%, 0.88);
  --wb-ui-border: hsla(174, 30%, 60%, 0.18);
  --wb-accent: hsl(174, 30%, 60%);
  --wb-selection: hsla(174, 30%, 60%, 0.1);
  --wb-selection-border: hsla(174, 30%, 60%, 0.5);
  --wb-text: hsl(165, 30%, 91%);
  --wb-text-secondary: hsl(165, 25%, 60%);
}

/* Forest Theme - Enhanced Dark Mode Whiteboard */
[data-theme="forest"][data-mode="dark"] {
  --wb-bg: hsl(150, 30%, 6%);
  --wb-grid-color: hsla(150, 70%, 50%, 0.06);
  --wb-ui-bg: hsla(150, 30%, 10%, 0.88);
  --wb-ui-border: hsla(150, 70%, 50%, 0.18);
  --wb-accent: hsl(150, 70%, 50%);
  --wb-selection: hsla(150, 70%, 50%, 0.1);
  --wb-selection-border: hsla(150, 70%, 50%, 0.5);
  --wb-text: hsl(150, 20%, 90%);
  --wb-text-secondary: hsl(150, 20%, 60%);
}

/* Midnight Theme - Enhanced Dark Mode Whiteboard */
[data-theme="midnight"][data-mode="dark"] {
  --wb-bg: hsl(220, 40%, 6%);
  --wb-grid-color: hsla(220, 90%, 60%, 0.06);
  --wb-ui-bg: hsla(220, 40%, 10%, 0.88);
  --wb-ui-border: hsla(220, 90%, 60%, 0.18);
  --wb-accent: hsl(220, 90%, 60%);
  --wb-selection: hsla(220, 90%, 60%, 0.1);
  --wb-selection-border: hsla(220, 90%, 60%, 0.5);
  --wb-text: hsl(220, 20%, 94%);
  --wb-text-secondary: hsl(220, 20%, 65%);
}

/* Dracula Theme - Enhanced Dark Mode Whiteboard */
[data-theme="dracula"][data-mode="dark"] {
  --wb-bg: hsl(231, 15%, 15%);
  --wb-grid-color: hsla(330, 81%, 60%, 0.06);
  --wb-ui-bg: hsla(231, 15%, 18%, 0.88);
  --wb-ui-border: hsla(330, 81%, 60%, 0.18);
  --wb-accent: hsl(330, 81%, 60%);
  --wb-selection: hsla(330, 81%, 60%, 0.1);
  --wb-selection-border: hsla(330, 81%, 60%, 0.5);
  --wb-text: hsl(60, 30%, 96%);
  --wb-text-secondary: hsl(210, 20%, 65%);
}

/* Gruvbox Theme - Enhanced Dark Mode Whiteboard */
[data-theme="gruvbox"][data-mode="dark"] {
  --wb-bg: hsl(0, 0%, 12%);
  --wb-grid-color: hsla(42, 75%, 49%, 0.06);
  --wb-ui-bg: hsla(30, 5%, 20%, 0.88);
  --wb-ui-border: hsla(42, 75%, 49%, 0.18);
  --wb-accent: hsl(42, 75%, 49%);
  --wb-selection: hsla(42, 75%, 49%, 0.1);
  --wb-selection-border: hsla(42, 75%, 49%, 0.5);
  --wb-text: hsl(48, 45%, 82%);
  --wb-text-secondary: hsl(42, 25%, 60%);
}

/* Rosé Pine Theme - Enhanced Dark Mode Whiteboard */
[data-theme="rosepine"][data-mode="dark"] {
  --wb-bg: hsl(249, 22%, 10%);
  --wb-grid-color: hsla(267, 57%, 78%, 0.06);
  --wb-ui-bg: hsla(249, 17%, 14%, 0.88);
  --wb-ui-border: hsla(267, 57%, 78%, 0.18);
  --wb-accent: hsl(267, 57%, 78%);
  --wb-selection: hsla(267, 57%, 78%, 0.1);
  --wb-selection-border: hsla(267, 57%, 78%, 0.5);
  --wb-text: hsl(245, 50%, 91%);
  --wb-text-secondary: hsl(250, 12%, 60%);
}

/* Dark Lime Theme - Enhanced Dark Mode Whiteboard */
[data-theme="darklime"][data-mode="dark"] {
  --wb-bg: hsl(0, 0%, 6%);
  --wb-grid-color: hsla(150, 85%, 55%, 0.06);
  --wb-ui-bg: hsla(0, 0%, 10%, 0.88);
  --wb-ui-border: hsla(150, 85%, 55%, 0.18);
  --wb-accent: hsl(150, 85%, 55%);
  --wb-selection: hsla(150, 85%, 55%, 0.1);
  --wb-selection-border: hsla(150, 85%, 55%, 0.5);
  --wb-text: hsl(0, 0%, 92%);
  --wb-text-secondary: hsl(0, 0%, 60%);
}