.wa-menu-item.wa-menu-item--button {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent !important;
    color: var(--wa-text, #f4f8ff) !important;
    box-shadow: none !important;
    font: inherit;
    text-align: start;
    cursor: pointer;
}

.wa-global-language-button {
    position: fixed;
    z-index: 9990;
    top: max(14px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(98, 164, 255, .28);
    border-radius: 13px;
    background: rgba(8, 20, 38, .94);
    color: #dbe9ff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
    cursor: pointer;
}

.wa-global-language-button:focus-visible {
    outline: 2px solid #2f80ff;
    outline-offset: 2px;
}

.wa-menu-item--button > small {
    margin-inline-start: auto;
    max-width: 52%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #8ea2bf;
    text-transform: none;
}

.wa-menu-item--button > small b {
    margin-inline-end: 5px;
    color: #62a4ff;
    font-size: 10px;
    letter-spacing: .08em;
}

.wa-locale-selector[hidden] {
    display: none !important;
}

.wa-locale-selector {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
}

.wa-locale-selector__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(1, 5, 14, .78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.wa-locale-selector__sheet {
    position: relative;
    width: min(100%, 500px);
    max-height: min(82vh, 720px);
    overflow: hidden;
    border: 1px solid rgba(85, 150, 255, .24);
    border-radius: 24px;
    background: linear-gradient(180deg, #101c31 0%, #08111f 100%);
    box-shadow: 0 -24px 80px rgba(0, 0, 0, .48), 0 0 0 1px rgba(255, 255, 255, .025) inset;
    color: #f4f8ff;
    text-transform: none;
}

.wa-locale-selector__sheet:focus {
    outline: 2px solid rgba(47, 128, 255, .75);
    outline-offset: 2px;
}

.wa-locale-selector__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 12px;
}

.wa-locale-selector__eyebrow {
    display: block;
    margin-bottom: 3px;
    color: #6f87a8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.wa-locale-selector__header h2 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}

.wa-locale-selector__close {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    background: rgba(255, 255, 255, .045);
    color: #c8d5e8;
    cursor: pointer;
}

.wa-locale-selector__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin: 0 20px 12px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 14px;
    background: rgba(2, 9, 21, .72);
}

.wa-locale-selector__tabs button {
    min-height: 38px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #8194af;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.wa-locale-selector__tabs button.is-active {
    background: linear-gradient(135deg, #1769e8, #2f80ff);
    color: #fff;
    box-shadow: 0 8px 22px rgba(31, 114, 239, .24);
}

.wa-locale-panel {
    padding: 0 20px 20px;
}

.wa-locale-panel[hidden] {
    display: none !important;
}

.wa-locale-search {
    display: flex;
    height: 44px;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid rgba(103, 151, 218, .18);
    border-radius: 13px;
    background: #081426;
    color: #7186a5;
}

.wa-locale-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f4f8ff;
    font-size: 13px;
}

.wa-locale-search input::placeholder {
    color: #627590;
}

.wa-locale-options {
    max-height: min(54vh, 470px);
    overflow: auto;
    margin-top: 12px;
    padding-inline-end: 3px;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #2f80ff #081426;
}

.wa-locale-group + .wa-locale-group {
    margin-top: 15px;
}

.wa-locale-group h3 {
    margin: 0 0 7px;
    color: #607796;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.wa-locale-group[hidden],
.wa-locale-option[hidden] {
    display: none !important;
}

.wa-locale-option {
    display: grid;
    width: 100%;
    min-height: 56px;
    grid-template-columns: 40px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 11px;
    margin: 0 0 6px;
    padding: 8px 11px;
    border: 1px solid transparent;
    border-radius: 13px;
    background: rgba(255, 255, 255, .025);
    color: #dbe7f8;
    text-align: start;
    cursor: pointer;
}

.wa-locale-option:hover,
.wa-locale-option:focus-visible {
    border-color: rgba(47, 128, 255, .38);
    background: rgba(47, 128, 255, .09);
    outline: none;
}

.wa-locale-option.is-selected {
    border-color: rgba(34, 205, 155, .28);
    background: rgba(34, 205, 155, .085);
}

.wa-locale-option__code {
    display: inline-flex;
    width: 36px;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #11223a;
    color: #63a5ff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
}

.wa-locale-option__copy {
    min-width: 0;
}

.wa-locale-option__copy strong,
.wa-locale-option__copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wa-locale-option__copy strong {
    color: #eaf2ff;
    font-size: 13px;
    font-weight: 750;
}

.wa-locale-option__copy small {
    margin-top: 2px;
    color: #7085a2;
    font-size: 10px;
}

.wa-locale-option > .bi-check2 {
    color: transparent;
    font-size: 18px;
}

.wa-locale-option.is-selected > .bi-check2 {
    color: #22cd9b;
}

html[dir="rtl"] .wa-locale-option,
html[dir="rtl"] .wa-menu-item--button {
    text-align: right;
}

html[dir="rtl"] .wa-global-language-button {
    right: auto;
    left: max(14px, env(safe-area-inset-left));
}

body.wa-locale-open {
    overflow: hidden;
}

@media (min-width: 768px) {
    .wa-locale-selector {
        align-items: center;
    }

    .wa-locale-selector__sheet {
        border-radius: 22px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .wa-locale-selector__sheet {
        animation: wa-locale-enter .2s ease-out both;
    }

    @keyframes wa-locale-enter {
        from { opacity: 0; transform: translateY(16px) scale(.985); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }
}
