/* ================================================
   PFLEEGE ZEITARBEIT - THEME SYSTEM
   10 verschiedene Designs zur Auswahl
   ================================================ */

/* ========== THEME 1: CLASSIC BLUE (Standard) ========== */
[data-theme="classic-blue"] {
  --color-primary: #3498db;
  --color-primary-dark: #2980b9;
  --color-primary-light: #e3f2fd;
  --color-secondary: #2c3e50;
  --color-secondary-dark: #1a252f;
  --theme-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --theme-name: "Classic Blue";
}

/* ========== THEME 2: SOFT PINK (Zart & Feminin) ========== */
[data-theme="soft-pink"] {
  --color-primary: #ec407a;
  --color-primary-dark: #d81b60;
  --color-primary-light: #fce4ec;
  --color-secondary: #4a148c;
  --color-secondary-dark: #311b92;
  --theme-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --theme-name: "Soft Pink";
}

/* ========== THEME 3: LAVENDER DREAM (Hell & Elegant) ========== */
[data-theme="lavender-dream"] {
  --color-primary: #9c27b0;
  --color-primary-dark: #7b1fa2;
  --color-primary-light: #f3e5f5;
  --color-secondary: #4a148c;
  --color-secondary-dark: #311b92;
  --theme-gradient: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  --theme-name: "Lavender Dream";
}

