.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.18rem 0.28rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 118, 110, 0.22);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.lang-switch__pair {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
}

.lang-switch__form {
    margin: 0;
    display: inline-flex;
}

.lang-switch__single {
    display: none;
}

.lang-switch__btn {
    border: 0;
    background: transparent;
    color: #334155;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    line-height: 1;
    padding: 0.38rem 0.58rem;
    border-radius: 999px;
    cursor: pointer;
    min-width: 2.35rem;
}

.lang-switch__btn:hover,
.lang-switch__btn:focus-visible {
    background: rgba(13, 148, 136, 0.12);
    color: #0f766e;
    outline: none;
}

.lang-switch__btn.is-active {
    background: #0f766e;
    color: #fff;
    box-shadow: 0 1px 2px rgba(15, 118, 110, 0.35);
}

#header-container .navbar-mobile-actions .lang-switch {
    margin-right: 0.15rem;
}

@media (max-width: 767.98px) {
    .lang-switch {
        padding: 0.12rem 0.18rem;
    }

    .lang-switch__btn {
        padding: 0.32rem 0.48rem;
        min-width: 2.1rem;
    }

    .lang-switch__pair {
        display: none;
    }

    .lang-switch__single {
        display: inline-flex;
    }
}

@media (display-mode: standalone) {
    .lang-switch__pair {
        display: none;
    }

    .lang-switch__single {
        display: inline-flex;
    }
}

html.pwa-standalone .lang-switch__pair {
    display: none;
}

html.pwa-standalone .lang-switch__single {
    display: inline-flex;
}
