#ranking {
    /*background: #e8f0fe;*/
    /*                border-radius: 12px;
                    padding: 20px;
                    max-width: 900px;
                    margin: auto;
                    font-family: 'Segoe UI', sans-serif;*/
    color: #2c3e50;
}

#ranking h2 {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    color: #eee;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.filters input, .filters select {
    padding: 8px 12px;
    /*border: 1px solid #ccc;*/
    border-radius: 8px;
    font-size: 15px;
    width: 220px;
    max-width: 100%;
    background: white;
}

.table-responsive {
    overflow-x: auto;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
}

.ranking-table thead tr {
    background-color: #dce6f5;
    font-weight: bold;
}

.ranking-table th, .ranking-table td {
    text-align: left;
    padding: 12px 15px;
    border-bottom: 1px solid #d0d0d0;
}

.ranking-table .green {
    color: #2ecc71;
    font-weight: 600;
    /*border: none;*/
}

.ranking-table .orange {
    color: #e67e22;
    font-weight: 600;
}

.first-place td {
    background-color: #c8f7c5;
    font-weight: 700;
    color: #1e8449;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.pagination button {
    background: #2980b9;
    border: none;
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.pagination button:hover {
    background: #2471a3;
}

.pagination span {
    font-size: 16px;
    color: #2c3e50;
}

@media (max-width: 600px) {
    .ranking-table th, .ranking-table td {
        padding: 10px;
        font-size: 14px;
    }

    .filters {
        flex-direction: column;
        align-items: center;
    }
}