.portal-menu__language-switcher {
    position: relative;
    gap: 8px;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    color: #0f263b;
    font-family: "Nunito Sans", sans-serif;
}

.portal-menu__language-field {
    position: relative;
    flex: 0 0 196px;
    width: 196px;
}

.portal-menu__language-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #00376e;
    cursor: pointer;
    gap: 8px;
    text-align: left;
}

.portal-menu__language-trigger:focus-visible {
    border-radius: 12px;
    outline: 2px solid #006bd5;
    outline-offset: 3px;
}

.portal-menu__language-label {
    flex: 0 0 auto;
    color: #00376e;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
}

.portal-menu__language-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 196px;
    width: 196px;
    min-width: 0;
    box-sizing: border-box;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #c1cddb;
    border-radius: 12px;
    background: #fbfbfb;
}

.portal-menu__language-value {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 12px;
    color: #0f263b;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.portal-menu__language-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    transition: transform 180ms ease;
}

.portal-menu__language-chevron img {
    display: block;
    width: 14px;
    height: 14px;
    transition: transform 180ms ease;
}

.portal-menu__language-switcher.is-open .portal-menu__language-chevron img {
    transform: rotate(180deg);
}

.portal-menu__language-panel {
    position: absolute;
    z-index: 20;
    top: 48px;
    right: 0;
    left: 0;
    width: 100%;
    min-width: 0;
    max-width: none;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid #c1cddb;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    background: #fbfbfb;
    box-shadow: 0 4px 8px rgba(15, 38, 59, 0.08);
}

.portal-menu__language-switcher.is-open .portal-menu__language-input {
    border-radius: 12px 12px 0 0;
    border-bottom: 0;
}

.portal-menu__language-options {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 12px 10px;
}

.portal-menu__language-option {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 8px 8px 0;
    border: 0;
    border-bottom: 1px solid #e1e8f0;
    background: #fbfbfb;
    color: #0f263b;
    cursor: pointer;
    gap: 16px;
    text-align: left;
}

.portal-menu__language-option:last-child {
    border-bottom: 0;
}

.portal-menu__language-option:nth-last-child(2) {
    border-bottom: 0;
}

.portal-menu__language-option:hover,
.portal-menu__language-option:focus-visible {
    background: #eef5fc;
    outline: 0;
}

.portal-menu__language-option.is-selected {
    background: #fbfbfb;
    color: #0f263b;
}

.portal-menu__language-option[aria-disabled="true"] {
    cursor: default;
}

.portal-menu__language-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 36px;
    padding: 0 24px;
    border: 0;
    border-radius: 32px;
    background: #004488;
    color: #fbfbfb;
    cursor: pointer;
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    margin-top: 8px;
    text-align: center;
    text-decoration: none;
}

.portal-menu__language-submit:focus-visible {
    outline: 2px solid #006bd5;
    outline-offset: 2px;
}

.portal-menu__language-radio {
    appearance: none;
    display: inline-block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin: 0;
    border: 2px solid #7087a1;
    border-radius: 50%;
    background: #fbfbfb;
    cursor: pointer;
}

.portal-menu__language-radio:checked {
    border-color: #003971;
    box-shadow: inset 0 0 0 5px #fbfbfb;
    background: #003971;
}

.portal-menu__language-radio:focus-visible {
    outline: 2px solid #006bd5;
    outline-offset: 2px;
}

.portal-menu__language-flag {
    position: relative;
    display: flex;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    overflow: visible;
    border-radius: 50%;
}

.portal-menu__language-flag img {
    display: block;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    outline: 1px solid #7087a1;
    outline-offset: 0;
}

.portal-menu__language-option-content {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1 1 auto;
    gap: 8px;
}

.portal-menu__language-option-label {
    min-width: 0;
    color: #0f263b;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

@media (max-width: 1150px) {
    .portal-menu__language-switcher {
        flex-basis: auto;
        width: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portal-menu__language-chevron,
    .portal-menu__language-chevron img {
        transition: none;
    }
}
