nav {
  background: #222;
  padding: 10px;
}

nav a {
  color: white;
  margin-right: 15px;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

#season-stats-table th {
    text-align: center;
}

#season-stats-table td {
    text-align: center;
}

#season-stats-table th:nth-child(1),
#season-stats-table td:nth-child(1) {
    text-align: left;
}

th {
    cursor: pointer;
    user-select: none;
    background: #1f2937;
    color: white;
    padding: 12px;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 100;
}
    
th:hover {
    background-color: #f2f2f2;
}

body {
    font-family: 'Inter', sans-serif;
}

.page-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 24px;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
}

.page-subtitle {
    color: #666;
    margin-bottom: 20px;
}

select {
    padding: 10px 14px;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    font-size: 14px;
    background: white;
}

select:hover {
    border-color: #888;
}

.filter-container {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stats-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

td {
    padding: 10px 12px;
    border-bottom: 1px solid #d1d5db;
}

table tr:hover td {
    background-color: #dbeafe;
    font-weight: 600;
}

.active-sort {
    color: gold;
}

tr:nth-child(odd) {
    background-color: #ffffff;
}

tr:nth-child(even) {
    background-color: #edf2f7;
}

#team-stats-table th:nth-child(n+6),
#team-stats-table td:nth-child(n+6) {
    text-align: center;
}