@import "../../../templates/multi-step/theme";

.c-portfolio-onboarding-form {
    &__sponsorship-code-header {
        @extend %heading-md;
        grid-column: 1 / -1;
        text-align: center;
        line-height: v-space(4);
        margin: 0;
        font-weight: $font-weight-normal;

        &::after {
            content: "";
            @extend %horizontal-line;
        }
    }

    &__sponsorship-code-input {
        @extend %multi-step-form-input;
        margin-bottom: v-space(5);

        input {
            padding-left: v-space(4) !important;
        }

        &::after {
            content: "#";
            position: absolute;
            left: v-space(2);
            top: 1.2rem;
            font-size: v-space(2);
            color: $grey-80;
        }
    }

    &__sponsorship-code-label {
        @extend %multi-step-form-input-label;
        color: $grey-70;
    }

    &__sponsorship-code-email-step {
        grid-column: 1 / -2;
        align-self: start;
    }

    &__sponsorship-code-email {
        font-weight: $font-weight-bold;
        color: $grey-50;
        margin-bottom: v-space(2);
        line-height: v-space(3);

        &__feedback {
            @extend %body-text-xs;
            display: inline-flex;
            justify-content: center;
            align-items: center;
            color: $grey-70;
        }

        &__feedback-icon {
            color: $success-color;
            height: 1.2rem;
            width: 1.2rem;
            margin: 0 v-space(1) 0 v-space(2);
        }
    }

    &__sponsorship-code-resend {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

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

        &__button-tip {
            @extend %caption;
            @extend %link;

            margin: v-space(1) 0 v-space(2);
        }
    }
}

