/* =========================
   TABLE LAYOUT
========================= */

.table-container {
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* =========================
   TABLE CARD
========================= */

.table-card {
    background-color: #020617;
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* =========================
   CARD HEADER
========================= */

.table-card h2 {
    margin: 0 0 16px 0;
    font-size: 22px;
    color: #38bdf8;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 10px;
}

/* =========================
   TABLE
========================= */

.players-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* =========================
   TABLE HEAD
========================= */

.players-table thead {
    background-color: #1e293b;
}

.players-table th {
    padding: 16px 18px;
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #93c5fd;
}

/* =========================
   TABLE BODY
========================= */

.players-table td {
    padding: 16px 18px;
    font-size: 14px;
    border-top: 1px solid #1e293b;
    word-wrap: break-word;
}

.players-table tbody tr:hover {
    background-color: #020617cc;
}

/* =========================
   ALIGNMENT
========================= */

.center {
    text-align: center;
    font-size: 18px;
}

/* =========================
   CLICKABLE ROWS
========================= */

.clickable-row {
    cursor: pointer;
}

.clickable-row:hover {
    background-color: #1e293b;
}

/* =========================
   GRAPH SUPPORT
========================= */

.graph-container {
    width: 100%;
    height: 320px;
    padding: 10px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
    .table-card {
        padding: 14px;
    }

    .players-table th,
    .players-table td {
        padding: 12px;
        font-size: 13px;
    }

    .center {
        font-size: 16px;
    }
}
