.language-selector {
    display: flex;
    align-items: center;
    gap: 6px;
}

.language-globe {
    font-size: 18px;
    line-height: 1;
}

.language-dropdown {
    position: relative;
}

.language-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 142px;
    height: 38px;
    padding: 0 10px;
    border: 1.5px solid #d4d7e6;
    border-radius: 9px;
    background-color: #fff;
    color: var(--navy);
    font-size: 14px;
    cursor: pointer;
}

.nav-link-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.menu-chevron {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    align-self: center;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
}

.language-panel {
    right: 0;
    min-width: 200px;
    background: #fff;
}

.language-panel button {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.language-panel button:hover,
.language-panel button.active {
    background: #f2f8f9;
}

.language-check {
    width: 12px;
    flex-shrink: 0;
    color: var(--teal);
}

@media (max-width: 1080px) {
    .mobile-accordion-toggle {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        padding: 13px 8px;
        border: 0;
        border-bottom: 1px solid #edeff7;
        background: transparent;
        color: var(--text);
        font-size: 16px;
        font-weight: 700;
        text-align: left;
        cursor: pointer;
    }

    .mobile-accordion-toggle .menu-chevron {
        margin-right: 5px;
        transition: transform 160ms ease;
    }

    .mobile-accordion-toggle[aria-expanded="true"] .menu-chevron {
        transform: rotate(225deg);
    }

    .mobile-submenu {
        display: flex;
        flex-direction: column;
        padding: 4px 8px 10px 20px;
        border-bottom: 1px solid #edeff7;
        background: #f7f8fb;
    }

    .mobile-submenu a {
        display: flex;
        min-height: 42px;
        align-items: center;
        padding: 9px 4px;
        color: var(--muted);
        font-size: 14.5px;
        font-weight: 700;
        text-decoration: none;
    }

    .mobile-menu > .language-selector {
        padding: 13px 8px;
        border-bottom: 1px solid #edeff7;
    }

    .mobile-menu .language-panel {
        right: auto;
        left: 0;
    }
}
