/* Track Order - Frontend Styles */
.newds-track-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
}

.newds-track-page__header {
  text-align: center;
  margin-bottom: 30px;
}

.newds-track-page__header h2 {
  font-family: "Merriweather", serif;
  font-size: 26px;
  font-weight: 400;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.newds-track-page__header p {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #888;
  margin: 0;
}

/* Search Form */
.newds-track-form {
  margin-bottom: 30px;
}

.newds-track-form__input {
  display: flex;
  gap: 0;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.newds-track-form__input:focus-within {
  border-color: #000;
}

.newds-track-form__input input {
  flex: 1;
  border: none;
  padding: 14px 18px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  outline: none;
}

.newds-track-form__input button {
  background: #000;
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s;
}

.newds-track-form__input button:hover {
  background: #333;
}

/* Result Card */
.newds-track-result {
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 28px;
}

.newds-track-result__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.newds-track-result__id {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  color: #666;
}

.newds-track-result__id strong {
  color: #1a1a1a;
  font-family: monospace;
}

.newds-track-status {
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 20px;
}

.newds-track-status--pending { background: #fff3e0; color: #e65100; }
.newds-track-status--processing { background: #e3f2fd; color: #1565c0; }
.newds-track-status--shipped { background: #f3e5f5; color: #6a1b9a; }
.newds-track-status--delivered { background: #e8f5e9; color: #2e7d32; }
.newds-track-status--cancelled { background: #ffebee; color: #c62828; }

/* Timeline */
.newds-track-timeline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
  position: relative;
  padding: 0 10px;
}

.newds-track-timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: #e0e0e0;
  border-radius: 3px;
}

.newds-track-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.newds-track-step__dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e0e0e0;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #e0e0e0;
  transition: all 0.3s;
}

.newds-track-step.done .newds-track-step__dot {
  background: #000;
  box-shadow: 0 0 0 2px #000;
}

.newds-track-step.current .newds-track-step__dot {
  background: #000;
  box-shadow: 0 0 0 2px #000, 0 0 0 6px rgba(0,0,0,0.1);
}

.newds-track-step span {
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.newds-track-step.done span,
.newds-track-step.current span {
  color: #1a1a1a;
}

/* Details */
.newds-track-details {
  margin-bottom: 24px;
}

.newds-track-details__row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
}

.newds-track-details__row:last-child {
  border-bottom: none;
}

.newds-track-details__row span {
  color: #888;
}

.newds-track-details__row strong {
  color: #1a1a1a;
  text-align: right;
  max-width: 60%;
}

/* India Post Link */
.newds-track-indiapost {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.newds-track-indiapost__btn {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: #e53935;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
  margin-bottom: 8px;
}

.newds-track-indiapost__btn:hover {
  background: #c62828;
  color: #fff;
}

.newds-track-indiapost p {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  color: #888;
  margin: 8px 0 0 0;
}

.newds-track-indiapost code {
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

/* Not Found */
.newds-track-notfound {
  text-align: center;
  padding: 40px 20px;
  background: #fff8f8;
  border: 1px solid #fce4e4;
  border-radius: 10px;
}

.newds-track-notfound p {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #666;
  margin: 0 0 8px 0;
}

/* Responsive */
@media (max-width: 600px) {
  .newds-track-page { padding: 20px 16px; }
  .newds-track-page__header h2 { font-size: 20px; }
  .newds-track-form__input { flex-direction: column; }
  .newds-track-form__input button { border-radius: 0; }
  .newds-track-result { padding: 20px; }
  .newds-track-timeline { gap: 4px; }
  .newds-track-step span { font-size: 9px; }
  .newds-track-details__row { flex-direction: column; gap: 4px; }
  .newds-track-details__row strong { text-align: left; max-width: 100%; }
}
