/* gestion_canal/estilos/css/en-vivo.css
   Badge "EN VIVO" parpadeante para el programa que está en su horario. */

.badge-en-vivo {
  position: absolute;
  top: 10px;
  left: 10px;
  display: none;          /* oculto por defecto, lo muestra en-vivo.js si corresponde */
  align-items: center;
  gap: 6px;
  background: var(--color-acento);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.badge-en-vivo.mostrar {
  display: inline-flex;
}

/* Es un enlace a la señal en vivo: que se note al pasar el mouse */
.badge-en-vivo:hover,
.badge-en-vivo:focus-visible {
  color: #fff;
  background: #dc2626;
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.45);
}

.badge-en-vivo .icono { margin-left: -2px; font-size: 1rem; line-height: 1; }

.badge-en-vivo-chica[data-href] {
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.badge-en-vivo-chica[data-href]:hover,
.badge-en-vivo-chica[data-href]:focus-visible {
  background: #dc2626;
  color: #fff;
  transform: scale(1.08);
}

.badge-en-vivo .punto {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: parpadeo 1.2s infinite;
}

@keyframes parpadeo {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}