.portal-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.portal-language-switcher__label {
    font-size: 12px;
    font-weight: 700;
    color: inherit;
    opacity: 0.75;
    white-space: nowrap;
}

.portal-language-switcher__select-wrap {
    position: relative;
    min-width: 0;
}

.portal-language-switcher__select {
    min-width: 112px;
    padding: 8px 34px 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    appearance: none;
    outline: none;
    cursor: pointer;
}

.portal-language-switcher__select-wrap::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
    color: rgba(15, 23, 42, 0.55);
}

.portal-language-switcher__submit {
    padding: 8px 12px;
    border: 0;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.portal-language-switcher--sidebar {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.portal-language-switcher--sidebar .portal-language-switcher__select {
    width: 100%;
    min-width: 0;
}

.portal-language-switcher--auth .portal-language-switcher__select {
    background: rgba(255, 255, 255, 0.96);
}

.portal-language-switcher--mobile .portal-language-switcher__label {
    color: rgba(255, 247, 237, 0.82);
    opacity: 1;
}

.portal-language-switcher--mobile .portal-language-switcher__select {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff7ed;
}

.portal-language-switcher--mobile .portal-language-switcher__select-wrap::after {
    color: rgba(255, 247, 237, 0.8);
}
