body {
  font-family: 'Inter', sans-serif;
}

/* Force 16px min on all inputs to prevent iOS Safari zoom */
input, select, textarea, .form-control, .form-select {
  font-size: 16px !important;
}

.card {
  border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  border-radius: 12px;
}

.card-header {
  border-radius: 12px 12px 0 0 !important;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.navbar-brand {
  font-size: 1.1rem;
  letter-spacing: -.3px;
}

.badge-validado {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  padding: .4em .8em;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
}

.mrz-display {
  font-family: 'Courier New', monospace;
  font-size: .85rem;
  background: #1e293b;
  color: #4ade80;
  padding: 1rem;
  border-radius: 8px;
  letter-spacing: .08em;
  word-break: break-all;
}

.viaje-card {
  transition: transform .15s, box-shadow .15s;
  cursor: pointer;
}
.viaje-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.stat-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.spinner-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.9);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.spinner-overlay.active {
  display: flex;
}

.success-banner {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  border: 2px solid #22c55e;
  border-radius: 12px;
  padding: 1.5rem;
}

.capture-card {
  max-width: 480px;
  margin: 0 auto;
}

.qr-container img {
  max-width: 220px;
  border: 3px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px;
}

.table th {
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #64748b;
}

.passport-row:hover {
  background: #f8fafc;
}
