.progress-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    /* Allows positioning of progress bar behind icons */
    margin-top: 20px;
    width: 100%;
    /* Ensures the container takes full width */
}

.progress-step {
    text-align: center;
    position: relative;
    width: 33.33%;
    /* Each step takes 1/3rd of the total width */
    /* z-index: -2; */
    /* Ensures the icons appear on top */
}

.progress-step::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: #ddd;
    /* This represents the grey line behind icons */
    top: 20px;
    left: 50%;
    z-index: -1;
    /* Ensures the line is behind the icons */
    transform: translateX(-50%);
}

.progress-bar-behind {
    position: absolute;
    top: 20px;
    /* Aligned with the grey line */
    left: 0;
    height: 4px;
    background-color: #4CAF50;
    width: 0%;
    transition:  1s cubic-bezier(0.895, 0.03, 0.685, 0.22);
}

.progress-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    font-size: 16px;
    color: #fff;
    position: relative;
}

.completed i {
    display: inline-block;
}

.shipped.completed .progress-icon,
.in-transit.completed .progress-icon,
.delivered.completed .progress-icon {
    background-color: green;
}