.steps-wrap {
    margin-bottom: 40px;
}

.step-tabs {
    display: flex;
    justify-content: center;

    .step-tab {
        font-size: 18px;
        font-weight: var(--font-medium);
        height: 55px;
        width: 300px;
        display: flex;
        margin: 0 15px;
        justify-content: center;
        align-items: center;
        color: var(--color-black);
        text-align: center;
        background: var(--color-white);
        border: 1px solid var(--color-gray-lite);
        border-radius: var(--radius-default);
        white-space: nowrap;
        overflow: hidden;
        cursor: default;

        &.active {
            color: var(--color-white);

            background: var(--color-primary);

            border-color: var(--color-primary);

            .step-tab-text {
                .bg-text {
                    color: var(--color-white);
                }
            }
        }
    }

    .step-tab-link {
        display: flex;
        width: 100%;
        color: var(--color-black);
        justify-content: center;
        align-self: stretch;
        align-items: center;
    }

    .step-tab-text {
        position: relative;

        .bg-text {
            font-size: 38px;
            position: absolute;
            top: 50%;
            right: -35px;
            width: 50px;
            color: var(--color-black);
            opacity: 0.15;
            transform: translateY(-50%);
        }
    }
}

@media screen and (max-width: 991px) {
    .steps-wrap {
        display: none;
    }

    .step-tabs {
        .step-tab {
            font-size: 16px;
            height: 50px;
            width: 250px;
        }

        .step-tab-text {
            .bg-text {
                font-size: 36px;
            }
        }
    }
}

@media screen and (max-width: 886px) {
    .step-tabs {
        align-items: center;
        flex-direction: column;

        .step-tab {
            margin: 8px 15px;

            &:first-child {
                margin-top: 0;
            }

            &:last-child {
                margin-bottom: 0;
            }
        }
    }
}
