@import '../../../styles/definitions/breakpoints';
@import '../../../styles/mixins';

.orderConfirmation {
    $confirmation-title-color: $deep-gray;
    $confirmation-icon-color: $success-color;
    $confirmation-icon-size: 64px;

    &_heading {
        width: 100%;
        max-width: 610px;
        margin: 0 auto;
        text-align: center;
    }

    &_icon {
        height: $confirmation-icon-size;
        margin-bottom: 24px;
        fill: $confirmation-icon-color;

        .check {
            fill: $white;
        }
    }

    &_title, &_message {
        text-align: center;
    }

    &_title {
        @include title-1;
        margin: 0 0 16px;
        line-height: 33px;
    }

    &_message {
        margin: 0;
    }

    &_btnContainer {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }

    &_cta {
        margin-top: 30px;
        
        &:not(&--link) {
            min-width: 250px;
        }
    }
}
