/* SKT per-page CSS: qualification */

/* from qualification.html */
body {
            font-family: 'Montserrat', sans-serif;
            background-color: #f8f9fa; 
            padding-top: 85px; /* Отступ для фиксированного навбара */
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        /* --- НАВИГАЦИЯ --- */
        .navbar-custom {
            background-color: #ffffff;
            transition: all 0.3s ease-in-out;
            padding-top: 0.8rem;
            padding-bottom: 0.8rem;
        }

        .navbar-scrolled {
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            border-bottom: 3px solid #d6322b; /* Красная полоса для страницы отбора */
        }

        .logo-icon {
            width: 46px;
            height: 46px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 1rem;
            color: white;
            background: linear-gradient(135deg, #4b6fb8 0%, #c14545 100%);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        .logo-title { font-size: 1.1rem; font-weight: 800; line-height: 1.1; color: #0b4c9e; }
        .logo-subtitle { font-size: 0.7rem; font-weight: 500; color: #6c757d; }

        .nav-link {
            font-size: 0.95rem;
            font-weight: 600;
            color: #343a40 !important;
            transition: color 0.2s ease;
        }
        .nav-link:hover { color: #d6322b !important; }

        /* --- ХЕДЕР ОТБОРОЧНОГО ТУРНИРА (КРАСНЫЙ) --- */
        .qualifying-hero {
            background-color: #d6322b; /* Красный цвет */
            color: #ffffff;
            padding: 4rem 0 3rem 0;
        }

        .badge-current {
            background-color: rgba(255, 255, 255, 0.2);
            color: #ffffff;
            font-weight: 500;
            font-size: 0.85rem;
            padding: 0.4rem 1rem;
        }

        .badge-main {
            background-color: #ffffff;
            color: #d6322b;
            font-weight: 800;
            font-size: 0.85rem;
            text-transform: uppercase;
            padding: 0.4rem 1rem;
            letter-spacing: 0.5px;
        }

        .hero-title {
            font-size: 3.5rem;
            font-weight: 800;
            letter-spacing: -1px;
            margin-top: 1.5rem;
            margin-bottom: 2.5rem;
        }

        .info-icon { font-size: 1.8rem; color: rgba(255, 255, 255, 0.8); }
        .info-label { font-size: 0.8rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 0.1rem; }
        .info-value { font-weight: 700; font-size: 1.05rem; }

        /* --- СИНЯЯ ПЛАШКА-УВЕДОМЛЕНИЕ --- */
        .qualification-banner {
            background-color: #0b4c9e;
            color: #ffffff;
            padding: 1.5rem 0;
        }

        .qual-icon {
            font-size: 2.5rem;
            line-height: 1;
        }

        .qual-title {
            font-size: 1.25rem;
            font-weight: 800;
            margin-bottom: 0.2rem;
        }

        .qual-subtitle {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 0;
        }

        /* --- СЕКЦИЯ РЕГЛАМЕНТА --- */
        .regulations-section {
            background-color: #ffffff;
            padding: 2.5rem 0;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
            border-bottom: 1px solid #eaeaea;
        }

        .regulations-title { color: #0b4c9e; font-weight: 800; font-size: 1.5rem; margin-bottom: 0.25rem; }
        .regulations-subtitle { color: #6c757d; font-size: 0.95rem; margin-bottom: 0; }

        .btn-download {
            background-color: #d6322b;
            color: white;
            font-weight: 700;
            padding: 0.6rem 1.5rem;
            border-radius: 8px;
            border: none;
            transition: all 0.2s;
            box-shadow: 0 4px 12px rgba(214, 50, 43, 0.3);
        }
        .btn-download:hover {
            background-color: #bd2a24;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(214, 50, 43, 0.4);
        }

        @media (max-width: 768px) {
            .hero-title { font-size: 2.2rem; }
            .info-item { margin-bottom: 1.5rem; }
            .regulations-section { text-align: center; }
            .btn-download { margin-top: 1.5rem; width: 100%; }
            .qual-content { flex-direction: column; text-align: center; }
            .qual-icon { margin-bottom: 1rem; margin-right: 0 !important; }
        }

/* --- Секции "Судейская коллегия" и "Состав участников" --- */
.judges-section,
.participants-section {
    background-color: #f8f9fc;
    padding: 4rem 0;
}

.judges-title {
    color: #0b4c9e;
    font-weight: 800;
    font-size: 2.2rem;
    letter-spacing: -0.5px;
    margin-bottom: 3rem;
}

.judges-section .profile-card,
.participants-section .profile-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.judges-section .profile-card:hover,
.participants-section .profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.judges-section .profile-img,
.participants-section .profile-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center top;
}

.judges-section .profile-info,
.participants-section .profile-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.judges-section .profile-name,
.participants-section .profile-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 0.3rem;
}

.judges-section .profile-country,
.participants-section .profile-country {
    color: #0b4c9e;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.judges-section .profile-city,
.participants-section .profile-city {
    color: #4a5568;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.judges-section .profile-role,
.participants-section .profile-role {
    color: #718096;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .judges-title { font-size: 1.8rem; margin-bottom: 2rem; }
    .judges-section .profile-img,
    .participants-section .profile-img { height: 280px; }
}

        /* --- Секция "Критерии квалификации" --- */
.criteria-section {
    background-color: #f8f9fa; /* Тот же светло-серый фон, что и у body */
    padding: 5rem 0;
}

.criteria-title {
    color: #0b4c9e;
    font-weight: 800;
    font-size: 2.2rem;
    letter-spacing: -0.5px;
    margin-bottom: 3.5rem;
}

.criteria-card {
    background: #ffffff;
    border-radius: 16px; /* Заметное скругление углов как на макете */
    padding: 3rem 2.5rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border-top: 4px solid #d6322b; /* Красная акцентная полоса сверху */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.criteria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* Красный круг с цифрой */
.criteria-number {
    width: 64px;
    height: 64px;
    background-color: #d6322b;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.8rem;
}

.criteria-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 1rem;
}

.criteria-card-text {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .criteria-title { font-size: 1.8rem; margin-bottom: 2.5rem; }
    .criteria-card { padding: 2rem 1.5rem; }
}

/* --- Секция "Результаты отбора" --- */
.results-section {
    background-color: #ffffff;
    padding: 4rem 0 6rem 0; /* Немного увеличил нижний отступ перед футером */
    font-family: 'Montserrat', sans-serif;
}

.results-title {
    color: #0b4c9e;
    font-weight: 800;
    font-size: 2.2rem;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.results-subtitle {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 3rem;
}

.results-table-wrapper {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.results-table {
    margin-bottom: 0;
    white-space: nowrap;
}

/* Шапка таблицы */
.results-table thead th {
    font-weight: 700;
    font-size: 0.85rem;
    padding: 1.2rem 1rem;
    color: #ffffff !important;
    border: none;
}

.th-main { background-color: #0b4c9e !important; }
.th-lifts { background-color: #536b9f !important; }
.th-total { background-color: #d6322b !important; }

/* Ячейки */
.results-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    color: #2d3748;
    font-size: 0.95rem;
}

/* Цвета строк */
.results-table tbody tr.row-1st td { background-color: #f2f7fd !important; }
.results-table tbody tr.row-2nd-3rd td { background-color: #fef8e7 !important; }
.results-table tbody tr.row-other td { background-color: #ffffff !important; }

/* Колонка "Сумма" */
.results-table tbody tr.row-1st td.td-total, 
.results-table tbody tr.row-other td.td-total {
    background-color: #faeaea !important; 
}
.results-table tbody tr.row-2nd-3rd td.td-total {
    background-color: #fcefdc !important; 
}

/* Элементы */
.place-badge {
    width: 32px; height: 32px;
    background-color: #0b4c9e; color: #ffffff;
    border-radius: 50%; display: inline-flex;
    align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem;
}

.results-table .profile-img {
    width: 48px; height: 48px; min-width: 48px;
    border-radius: 50%; object-fit: cover;
    border: 2px solid #0b4c9e; padding: 2px;
    background-color: #fff; display: inline-block;
    color: transparent;
}

.results-table .profile-name { font-weight: 800; color: #1a202c; }
.lift-val { color: #0b4c9e !important; font-weight: 800; font-size: 1.05rem; }
.td-total { color: #d6322b !important; font-weight: 800; font-size: 1.15rem; }

@media (max-width: 768px) {
    .results-title { font-size: 1.8rem; }
}

/* --- Секция "Статус квалификации" (Градиентный баннер) --- */
.status-banner-section {
    background-color: #ffffff; /* Фон секции (продолжение белого фона от таблицы) */
    padding-bottom: 5rem;
}

.status-banner {
    background: linear-gradient(90deg, #0b4c9e 0%, #d6322b 100%);
    border-radius: 12px;
    padding: 2.5rem 3rem;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.status-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.status-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.status-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.95;
    max-width: 800px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .status-banner {
        padding: 2rem 1.5rem;
    }
    .status-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .status-title {
        font-size: 1.25rem;
    }
}
