/* ========================================== */
/* КРАТКОЕ ОГЛАВЛЕНИЕ                         */
/* ========================================== */
/*
 * ФАЙЛ: auth-modal.css
 * НАЗНАЧЕНИЕ: Модальное окно авторизации и регистрации пользователей
 *
 * СОДЕРЖАНИЕ:
 * 1. .auth-modal - Основное модальное окно
 * 2. .auth-modal__content - Контейнер содержимого
 * 3. .auth-modal__close - Кнопка закрытия
 * 4. .auth-modal__title / __subtitle - Заголовки окна
 * 5. .auth-modal__container - Контейнер с двумя секциями (вход и регистрация)
 * 6. .auth-modal__section - Секция (левая для входа, правая для регистрации)
 * 7. .auth-form - Форма ввода данных
 * 8. .auth-form__input - Поля ввода (email, пароль)
 * 9. .auth-form__agreement - Блок согласия с условиями
 * 10. .auth-form__submit - Кнопки отправки форм
 *
 * ОСОБЕННОСТИ:
 * - Анимации: scale(1.2) на кнопке закрытия, translateY(-2px) на кнопках отправки
 * - Цвета: желтый фон (var(--yellow-btn)), зеленая кнопка регистрации (#4caf50), синяя кнопка входа (#2196f3)
 * - Адаптивность: нет
 * - Layout: Две секции разделены вертикальной линией
 */
/* ========================================== */

/* ========== AUTH MODAL STYLES ==========*/
/* Модальное окно входа и регистрации */

/* Основное модальное окно авторизации */
.auth-modal {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffdd76;;
    border-radius: 12px;
    z-index: 60000; /* Выше storage-controls (z-index: 50000) */
    padding: 30px;
    overflow-y: auto; /* ВАЖНО: прокрутка для длинных форм на маленьких экранах */
}

/* Активное состояние - показ модального окна с вертикальным центрированием */
.auth-modal.active {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Контейнер содержимого модального окна - центрирован по горизонтали */
.auth-modal__content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    width: calc(100% - 60px);
}

/* Кнопка закрытия модального окна - крестик в правом верхнем углу */
.auth-modal__close {
    position: absolute;
    top: -10px;
    right: 0;
    width: 32px;
    height: 32px;
    font-size: 32px;
    color: var(--text-dark);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
}

/* Эффект наведения на кнопку закрытия - увеличение */
.auth-modal__close:hover {
    transform: scale(1.2);
}

/* Главный заголовок модального окна */
.auth-modal__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 30px 0;
    text-align: center;
    display: none; /* Скрыт на десктопе, показывается на мобильных */
}

/* Подзаголовок для секций (Вход / Регистрация) */
.auth-modal__subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 20px 0;
    text-align: center;
}

/* Контейнер с двумя секциями - вход и регистрация */
.auth-modal__container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
}

/* Секция - каждая занимает 50% ширины */
.auth-modal__section {
    display: flex;
    flex-direction: column;
    width: 50%;
}

/* Левая секция - с правой границей для разделения */
.auth-modal__section:first-child {
    padding-right: 20px;
    align-items: center;
    position: relative;
}

/* Форма входа - уже, чтобы поля не выглядели перегруженно */
#loginForm,
#forgotForm,
#resetForm {
    width: 80%;
}

/* Вертикальная линия-разделитель - увеличена вниз до чекбокса */
.auth-modal__section:first-child::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: -30px; /* Увеличиваем линию вниз, чтобы заходила на чекбокс */
    width: 2px;
    background-color: var(--card-border);
}

/* Правая секция */
.auth-modal__section:last-child {
    padding-left: 20px;
    align-items: center;
}

/* Форма ввода данных авторизации */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

/* Поля ввода - email и пароль */
.auth-form__input {
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background-color: #f0f0f0;
    color: var(--text-dark);
}

/* Стиль placeholder для полей ввода */
.auth-form__input::placeholder {
    color: #999;
}

/* Блок согласия с условиями использования */
.auth-form__agreement {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Чекбокс согласия - оранжевый акцентный цвет */
.auth-form__checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--orange-icon);
}

