.stepper {
    display: flex;
    justify-content: space-between;
    background-color: #f1f3f5;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
}

.step {
    text-align: center;
    position: relative;
    flex: 1;
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 53%;
    right: -50%;
    width: 100%;
    height: 3px;
    background-color: #dee2e6;
    z-index: 0;
}

.step-circle {
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 0 auto 8px;
    border-radius: 50%;
    background-color: #dee2e6;
    color: #495057;
    font-weight: 500;
    z-index: 1;
    position: relative;
}

.step .active .step-circle {
    background-color: #ee4522;
    color: #fff;
}

.step-title {
    font-size: 0.9rem;
    color: #6c757d;
}

.step .step-title {
    color: #6c757d;
    opacity: 0.7;
}

.step.active .step-title {
    color: #ee4522;
    font-weight: 500;
}

.step a:hover {
    text-decoration: none;
}

.step a[disabled] {
    pointer-events: none;
    cursor: not-allowed;
}

.step a[disabled] .step-circle {
    color: #adb5bd;
    opacity: 0.8;
}


@media (max-width: 992px) {
    .step:not(:last-child)::after {
        top: 40%;
    }
}

@media (max-width: 770px) {
    .step-title {
        display: none;
    }

    .step-circle {
        width: 30px;
        height: 30px;
        line-height: 30px;
    }

    .step:not(:last-child)::after {
        top: 72%;
    }
}
