﻿.divider {
    margin: 15px 0;
    border-top: 1px solid #ddd;
}



.google-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    background: white;
    transition: all 0.3s ease;
    padding: 0.75rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-size: 0.9375rem;
}

    .google-login-btn:hover {
        background: black;
        border-color: #ccc;
    }

#incognitoAuthModal .form-control:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25 margin-bottom: rgba(220, 53, 69, 0.1);
}

#incognitoAuthModal .btn-danger:hover {
    background-color: #bb2d3b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.tracking-wider {
    letter-spacing: 0.05rem;
}
/* Общий контейнер иконок */
.auth-icons-container {
    display: flex;
    align-items: center;
    gap: 8px; /* Расстояние между кнопками */
}

/* Стили кнопок-иконок */
.icon-btn {
    position: relative;
    padding: 8px;
    border: none;
    background: transparent;
    transition: transform 0.2s;
}

    .icon-btn:active {
        transform: scale(0.9);
    }

    .icon-btn img {
        width: 32px; /* Размер для мобилок по умолчанию */
        height: 32px;
        display: block;
    }

/* Кастомный бейдж (цифры) */
.badge-custom {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: #dc3545;
    color: white;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* Убираем стрелочку у дропдауна-иконки */
.no-caret::after {
    display: none !important;
}

/* --- АДАПТИВНОСТЬ --- */

/* Планшеты и ПК (от 768px) */
@media (min-width: 768px) {
    .auth-icons-container {
        gap: 15px;
    }

    .icon-btn img {
        width: 38px; /* Чуть больше на ПК */
        height: 38px;
    }

    .login-dropdown-width {
        width: 320px;
    }
}

/* Маленькие смартфоны */
@media (max-width: 400px) {
    .auth-icons-container {
        gap: 2px;
    }

    .icon-btn {
        padding: 5px;
    }
}
/* Переключатель языка */
.lang-switch {
    display: inline-flex;
    border: 1px solid #dee2e6;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.lang-switch__item {
    padding: 4px 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #495057;
    text-decoration: none;
    line-height: 1.6;
}

.lang-switch__item:hover {
    background: #f8f9fa;
    color: #212529;
}

.lang-switch__item.is-active {
    background: #dc3545;
    color: #fff;
}

.lang-switch--mobile {
    display: flex;
    width: 100%;
    margin: 8px 0;
}

.lang-switch--mobile .lang-switch__item {
    flex: 1;
    text-align: center;
    padding: 8px 0;
}