/* ========== THEME 4: MINT FRESH (Frisch & Modern) ========== */
[data-theme="mint-fresh"] {
  --color-primary: #26a69a;
  --color-primary-dark: #00897b;
  --color-primary-light: #e0f2f1;
  --color-secondary: #004d40;
  --color-secondary-dark: #00251a;
  --theme-gradient: linear-gradient(135deg, #a8edea 0%, #6dd5ed 100%);
  --theme-name: "Mint Fresh";
}

/* ========== THEME 5: CORAL SUNSET (Warm & Freundlich) ========== */
[data-theme="coral-sunset"] {
  --color-primary: #ff7043;
  --color-primary-dark: #f4511e;
  --color-primary-light: #fbe9e7;
  --color-secondary: #bf360c;
  --color-secondary-dark: #870000;
  --theme-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  --theme-name: "Coral Sunset";
}

/* ========== THEME 6: OCEAN BREEZE (Beruhigend & Professionell) ========== */
[data-theme="ocean-breeze"] {
  --color-primary: #0288d1;
  --color-primary-dark: #01579b;
  --color-primary-light: #e1f5fe;
  --color-secondary: #01579b;
  --color-secondary-dark: #002f6c;
  --theme-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --theme-name: "Ocean Breeze";
}

/* ========== THEME 7: FOREST GREEN (Natürlich & Ruhig) ========== */
[data-theme="forest-green"] {
  --color-primary: #43a047;
  --color-primary-dark: #2e7d32;
  --color-primary-light: #e8f5e9;
  --color-secondary: #1b5e20;
  --color-secondary-dark: #0d3d14;
  --theme-gradient: linear-gradient(135deg, #667eea 0%, #43a047 100%);
  --theme-name: "Forest Green";
}

/* ========== THEME 8: ROYAL PURPLE (Luxuriös & Kräftig) ========== */
[data-theme="royal-purple"] {
  --color-primary: #673ab7;
  --color-primary-dark: #512da8;
  --color-primary-light: #ede7f6;
  --color-secondary: #311b92;
  --color-secondary-dark: #1a0052;
  --theme-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --theme-name: "Royal Purple";
}

/* ========== THEME 9: MIDNIGHT DARK (Dunkel & Maskulin) ========== */
[data-theme="midnight-dark"] {
  --color-primary: #1976d2;
  --color-primary-dark: #0d47a1;
  --color-primary-light: #bbdefb;
  --color-secondary: #263238;
  --color-secondary-dark: #000a12;
  --theme-gradient: linear-gradient(135deg, #434343 0%, #000000 100%);
  --theme-name: "Midnight Dark";
  
  /* Dunkle Anpassungen */
  --color-gray-50: #37474f;
  --color-gray-100: #263238;
  --color-gray-200: #37474f;
  --color-gray-800: #eceff1;
  --color-gray-900: #ffffff;
}

[data-theme="midnight-dark"] body {
  background: #1a1a1a;
  color: #eceff1;
}

[data-theme="midnight-dark"] .card,
[data-theme="midnight-dark"] .header,
[data-theme="midnight-dark"] .modal-content,
[data-theme="midnight-dark"] table,
[data-theme="midnight-dark"] .stat-card,
[data-theme="midnight-dark"] .calendar-container {
  background: #263238;
  color: #eceff1;
}

[data-theme="midnight-dark"] th {
  background: #37474f;
}

[data-theme="midnight-dark"] tr:hover {
  background: #37474f;
}

[data-theme="midnight-dark"] input,
[data-theme="midnight-dark"] select,
[data-theme="midnight-dark"] textarea {
  background: #37474f;
  color: #eceff1;
  border-color: #455a64;
}

[data-theme="midnight-dark"] .sidebar {
  background: #1a1a1a;
}

[data-theme="midnight-dark"] .logo {
  background: #000000;
}

/* ========== THEME 10: STEEL GREY (Neutral & Business) ========== */
[data-theme="steel-grey"] {
  --color-primary: #546e7a;
  --color-primary-dark: #37474f;
  --color-primary-light: #cfd8dc;
  --color-secondary: #263238;
  --color-secondary-dark: #000a12;
  --theme-gradient: linear-gradient(135deg, #bdc3c7 0%, #2c3e50 100%);
  --theme-name: "Steel Grey";
}

/* ========== THEME 11: NEON CYBERPUNK ========== */
[data-theme="neon-cyberpunk"] {
  --color-primary: #ff2d95;
  --color-primary-dark: #d6006e;
  --color-primary-light: rgba(255, 45, 149, 0.12);
  --color-secondary: #0a0a1a;
  --color-secondary-dark: #050510;
  --theme-gradient: linear-gradient(135deg, #0a0a1a 0%, #1a0030 50%, #0a0a1a 100%);
  --theme-name: "Neon Cyberpunk";
}

[data-theme="neon-cyberpunk"] body {
  background: #0a0a1a;
  color: #e0d0ff;
}

[data-theme="neon-cyberpunk"] .sidebar {
  background: #0d0d20;
  border-right: 1px solid #1a1a3a;
  box-shadow: 2px 0 20px rgba(255, 45, 149, 0.05);
}

[data-theme="neon-cyberpunk"] .logo {
  background: #0a0a18;
  border-bottom: 2px solid #ff2d95;
  box-shadow: 0 2px 15px rgba(255, 45, 149, 0.2);
}

[data-theme="neon-cyberpunk"] .nav-item {
  border-radius: 4px;
  margin: 2px 8px;
  transition: all 0.2s;
}

[data-theme="neon-cyberpunk"] .nav-item:hover {
  background: rgba(255, 45, 149, 0.1) !important;
  color: #ff2d95 !important;
  text-shadow: 0 0 8px rgba(255, 45, 149, 0.5);
}

[data-theme="neon-cyberpunk"] .nav-item.active {
  background: rgba(255, 45, 149, 0.15) !important;
  border-left: 3px solid #ff2d95;
  color: #ff2d95 !important;
  box-shadow: inset 0 0 15px rgba(255, 45, 149, 0.08);
}

[data-theme="neon-cyberpunk"] .header {
  background: #0d0d20;
  border-bottom: 1px solid #1a1a3a;
  color: #e0d0ff;
}

[data-theme="neon-cyberpunk"] .card,
[data-theme="neon-cyberpunk"] .stat-card {
  background: #0f0f25;
  border: 1px solid #1a1a3a;
  border-radius: 8px;
  color: #e0d0ff;
  box-shadow: 0 0 1px rgba(0, 255, 255, 0.1);
}

[data-theme="neon-cyberpunk"] .card:hover {
  border-color: rgba(255, 45, 149, 0.3);
  box-shadow: 0 0 20px rgba(255, 45, 149, 0.08), 0 0 1px rgba(0, 255, 255, 0.2);
}

[data-theme="neon-cyberpunk"] .stat-card .stat-number {
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

[data-theme="neon-cyberpunk"] .stat-card .stat-icon {
  filter: drop-shadow(0 0 4px rgba(255, 45, 149, 0.4));
}

[data-theme="neon-cyberpunk"] .modal-content {
  background: #0f0f25;
  border: 1px solid #2a2a4a;
  border-radius: 8px;
  color: #e0d0ff;
  box-shadow: 0 0 40px rgba(255, 45, 149, 0.1), 0 0 80px rgba(0, 0, 0, 0.5);
}

[data-theme="neon-cyberpunk"] table {
  background: #0f0f25;
  color: #e0d0ff;
}

[data-theme="neon-cyberpunk"] th {
  background: #12122a;
  color: #00ffff;
  border-bottom: 1px solid #ff2d95;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.3);
}

[data-theme="neon-cyberpunk"] td {
  border-bottom: 1px solid #1a1a3a;
}

[data-theme="neon-cyberpunk"] tr:hover {
  background: rgba(255, 45, 149, 0.06);
}

[data-theme="neon-cyberpunk"] input,
[data-theme="neon-cyberpunk"] select,
[data-theme="neon-cyberpunk"] textarea {
  background: #0a0a18;
  color: #e0d0ff;
  border: 1px solid #2a2a4a;
  border-radius: 4px;
}

[data-theme="neon-cyberpunk"] input:focus,
[data-theme="neon-cyberpunk"] select:focus,
[data-theme="neon-cyberpunk"] textarea:focus {
  border-color: #ff2d95;
  box-shadow: 0 0 0 2px rgba(255, 45, 149, 0.15), 0 0 10px rgba(255, 45, 149, 0.1);
  outline: none;
}

[data-theme="neon-cyberpunk"] input::placeholder {
  color: #4a4a6a;
}

[data-theme="neon-cyberpunk"] .btn-primary {
  background: #ff2d95;
  color: white;
  border: none;
  box-shadow: 0 0 10px rgba(255, 45, 149, 0.3);
}

[data-theme="neon-cyberpunk"] .btn-primary:hover {
  background: #ff50a8;
  box-shadow: 0 0 20px rgba(255, 45, 149, 0.5);
}

[data-theme="neon-cyberpunk"] .btn-success {
  background: #00e68a;
  color: #0a0a1a;
  border: none;
  box-shadow: 0 0 8px rgba(0, 230, 138, 0.2);
}

[data-theme="neon-cyberpunk"] .btn-danger {
  background: #ff3333;
  color: white;
  border: none;
  box-shadow: 0 0 8px rgba(255, 51, 51, 0.2);
}

[data-theme="neon-cyberpunk"] .btn {
  border: 1px solid #2a2a4a;
  border-radius: 4px;
}

[data-theme="neon-cyberpunk"] .calendar-container {
  background: #0f0f25;
  border: 1px solid #1a1a3a;
  color: #e0d0ff;
}

[data-theme="neon-cyberpunk"] .welcome-banner {
  background: linear-gradient(135deg, rgba(255, 45, 149, 0.08), rgba(0, 255, 255, 0.05)) !important;
  border: 1px solid #2a2a4a !important;
  border-left: 4px solid #ff2d95 !important;
}

[data-theme="neon-cyberpunk"] h1, [data-theme="neon-cyberpunk"] h2, [data-theme="neon-cyberpunk"] h3 {
  color: #f0e0ff;
}

[data-theme="neon-cyberpunk"] h1 {
  text-shadow: 0 0 15px rgba(255, 45, 149, 0.15);
}

[data-theme="neon-cyberpunk"] label {
  color: #8888aa;
}

[data-theme="neon-cyberpunk"] ::selection {
  background: rgba(255, 45, 149, 0.35);
  color: white;
}

[data-theme="neon-cyberpunk"] ::-webkit-scrollbar {
  width: 8px;
}
[data-theme="neon-cyberpunk"] ::-webkit-scrollbar-track {
  background: #0a0a1a;
}
[data-theme="neon-cyberpunk"] ::-webkit-scrollbar-thumb {
  background: #2a2a4a;
  border-radius: 4px;
}
[data-theme="neon-cyberpunk"] ::-webkit-scrollbar-thumb:hover {
  background: #ff2d95;
}

/* ========== THEME 12: RETRO TERMINAL ========== */
[data-theme="retro-terminal"] {
  --color-primary: #00ff41;
  --color-primary-dark: #00cc33;
  --color-primary-light: rgba(0, 255, 65, 0.1);
  --color-secondary: #0a0a0a;
  --color-secondary-dark: #000000;
  --theme-gradient: linear-gradient(135deg, #000000 0%, #0a1a0a 50%, #000000 100%);
  --theme-name: "Retro Terminal";
}

[data-theme="retro-terminal"] body {
  background: #0a0a0a;
  color: #00ff41;
  font-family: 'Courier New', 'Lucida Console', monospace;
}

[data-theme="retro-terminal"] * {
  font-family: 'Courier New', 'Lucida Console', monospace !important;
}

[data-theme="retro-terminal"] .sidebar {
  background: #050505;
  border-right: 1px solid #003300;
}

[data-theme="retro-terminal"] .logo {
  background: #000000;
  border-bottom: 1px solid #00ff41;
  box-shadow: 0 1px 0 #003300;
}

[data-theme="retro-terminal"] .nav-item {
  border-radius: 0;
  margin: 0 4px;
  padding-left: 12px;
  transition: all 0.1s;
  font-size: 13px;
}

[data-theme="retro-terminal"] .nav-item::before {
  content: '> ';
  color: #005500;
}

[data-theme="retro-terminal"] .nav-item:hover {
  background: rgba(0, 255, 65, 0.05) !important;
  color: #00ff41 !important;
}

[data-theme="retro-terminal"] .nav-item:hover::before {
  color: #00ff41;
}

[data-theme="retro-terminal"] .nav-item.active {
  background: rgba(0, 255, 65, 0.1) !important;
  color: #00ff41 !important;
  border-left: 2px solid #00ff41;
}

[data-theme="retro-terminal"] .nav-item.active::before {
  content: '$ ';
  color: #00ff41;
}

[data-theme="retro-terminal"] .header {
  background: #050505;
  border-bottom: 1px solid #003300;
  color: #00ff41;
}

[data-theme="retro-terminal"] .card,
[data-theme="retro-terminal"] .stat-card {
  background: #0a0a0a;
  border: 1px solid #003300;
  border-radius: 0;
  color: #00ff41;
  box-shadow: none;
}

[data-theme="retro-terminal"] .card::before {
  content: '┌─────────────────────┐';
  display: none;
}

[data-theme="retro-terminal"] .stat-card .stat-number {
  color: #00ff41;
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.5);
  font-weight: bold;
}

[data-theme="retro-terminal"] .modal-content {
  background: #0a0a0a;
  border: 1px solid #00ff41;
  border-radius: 0;
  color: #00ff41;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.1), inset 0 0 60px rgba(0, 255, 65, 0.02);
}

[data-theme="retro-terminal"] table {
  background: #0a0a0a;
  color: #00ff41;
  border-collapse: collapse;
}

[data-theme="retro-terminal"] th {
  background: #001a00;
  color: #00ff41;
  border-bottom: 1px solid #00ff41;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
}

[data-theme="retro-terminal"] td {
  border-bottom: 1px solid #0a1a0a;
}

[data-theme="retro-terminal"] tr:hover {
  background: rgba(0, 255, 65, 0.05);
}

[data-theme="retro-terminal"] input,
[data-theme="retro-terminal"] select,
[data-theme="retro-terminal"] textarea {
  background: #000000;
  color: #00ff41;
  border: 1px solid #003300;
  border-radius: 0;
  caret-color: #00ff41;
}

[data-theme="retro-terminal"] input:focus,
[data-theme="retro-terminal"] select:focus,
[data-theme="retro-terminal"] textarea:focus {
  border-color: #00ff41;
  box-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
  outline: none;
}

[data-theme="retro-terminal"] input::placeholder {
  color: #005500;
}

[data-theme="retro-terminal"] .btn {
  border: 1px solid #003300;
  border-radius: 0;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}

[data-theme="retro-terminal"] .btn-primary {
  background: transparent;
  color: #00ff41;
  border: 1px solid #00ff41;
}

[data-theme="retro-terminal"] .btn-primary:hover {
  background: #00ff41;
  color: #000000;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
}

[data-theme="retro-terminal"] .btn-success {
  background: transparent;
  color: #00ff41;
  border: 1px solid #00ff41;
}

[data-theme="retro-terminal"] .btn-success:hover {
  background: #00ff41;
  color: #000000;
}

[data-theme="retro-terminal"] .btn-danger {
  background: transparent;
  color: #ff3333;
  border: 1px solid #ff3333;
}

[data-theme="retro-terminal"] .btn-danger:hover {
  background: #ff3333;
  color: #000000;
}

[data-theme="retro-terminal"] .calendar-container {
  background: #0a0a0a;
  border: 1px solid #003300;
  color: #00ff41;
}

[data-theme="retro-terminal"] .welcome-banner {
  background: #000000 !important;
  border: 1px solid #003300 !important;
  border-left: 3px solid #00ff41 !important;
}

[data-theme="retro-terminal"] h1, [data-theme="retro-terminal"] h2, [data-theme="retro-terminal"] h3 {
  color: #00ff41;
  text-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
}

[data-theme="retro-terminal"] h1::before {
  content: '// ';
  color: #005500;
}

[data-theme="retro-terminal"] label {
  color: #008800;
}

[data-theme="retro-terminal"] ::selection {
  background: #00ff41;
  color: #000000;
}

[data-theme="retro-terminal"] ::-webkit-scrollbar {
  width: 6px;
}
[data-theme="retro-terminal"] ::-webkit-scrollbar-track {
  background: #000000;
}
[data-theme="retro-terminal"] ::-webkit-scrollbar-thumb {
  background: #003300;
}
[data-theme="retro-terminal"] ::-webkit-scrollbar-thumb:hover {
  background: #00ff41;
}

/* Scanline-Effekt */
[data-theme="retro-terminal"] body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15) 0px,
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 9999;
}

/* ========== THEME 13: TOKYO NIGHT ========== */
[data-theme="tokyo-night"] {
  --color-primary: #7aa2f7;
  --color-primary-dark: #3d59a1;
  --color-primary-light: rgba(122, 162, 247, 0.1);
  --color-secondary: #1a1b26;
  --color-secondary-dark: #13141c;
  --theme-gradient: linear-gradient(135deg, #1a1b26 0%, #24283b 50%, #1a1b26 100%);
  --theme-name: "Tokyo Night";
}

[data-theme="tokyo-night"] body {
  background: #1a1b26;
  color: #a9b1d6;
}

[data-theme="tokyo-night"] .sidebar {
  background: #16161e;
  border-right: 1px solid #292e42;
}

[data-theme="tokyo-night"] .logo {
  background: #13141c;
  border-bottom: 1px solid #292e42;
}

[data-theme="tokyo-night"] .nav-item {
  border-radius: 6px;
  margin: 2px 8px;
  color: #565f89;
  transition: all 0.2s;
}

[data-theme="tokyo-night"] .nav-item:hover {
  background: rgba(122, 162, 247, 0.08) !important;
  color: #c0caf5 !important;
}

[data-theme="tokyo-night"] .nav-item.active {
  background: rgba(122, 162, 247, 0.12) !important;
  color: #7aa2f7 !important;
  border-left: 3px solid #7aa2f7;
}

[data-theme="tokyo-night"] .header {
  background: #16161e;
  border-bottom: 1px solid #292e42;
  color: #a9b1d6;
}

[data-theme="tokyo-night"] .card,
[data-theme="tokyo-night"] .stat-card {
  background: #1f2335;
  border: 1px solid #292e42;
  border-radius: 10px;
  color: #a9b1d6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

[data-theme="tokyo-night"] .card:hover {
  border-color: #3d59a1;
}

[data-theme="tokyo-night"] .stat-card .stat-number {
  color: #7aa2f7;
}

[data-theme="tokyo-night"] .modal-content {
  background: #1f2335;
  border: 1px solid #292e42;
  border-radius: 12px;
  color: #a9b1d6;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

[data-theme="tokyo-night"] table {
  background: #1f2335;
  color: #a9b1d6;
}

[data-theme="tokyo-night"] th {
  background: #24283b;
  color: #7aa2f7;
  border-bottom: 1px solid #292e42;
  font-size: 12px;
}

[data-theme="tokyo-night"] td {
  border-bottom: 1px solid #292e42;
}

[data-theme="tokyo-night"] tr:hover {
  background: rgba(122, 162, 247, 0.05);
}

[data-theme="tokyo-night"] input,
[data-theme="tokyo-night"] select,
[data-theme="tokyo-night"] textarea {
  background: #1a1b26;
  color: #a9b1d6;
  border: 1px solid #292e42;
  border-radius: 6px;
}

[data-theme="tokyo-night"] input:focus,
[data-theme="tokyo-night"] select:focus,
[data-theme="tokyo-night"] textarea:focus {
  border-color: #7aa2f7;
  box-shadow: 0 0 0 2px rgba(122, 162, 247, 0.15);
  outline: none;
}

[data-theme="tokyo-night"] input::placeholder {
  color: #444b6a;
}

[data-theme="tokyo-night"] .btn {
  border-radius: 6px;
  border: 1px solid #292e42;
}

[data-theme="tokyo-night"] .btn-primary {
  background: #7aa2f7;
  color: #1a1b26;
  border: none;
  font-weight: 600;
}

[data-theme="tokyo-night"] .btn-primary:hover {
  background: #89b4fa;
}

[data-theme="tokyo-night"] .btn-success {
  background: #9ece6a;
  color: #1a1b26;
  border: none;
}

[data-theme="tokyo-night"] .btn-danger {
  background: #f7768e;
  color: #1a1b26;
  border: none;
}

[data-theme="tokyo-night"] .calendar-container {
  background: #1f2335;
  border: 1px solid #292e42;
  color: #a9b1d6;
}

[data-theme="tokyo-night"] .welcome-banner {
  background: #1f2335 !important;
  border: 1px solid #292e42 !important;
  border-left: 4px solid #7aa2f7 !important;
}

[data-theme="tokyo-night"] h1, [data-theme="tokyo-night"] h2, [data-theme="tokyo-night"] h3 {
  color: #c0caf5;
}

[data-theme="tokyo-night"] label {
  color: #565f89;
}

[data-theme="tokyo-night"] a {
  color: #7aa2f7;
}

[data-theme="tokyo-night"] ::selection {
  background: rgba(122, 162, 247, 0.3);
  color: #c0caf5;
}

[data-theme="tokyo-night"] ::-webkit-scrollbar {
  width: 8px;
}
[data-theme="tokyo-night"] ::-webkit-scrollbar-track {
  background: #1a1b26;
}
[data-theme="tokyo-night"] ::-webkit-scrollbar-thumb {
  background: #292e42;
  border-radius: 4px;
}
[data-theme="tokyo-night"] ::-webkit-scrollbar-thumb:hover {
  background: #3d59a1;
}

/* ========== THEME 14: WINDOWS 95 ========== */
[data-theme="win95"] {
  --color-primary: #000080;
  --color-primary-dark: #000060;
  --color-primary-light: #c0c0c0;
  --color-secondary: #c0c0c0;
  --color-secondary-dark: #808080;
  --theme-gradient: linear-gradient(135deg, #008080 0%, #000080 100%);
  --theme-name: "Windows 95";
}

[data-theme="win95"] body {
  background: #008080;
  color: #000000;
  font-family: 'MS Sans Serif', 'Microsoft Sans Serif', Tahoma, Geneva, sans-serif;
}

[data-theme="win95"] * {
  font-family: 'MS Sans Serif', 'Microsoft Sans Serif', Tahoma, Geneva, sans-serif !important;
  border-radius: 0 !important;
}

[data-theme="win95"] .sidebar {
  background: #c0c0c0;
  border-right: none;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #808080;
  box-shadow: inset -2px -2px 0 #808080, inset 2px 2px 0 #ffffff;
}

[data-theme="win95"] .logo {
  background: #000080;
  color: white;
  font-weight: bold;
  border-bottom: none;
  box-shadow: none;
  padding: 4px 8px;
}

[data-theme="win95"] .nav-item {
  margin: 1px 4px;
  padding: 4px 8px;
  color: #000000;
  font-size: 13px;
  border: none;
}

[data-theme="win95"] .nav-item:hover {
  background: #000080 !important;
  color: #ffffff !important;
}

[data-theme="win95"] .nav-item.active {
  background: #000080 !important;
  color: #ffffff !important;
  border-left: none;
  font-weight: bold;
}

[data-theme="win95"] .header {
  background: #c0c0c0;
  border-bottom: none;
  color: #000000;
  box-shadow: inset 0 2px 0 #ffffff, inset 0 -2px 0 #808080;
}

[data-theme="win95"] .card,
[data-theme="win95"] .stat-card {
  background: #c0c0c0;
  color: #000000;
  border: none;
  box-shadow: inset -2px -2px 0 #808080, inset 2px 2px 0 #ffffff, inset -4px -4px 0 #404040, inset 4px 4px 0 #dfdfdf;
  padding: 16px;
}

[data-theme="win95"] .card:hover {
  box-shadow: inset -2px -2px 0 #808080, inset 2px 2px 0 #ffffff, inset -4px -4px 0 #404040, inset 4px 4px 0 #dfdfdf;
}

[data-theme="win95"] .stat-card .stat-number {
  color: #000080;
  font-weight: bold;
}

[data-theme="win95"] .modal-content {
  background: #c0c0c0;
  color: #000000;
  border: none;
  box-shadow: inset -2px -2px 0 #404040, inset 2px 2px 0 #dfdfdf, 4px 4px 0 rgba(0,0,0,0.3);
}

[data-theme="win95"] .modal-header {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: white !important;
  padding: 4px 8px !important;
  margin: -1px -1px 10px -1px;
}

[data-theme="win95"] .modal-header h2,
[data-theme="win95"] .modal-header h3 {
  color: white !important;
  font-size: 13px !important;
  font-weight: bold;
}

[data-theme="win95"] .modal-close {
  background: #c0c0c0 !important;
  color: #000 !important;
  border: none !important;
  box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #ffffff !important;
  width: 16px !important;
  height: 16px !important;
  font-size: 10px !important;
  line-height: 14px !important;
  padding: 0 !important;
}

[data-theme="win95"] .modal-close:hover {
  box-shadow: inset -1px -1px 0 #ffffff, inset 1px 1px 0 #808080 !important;
}

[data-theme="win95"] table {
  background: #ffffff;
  color: #000000;
  border: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
}

[data-theme="win95"] th {
  background: #c0c0c0;
  color: #000000;
  border-bottom: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  font-weight: bold;
  font-size: 12px;
  box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #ffffff;
}

[data-theme="win95"] td {
  border-bottom: 1px solid #c0c0c0;
}

[data-theme="win95"] tr:hover {
  background: #000080;
  color: #ffffff;
}

[data-theme="win95"] input,
[data-theme="win95"] select,
[data-theme="win95"] textarea {
  background: #ffffff;
  color: #000000;
  border: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  padding: 3px 5px;
  font-size: 13px;
}

[data-theme="win95"] input:focus,
[data-theme="win95"] select:focus,
[data-theme="win95"] textarea:focus {
  outline: 1px dotted #000000;
  border-color: #808080 #ffffff #ffffff #808080;
  box-shadow: none;
}

[data-theme="win95"] input::placeholder {
  color: #808080;
}

[data-theme="win95"] .btn {
  background: #c0c0c0;
  color: #000000;
  border: none;
  box-shadow: inset -2px -2px 0 #808080, inset 2px 2px 0 #ffffff, inset -3px -3px 0 #404040, inset 3px 3px 0 #dfdfdf;
  padding: 4px 16px;
  font-size: 12px;
  font-weight: normal;
  min-width: 75px;
  text-align: center;
}

[data-theme="win95"] .btn:hover {
  background: #d0d0d0;
}

[data-theme="win95"] .btn:active {
  box-shadow: inset 2px 2px 0 #808080, inset -2px -2px 0 #ffffff, inset 3px 3px 0 #404040, inset -3px -3px 0 #dfdfdf;
}

[data-theme="win95"] .btn-primary {
  background: #c0c0c0;
  color: #000000;
  border: 1px dotted #000000;
  box-shadow: inset -2px -2px 0 #808080, inset 2px 2px 0 #ffffff;
}

[data-theme="win95"] .btn-success {
  background: #c0c0c0;
  color: #000000;
  box-shadow: inset -2px -2px 0 #808080, inset 2px 2px 0 #ffffff;
}

[data-theme="win95"] .btn-danger {
  background: #c0c0c0;
  color: #ff0000;
  box-shadow: inset -2px -2px 0 #808080, inset 2px 2px 0 #ffffff;
}

[data-theme="win95"] .calendar-container {
  background: #c0c0c0;
  border: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  color: #000000;
}

[data-theme="win95"] .welcome-banner {
  background: #c0c0c0 !important;
  border: none !important;
  box-shadow: inset -2px -2px 0 #808080, inset 2px 2px 0 #ffffff !important;
}

[data-theme="win95"] h1, [data-theme="win95"] h2, [data-theme="win95"] h3 {
  color: #000000;
  font-weight: bold;
}

[data-theme="win95"] label {
  color: #000000;
  font-size: 12px;
}

[data-theme="win95"] ::selection {
  background: #000080;
  color: #ffffff;
}

[data-theme="win95"] ::-webkit-scrollbar {
  width: 16px;
}
[data-theme="win95"] ::-webkit-scrollbar-track {
  background: #c0c0c0;
  border: 1px solid #808080;
}
[data-theme="win95"] ::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  box-shadow: inset -2px -2px 0 #808080, inset 2px 2px 0 #ffffff;
}
[data-theme="win95"] ::-webkit-scrollbar-button {
  background: #c0c0c0;
  box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #ffffff;
  height: 16px;
}

/* ========== THEME PREVIEW CARDS ========== */
.theme-preview {
  width: 100%;
  height: 80px;
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.3s;
  border: 3px solid transparent;
  overflow: hidden;
  position: relative;
}

.theme-preview:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.theme-preview.active {
  border-color: #27ae60;
  box-shadow: 0 0 0 2px #27ae60;
}

.theme-preview.active::after {
  content: "✓";
  position: absolute;
  top: 5px;
  right: 5px;
  background: #27ae60;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.theme-preview-1 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.theme-preview-2 {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.theme-preview-3 {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.theme-preview-4 {
  background: linear-gradient(135deg, #a8edea 0%, #6dd5ed 100%);
}

.theme-preview-5 {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.theme-preview-6 {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.theme-preview-7 {
  background: linear-gradient(135deg, #667eea 0%, #43a047 100%);
}

.theme-preview-8 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.theme-preview-9 {
  background: linear-gradient(135deg, #434343 0%, #000000 100%);
}

.theme-preview-10 {
  background: linear-gradient(135deg, #bdc3c7 0%, #2c3e50 100%);
}

.theme-preview-11 {
  background: #0a0a1a;
  position: relative;
  overflow: hidden;
}
.theme-preview-11::before {
  content: 'NEON';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ff2d95;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 6px;
  text-shadow: 0 0 10px #ff2d95, 0 0 20px #ff2d95, 0 0 40px #ff2d95;
}
.theme-preview-11::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff2d95, #00ffff, #ff2d95);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.theme-preview-12 {
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}
.theme-preview-12::before {
  content: '>_ TERMINAL';
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #00ff41;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.6);
  letter-spacing: 2px;
}
.theme-preview-12::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(0deg, rgba(0,255,65,0.03) 0px, rgba(0,255,65,0.03) 1px, transparent 1px, transparent 3px);
  pointer-events: none;
}

.theme-preview-13 {
  background: #1a1b26;
  position: relative;
}
.theme-preview-13::before {
  content: '';
  position: absolute;
  top: 12px; left: 12px;
  width: 40%; height: 56px;
  background: #1f2335;
  border: 1px solid #292e42;
  border-radius: 6px;
}
.theme-preview-13::after {
  content: '';
  position: absolute;
  top: 12px; right: 12px;
  width: 40%; height: 25px;
  background: #7aa2f7;
  border-radius: 4px;
  box-shadow: 0 28px 0 #9ece6a, -60px 28px 0 #f7768e;
}

.theme-preview-14 {
  background: #008080;
  position: relative;
  overflow: hidden;
}
.theme-preview-14::before {
  content: '';
  position: absolute;
  top: 6px; left: 10px; right: 10px;
  height: 16px;
  background: linear-gradient(90deg, #000080, #1084d0);
  box-shadow: inset -1px -1px 0 #404040, inset 1px 1px 0 #dfdfdf;
}
.theme-preview-14::after {
  content: '';
  position: absolute;
  top: 26px; left: 10px; right: 10px; bottom: 6px;
  background: #c0c0c0;
  box-shadow: inset -2px -2px 0 #808080, inset 2px 2px 0 #ffffff;
}

.theme-name-label {
  position: absolute;
  bottom: 5px;
  left: 10px;
  color: white;
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* ========== THEME SELECTOR MODAL ========== */
.theme-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.theme-card {
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s;
}

.theme-card:hover {
  transform: translateY(-5px);
}

.theme-description {
  margin-top: 10px;
  font-size: 13px;
  color: #7f8c8d;
}

/* ========== SMOOTH THEME TRANSITIONS ========== */
:root,
body,
.sidebar,
.header,
.card,
.modal-content,
input,
select,
textarea,
button {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
