﻿.ranking-header {
    background: linear-gradient(135deg, #2c3e50, #4a6491);
    color: white;
    padding: 2rem 0;
    border-bottom: 5px solid #e74c3c;
}

.ranking-header h1 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.accordion-button {
    font-weight: 600;
    background-color: #ecf0f1;
    color: #2c3e50;
}

.accordion-button:not(.collapsed) {
    background-color: #9b59b6;
    color: white;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-item {
    border-left: none;
    border-right: none;
    border-radius: 0 !important;
}

.accordion-item:first-of-type {
    border-top: none;
}

.accordion-button {
    border-radius: 0 !important;
}

.accordion-button:focus {
    border-color: rgba(155, 89, 182, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(155, 89, 182, 0.25);
}

.table th {
    background-color: #2c3e50;
    color: white;
}

.table-hover tbody tr:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

.medal {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
    text-align: center;
    line-height: 24px;
    font-size: 0.8rem;
    color: white;
    font-weight: bold;
}

.gold {
    background-color: #ffd700;
    color: #000;
}

.silver {
    background-color: #c0c0c0;
    color: #000;
}

.bronze {
    background-color: #cd7f32;
    color: #fff;
}
