.synavic-language-switcher {
    position: relative;
    display: inline-block;
    font-family: inherit;
}

.synavic-language-switcher__current {
    background: #ffffff;
    border: 1px solid #cccccc;
    color: #333333;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: space-between;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    width: 100%;
}

.synavic-language-switcher__arrow {
    font-size: 10px;
    color: #666666;
}

.synavic-language-switcher__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    display: none;
    min-width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-top: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Show dropdown on hover for basic non-JS functionality */
.synavic-language-switcher:hover .synavic-language-switcher__dropdown {
    display: block;
}

/* Also support JS-based toggling via class */
.synavic-language-switcher.is-open .synavic-language-switcher__dropdown {
    display: block;
}

.synavic-language-switcher__item {
    margin: 0;
    padding: 0;
}

.synavic-language-switcher__item a {
    display: block;
    padding: 8px 12px;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

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

.synavic-language-switcher__item--current a {
    background-color: #e5e5e5;
    font-weight: bold;
}
