.rackun-language-switcher-floating {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
}

.rackun-language-switcher {
    position: relative;
    font-size: 13px;
    line-height: 1;
}

.rackun-language-switcher__current {
    display: inline-block;
    padding: 8px 14px;
    background: #fff;
    color: #333;
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.rackun-language-switcher__current::-webkit-details-marker {
    display: none;
}

.rackun-language-switcher__current::after {
    content: "▾";
    margin-left: 6px;
}

.rackun-language-switcher[open] .rackun-language-switcher__current::after {
    content: "▴";
}

.rackun-language-switcher__list {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    margin: 0;
    padding: 6px;
    min-width: 100%;
    list-style: none;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    max-height: 260px;
    overflow-y: auto;
}

.rackun-language-switcher__item {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rackun-language-switcher__item a,
.rackun-language-switcher__item--disabled span {
    display: block;
    padding: 6px 12px;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.rackun-language-switcher__item a:hover {
    background: #f0f0f0;
}

.rackun-language-switcher__item--disabled span {
    opacity: 0.4;
    cursor: not-allowed;
}
