/* css/highscores.css */

.filters-container {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.filters-container .form-group {
    flex-grow: 1;
    margin-bottom: 0;
}

.scores-table-container {
    width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    overflow: hidden; /* Para que el borde redondeado afecte a la tabla */
}

#high-scores-table {
    width: 100%;
    border-collapse: collapse;
}

#high-scores-table th, #high-scores-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

#high-scores-table thead th {
    background-color: #e9ecef;
    font-weight: 600;
}

#high-scores-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

#high-scores-table tbody tr:hover {
    background-color: #f1f3f5;
}

#high-scores-table .rank-col {
    width: 15%;
    text-align: center;
    font-weight: bold;
}
#high-scores-table .name-col {
    width: 60%;
}
#high-scores-table .score-col {
    width: 25%;
    text-align: right;
    font-weight: 500;
}

.play-again-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.2s;
}
.play-again-btn:hover {
    background-color: #218838;
}