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

.scr-switcher__toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: inherit;
    transition: border-color 0.2s;
}

.scr-switcher__toggle:hover {
    border-color: rgba(0,0,0,0.3);
}

.scr-switcher__arrow {
    transition: transform 0.2s;
}

.scr-switcher--open .scr-switcher__arrow {
    transform: rotate(180deg);
}

.scr-switcher__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 9999;
    min-width: 180px;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.scr-switcher--open .scr-switcher__dropdown {
    display: block;
}

.scr-switcher__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: background 0.15s;
}

.scr-switcher__item:hover {
    background: #f5f5f5;
}

.scr-switcher__item--active {
    font-weight: 600;
    background: #f0f7ff;
}

.scr-switcher__flag {
    font-size: 18px;
    line-height: 1;
}
