/* Kazio Customer Language Switcher v1.0.6 */
.kazio-language-switcher-parent {
    position: relative;
}

.kazio-language-switcher-host {
    align-items: center;
    justify-content: center;
    margin-inline-start: auto;
    padding: 4px 8px;
    position: relative;
    z-index: 1035;
}

.kazio-language-switcher {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(22, 150, 75, 0.22);
    border-radius: 999px;
    box-shadow: 0 5px 18px rgba(17, 24, 39, 0.08);
    display: inline-flex;
    gap: 2px;
    padding: 3px;
}

.kazio-language-switcher__link {
    align-items: center;
    border-radius: 999px;
    color: #475569;
    display: inline-flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 700;
    height: 28px;
    justify-content: center;
    letter-spacing: 0.02em;
    line-height: 1;
    min-width: 32px;
    padding: 0 8px;
    text-decoration: none !important;
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.kazio-language-switcher__link:hover,
.kazio-language-switcher__link:focus-visible {
    background: rgba(22, 150, 75, 0.09);
    color: #0f7a3d;
    outline: none;
}

.kazio-language-switcher__link.is-active {
    background: #16964b;
    box-shadow: 0 2px 7px rgba(22, 150, 75, 0.24);
    color: #ffffff;
    pointer-events: none;
}

.kazio-language-switcher__link.is-loading {
    opacity: 0.58;
    pointer-events: none;
}

.kazio-language-switcher-error {
    background: #b42318;
    border-radius: 8px;
    bottom: 18px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.24);
    color: #ffffff;
    direction: rtl;
    font-size: 13px;
    inset-inline-start: 50%;
    max-width: calc(100vw - 32px);
    padding: 10px 14px;
    position: fixed;
    text-align: center;
    transform: translateX(-50%);
    z-index: 2000;
}

.kazio-language-switcher-host--mobile {
    display: none;
}

@media (max-width: 767.98px) {
    .kazio-language-switcher-host--desktop {
        display: none !important;
    }

    .kazio-language-switcher-host--mobile {
        display: flex;
        margin: 0;
        padding: 10px 12px;
        width: max-content;
    }

    .kazio-language-switcher-host--mobile-fixed {
        inset-inline-start: 8px;
        margin: 0;
        padding: 0;
        position: fixed;
        top: max(8px, env(safe-area-inset-top));
        width: auto;
        z-index: 1080;
    }

    .kazio-language-switcher {
        box-shadow: 0 5px 20px rgba(15, 23, 42, 0.14);
    }
}

@media (min-width: 768px) {
    .kazio-language-switcher-host--desktop {
        display: flex;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kazio-language-switcher__link {
        transition: none;
    }
}