/* Текст согласия рядом с чекбоксом */
.auth-form__label {
    font-size: 13px;
    color: var(--text-dark);
    cursor: pointer;
}

/* Ссылка на правила использования */
.auth-form__link {
    color: var(--orange-icon);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

/* Эффект наведения на ссылку - осветление */
.auth-form__link:hover {
    color: #ff6b35;
}

/* Обёртка поля с глазком */
.auth-form__input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.auth-form__input-wrap .auth-form__input {
    flex: 1;
    padding-right: 42px;
}
.auth-form__eye {
    position: absolute;
    right: 10px;
    z-index: 1;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(0,0,0,0.45);
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.auth-form__eye:hover {
    color: rgba(0,0,0,0.7);
}

/* Ссылка "Забыли пароль?" */
.auth-form__forgot {
    background: none;
    border: none;
    color: rgba(0,0,0,0.45);
    font-size: 13px;
    cursor: pointer;
    padding: 4px 0;
    text-align: left;
    font-family: inherit;
    transition: color 0.2s;
}
.auth-form__forgot:hover {
    color: rgba(0,0,0,0.8);
}

.auth-form__hint {
    margin: -4px 0 0;
    padding: 0 2px;
    font-size: 12px;
    line-height: 1.35;
    color: #5a6a6c;
}

.auth-form__hint--warn {
    color: #9a4b00;
    font-weight: 600;
    background: #fff4e5;
    border: 1px solid #f0c574;
    border-radius: 6px;
    padding: 8px 10px;
    margin-top: 2px;
}

/* Описание в форме восстановления */
.auth-forgot-form__desc {
    font-size: 13px;
    color: rgba(0,0,0,0.55);
    margin: 0 0 12px;
    line-height: 1.5;
}

/* Переключатель PIN/пароль в форме сброса */
.auth-type-toggle {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
    font-size: 13px;
    color: rgba(0,0,0,0.6);
}
.auth-type-toggle label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Базовые стили кнопки отправки формы */
.auth-form__submit {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0;
}

/* Зеленая кнопка - для регистрации */
.auth-form__submit--green {
    background-color: #4caf50;
}

/* Эффект наведения на зеленую кнопку */
.auth-form__submit--green:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Синяя кнопка - для входа */
.auth-form__submit--blue {
    background-color: #2196f3;
}

/* Эффект наведения на синюю кнопку */
.auth-form__submit--blue:hover {
    background-color: #1976d2;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Отключенное состояние кнопки */
.auth-form__submit:disabled {
    background-color: #9e9e9e;
    cursor: not-allowed;
    transform: none;
}

/* Отключение hover эффекта для неактивной кнопки */
.auth-form__submit:disabled:hover {
    background-color: #9e9e9e;
    transform: none;
    box-shadow: none;
}

/* ========================================== */
/* RESPONSIVE - МОБИЛЬНАЯ АДАПТАЦИЯ           */
/* ========================================== */

/* Первый диапазон: от 880px до 490px */
@media (max-width: 880px) {
    /* Модальное окно - уменьшаем padding */
    /* ВАЖНО: border-radius синхронизирован с .storage__card (10px) */
    .auth-modal {
        padding: 24px 18px;
        border-radius: 10px;
    }

    /* Контент - адаптируем ширину */
    .auth-modal__content {
        max-width: 700px;
    }

    /* Кнопка закрытия - увеличиваем для touch */
    .auth-modal__close {
        width: 40px;
        height: 40px;
        font-size: 34px;
        top: -12px;
        right: -3px;
    }

    /* Заголовок - скрыт (у каждой секции свой заголовок) */
    .auth-modal__title {
        display: none;
        font-size: 19px;
        margin-bottom: 24px;
    }

    /* Подзаголовок */
    .auth-modal__subtitle {
        font-size: 17px;
        margin-bottom: 14px;
    }

    /* Контейнер - сохраняем горизонтальную раскладку */
    .auth-modal__container {
        gap: 0;
    }

    /* Секции - сохраняем 50% ширину каждая */
    .auth-modal__section:first-child {
        padding-right: 16px;
    }

    .auth-modal__section:last-child {
        padding-left: 16px;
    }

    /* Форма */
    .auth-form {
        gap: 14px;
    }

    /* Поля ввода - уменьшаем padding */
    .auth-form__input {
        padding: 13px 16px;
        font-size: 14px;
    }

    /* Чекбокс */
    .auth-form__checkbox {
        width: 19px;
        height: 19px;
    }

    /* Текст согласия */
    .auth-form__label {
        font-size: 12px;
    }

    /* Кнопка отправки */
    .auth-form__submit {
        padding: 13px 24px;
        font-size: 15px;
        margin-top: 0;
    }
}

/* Планшет (491–880px): две колонки по 50% слишком узкие — стек + фикс overflow */
@media (min-width: 491px) and (max-width: 880px) {
    .auth-modal__content {
        max-width: 100%;
        width: 100%;
    }

    .auth-modal__container {
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }

    .auth-modal__section {
        width: 100%;
        min-width: 0;
        align-items: stretch;
    }

    .auth-modal__section:first-child {
        padding-right: 0;
        padding-bottom: 20px;
        border-bottom: 2px solid var(--card-border);
    }

    .auth-modal__section:first-child::after {
        display: none;
    }

    .auth-modal__section:last-child {
        padding-left: 0;
        padding-top: 0;
    }

    #loginForm,
    #forgotForm,
    #resetForm,
    #registerForm {
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
    }

    .auth-form {
        width: 100%;
        min-width: 0;
    }

    .auth-form__input-wrap {
        width: 100%;
        min-width: 0;
    }

    .auth-form__input {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .auth-type-selector {
        flex-direction: row;
        height: auto;
        gap: 8px;
        align-items: stretch;
    }

    .auth-type-option {
        flex: 1;
        width: auto;
        justify-content: center;
        padding: 10px 12px;
        font-size: 13px;
        white-space: nowrap;
    }

    .auth-type-option span {
        white-space: nowrap;
        line-height: 1.2;
    }

    .auth-type-toggle {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .auth-form__agreement {
        align-items: flex-start;
    }

    .auth-form__label {
        line-height: 1.4;
    }

    .auth-telegram-btn {
        font-size: 13px;
        padding: 12px 14px;
    }
}

/* Второй диапазон: от 490px до 340px */
@media (max-width: 490px) {
    /* Модальное окно - минимальные padding */
    /* ВАЖНО: border-radius синхронизирован с .storage__card (8px) */
    .auth-modal {
        bottom: 0; /* Убираем растягивание на всю высоту */
        padding: 18px 12px;
        border-radius: 8px;
    }



    /* Auth-type-selector - автовысота на мобильных */
    .auth-type-selector {
        height: auto;
    }

    /* Контент - адаптируем под узкие экраны */
    .auth-modal__content {
        max-width: 100%;
        width: 100%;
    }

    /* Кнопка закрытия - увеличенный размер для мобильных устройств */
    .auth-modal__close {
        width: 44px;
        height: 44px;
        font-size: 32px;
        top: -16px;
        right: -6px;
        z-index: 1000; /* Убедимся, что кнопка поверх других элементов */
    }

    /* Заголовок - скрыт (у каждой секции свой заголовок) */
    .auth-modal__title {
        display: none;
        font-size: 16px;
        margin-bottom: 18px;
    }

    /* Подзаголовок - компактный */
    .auth-modal__subtitle {
        font-size: 15px;
        margin-bottom: 12px;
    }

    /* Контейнер - вертикальная раскладка */
    .auth-modal__container {
        flex-direction: column;
        gap: 0;
    }

    /* Секция - на всю ширину */
    .auth-modal__section {
        width: 100%;
    }

    /* По умолчанию показываем регистрацию (новые пользователи) */
    .auth-modal__section:first-child {
        border-right: none;
        border-bottom: none;
        padding-right: 0;
        padding-bottom: 0;
        display: none; /* вход скрыт по умолчанию */
    }

    /* Скрываем вертикальную линию-разделитель на мобильных */
    .auth-modal__section:first-child::after {
        display: none;
    }

    /* Регистрация видна по умолчанию */
    .auth-modal__section:last-child {
        padding-left: 0;
        padding-top: 0;
        display: block;
    }

    /* Класс для активной секции */
    .auth-modal__section.active {
        display: block;
    }

    /* Класс для скрытой секции */
    .auth-modal__section.hidden {
        display: none;
    }

    /* Форма входа - уже, но центрирована */
    #loginForm,
    #forgotForm,
    #resetForm {
        margin: 0 auto;
    }

    /* Форма */
    .auth-form {
        gap: 12px;
    }

    /* Поля ввода - компактный размер */
    .auth-form__input {
        padding: 12px 14px;
        font-size: 14px;
    }

    /* Чекбокс согласия — крупнее и с отступом слева для удобного тапа */
    .auth-form__agreement {
        align-items: flex-start;
        gap: 12px;
        padding-left: 8px;
        margin-top: 4px;
    }

    .auth-form__checkbox {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
        margin: 0;
        flex-shrink: 0;
    }

    /* Текст согласия */
    .auth-form__label {
        font-size: 12px;
        line-height: 1.4;
        padding-top: 4px;
    }

    /* Кнопка отправки */
    .auth-form__submit {
        padding: 14px;
        font-size: 15px;
        margin-top: 0;
    }

    /* Кнопка переключения между входом и регистрацией */
    .auth-modal__toggle-btn {
        width: 100%;
        padding: 14px 12px;
        background-color: rgba(0, 0, 0, 0.05);
        color: var(--text-dark);
        border: 1px solid var(--card-border);
        border-radius: 10px;
        font-size: 15px;
        font-weight: 600;
        font-family: inherit;
        cursor: pointer;
        transition: all 0.2s ease;
        margin-top: 16px;
        min-height: 48px;
        -webkit-tap-highlight-color: transparent;
    }

    .auth-modal__toggle-btn:hover {
        background-color: rgba(0, 0, 0, 0.08);
    }

    /* Яркие кнопки переключения «Вход» / «Регистрация» */
    .auth-modal__toggle-btn--accent,
    .auth-modal__toggle-btn--login {
        position: relative;
        overflow: hidden;
        border: none;
        color: #fff;
        font-weight: 700;
        letter-spacing: 0.02em;
        background: linear-gradient(90deg, #6b21a8 0%, #a855f7 35%, #c084fc 50%, #a855f7 65%, #6b21a8 100%);
        background-size: 200% 100%;
        animation:
            authLoginShine 2.4s linear infinite,
            authLoginPulse 2s ease-in-out infinite;
        box-shadow: 0 4px 16px rgba(107, 33, 168, 0.35);
        margin-top: 20px;
    }

    .auth-modal__toggle-btn--accent:active,
    .auth-modal__toggle-btn--login:active {
        transform: scale(0.98);
    }
}

/* ========================================== */
/* ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ AUTH-MANAGER.JS   */
/* ========================================== */

/* Класс для скрытия формы */
.auth-form.hidden {
    display: none;
}

/* Переключатель вкладок вход/регистрация */
.auth-modal__tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    justify-content: center;
}

.auth-modal__tab {
    padding: 10px 24px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.auth-modal__tab:hover {
    background-color: #e0e0e0;
}

.auth-modal__tab.active {
    background-color: var(--orange-icon, #ff6b35);
    color: #ffffff;
}

/* Сообщения об ошибках */
.auth-form__error,
.auth-modal__error {
    color: #e53935;
    font-size: 13px;
    min-height: 18px;
    text-align: center;
    margin-top: 4px;
}

/* Выбор типа авторизации (пароль/PIN) */
.auth-form__auth-type {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.auth-form__auth-type label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
}

.auth-form__auth-type input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--orange-icon);
}

/* ========== СТИЛИ ЗАЛОГИНЕННОГО ПОЛЬЗОВАТЕЛЯ ========== */
/* Кнопка с заливкой когда пользователь авторизован */
.header__login-btn--logged-in {
    color: #ffffff !important;
    border-radius: 50%;
    position: relative;
    /* Цвет фона будет устанавливаться через JavaScript */
}

/* ========== ПРОФИЛЬ ПОЛЬЗОВАТЕЛЯ В МОДАЛКЕ ========== */
/* Секция профиля - показывается когда залогинен */
.auth-modal__profile {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.auth-modal__profile-avatar {
    width: 64px;
    height: 64px;
    background-color: var(--orange-icon, #ff6b35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.auth-modal__profile-avatar svg {
    width: 36px;
    height: 36px;
    color: #ffffff;
}

.auth-modal__profile-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 4px 0;
}

.auth-modal__profile-email {
    font-size: 14px;
    color: #666;
    margin: 0 0 16px 0;
}

.auth-modal__profile-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.auth-modal__profile-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #4caf50;
    border-radius: 50%;
}

.auth-modal__logout-btn {
    background-color: #f44336;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-modal__logout-btn:hover {
    background-color: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Разделитель между профилем и формами */
.auth-modal__divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    color: #999;
    font-size: 13px;
}

.auth-modal__divider::before,
.auth-modal__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--card-border, #e0e0e0);
}

/* Адаптивность для профиля */
@media (max-width: 490px) {
    .auth-modal__profile {
        padding: 16px;
        margin-bottom: 20px;
    }

    .auth-modal__profile-avatar {
        width: 56px;
        height: 56px;
    }

    .auth-modal__profile-avatar svg {
        width: 30px;
        height: 30px;
    }

    .auth-modal__profile-name {
        font-size: 16px;
    }

    .auth-modal__profile-email {
        font-size: 13px;
    }

    .auth-modal__logout-btn {
        padding: 10px 28px;
        font-size: 14px;
    }
}


/* ========== ПЕРЕКЛЮЧАТЕЛЬ ТИПА АВТОРИЗАЦИИ ========== */
.auth-type-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 0;
    padding: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    box-sizing: border-box;
    align-items: stretch;
}

/* На десктопе фиксируем высоту для выравнивания колонок; на мобиле — нет */
@media (min-width: 881px) {
    .auth-type-selector {
        height: 50px;
    }
}

.auth-type-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
    font-weight: 500;
    min-width: 0;
    box-sizing: border-box;
}

