:root {
  --popup-bg: #21212182;
  --body-bg: #0f1419;
  --table-bg: rgba(24, 24, 27, 0.85);
  --table-header-bg: rgba(39, 39, 42, 0.8);
  --border: rgba(60, 60, 67, 0.4);
  --text: #e0e0e0;
  --highlight: #f472b6;
  --hover-cell-bg: #2b2b2f;
  --bonus: #00e676;
  --penalty: #ff5252;
}

.table-container {
  overflow-x: auto;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.4);
}

/* Base table layout */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  color: var(--text);
  min-width: 600px;
}

/* Header styles */
th {
  /* background-color: var(--table-header-bg); */
  color: #fff;
  padding: 0.75rem 1.2rem;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid var(--border);
}

/* Cell styles */
td {
  padding: 0.75rem 1.2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  transition: background 0.2s ease;
}

td.bonus {
  color: var(--bonus);
  font-weight: bold;
}

td.penalty {
  color: var(--penalty);
  font-weight: bold;
}

/* Hover effects */
tr:hover td {
  background-color: var(--hover-cell-bg);
}

/* Visual polish */
tr:last-child td {
  border-bottom: none;
}
