@import '~@equitysim/react-uikit/dist/styles/styleguide';
@import '~@equitysim/react-uikit/dist/styles/global/utils/size';

.c-team-management-modal {
    padding-bottom: v-space(4);

    &__row,
    &__form,
    &__banner {
        @extend %modal-section-large;
    }

    &__row {
        display: grid;
        grid-template-columns: 4.8rem 2fr 1fr;

        &:nth-of-type(2) {
            margin-top: v-space(2);
        }
    }

    &__user-info {
        padding-left: v-space(2);
    }

    &__hr {
        @extend %horizontal-line;
        margin: v-space(2) 0;
    }

    &__name,
    &__button {
        font-weight: $font-weight-bold;
    }

    &__name {
        font-size: 1.6rem;
        line-height: v-space(3);
        color: $grey-40;
        margin: 0;
    }

    &__email {
        color: $grey-60;
        display: block;
        font-size: 1.6rem;
        font-weight: $font-weight-normal;
        line-height: v-space(3);
        margin: 0;
    }

    &__button {
        justify-content: flex-end;

        &--danger {
            color: $bittersweet;
            &:hover {
                color: $coral;
            }
        }
        &--action {
            color: $success-color;
            &:hover {
                color: $seafoam-80;
            }
        }
        &--disabled {
            color: $grey-60;
            &:hover {
                color: $grey-60;
            }
        }
    }

    &__form {
        & > fieldset {
            border: none;
            padding: 0;
            display: grid;
            grid-template-columns: 3fr 1fr;

            & > div {
                margin-right: v-space(2);
            }
        }

        & label {
            @extend %label;
            display: block;
            margin-bottom: v-space(1);
            line-height: 1.6rem;
        }

        & button {
            margin-top: v-space(3);
        }

        & p {
            line-height: v-space(2);
            margin-bottom: v-space(4);
        }
    }

    &__banner {
        margin-bottom: v-space(4);
    }

    &__not-found {
        font-size: 1.4rem;
        line-height: v-space(2);
        font-weight: $font-weight-normal;

        & > em {
            font-style: normal;
            font-weight: $font-weight-bold;
        }
    }
}
