.add-language {
    display: inline-block;
    justify-content: center;
    direction: ltr;
    margin-inline-end: 1rem;

    & :first-child {
        margin-right: 25px;
    }

    & :nth-child(2) {
        font-family: initial;
        font-size: var(--font-size-lg);
        color: var(--black);
    }
}

.link {
    color: var(--blue);
    text-decoration: none;
}

.profile-info .form-fields .language-wrap {
    border: 2px solid rgba(230, 229, 227, 0.6);
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 2rem;
    display: block;
    width: 100%;
    position: relative;
    padding-bottom: 0.5rem;

    label {
        width: 100%;

        @media (--md-up) {
            width: 100%;

            &:nth-of-type(even) {
                margin-inline-start: 0;
            }
        }
    }

    > label:last-child {
        margin-bottom: 15px;
    }

    ul {
        margin: -30px 0 30px;
        position: absolute;
        background: white;
        z-index: var(--override-z-index);
        width: 100%;

        li {
            border-bottom: 1px solid var(--light-grey);
            cursor: pointer;
            list-style: none;
            width: 100%;
            padding: 13px;
        }
    }

    .downshift-open {
        border: 1px solid var(--grey);
        box-shadow: 0 2px 5px 0 var(--grey);
        border-radius: 10px;
        width: 96%;
        max-height: 500px;
        overflow-y: auto;
    }

}
