.table-standard {
    width: 100%;
}

.table-standard th,
.table-standard td {
    padding: 0.5rem;
}

.table-standard tbody tr:hover {
    background-color: hsl(var(--b3));
}

/* Simple progress bar styles */
.progress-stat {
    position: relative;
    width: 100%;
    height: 0.25rem;
    background-color: hsl(var(--b3));
    border-radius: 0.25rem;
    overflow: hidden;
}
.progress-stat-bar {
    height: 100%;
    background-color: hsl(var(--p));
}

.contract-timeline th,
.contract-timeline td {
    text-align: center;
}
.contract-timeline tbody tr.contract-active {
    font-weight: 600;
}

.player-averages-tight,
.player-averages-tight th,
.player-averages-tight td {
    white-space: normal !important;
}

.player-averages-tight th,
.player-averages-tight td {
    padding: 0.25rem 0.35rem;
}

.player-averages-tight th:not(:first-child),
.player-averages-tight td:not(:first-child) {
    text-align: center;
}

.player-averages-tight th:first-child,
.player-averages-tight td:first-child {
    text-align: left;
}

.stat-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.35rem;
    border-radius: 0.25rem;
    background-color: hsl(var(--b3));
    font-weight: 500;
}

/* Player list table readability */
.players-table-shell .table-standard {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0.75rem;
    overflow: hidden;
}

.players-table-shell .table-standard th,
.players-table-shell .table-standard td {
    color: #e8f4ff;
}

.players-table-shell .table-standard thead th {
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(232, 244, 255, 0.18);
}

.players-table-shell .table-standard tbody tr {
    background: rgba(6, 18, 32, 0.4);
    border-bottom: 1px solid rgba(232, 244, 255, 0.14);
}

.players-table-shell .table-standard tbody tr:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Stats leaders contrast */
.stats-leaders-table table {
    background: rgba(255, 255, 255, 0.04);
    color: #e8f4ff;
}

.stats-leaders-table thead tr {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.1));
    color: #0f172a;
    font-weight: 700;
}

.stats-leaders-table tbody tr {
    background: rgba(6, 18, 32, 0.35);
    border-bottom: 1px solid rgba(232, 244, 255, 0.12);
}

.stats-leaders-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #f8fbff;
}
