
/** track-order-section **/

.track-order-section{
  position: relative;
}

.track-order-section .sec-title p{
  font-size: 15px;
  line-height: 26px;
  max-width: 560px;
  margin: 10px auto 0;
}

.track-order-section .track-form-box{
  border: 1px dashed var(--border-color);
  border-radius: 10px;
  padding: 30px 30px 10px;
  margin-bottom: 30px;
  background: var(--badge-promo-color);
}

.track-order-section .track-form-box .row.clearfix{
  align-items: flex-end;
}

.track-order-section .track-form-box .field-column{
  padding: 0px 5px;
}

.track-order-section .track-form-box .form-group{
  position: relative;
  display: block;
  margin-bottom: 26px;
}

.track-order-section .track-form-box .form-group label{
  position: relative;
  display: block;
  font-size: 16px;
  line-height: 26px;
  color: var(--title-color);
  margin-bottom: 4px;
}

.track-order-section .track-form-box .form-group label span{
  color: rgba(233, 37, 48, 1);
}

.track-order-section .track-form-box .form-group input[type='text']{
  position: relative;
  display: block;
  width: 100%;
  height: 50px;
  border: 1px dashed rgb(39 170 225);
  font-size: 16px;
  color: var(--title-color);
  padding: 10px 20px;
  border-radius: 50px;
  transition: all 500ms ease;
}

.track-order-section .track-form-box .form-group .theme-btn{
  width: 100%;
  height: 50px;
  padding: 0;
}

.track-order-section .track-form-note{
  font-size: 13px;
  color: rgba(106, 106, 106, 1);
  padding-bottom: 20px;
}

.track-order-section .track-form-note i{
  color: var(--theme-color);
  margin-right: 4px;
}

.track-order-section .track-not-found{
  max-width: 560px;
  margin: 0 auto 30px;
  background: #FFF1F2;
  color: #E34A55;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14px;
}

.track-order-section .track-result-box{
  background: #fff;
  border-radius: 28px;
  padding: 40px 44px;
  box-shadow: 0 20px 50px -20px rgba(21, 21, 21, 0.12);
}

.track-order-section .result-header{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  padding-bottom: 28px;
  margin-bottom: 32px;
  border-bottom: 1px solid #F1F1F1;
}

.track-order-section .result-header .label{
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #A6A6A6;
}

.track-order-section .result-header h4{
  font-size: 28px;
  font-weight: 800;
  line-height: 36px;
  margin: 4px 0 6px;
  color: var(--title-color);
}

.track-order-section .result-header .date{
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(106, 106, 106, 1);
}

.track-order-section .status-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  background: #F1F1F1;
  color: #555;
}

.track-order-section .status-pill .dot{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.track-order-section .status-pill.status-pending{ background:#FFF9E9; color:#D99A00; }
.track-order-section .status-pill.status-processing{ background:#E8F8FB; color:#0AA1C0; }
.track-order-section .status-pill.status-shipped{ background:#F3EDFF; color:#7C4DFF; }
.track-order-section .status-pill.status-delivered{ background:#EAF9F0; color:#1FA96B; }
.track-order-section .status-pill.status-cancelled{ background:#FFF1F2; color:#E34A55; }
.track-order-section .status-pill.status-refunded{ background:#FFF9E9; color:#D99A00; }

/* Modern icon step timeline */
.track-order-section .status-timeline{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  list-style: none;
  padding: 24px 20px;
  margin: 0 0 8px;
  position: relative;
  background: #FAFAFA;
  border-radius: 20px;
}

.track-order-section .status-timeline::before{
  content: '';
  position: absolute;
  top: 44px;
  left: 12%;
  right: 12%;
  height: 3px;
  background: #E8E8E8;
  border-radius: 3px;
  z-index: 0;
}

.track-order-section .status-timeline li{
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
}

.track-order-section .status-timeline li .dot{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #E8E8E8;
  color: #C2C2C2;
  font-size: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  transition: all 400ms ease;
}

.track-order-section .status-timeline li .text{
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #A6A6A6;
  margin-top: 12px;
}

.track-order-section .status-timeline li.done .dot{
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: #fff;
}

.track-order-section .status-timeline li.done .text{
  color: var(--title-color);
}

.track-order-section .status-timeline li.current .dot{
  box-shadow: 0 0 0 6px rgba(247, 97, 136, 0.15);
  transform: scale(1.08);
}

.track-order-section .status-timeline li.current .text{
  color: var(--theme-color);
  font-weight: 700;
}

.track-order-section .status-timeline li.is-halted .dot{
  background: #E34A55;
  border-color: #E34A55;
  color: #fff;
  box-shadow: 0 0 0 6px rgba(227, 74, 85, 0.15);
}

.track-order-section .status-timeline li.is-halted .text{
  color: #E34A55;
  font-weight: 700;
}

.track-order-section .history-list,
.track-order-section .order-items-recap{
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid #F1F1F1;
}

.track-order-section h5{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--title-color);
  line-height: 22px;
  margin-bottom: 16px;
}

.track-order-section h5 i{
  color: var(--theme-color);
  font-size: 14px;
}

.track-order-section .history-list ul,
.track-order-section .order-items-recap ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.track-order-section .history-list li{
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  padding: 10px 0;
  color: rgba(106, 106, 106, 1);
}

.track-order-section .history-list li .dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--theme-color);
  flex-shrink: 0;
}

.track-order-section .history-list li .text{
  font-weight: 600;
  color: var(--title-color);
}

.track-order-section .history-list li .date{
  margin-left: auto;
  font-size: 12.5px;
  color: #A6A6A6;
}

.track-order-section .order-items-recap li{
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14.5px;
  padding: 12px 16px;
  color: var(--title-color);
  background: #FAFAFA;
  border-radius: 14px;
  margin-bottom: 8px;
}

.track-order-section .order-items-recap li .qty{
  color: #A6A6A6;
  font-weight: 500;
  font-size: 13px;
}

.track-order-section .order-items-recap li .price{
  font-weight: 700;
  white-space: nowrap;
}

.track-order-section .order-items-recap .grand-total{
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  background: var(--theme-color);
  border-radius: 14px;
  padding: 16px 20px;
  margin-top: 14px;
}

@media only screen and (max-width: 767px){
  .track-order-section .track-result-box{
    padding: 26px 22px;
    border-radius: 20px;
  }

  .track-order-section .status-timeline{
    flex-wrap: wrap;
    gap: 24px 0;
    padding: 20px 10px;
  }

  .track-order-section .status-timeline::before{
    display: none;
  }

  .track-order-section .status-timeline li{
    flex: 0 0 50%;
  }
}
