/* Leopard Tracking Form — separate stylesheet. Safe to edit or override. */

.ltf-form {
  max-width: 560px;
  margin: 1.5rem auto;
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.ltf-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.ltf-row {
  display: flex;
  gap: 0.5rem;
}

.ltf-input {
  flex: 1;
  padding: 0.7rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  text-transform: uppercase;
}

.ltf-button {
  padding: 0.7rem 1.2rem;
  border: 0;
  border-radius: 8px;
  background: #16a34a;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.ltf-button:hover { background: #15803d; }
.ltf-button:disabled { opacity: 0.6; cursor: wait; }

.ltf-hint { color: #64748b; font-size: 0.875rem; margin-top: 0.5rem; }

.ltf-inline-result { margin-top: 1rem; }

.ltf-result { max-width: 720px; margin: 1.5rem auto; }

.ltf-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  background: #fff;
  margin-bottom: 1rem;
}

.ltf-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

.ltf-card-label { font-size: 0.75rem; text-transform: uppercase; color: #64748b; letter-spacing: 0.04em; }
.ltf-card-cn { margin: 0; font-size: 1.4rem; letter-spacing: 0.02em; }

.ltf-status {
  background: #dcfce7;
  color: #166534;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.ltf-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.5rem 1rem; margin: 0; }
.ltf-meta div { background: #f8fafc; border-radius: 8px; padding: 0.5rem 0.75rem; }
.ltf-meta dt { font-size: 0.72rem; text-transform: uppercase; color: #64748b; }
.ltf-meta dd { margin: 0; font-weight: 600; }

.ltf-timeline-title { margin-top: 1rem; font-size: 1.05rem; }
.ltf-timeline { list-style: none; margin: 0.75rem 0 0; padding: 0 0 0 0.25rem; }
.ltf-timeline-item { display: flex; gap: 0.75rem; padding: 0.6rem 0; border-left: 2px solid #e2e8f0; padding-left: 1rem; position: relative; }
.ltf-dot { width: 10px; height: 10px; border-radius: 50%; background: #16a34a; position: absolute; left: -6px; top: 1rem; }
.ltf-activity { margin: 0; font-weight: 600; }
.ltf-location, .ltf-date { margin: 0; color: #64748b; font-size: 0.875rem; }

.ltf-error { border: 1px solid #fecaca; background: #fef2f2; color: #991b1b; border-radius: 8px; padding: 1rem; }
.ltf-empty { color: #64748b; }
.ltf-raw { margin-top: 0.75rem; }

@media (max-width: 480px) {
  .ltf-row { flex-direction: column; }
}
