.language-switcher {
    align-items: center;
    background: rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 3px;
    position: fixed;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.language-switcher button {
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    font: 700 12px/1 Arial, sans-serif;
    min-height: 32px;
    min-width: 36px;
    padding: 8px 9px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.language-switcher button:hover,
.language-switcher button:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    outline: none;
}

.language-switcher button.is-active {
    background: #ffffff;
    color: #121820;
}

.language-switcher button:focus-visible {
    box-shadow: 0 0 0 2px #ffca0a;
}

.language-switcher--error {
    background: rgba(255, 255, 255, 0.92);
    border-color: #111111;
}

.language-switcher--error button {
    color: #111111;
}

.language-switcher--error button.is-active {
    background: #111111;
    color: #ffffff;
}

@media only screen and (max-width: 991px) {
    .language-switcher {
        background: rgba(18, 24, 32, 0.9);
    }
}

@media only screen and (max-width: 479px) {
    .language-switcher {
        right: 8px;
    }

    .language-switcher--error {
        right: 8px;
    }

    .language-switcher button {
        min-height: 30px;
        min-width: 32px;
        padding: 7px;
    }
}
