/* ================= FRONT ================= */

/* Formulário */
.tna17-form input[type="text"] {
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
}

.tna17-form button {
  background: #111827;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.tna17-form button:hover {
  background: #1f2937;
}

/* Card */
.tna17-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  margin-top: 16px;
}

.tna17-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

/* Timeline */
.tna17-timeline {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  position: relative;
}
.tna17-timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e5e7eb;
}
.tna17-timeline-item {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
}
.tna17-dot {
  position: absolute;
  left: 4px;
  width: 14px;
  height: 14px;
  background: #111827;
  border-radius: 50%;
  top: 4px;
}
.tna17-timeline-content {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
}
.tna17-timeline-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}
.tna17-time {
  font-weight: 600;
}
.tna17-loc::before {
  content: "• ";
  color: #9ca3af;
}
.tna17-txt {
  font-size: 14px;
  color: #111827;
}

/* Progress bar */
.tna17-progress-wrap {
  background: #f3f4f6;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}
.tna17-progress-bar {
  height: 8px;
  background: #111827;
  transition: width .4s ease;
}

/* Progress labels */
.tna17-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-top: 6px;
  color: #6b7280;
}
.tna17-step.done {
  color: #111
  
/* ===== Timeline rica com ícones ===== */
.tna17-timeline-rich {
  position: relative;
  margin: 16px 0 0;
  padding-left: 12px;
  list-style: none;
}
.tna17-timeline-rich::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e9edf2;
}
.tna17-timeline-item {
  position: relative;
  display: flex;
  gap: 12px;
  margin: 18px 0;
}
.tna17-timeline-item .tna17-dot {
  position: relative;
  z-index: 1;
  margin-left: 8px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e9edf2;
}
.tna17-timeline-item .tna17-icon {
  font-size: 16px;
  line-height: 1;
}
.tna17-timeline-item .tna17-timeline-content {
  flex: 1;
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 1px 1px rgba(0,0,0,.02);
}
.tna17-timeline-row {
  font-size: 13px;
  color: #6b7787;
  margin-bottom: 6px;
}
.tna17-timeline-row .tna17-time { font-weight: 600; color: #3a495a; }
.tna17-txt { font-size: 15px; color: #1f2937; }

/* cores por tipo (borda do dot) */
.tna17-timeline-item.posted   .tna17-dot { border-color: #6d28d9; }
.tna17-timeline-item.received .tna17-dot { border-color: #2563eb; }
.tna17-timeline-item.departed .tna17-dot { border-color: #0ea5e9; }
.tna17-timeline-item.arrived  .tna17-dot { border-color: #22c55e; }
.tna17-timeline-item.customs  .tna17-dot { border-color: #f59e0b; }
.tna17-timeline-item.out      .tna17-dot { border-color: #111827; }
.tna17-timeline-item.failed   .tna17-dot { border-color: #ef4444; }
.tna17-timeline-item.delivered .tna17-dot{ border-color: #16a34a; }
.tna17-timeline-item.intransit .tna17-dot{ border-color: #94a3b8; }

/* ===== Previsão de entrega ===== */
.tna17-eta {
  margin: 6px 0 0;
  font-size: 14px;
  color: #334155;
}
.tna17-eta strong { color: #0f172a; }

