/* dark-mode.css - cod-ai.com */
html.dark {
  color-scheme: dark;
}
html.dark body {
  background: #0f172a;
  color: #e2e8f0;
}
html.dark header, html.dark nav {
  background: rgba(15,23,42,0.95) !important;
  border-color: #1e293b !important;
}
html.dark h1, html.dark h2, html.dark h3, html.dark h4 {
  color: #f1f5f9;
}
html.dark p, html.dark li, html.dark span {
  color: #94a3b8;
}
html.dark a:not([class]) {
  color: #0891b2;
}
html.dark .tool-card-v3, html.dark [class*="rounded"] {
  background: #1e293b !important;
  border-color: #334155 !important;
}
html.dark .tool-card-v3:hover {
  border-color: #0891b2 !important;
}
html.dark input, html.dark textarea, html.dark select {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}
html.dark input:focus, html.dark textarea:focus {
  border-color: #0891b2;
}
html.dark table {
  border-color: #334155;
}
html.dark th {
  background: #1e293b !important;
  color: #94a3b8;
  border-color: #334155 !important;
}
html.dark td {
  border-color: #1e293b !important;
  color: #cbd5e1;
}
html.dark pre, html.dark code {
  background: #1e293b;
}
html.dark [data-extras-v3] > div > div > div {
  background: #1e293b !important;
  border-color: #334155 !important;
}
html.dark [data-trust-v3] > div {
  border-color: #1e293b !important;
}
html.dark [data-testi-v3] > div:last-child > div {
  background: #1e293b !important;
  border-color: #334155 !important;
}
html.dark [data-cta-v3] {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
}
html.dark [data-cta-v3] h2 {
  color: #f1f5f9 !important;
}
html.dark [data-cta-v3] p {
  color: #64748b !important;
}
html.dark footer {
  background: #0f172a !important;
  border-color: #1e293b !important;
}
html.dark img {
  opacity: 0.9;
}
html.dark ::selection {
  background: rgba(8,145,178,0.3);
}
