/* NUCLEAR DARK MODE - Override EVERYTHING */

/* Set dark background on EVERYTHING */
html.dark,
html.dark body,
html.dark * {
  background-color: #0f172a !important;
  color: #e2e8f0 !important;
  border-color: #334155 !important;
}

/* Navigation */
html.dark nav {
  background-color: #1e293b !important;
}

/* Buttons - keep their colors */
html.dark button,
html.dark .bg-blue-600,
html.dark .bg-blue-500,
html.dark .bg-green-600,
html.dark .bg-red-600,
html.dark .bg-purple-600,
html.dark [class*="bg-gradient-"] {
  background-color: revert !important;
  background-image: revert !important;
}

/* Forms */
html.dark input,
html.dark select, 
html.dark textarea {
  background-color: #1e293b !important;
  color: #f1f5f9 !important;
  border-color: #475569 !important;
}

/* Cards and sections - subtle dark */
html.dark [class*="rounded"],
html.dark [class*="shadow"] {
  background-color: #1e293b !important;
}

/* Tables */
html.dark table,
html.dark thead,
html.dark tbody,
html.dark tr,
html.dark th,
html.dark td {
  background-color: #0f172a !important;
  border-color: #334155 !important;
}

html.dark th {
  background-color: #1e293b !important;
}

html.dark tr:hover {
  background-color: #1e293b !important;
}

/* Hide decorative circles and blurs */
html.dark .absolute,
html.dark [class*="blur"] {
  opacity: 0 !important;
}

/* Icons keep their colors */
html.dark i,
html.dark svg {
  color: revert !important;
}
