:root{
  --bg: #0b0d12;
  --panel: #121622;
  --panel2:#0f1320;
  --border:#26304a;
  --muted:#c6d1ea;   /* brighter “muted” */
  --text:#ffffff;    /* WHITE text */
}

body { background: var(--bg); color: var(--text); }

/* Links */
a { color: #86c5ff; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Navbar */
.navbar {
  border-bottom: 1px solid var(--border);
  background: rgba(15,19,32,.92) !important;
  backdrop-filter: blur(8px);
}
.navbar-brand { font-weight: 700; letter-spacing: .2px; color: #fff !important; }
.navbar .nav-link { color: #fff !important; opacity: .92; }
.navbar .nav-link:hover { opacity: 1; }
.dropdown-menu { background: #111522; border: 1px solid var(--border); }
.dropdown-item { color: #fff; }
.dropdown-item:hover { background: rgba(255,255,255,.06); }

/* Cards */
.card {
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  border: 1px solid var(--border);
  border-radius: 16px;
}
.card-title { margin-bottom: .25rem; color: #fff; }

.small-muted { color: var(--muted); }

/* Tables */
.table { color: #fff !important; --bs-table-bg: transparent; }
.table thead th {
  color: #fff !important;
  border-bottom: 1px solid var(--border) !important;
}
.table td, .table th {
  color: #fff !important;
  border-top: 1px solid rgba(38,48,74,.70) !important;
}
.table-striped>tbody>tr:nth-of-type(odd)>* {
  color: #fff !important;
  background-color: rgba(255,255,255,.03) !important;
}
.table-hover>tbody>tr:hover>* {
  color: #fff !important;
  background-color: rgba(255,255,255,.06) !important;
}

/* Forms + inputs */
label, .form-label, .form-text { color: #fff !important; }

.form-control, .form-select, textarea {
  background: rgba(8,10,15,.55) !important;
  color: #fff !important;
  border: 1px solid rgba(38,48,74,.85) !important;
  border-radius: 12px;
}
.form-control::placeholder { color: rgba(255,255,255,.65) !important; }
.form-control:focus, .form-select:focus {
  box-shadow: none;
  border-color: #4ea2ff !important;
}

/* Buttons */
.btn { border-radius: 12px; }
.btn-outline-light {
  border-color: rgba(255,255,255,.35) !important;
  color: #fff !important;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.10) !important;
}
.btn-danger { border-color: rgba(255,0,0,.25); }

/* Badge */
.badge-soft {
  background: rgba(134,197,255,.12);
  border: 1px solid rgba(134,197,255,.25);
  color: #fff;
  font-weight: 700;
}

/* KPI */
.kpi { font-size: 30px; font-weight: 900; line-height: 1; color: #fff; }

/* Alerts readable on dark */
.alert { border-radius: 14px; }
.alert-success { background: rgba(34,197,94,.15); border: 1px solid rgba(34,197,94,.35); color: #fff; }
.alert-danger  { background: rgba(239,68,68,.15); border: 1px solid rgba(239,68,68,.35); color: #fff; }

.standings-card{
  display: inline-block;
  width: auto;
  min-width: 420px;
  max-width: 650px;
}

.standings-wrapper{
  display: flex;
  justify-content: center;
  margin-top: 10px;
}