/* ============================================================
   LOADING
   ============================================================ */

#loading-text {
  display: none;
  color: #64748b;
  font-size: 14px;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/* ============================================================
   ESTADÍSTICAS DE DATOS
   ============================================================ */

#data-stats {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  font-size: 13px;
}
#data-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
#data-stats strong {
  color: #1e293b;
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  #data-stats { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); }
}