.locale-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.locale-switcher__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    color: #64748b;
    line-height: 1.2;
    transition: background 0.15s, color 0.15s;
}

.locale-switcher__btn:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.7);
}

.locale-switcher__btn.is-active {
    background: #fff;
    color: #0f6e56;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}

.auth-portal-page .locale-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 6;
    background: rgba(255, 255, 255, 0.95);
}

.client-topbar .locale-switcher {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.client-topbar .locale-switcher__btn {
    color: rgba(255, 255, 255, 0.75);
}

.client-topbar .locale-switcher__btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.client-topbar .locale-switcher__btn.is-active {
    background: rgba(255, 255, 255, 0.95);
    color: #0f6e56;
}

.topbar .locale-switcher {
    margin-left: auto;
}

.sidebar-locale {
    padding: 0 12px 12px;
}

.sidebar-locale .locale-switcher {
    width: 100%;
    justify-content: center;
}

.sidebar-locale .locale-switcher__btn {
    flex: 1;
}
