.players-layout {
    display: grid;
    grid-template-columns: 6fr 5fr;
    gap: 24px;
    padding: 24px;
}

/* TABLE */
.players-table-section {
    background-color: #020617;
    border-radius: 12px;
    border: 1px solid #1e293b;
    overflow: hidden;
}

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

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

.players-table th,
.players-table td {
    padding: 14px 16px;
    text-align: left;
    font-size: 14px;
}

.players-table th {
    text-transform: uppercase;
    font-size: 12px;
    color: #93c5fd;
}

.players-table tbody tr {
    border-top: 1px solid #1e293b;
}

.players-table tbody tr:hover {
    background-color: #020617dd;
    cursor: pointer;
}

/* RIGHT SIDE */
.player-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background-color: #020617;
    border-radius: 12px;
    border: 1px solid #1e293b;
    padding: 16px;
}

.info-card h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 6px;
}

.info-card p {
    margin: 6px 0;
    font-size: 14px;
    color: #cbd5f5;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 6px 0;
    font-size: 14px;
    border-bottom: 1px solid #1e293b;
    color: #cbd5f5;
}

.info-list li:last-child {
    border-bottom: none;
}

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

.info-card table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Arial', sans-serif;
    margin-top: 10px;
    table-layout: fixed; 
    box-shadow: 0 2px 6px rgba(0,0,0,0.1); 
    border-radius: 8px;
    overflow: hidden;
}

.info-card th {
    background-color: #1f2937; 
    color: #f9fafb;
    font-weight: 600;
    padding: 12px 10px;
    text-align: left;
    border-bottom: 2px solid #e5e7eb;
}

.info-card td {
    padding: 10px;
    border-bottom: 1px solid #e5e7eb; 
    text-align: left;
}

.info-card td:nth-child(1) { width: 5%; } 
.info-card td:nth-child(2) { width: 15%; } 
.info-card td:nth-child(3) { width: 50%; } 
.info-card td:nth-child(4) { width: 30%; } 


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

.table-container {
    padding: 24px;
    display: grid;
    grid-template-columns: 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;
}

/* =========================
   TABLE 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 HELPERS
========================= */

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

/* =========================
   COLUMN WIDTHS
========================= */

.players-table th:nth-child(1),
.players-table td:nth-child(1) {
    width: 20%;
}

.players-table th:nth-child(2),
.players-table td:nth-child(2) {
    width: 20%;
}

.players-table th:nth-child(3),
.players-table td:nth-child(3),
.players-table th:nth-child(4),
.players-table td:nth-child(4) {
    width: 30%;
}

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

.clickable-row {
    cursor: pointer;
}

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

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

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

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



