/* Контейнер для выбора языка на неавторизованных страницах */
.i18n_unauth_container {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
}

/* Метка "Язык" */
.i18n_unauth_label {
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    color: #495057;
    font-weight: normal;
    margin: 0;
    white-space: nowrap;
}

/* Выпадающий список */
.i18n_unauth_select {
    padding: 6px 10px;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    color: #495057;
    background-color: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    min-width: 70px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23495057' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 30px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Hover эффект */
.i18n_unauth_select:hover {
    border-color: #0092CA;
}

/* Focus эффект */
.i18n_unauth_select:focus {
    border-color: #0092CA;
    box-shadow: 0 0 0 0.2rem rgba(0, 146, 202, 0.25);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .i18n_unauth_container {
        top: 10px;
        right: 10px;
        gap: 5px;
    }
    
    .i18n_unauth_label {
        font-size: 12px;
    }
    
    .i18n_unauth_select {
        font-size: 12px;
        padding: 4px 8px;
        padding-right: 25px;
        min-width: 60px;
    }
}

/* Для очень маленьких экранов скрываем метку */
@media (max-width: 480px) {
    .i18n_unauth_label {
        display: none;
    }
}

