/* Общий контейнер */
.rating-container {
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

/* Общие стили таблицы */
.rating-table {
    width: 100%;
    max-width: 1000px;
    border-collapse: collapse;
    margin-top: 15px;
}

/* Заголовки и ячейки */
.rating-table th, .rating-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

/* Заголовки таблицы */
.rating-table th {
    background: #4A4A4A; /* Тёмно-серый фон */
    color: white; /* Белый текст */
    font-weight: bold;
    padding: 12px;
}

/* Выровнять "Федерацию" по левому краю */
.rating-table td:nth-child(2),
.rating-table th:nth-child(2) {
    text-align: left;
    padding-left: 15px; /* Добавляем небольшой отступ для красоты */
}

/* Флаг внутри "Федерации" */
.flag {
    width: 25px;
    height: 25px;
    margin-right: 5px;
    vertical-align: middle; /* Выравниваем по центру текста */
}

/* Переключатель сезонов */
.season-switch a {
    text-decoration: none;
    color: #F4860B;
    font-weight: bold;
}

/* Контейнер для ссылок-кнопок */
.season-switch {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 15px 0;
}

/* Оформление ссылок как кнопок */
.season-switch .season-btn {
    background: #F4860B;
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease;
}

/* Эффект при наведении */
.season-switch .season-btn:hover {
    background: #D97706;
}

/* Активный сезон */
.season-switch .season-btn.active {
    background: #C56A0A;
}


/* Адаптация таблицы для мобильных */
@media (max-width: 1000px) {
    .rating-table th, .rating-table td {
        padding: 10px; /* Оставляем комфортные отступы */
        font-size: 16px; /* НЕ уменьшаем текст, чтобы он был читаемым */
    }
}


/* Подменю */
.sub-menu {
    display: flex;
    justify-content: center;
    gap: 25px;
    background: #4A4A4A; /* Темно-серый фон */
    padding: 10px 0;
    margin-bottom: 15px;
    border-radius: 8px;
}

/* Кнопки подменю */
.sub-menu-btn {
    text-decoration: none;
    color: white; /* Обычный текст белый */
    font-size: 15px;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 5px;
    background: #3B3B3B; /* Чуть светлее фона */
    transition: background 0.3s ease, color 0.3s ease;
}

/* При наведении */
.sub-menu-btn:hover {
    background: #F4860B;
    color: white; /* Текст остается белым */
}

/* Активная кнопка */
.sub-menu-btn.active {
    background: #F4860B;
    color: white; /* Текст остается белым */
}


.text-green {
    color: #28a745; /* Зеленая стрелка вверх */
}

.text-red {
    color: #dc3545; /* Красная стрелка вниз */
}

.text-gray {
    color: #6c757d; /* Серый цвет (без изменений) */
}
