.step-progress-bar {

    /* margin: 20px auto;
    */
    padding-top: 1rem;
    margin-left: 2rem;
    margin-right: 2rem;
    max-width: 50rem;
    padding-bottom: 1rem;
}

.progress-bar {

    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between; /* Spread out the circles */
    align-items: center;
    padding: 0;
    position: relative;
    width: 100%;
}

.progress-bar::before {
    content: "";
    position: absolute;
    top: 37%;
    left: 2%;
    width: 95%;
    height: 0.3rem;
    background-color: #d3d3d3;
    z-index: 1;
    transform: translateY(-50%);
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: none; /* Remove flex-grow, so steps do not grow */
}

.step:first-child {
    margin-left: 0; /* Ensure first step aligns to the start */
}

.step:last-child {
    margin-right: 0; /* Ensure last step aligns to the end */
}

.step-number {
    display: inline-block;
    height: 2.7rem;
    width: 2.7rem;
    line-height: 2.5rem;
    background-color: #d3d3d3;
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
    transition: background-color 0.3s;
    position: relative;
    z-index: 2; /* Ensures number is on top of the line */
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-top: 0.2rem; /* Set spacing between circle and label */
    display: block;
}
.active .step-number {
    background-color: #21d4fd;
}

/* Apply color to specific steps */
.step:nth-child(1) .step-number {
    background-color: #21d4fd; /* 1st step color */
}

.step:nth-child(2) .step-number {
    background-color:  #21d4fd; /* 2nd step color */
}

.step:nth-child(3) .step-number {
    background-color: #21d4fd; /* 3rd step color */
}

/* Remove the background color from the 4th step */
.step:nth-child(4) .step-number {
    background-color: #21d4fd;
}

.completed .step-number {
    background-color: #4caf50;
}

.completed .step-label {
    opacity: 0.7;
}

      /* /Mobile responsivenessa */
@media (max-width: 600px) {
    .step-progress-bar {

        /* margin: 20px auto;
        */
        padding-top: 0rem;
        margin-left: 1rem;
        margin-right: 1rem;
        max-width: 50rem;
        padding-bottom: 1rem;
    }


}