/* Header */
.dcimt-tracking-widget-header {
  text-align: center;
  margin-bottom: 2rem;
}
.dcimt-tracking-widget-header h1 {
  font-size: 2.5rem;
  margin: 0;
  font-weight: 700;
  color: #111;
}

/* Form row */
.dcimt-tracking-box {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  align-items: end;
}
.dcimt-tracking-form {
  flex: 1;
}
.dcimt-tracking-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}
.dcimt-track-input-box {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color .2s ease;
}
.dcimt-track-input-box:focus {
  outline: none;
  border-color: #f9991d;
}

/* Button */
.dcimt-track-order-btn {
  background: #f9991d;
  color: #fff;
  border: none;
  padding: 0 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease;
}
.dcimt-track-order-btn:hover {
  background: #e5870f;
}

/* Result box */
.dcimt-track-order-result {
  background: #fafafa;
  border-radius: 12px;
  padding: 1.5rem;
}
.dcimt-track-order-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.dcimt-track-order-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.dcimt-track-order-status {
  background: #f9991d;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
}
.dcimt-track-ordder-company {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111;
}
.dcimt-track-order-right .dcimt-estimate-delivery {
  display: block;
  font-size: 0.9rem;
  color: #555;
  text-align: right;
}
.dcimt-track-order-right .dcimt-estimate-delivery-status {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
}

/* Divider */
.dcimt-track-order-result hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 1rem 0;
}

/* Details rows */
.dcimt-delivery-data .dcimt-flex-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.dcimt-text {
  color: #555;
}
.dcimt-bold {
  font-weight: 600;
  color: #111;
}

/* Step tracker */
.dcimt-step-tracker .dcimt-step {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
}
.dcimt-step + .dcimt-step {
  border-top: 1px solid #eee;
}
.dcimt-date {
  color: #777;
  width: 25%;
}
.dcimt-shipment-text {
  font-weight: 500;
  color: #333;
  width: 70%;
}

.dcimt-error{
  color: red;
}

@media(max-width: 600px){
    .dcimt-tracking-box{
        flex-direction: column;
        width: 100%;
    }
    .dcimt-tracking-form{
        width: 100%;
    }
    .dcimt-track-order-btn{
        width: 100%;
    }
    .dcimt-track-order-result-header{
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }
    .dcimt-track-order-right{
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .dcimt-track-order-left{
      width: 100%;
      justify-content: space-between;
    }

    .dcimt-delivery-data .dcimt-flex-content{
      flex-direction: column;
    }

    .dcimt-step-tracker .dcimt-step{
      flex-direction: column;
    }

    .dcimt-step-tracker .dcimt-step .dcimt-shipment-text{
      width: 100%;
    }
}