/* ==========================================================================
   LIVE UI (Transmissão de Rua)
   ========================================================================== */

/* Relógio e Status Integrado */
.clock-and-status-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.live-status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 8px;
  border-radius: 4px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.live-status-indicator.mode-no-ar {
  color: rgba(255, 255, 255, 0.7);
}

.live-status-indicator.mode-no-ar .status-dot {
  width: 6px;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.live-status-indicator.mode-ao-vivo {
  color: #ff3b30;
  background: rgba(255, 59, 48, 0.15);
  border: 1px solid rgba(255, 59, 48, 0.3);
  text-shadow: 0 0 8px rgba(255, 59, 48, 0.6);
}

.live-status-indicator.mode-ao-vivo .status-dot {
  width: 8px;
  height: 8px;
  background-color: #ff3b30;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff3b30, 0 0 12px #ff3b30;
  animation: pulse-live-dot 1.5s infinite alternate;
}

@keyframes pulse-live-dot {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0.6; }
}

/* Tarja Inferior (Lower Third) */
.live-lower-third {
  position: absolute;
  bottom: 80px; /* Acima da barra de controles */
  left: 30px;
  display: flex;
  align-items: stretch;
  background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 80%, transparent 100%);
  border-left: 4px solid #ff3b30;
  padding: 0;
  min-width: 300px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 15;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: left center;
}

.live-lower-third.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-20px) scale(0.95);
}

.lt-live-badge {
  background: #ff3b30;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
}

.lt-info {
  padding: 8px 20px 8px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lt-name {
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.lt-location {
  color: #ffcc00;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .live-lower-third {
    bottom: 70px;
    left: 15px;
    transform-origin: bottom left;
    transform: scale(0.85);
  }
}
