/* /var/www/crash-platform/public/css/themes.css */

:root {
  --bg-primary: #07090f;
  --bg-secondary: #0f1320;
  --bg-tertiary: #1a2535;
  --accent: #f7c948;
  --accent-hover: #f7c948;
  --accent-text: #f7c948;
  --text-primary: #e0e0e0;
  --text-secondary: #b0b8c8;
  --text-muted: #7a8296;
  --win: #27ae60;
  --loss: #e74c3c;
  --in-game: #3498db;
  --border: #1a2035;
}

/* Classic Black */
body.theme-black {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #161616;
  --accent: #e5e5e5;
  --accent-hover: #d4d4d4;
  --accent-text: #ffffff;
  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --text-muted: #525252;
  --border: #1f1f1f;
}

body.theme-black .btn-primary,
body.theme-black .btn-primary:hover,
body.theme-black .mode-btn.active,
body.theme-black #navbar .player-dropdown-btn:hover,
body.theme-black #navbar .dropdown-menu a:hover,
body.theme-black #navbar .dropdown-menu button:hover,
body.theme-black .theme-btn.active,
body.theme-black .hist-pp-btn.active,
body.theme-black .nc-type-btn[style*="background:var(--accent)"],
body.theme-black .lby-btn-join,
body.theme-black .lby-btn-reg {
  color: #000000;
}

/* Dark theme: fix inline accent-bg buttons */
body.theme-black [style*="background:var(--accent)"],
body.theme-black [style*="background: var(--accent)"] {
  color: #000000 !important;
}

/* Dark theme: inputs and selects readable */
body.theme-black input,
body.theme-black select,
body.theme-black textarea {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

/* White */
body.theme-white {
  --bg-primary: #ffffff;
  --bg-secondary: #f3f4f6;
  --bg-tertiary: #e5e7eb;
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --accent-text: #6d28d9;
  --text-primary: #111827;
  --text-secondary: #374151;
  --text-muted: #9ca3af;
  --win: #16a34a;
  --loss: #dc2626;
  --in-game: #7c3aed;
  --border: #d1d5db;
}
