@mixin background-arrow() {
    background: var(--gray-200);

    &::after {
        border-color: transparent transparent transparent var(--gray-200);
        border-style: solid;
        border-width: 16px 0 18px 15px;
        content: "";
        height: 0;
        position: absolute;
        right: -15px;
        top: 0;
        width: 0;
    }
}

.Opm-digital-product-navigation {

    display: flex;

    &-container {
        background: var(--white);
        box-shadow: 1px 0 0 var(--white);
        flex: 1;
        padding: 15px $grid_gutter_width;
    }

    &-link {
        align-items: center;
        color: var(--gray-700);
        display: flex;
        flex-direction: row;
        font-weight: $weight_book;
        justify-content: center;
        min-height: 32px;
        outline: none;
        padding-left: 5px;
        padding-right: 5px;
        text-decoration: none;

        &:focus,
        &:hover {
            text-decoration: none;
            color: var(--gray-700);
            @include background-arrow();
        }

        .Opm-navigation-container-flex & {
            padding: 0 4px 0 20px;
        }
    }

    &-link-text {
        flex: 2;
    }

    &-status {
        border-radius: 5px;
        color: var(--white);
        font-size: 10px;
        font-weight: $weight_extra_bold;
        padding: 2px;
    }

    &-text-container {
        margin-bottom: 5px;
        max-width: 225px;
    }

    &-action-required,
    &-error-correction {
        background: var(--parrot);
    }

    &-in-content {
        background: var(--turtle);
    }

    &-more-actions-menu-wrapper {
        display: flex;
        height: 0;
    }

    &-transfer-to-content {
        background: var(--bluejay);
    }

    &-orchard-processing {
        background: var(--fox);
    }

    &-step {
        border-bottom: 1px solid $grey_200;
        position: relative;

        &:first-of-type {
            border-bottom: 1px solid var(--gray-400);
            border-top: 1px solid $grey_200;
        }

        &:last-of-type {
            border-bottom: 1px solid var(--gray-400);
        }
    }

    &-steps {
        font-size: 14px;
        margin-top: 10px;

        .Opm-navigation-container-flex & {
            padding-right: 8px;
        }
    }

    &-step > &-selected {
        color: var(--gray-800);
        font-weight: $weight_bold;

        @include background-arrow();
    }

    &-validate-button,
    &-submit-button {
        margin-top: 15px;
    }

    &-validate-container,
    &-submit-container {
        text-align: center;
    }

    &-resubmit-container {
        border-top: 1px solid var(--gray-100);
        margin: 5px 0 5px 0;
        padding-top: 20px;
        text-align: center;
        text-transform: uppercase;
    }

    &-failed-notification {
        .Toast-body {
            border-left: 5px solid red;
        }
    }

    &-view-link {
        color: #42c6ff;
        font-weight: $weight_bold;
    }
}
