[data-bs-theme="light"] body {
  background-color: #f5f6fa;
}

.navbar-brand {
  font-weight: 600;
}

.card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.table th {
  font-weight: 600;
}

[data-bs-theme="light"] .bg-light {
  background-color: #e9ecef !important;
}

[data-bs-theme="light"] .form-control::placeholder {
  color: #c0c7cd !important;
  opacity: 1;
}

/* --- GitHub Dark Dimmed --- */

[data-bs-theme="dark"] {
  --bs-body-bg: #22272e;
  --bs-body-color: #adbac7;
  --bs-tertiary-bg: #2d333b;
  --bs-secondary-bg: #2d333b;
  --bs-border-color: #444c56;
  --bs-link-color: #539bf5;
  --bs-link-hover-color: #6cb6ff;
  --bs-emphasis-color: #cdd9e5;
}

[data-bs-theme="dark"] .navbar.bg-dark {
  background-color: #1c2128 !important;
  border-bottom: 1px solid #373e47;
}

[data-bs-theme="dark"] .card {
  background-color: #2d333b;
  border-color: #444c56;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: #2d333b;
  --bs-table-hover-bg: #343b44;
  --bs-table-border-color: #373e47;
  color: #adbac7;
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
  background-color: #22272e;
  border-color: #444c56;
  color: #adbac7;
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
  background-color: #22272e;
  border-color: #539bf5;
  color: #adbac7;
  box-shadow: 0 0 0 0.25rem rgba(83, 155, 245, 0.2);
}

[data-bs-theme="dark"] .form-control::placeholder {
  color: #545d68 !important;
  opacity: 1;
}

[data-bs-theme="dark"] .form-check-input {
  background-color: #22272e;
  border-color: #444c56;
}

[data-bs-theme="dark"] .form-text {
  color: #768390 !important;
}

[data-bs-theme="dark"] .text-muted {
  color: #768390 !important;
}

[data-bs-theme="dark"] code {
  color: #f47067;
  background-color: #2d333b;
}

[data-bs-theme="dark"] .bg-light {
  background-color: #2d333b !important;
}

[data-bs-theme="dark"] pre {
  color: #adbac7;
}

[data-bs-theme="dark"] .btn-outline-primary {
  --bs-btn-color: #539bf5;
  --bs-btn-border-color: #539bf5;
  --bs-btn-hover-bg: #539bf5;
  --bs-btn-hover-border-color: #539bf5;
}

[data-bs-theme="dark"] .btn-outline-secondary {
  --bs-btn-color: #768390;
  --bs-btn-border-color: #444c56;
  --bs-btn-hover-bg: #343b44;
  --bs-btn-hover-border-color: #768390;
  --bs-btn-hover-color: #adbac7;
}

[data-bs-theme="dark"] .btn-primary {
  --bs-btn-bg: #347d39;
  --bs-btn-border-color: #347d39;
  --bs-btn-hover-bg: #46954a;
  --bs-btn-hover-border-color: #46954a;
}

[data-bs-theme="dark"] footer {
  color: #545d68 !important;
}

[data-bs-theme="dark"] .alert {
  border-color: #444c56;
}
