.faka-i18n-pending body {
    opacity: 0;
}

body {
    transition: opacity .12s ease-out;
}

.faka-language-switcher-host {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    z-index: 10050;
}

@font-face {
    font-family: "Material Icons Outlined";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("/assets/common/fonts/material-icons-outlined.woff2?v=1.13.12-r1") format("woff2");
}

.faka-language-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .14);
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 6px 24px rgba(15, 23, 42, .12);
    color: #334155;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.faka-language-switcher__icon {
    color: #139655;
    font-family: "Material Icons Outlined";
    font-size: 21px;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "liga";
}

.faka-language-switcher select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: inherit;
    font: 600 13px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    cursor: pointer;
}

.faka-language-switcher:focus-within {
    outline: 2px solid #4c96e0;
    outline-offset: 2px;
}

.faka-language-switcher--drawer {
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    overflow: visible;
    border: 0;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.faka-language-switcher__label {
    font-size: 14px;
    font-weight: 500;
}

.faka-language-switcher--drawer select {
    position: static;
    width: auto;
    max-width: 150px;
    height: 36px;
    margin-left: auto;
    opacity: 1;
    font-size: 13px;
}

[data-theme="dark"] .faka-language-switcher {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(24, 31, 42, .94);
    color: #e5e7eb;
}

@media (max-width: 767px) {
    .faka-language-switcher-host {
        position: fixed;
        top: max(8px, env(safe-area-inset-top));
        right: max(8px, env(safe-area-inset-right));
        z-index: 10050;
    }
    .faka-language-switcher {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }
    .faka-language-switcher--drawer {
        width: 100%;
        min-height: 44px;
        padding: 0 12px;
    }
    .faka-language-switcher--drawer select { width: auto; height: 36px; font-size: 12px; }
}
