/* Dark theme via body.theme-dark */
body.theme-dark {
  background: #0f1216;
  color: #e6e8eb;
}

body.theme-dark .card {
  background: #141922;
  border-color: rgba(255,255,255,.08);
}

body.theme-dark .card-soft {
  border-color: rgba(255,255,255,.10);
  box-shadow: none;
}

body.theme-dark .btn-outline-secondary {
  color: #d7dbe0;
  border-color: rgba(255,255,255,.25);
}

body.theme-dark .nav-tabs .nav-link {
  color: rgba(255,255,255,.8);
}

body.theme-dark .nav-tabs .nav-link.active {
  background: #141922;
  border-color: rgba(255,255,255,.12) rgba(255,255,255,.12) #141922;
  color: #fff;
}

body.theme-dark .tab-content {
  background: #141922;
  border-color: rgba(255,255,255,.12);
}

body.theme-dark .form-control {
  background: #0f1216;
  color: #e6e8eb;
  border-color: rgba(255,255,255,.15);
}

body.theme-dark .form-control::placeholder {
  color: rgba(255,255,255,.45);
}

body.theme-dark .table {
  color: #e6e8eb;
}

body.theme-dark .table-wrap {
  border-color: rgba(255,255,255,.12);
}

body.theme-dark .sticky-head th {
  background: #141922;
  border-bottom-color: rgba(255,255,255,.18);
}

body.theme-dark .table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: rgba(255,255,255,.03);
}

body.theme-dark .table-hover > tbody > tr:hover > * {
  background-color: rgba(255,255,255,.06);
}

body.theme-dark .diff {
  background: rgba(255, 193, 7, 0.18) !important; /* приглушенный желтый */
}

body.theme-dark .badge.text-bg-light {
  background: rgba(255,255,255,.08) !important;
  color: rgba(255,255,255,.85) !important;
  border-color: rgba(255,255,255,.12) !important;
}