/**
 * Ecotaxis - Estilos compartidos
 */

/* Animación de pulso */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.pulse { animation: pulse 2s ease-in-out infinite; }

/* Marquee de noticias */
.marquee {
  overflow: hidden;
}
.marquee span {
  display: inline-block;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
}
@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Transiciones suaves */
.smooth { transition: all 0.3s ease; }

/* Tab numérico monoespaciado */
.taxi-digit {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* Glass morphism */
.glass {
  background: rgba(20, 20, 24, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #1f1f24; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #333; }

/* Ocultar controles de mapa Leaflet */
.leaflet-control-attribution,
.leaflet-control-zoom { display: none !important; }

/* Input number sin spinners */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}
