/* Table Styles */
.player-list-container {
    width: 100%;
    margin-bottom: 3rem;
    overflow-x: auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.player-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .player-list-container {
        overflow-x: auto;
        /* Ensure horizontal scroll */
    }

    .player-table {
        min-width: 600px;
        /* Force minimum width to trigger scroll */
    }

    .player-table th,
    .player-table td {
        padding: 0.5rem;
    }
}

.player-table th,
.player-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.player-table th {
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    cursor: default;
}

.player-table tbody tr {
    transition: background-color 0.2s, transform 0.1s;
    cursor: pointer;
}

.player-table tbody tr:hover {
    background-color: rgba(102, 252, 241, 0.05);
}

.player-table .rank-col {
    width: 60px;
    text-align: center;
    font-weight: bold;
    color: var(--text-primary);
    opacity: 0.6;
}

.player-table .rank-1 {
    color: #FFD700;
    opacity: 1;
    font-size: 1.1em;
}

.player-table .player-info {
    display: flex;
    flex-direction: column;
}

.player-table .player-name {
    font-weight: bold;
    color: var(--text-highlight);
    font-size: 1rem;
}

.player-table .player-meta {
    font-size: 0.8rem;
    opacity: 0.7;
}

.player-table .stat-value {
    font-weight: bold;
    color: #fff;
    font-size: 1.05rem;
}

.player-table .gain-positive {
    color: #00FF96;
    font-size: 0.85rem;
    margin-left: 6px;
}

.player-table .text-right {
    text-align: right;
}

.player-table .center {
    text-align: center;
}