/* MyAwesomeNovelz AI — Theme Variations: Sakura, Synthwave, Midnight, Light */

/* 🌸 Theme: Sakura Dream (Anime Pink & Plum) */
body.theme-sakura {
  --bg-darker: #150a17;
  --bg-dark: #1f1024;
  --bg-card: rgba(45, 22, 54, 0.85);
  --bg-card-hover: rgba(62, 30, 74, 0.9);
  --bg-glass: rgba(35, 16, 42, 0.7);
  --bg-input: rgba(28, 12, 34, 0.9);

  --text-main: #fce7f3;
  --text-muted: #f472b6;
  --text-dim: #c084fc;

  --border-color: rgba(236, 72, 153, 0.18);
  --border-accent: rgba(236, 72, 153, 0.5);
  --border-accent-glow: rgba(236, 72, 153, 0.8);

  --primary: #ec4899;
  --primary-hover: #db2777;
  --primary-light: #f472b6;

  --grad-primary: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
  --shadow-glow: 0 0 25px rgba(236, 72, 153, 0.4);
}

/* 🌇 Theme: Synthwave 80s (Retro Sunset Orange & Hot Pink) */
body.theme-synthwave {
  --bg-darker: #0e0714;
  --bg-dark: #170c24;
  --bg-card: rgba(38, 16, 56, 0.85);
  --bg-card-hover: rgba(54, 22, 80, 0.9);
  --bg-glass: rgba(28, 12, 42, 0.7);
  --bg-input: rgba(20, 8, 30, 0.9);

  --text-main: #fef08a;
  --text-muted: #f97316;
  --text-dim: #fb7185;

  --border-color: rgba(249, 115, 22, 0.2);
  --border-accent: rgba(255, 78, 80, 0.5);
  --border-accent-glow: rgba(249, 212, 35, 0.8);

  --primary: #ff4e50;
  --primary-hover: #e11d48;
  --primary-light: #f9d423;

  --grad-primary: linear-gradient(135deg, #ff4e50 0%, #f9d423 100%);
  --shadow-glow: 0 0 25px rgba(255, 78, 80, 0.4);
}

/* 🌌 Theme: Midnight Abyss (OLED Pure Black) */
body.theme-midnight {
  --bg-darker: #020204;
  --bg-dark: #07070b;
  --bg-card: rgba(12, 14, 22, 0.9);
  --bg-card-hover: rgba(18, 22, 34, 0.95);
  --bg-glass: rgba(8, 10, 16, 0.8);
  --bg-input: rgba(5, 6, 10, 0.95);

  --text-main: #f8fafc;
  --text-muted: #38bdf8;
  --text-dim: #64748b;

  --border-color: rgba(56, 189, 248, 0.15);
  --border-accent: rgba(56, 189, 248, 0.5);
  --border-accent-glow: rgba(56, 189, 248, 0.8);

  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #38bdf8;

  --grad-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.4);
}

/* ☀️ Theme: Editorial Light (Daylight Studio) */
body.theme-light {
  --bg-darker: #f1f5f9;
  --bg-dark: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: #f8fafc;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --bg-input: #f8fafc;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;

  --border-color: rgba(15, 23, 42, 0.12);
  --border-accent: rgba(79, 70, 229, 0.4);
  --border-accent-glow: rgba(79, 70, 229, 0.6);

  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #6366f1;

  --grad-primary: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.25);
}

body.theme-light .app-header {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom-color: rgba(0, 0, 0, 0.1) !important;
}

body.theme-light .sidebar {
  background: #ffffff !important;
  border-right-color: rgba(0, 0, 0, 0.1) !important;
}

body.theme-light .dropdown-menu {
  background: #ffffff !important;
  border-color: rgba(79, 70, 229, 0.3) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

body.theme-light .dropdown-item {
  color: #334155 !important;
}

body.theme-light .dropdown-item:hover {
  background: rgba(79, 70, 229, 0.1) !important;
  color: #4f46e5 !important;
}
