/* styles.css */

/* Body styling to provide more space and margin for the table */
body {
    margin: 20px;
    font-family: Arial, sans-serif;
}

/* Style the table header */
.table thead th {
    text-align: center;
    background-color: #343a40;
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
}

/* General table styling */
.table {
    width: 100%;
    max-width: 1600px; /* Adjusting to a larger maximum width */
    margin: 0 auto;
    border-collapse: collapse;
    overflow: hidden;
}

/* Setting styles for table cells */
.table td, .table th {
    padding: 10px;
    text-align: right;
    border: 1px solid #dddddd;
}

/* Left-align player names for better readability */
.table tbody td:nth-child(2) {
    text-align: left;
}

/* Make sure headers and cells align and have equal spacing */
.table td {
    vertical-align: middle;
    font-size: 0.9rem;
}

/* Ensuring text overflow doesn't break the structure */
.table td, .table th {
    white-space: nowrap;
}

/* Table borders and hover effects for better user experience */
.table tbody tr:hover {
    background-color: #f5f5f5;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

/* General container and header styling */
h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
}

p {
    font-size: 1rem;
    text-align: center;
    margin-top: -10px;
}

/* Set table row width for all rows uniformly */
.table tr {
    display: table-row;
    width: auto;
    table-layout: fixed;
}
