html[data-theme="dark"],
html[data-theme="dark"] body {
  background-color: #121212;
  color: #eee;
}

html[data-theme="dark"] .bg-light {
  background-color: #1e1e1e !important;
}

.sidebar-inner {
  height: calc(100vh - 56px);
  overflow-y: auto;
}

.nav-link.active {
  font-weight: bold;
  color: #0d6efd !important;
}

.predictions-table th,
.predictions-table td {
  white-space: nowrap;
}

.predictions-table .player-header {
  border-left: 2px solid rgba(0,0,0,0.15);
}

.predictions-table tbody tr td:nth-child(7) {
  border-left: 2px solid rgba(0,0,0,0.15); /* first player block separator */
}

.table-modern {
  border-collapse: separate;
  border-spacing: 0 0.5rem;
}

.table-modern tbody tr {
  background: #ffffff;
  border-radius: 8px;
}

html[data-theme="dark"] .table-modern tbody tr {
  background: #1c1c1c;
}

.table-modern td, .table-modern th {
  border: none !important;
  padding: 0.75rem 1rem !important;
}

.table-modern tbody tr td:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.table-modern tbody tr td:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.table-modern tbody tr:hover {
  transform: scale(1.01);
  transition: 0.1s ease;
}

/* ===========================
   STYLE 3 — PREDICTION GRID
   =========================== */

/* Boxed player headers */
.player-header {
  background: linear-gradient(180deg, #f8f9fa, #e9ecef);
  border-radius: 6px 6px 0 0;
  padding: 0.25rem 0.5rem;
  border: 1px solid #dee2e6;
}

html[data-theme="dark"] .player-header {
  background: linear-gradient(180deg, #2a2a2a, #1f1f1f);
  border-color: #444;
}

/* Slightly thickened grid lines */
.predictions-table th,
.predictions-table td {
  border: 1px solid #d8d8d8 !important;
}

html[data-theme="dark"] .predictions-table th,
html[data-theme="dark"] .predictions-table td {
  border: 1px solid #333 !important;
}

/* Player avatar circle */
.player-header img {
  border-radius: 50%;
  border: 2px solid #fff;
}

html[data-theme="dark"] .player-header img {
  border-color: #000;
}

/* Slight highlight for user columns (optional) */
.predictions-table .my-col {
  background-color: rgba(13, 110, 253, 0.08) !important;
  font-weight: 600;
}

html[data-theme="dark"] .predictions-table .my-col {
  background-color: rgba(13, 110, 253, 0.15) !important;
}

/* Improve vertical spacing and readability */
.predictions-table td {
  padding: 0.4rem 0.5rem !important;
}

.predictions-table th {
  padding: 0.35rem 0.5rem !important;
}

/* Make the top header row stand out */
.predictions-table thead:first-child tr:first-child th {
  border-bottom-width: 2px;
}
/* Golden star for bonus matches */
.bonus-star {
    color: #f1c40f; /* gold */
    font-size: 1.1rem;
    margin-right: 4px;
}

html[data-theme="dark"] .bonus-star {
    color: #f7d14c; /* slightly brighter gold for dark mode */
}

