.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.language-switch__item {
    display: inline-flex;
    width: 26px;
    height: 18px;
    border-radius: 3px;
    overflow: hidden;
    opacity: 0.45;
    transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.language-switch__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.language-switch__item:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.language-switch__item.is-active {
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(127, 127, 127, 0.35);
}

.form-section {
    position: relative;
}

.language-switch--auth {
    position: absolute;
    top: 24px;
    right: 28px;
    z-index: 10;
}

.language-switch--topbar {
    gap: 6px;
}

@media (max-width: 575px) {
    .language-switch--auth {
        top: 16px;
        right: 16px;
    }

    .language-switch__item {
        width: 24px;
        height: 16px;
    }
}
