.ashkids-locale-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border-radius: 12px;
    background: #17171b;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 3%);
}

.ashkids-locale-switcher__option {
    display: block;
    cursor: pointer;
}

.ashkids-locale-switcher__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ashkids-locale-switcher__item {
    display: flex;
    min-width: 44px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #a8a7b1;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    transition:
        color 150ms ease,
        background-color 150ms ease,
        box-shadow 150ms ease;
}

.ashkids-locale-switcher__option:hover .ashkids-locale-switcher__item {
    color: #ffffff;
    background: rgb(255 255 255 / 5%);
}

.ashkids-locale-switcher__input:focus-visible + .ashkids-locale-switcher__item {
    outline: 2px solid var(--primary-400);
    outline-offset: 2px;
}

.ashkids-locale-switcher__item--active,
.ashkids-locale-switcher__input:checked + .ashkids-locale-switcher__item {
    color: var(--primary-400);
    background: color-mix(in oklab, var(--primary-400) 12%, #3b3b44);
    box-shadow:
        inset 0 0 0 1px color-mix(in oklab, var(--primary-400) 34%, transparent),
        0 1px 2px rgb(0 0 0 / 35%);
}
