:root {
    --beinit-language-navy: #061d38;
    --beinit-language-white: #ffffff;
    --beinit-language-border: rgba(255, 255, 255, 0.24);
}

.beinit-language-switcher,
.beinit-language-switcher * {
    box-sizing: border-box;
}

.beinit-language-switcher {
    display: inline-flex;
    align-items: center;
    font-family: inherit;
    line-height: 1;
}

.beinit-language-switcher--floating {
    position: fixed;
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    left: auto;
    top: auto;
    z-index: 9999;
}

.beinit-language-label {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.beinit-language-label::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 13px;
    width: 7px;
    height: 7px;
    border-right: 2px solid #d8e5f2;
    border-bottom: 2px solid #d8e5f2;
    pointer-events: none;
    transform: translateY(-70%) rotate(45deg);
}

.beinit-language-select {
    appearance: none;
    -webkit-appearance: none;
    width: 132px;
    min-width: 132px;
    height: 40px;
    margin: 0;
    padding: 0 34px 0 13px;
    border: 1px solid var(--beinit-language-border);
    border-radius: 20px;
    background: var(--beinit-language-navy);
    color: var(--beinit-language-white);
    box-shadow: 0 8px 22px rgba(3, 23, 45, 0.22);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 40px;
    cursor: pointer;
    outline: none;
}

.beinit-language-select:hover {
    border-color: rgba(255, 255, 255, 0.44);
}

.beinit-language-select:focus-visible {
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow:
        0 8px 22px rgba(3, 23, 45, 0.22),
        0 0 0 3px rgba(6, 157, 224, 0.25);
}

.beinit-language-select option {
    background: #ffffff;
    color: #061d38;
    font-weight: 600;
}

.beinit-google-engine {
    position: fixed !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    pointer-events: none !important;
}

.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
body > .skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
}

html,
body {
    top: 0 !important;
    margin-top: 0 !important;
}

.goog-text-highlight {
    background: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 767px) {
    .beinit-language-switcher--floating {
        right: 10px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        z-index: 9000;
    }

    .beinit-language-select {
        width: 116px;
        min-width: 116px;
        height: 36px;
        padding: 0 30px 0 11px;
        border-radius: 18px;
        font-size: 11px;
        line-height: 36px;
    }

    .beinit-language-label::after {
        right: 11px;
        width: 6px;
        height: 6px;
    }

    .beinit-language-switcher--desktop-only {
        display: none !important;
    }
}
