/* Balaji Track Order bar Start 16-05-2026 */
.order-progress {
    margin-top: 30px;
    width: 100%;
    background: transparent;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    background: transparent !important;
}

/* Grey/black connector line */
.progress-bar::before {
    content: '';
    position: absolute;
    top: 8px;
    left: calc(1rem / 2);
    right: calc(1rem / 2);
    height: 4px;
    background: #ddd;
    border: 1px solid #000;
    z-index: 0;
}

/* Green active connector line */
.progress-bar::after {
    content: '';
    position: absolute;
    top: 8px;
    left: calc(1rem / 2);
    height: 4px;
    background: #28a745;
    border: 1px solid #000;
    z-index: 0;
    width: calc((100% - 1rem) * ((var(--progress-step) - 1) / (var(--total-steps) - 1)));
    transition: width 0.3s ease;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step:first-child {
    text-align: left;
}

.step:first-child .circle {
    margin-left: 0;
}

.step:last-child {
    text-align: right;
}

.step:last-child .circle {
    margin-right: 0;
}

.circle {
    width: 1rem;
    height: 1rem;
    background: #ddd;
    border: 1px solid #000;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.circle.active {
    background: #28a745;
}

.step p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.3;
    color: #333;
}

@media (max-width: 480px) {
    .step p {
        font-size: 12px;
    }
}
/* Balaji Track Order bar End 16-05-2026 */