
.modal-content {
  border-radius: 20px;
 background: #F5F5F5 !important;
 box-shadow: 0px 3px 6px #00000029; 
 border: none !important;
}


.track-modal-body .shipment-card {
  background: #F5F5F5 !important;
  border-radius: 20px;
  position: relative;
  /* box-shadow: 0px 3px 6px #00000029; */
  border: none !important;
}

.track-modal-body .order-badge {
  background: #1b9e26 !important;
  color: #2e7d32;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #81c784;
}

.track-modal-body .badge-dot {
  width: 8px;
  height: 8px;
  background: #2e7d32;
  border-radius: 50%;
}


.track-modal-body .shipment-timeline {
  position: relative;
  background: #4d4c4c !important;
  border-radius: 16px;
  padding: 30px 20px;
  
  background:  000 !important;
  background-size: cover;
  background-position: center;
}

.track-modal-box{
background-image: url("/images/order_placed/mapimg.png") !important;
}


.track-modal-body .shipment-timeline::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 40px;
  bottom: 40px;
  border-left: 2px dashed #9e9e9e;
}


.track-modal-body .timeline-step {
  position: relative;
  padding-left: 70px;
  margin-bottom: 60px;
}

/* Circle */
     .track-modal-body .timeline-dot {
  position: absolute;
  left: 20px;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 4px solid #cfcfcf;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* DONE step */
.track-modal-body .timeline-step.done .timeline-dot {
  border-color: #2e7d32;
}

.track-modal-body .timeline-step.done .order-text {
  color: #2e7d32;
  font-weight: 600;
}

/* ACTIVE step */
.track-modal-body .timeline-step.active .timeline-dot {
  border-color: #2e7d32;
}

.track-modal-body .timeline-step.active .inner_dot {
  width: 14px;
  height: 14px;
  background: #2e7d32;
  border-radius: 50%;
}

/* PENDING step */
.track-modal-body .timeline-step.pending .timeline-dot {
  border-color: #cfcfcf;
}

.track-modal-body .timeline-step.pending .inner_dot {
  width: 12px;
  height: 12px;
  background: black;
  border-radius: 50%;
}

/* Text */
.track-modal-body .order-text {
  font-size: 16px;
  font-weight: 600;
  color: #212121;
}

.track-modal-body .order-desc {
  font-size: 14px;
  color: #757575;
  margin-top: 5px;
}

.track-modal-body .date-time {
  font-size: 13px;
  color: #424242 !important;
}

.track-modal-body .timeline-step {
  position: relative;
  padding-left: 70px;
  margin-bottom: 60px;
}


.track-modal-body .timeline-step::before {
  content: "";
  position: absolute;
  left: 34px;        
  top: 34px;         
  bottom: -60px;     
  width: 2px;
  border-left: 2px dashed #9e9e9e;
}


     .track-modal-body .timeline-step:last-child::before {
  display: none;
}

.track-modal-body .custom-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s ease;
  border: 1px solid #ccc;
}

.track-modal-body .custom-close svg {
  font-size: 16px;
  color: #333;
}

.track-modal-body .custom-close:hover {
  background:#F935008C;
  color: white;
}

.track-modal-body .custom-close:hover svg {
  color: #2e7d32;
}
.track-modal-body .order-box {
    border: 1px solid #3c9734;
    border-radius: 7px;
    font-size: 15px;
    padding: 6px;
    background: #e8fce7;
    color: #3c9734;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center !important;
    gap: 5px;
    position: relative;
    bottom: 45px;
}
.track-modal-body .dot {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background: #3c9734;
}

@media (min-width: 0px) and (max-width: 576px) {

  .modal-dialog {
    margin: 10px;
  }

  .track-modal-body .shipment-timeline {
    padding: 20px 15px;
  }

  .track-modal-body .timeline-step {
    padding-left: 55px;
    margin-bottom: 35px;
  }

  .track-modal-body .timeline-dot {
    left: 10px;
    width: 28px;
    height: 28px;
  }

  .track-modal-body .timeline-step::before {
    left: 23px;
  }

  .track-modal-body .order-text {
    font-size: 14px;
  }

  .track-modal-body .order-desc {
    font-size: 13px;
  }

  .track-modal-body .date-time {
        
        font-size: 11px;
        text-align: end;
    
  }

  .track-modal-body .custom-close {
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
  }
  .track-modal-body .order-box {
    
    font-size: 10px;}

}



@media (min-width: 577px) and (max-width: 992px) {

  .track-modal-body .shipment-timeline {
    padding: 25px 18px;
  }

  .track-modal-body .timeline-step {
    padding-left: 60px;
  }

  .track-modal-body .timeline-dot {
    left: 15px;
  }

}