/* -------------------------
Progress Bar (Top Section)
--------------------------*/

.mvesh-progress{
display:flex;
justify-content:space-between;
margin:15px 0 25px;
position:relative;
}

.mvesh-progress::before{
content:'';
position:absolute;
top:6px;
left:0;
right:0;
height:2px;
background:#e5e5e5;
z-index:0;
}

.mvesh-progress-step{
text-align:center;
flex:1;
position:relative;
z-index:1;
}

.mvesh-progress-step .dot{
width:14px;
height:14px;
border-radius:50%;
background:#dcdcdc;
margin:0 auto 6px;
transition:background .2s ease;
}

.mvesh-progress-step.completed .dot{
background:#4CAF50;
}

.mvesh-progress-step.active .dot{
background:#2271b1;
}

.mvesh-progress-step .label{
font-size:12px;
opacity:.85;
white-space:nowrap;
}


/* -------------------------
Shopify Style Timeline
--------------------------*/

.mvesh-customer-timeline{
margin-top:20px;
position:relative;
padding-left:25px;
border-left:2px solid #e5e5e5;
}

.mvesh-customer-event{
position:relative;
margin-bottom:20px;
}

.mvesh-customer-event::before{
content:'';
width:12px;
height:12px;
background:#2271b1;
border-radius:50%;
position:absolute;
left:-31px;
top:4px;
}

.mvesh-customer-event:last-child{
margin-bottom:0;
}

.mvesh-customer-event strong{
display:block;
font-size:14px;
margin-bottom:3px;
}

.mvesh-customer-event .time{
font-size:12px;
color:#777;
margin-bottom:4px;
}

.mvesh-customer-event .msg{
font-size:13px;
line-height:1.4;
color:#333;
}

/* Remove default list bullet from tracking timeline */
.mvesh-tracking-events {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.mvesh-tracking-events li {
    list-style: none;
}

.mvesh-progress-step.completed .dot{
background:#4CAF50;
position:relative;
}

.mvesh-progress-step.completed .dot:after{
content:"✓";
color:#fff;
font-size:10px;
position:absolute;
top:-1px;
left:3px;
}




/* -------------------------
Vendor Timeline
--------------------------*/

.mvesh-tracking-events{
margin-top:15px;
padding-left:18px;
}

.mvesh-tracking-events li{
margin-bottom:14px;
position:relative;
}

.mvesh-tracking-events .meta{
font-size:11px;
opacity:.65;
margin-bottom:2px;
}

.mvesh-tracking-events .msg{
font-size:13px;
line-height:1.4;
}
/* Customer view-order page: vendor-level tracking inside the order items table. */
.mvesh-item-vendor-tracking {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fff;
    clear: both;
}

.mvesh-item-vendor-tracking__header {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: baseline;
    margin-bottom: 8px;
}

.mvesh-item-vendor-tracking__header span {
    color: #555;
    font-size: 13px;
}

.mvesh-item-vendor-tracking p {
    margin: 6px 0;
}

.mvesh-item-vendor-tracking__pending {
    color: #666;
}

.mvesh-item-vendor-tracking__received {
    margin-top: 10px;
    font-weight: 600;
    color: #2f7d32;
}

.mvesh-item-vendor-progress {
    margin-top: 16px;
}

.mvesh-item-vendor-timeline {
    margin-top: 16px;
    margin-bottom: 12px;
}

.mvesh-customer-mark-received.loading {
    opacity: .65;
    cursor: wait;
}

@media (max-width: 600px) {
    .mvesh-item-vendor-progress .label {
        white-space: normal;
        font-size: 11px;
    }
}
