/* Общие настройки */
html { 
    scroll-behavior: smooth; 
}

body { 
    background-color: #eef2f5; 
    color: #333; 
}

.box-shadow-custom { 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
}

.title-gradient { 
    background: linear-gradient(90deg, #0DB1F2 0%, #38C8FC 100%); 
}

/* Скрытие скроллбара */
.hide-scroll::-webkit-scrollbar { 
    display: none; 
}

.hide-scroll { 
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}

/* Кастомные селекты */
.custom-select {
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23333%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E');
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 14px 14px;
}

header {
            background: #fff;
            position: relative;
            box-shadow: 0px 10px 30px 0 rgba(239, 239, 239, 0.5);
        }


/* Квиз: Радио-кнопки */
.quiz-radio:checked + .quiz-label {
    border-color: #00b0f0;
    z-index: 10;
}

.quiz-radio:checked + .quiz-label .radio-ring-container {
    border-color: #a8e3fc;
    border-width: 2px;
}

.quiz-radio:checked + .quiz-label .radio-dot {
    opacity: 1;
    background-color: #00b0f0;
}

/* Футер: инверсия логотипа */
.footer-logo {
    filter: brightness(0) invert(1) drop-shadow(0 0 1px #00b0f0);
}

.max-w-md-castom{
	max-width: 37rem;
}

/* Сам класс, который будем вешать на элементы */
.blink-free-neon {
    animation: pulse-neon-green 1.5s infinite alternate;
}

/* Настройка анимации моргания и свечения */
@keyframes pulse-neon-green {
    0% {
        color: #16a34a; /* Более спокойный зеленый */
        text-shadow: none;
    }
    100% {
        color: #4ade80; /* Яркий, кислотный зеленый */
        /* Эффект неонового свечения вокруг букв */
        text-shadow: 0 0 8px rgba(74, 222, 128, 0.6), 
                     0 0 16px rgba(74, 222, 128, 0.4);
    }
}


 .container-custom {
            max-width: 1280px !important;
            margin-left: auto !important;
            margin-right: auto !important;
            padding-left: 1rem !important;
            padding-right: 1rem !important;
            width: 100%;
        }
/* Контейнер таблицы с плавным скроллом */
.custom-scroll {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Фиксация первой колонки (Имя) */
.sticky-col {
    position: sticky !important;
    left: 0;
    background-color: #ffffff !important; 
    z-index: 20;
}

/* Общие стили ячеек */
#compilation th, 
#compilation td {
    white-space: nowrap;
    padding: 14px 16px !important;
}

@media (max-width: 768px) {
    /* 1. Скрываем аватарку в первой колонке на мобильных */
    #compilation-table-body td:first-child img {
        display: none !important;
    }

    /* 2. Убираем лишний отступ (gap), который был между фото и текстом */
    #compilation td:first-child div {
        gap: 0 !important;
    }

    /* 3. Фиксируем только текст имени с тенью */
    #compilation-table-body td:first-child,
    #compilation thead th:first-child {
        position: sticky;
        left: 0;
        background-color: #ffffff;
        z-index: 10;
        box-shadow: 4px 0 8px -3px rgba(0,0,0,0.1);
        min-width: 100px; /* Уменьшили ширину, так как фото больше нет */
    }

    /* 4. Компактные отступы для цифр */
    #compilation th, 
    #compilation td {
        font-size: 13px !important;
        padding: 10px 8px !important;
    }
}

/* Красивый скроллбар */
.custom-scroll::-webkit-scrollbar { height: 4px; }
.custom-scroll::-webkit-scrollbar-track { background: #f1f1f1; }
.custom-scroll::-webkit-scrollbar-thumb { background: #00b0f0; border-radius: 10px; }