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

.c-email-settings-form {
    display: grid;
    grid-template-columns: 1.5fr 5.5fr;
    grid-auto-rows: v-space(8.25);
    align-items: center;
    grid-column: 1 / -1;

    @media screen and (max-width: $screen-small) {
        grid-template-columns: 1fr;
        grid-row-gap: v-space(2);
        grid-auto-rows: unset;
    }

    &__label {
        font-size: 1.6rem;
        font-weight: $font-weight-bold;
        color: $grey-40;

        @media screen and (max-width: $screen-small) {
            grid-column: 1 / -1;
        }
    }

    &__field {
        max-width: v-space(32);

        @media screen and (max-width: $screen-small) {
            max-width: unset;
            width: 100%;
        }
    }

    &__button {
        width: v-space(18);

        @media screen and (max-width: $screen-small) {
            width: v-space(16);
        }
    }

    &__submit {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: v-space(2);

        justify-self: flex-end;
    }
}
