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

.c-multi-step-form {
    width: 100%;

    &__header {
        @extend %heading-sm;

        display: flex;
        align-items: flex-end;
        width: 100%;
        min-height: v-space(11);
        padding: v-space(2) v-space(6);
        margin: 0;
        color: $white;
        background-color: $seafoam;
    }

    &__body {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 0 v-space(6);
        align-items: center;
        padding: v-space(3) v-space(6);

        @media screen and (max-width: $screen-small) {
            grid-template-columns: 1fr;
            padding: v-space(3);
        }
    }

    &__button {
        padding: 0 v-space(3);
    }

    &__progress {
        grid-column: 1 / -2;

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

    &__progress-button,
    &__progress-label {
        color: $seafoam;
        padding: 0 0 v-space(1) 0;
    }

    &__progress-button {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        width: unset;
        min-width: 4rem;
        font-size: 1.4rem;
        border: 0;
        outline: 0;
        cursor: pointer;
        transition: all $animation-duration;
        background-color: transparent !important;

        &--disabled {
            color: $grey-70;
            pointer-events: none;
            cursor: default;
        }

        &:hover {
            color: lighten($seafoam, 7.5%);
        }
    }

    &__progress-label {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-end;
        flex: 1 0 auto;
        font-size: 1.2rem;
        color: $seafoam;
    }
}