.auth-type-option:hover {
    border-color: #667eea;
    transform: translateY(-1px);
}

.auth-type-option input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
}

.auth-type-option input[type="radio"]:checked + span {
    color: #2d3a8c;
    font-weight: 700;
}

.auth-type-option:has(input[type="radio"]:checked) {
    background: #eef1ff;
    border-color: #4c63d2;
    box-shadow: inset 0 0 0 1px #4c63d2;
}

/* Скрыть для админского email */
.auth-type-selector.hidden {
    display: none;
}

@media (max-width: 490px) {
    .auth-type-selector {
        display: flex !important;
        flex-direction: row;
        gap: 8px;
        height: auto !important;
        min-height: 0;
        padding: 6px;
        align-items: stretch;
    }

    .auth-type-option {
        padding: 10px 8px;
        min-height: 44px;
        font-size: 14px;
        flex: 1;
        width: auto;
        justify-content: center;
        white-space: nowrap;
    }

    .auth-type-option span {
        white-space: nowrap;
        line-height: 1.2;
    }

    .auth-type-option input[type="radio"] {
        margin-right: 6px;
        flex-shrink: 0;
    }
}

/* =====================
   Telegram Login
   ===================== */

/* Кнопка находится внутри .auth-form (левая колонка, 4-й элемент) */
.auth-telegram-btn {
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    background: #54a9eb;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

.auth-telegram-btn:hover {
    background: #3d96d9;
}

.auth-telegram-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-telegram-btn svg {
    flex-shrink: 0;
}

@keyframes authLoginShine {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes authLoginPulse {
    0%, 100% {
        box-shadow: 0 4px 14px rgba(107, 33, 168, 0.35);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 22px rgba(168, 85, 247, 0.55);
        transform: scale(1.02);
    }
}

