body { background: #0f172a; color: #e2e8f0; }
.navbar, .card { background: rgba(15,23,42,.85) !important; border: 1px solid rgba(148,163,184,.15); }
.form-control, .form-select { background: rgba(2,6,23,.65); color: #e2e8f0; border: 1px solid rgba(148,163,184,.25); }
.form-control:focus, .form-select:focus { box-shadow: none; border-color: rgba(56,189,248,.6); }
.btn-primary { background: #0284c7; border-color: #0284c7; }
.btn-primary:hover { background: #0369a1; border-color: #0369a1; }
.btn-outline-light { border-color: rgba(226,232,240,.4); }
.table { color: #e2e8f0; }
.table td, .table th { border-top-color: rgba(148,163,184,.15); }
.table thead th { color: #cbd5e1; border-bottom-color: rgba(148,163,184,.25); }
a { color: #38bdf8; text-decoration: none; }
a:hover { text-decoration: underline; }
.alert { border: 1px solid rgba(148,163,184,.2); background: rgba(2,6,23,.55); color: #e2e8f0; }
.small-muted { color: #94a3b8; }

label, .form-label, .form-check-label { color: #e2e8f0; }
.navbar-brand, .navbar-nav .nav-link { color: #e2e8f0 !important; }
.form-control::placeholder { color: rgba(226,232,240,.55); }


h1,h2,h3,h4,h5,h6 { color: #e2e8f0; }
.card h1,.card h2,.card h3,.card h4,.card h5,.card h6 { color: #e2e8f0; }
.text-muted, .text-body-secondary { color: rgba(226,232,240,.7) !important; }


/* Contrast fixes */
.card { color: #e2e8f0; }
.h1,.h2,.h3,.h4,.h5,.h6 { color: #e2e8f0 !important; }
.display-1,.display-2,.display-3,.display-4,.display-5,.display-6 { color: #e2e8f0 !important; }
.small, small, .small-muted { color: rgba(226,232,240,.78) !important; }
hr { border-color: rgba(148,163,184,.2); opacity: 1; }


/* Dark tables */
.table { 
  --bs-table-bg: transparent;
  --bs-table-color: #e2e8f0;
  --bs-table-border-color: rgba(148,163,184,.15);
  color: #e2e8f0;
}
.table thead th {
  background: rgba(2,6,23,.55) !important;
  color: #cbd5e1 !important;
  border-bottom-color: rgba(148,163,184,.25) !important;
}
.table tbody td { background: transparent !important; }
.table-striped>tbody>tr:nth-of-type(odd)>* { 
  --bs-table-accent-bg: rgba(2,6,23,.25);
}
