/* Video and Embedded Screen Styles */
.drop-zone-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.92);
  border: 2px dashed #3b82f6;
  border-radius: 10px;
  z-index: 50;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: #38bdf8;
  font-weight: 700;
  pointer-events: none;
}

.drop-zone-overlay.drag-over {
  display: flex;
}

/* Video Player Display in each Deck: Totalmente responsivo dentro de su cuadrante */
.deck-video-container {
  display: none;
  width: 100%;
  height: 100%;
  max-height: 100%;
  flex: 1 1 auto;
  min-height: 0;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  margin-bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.deck-video-container.has-video {
  display: block;
}

.deck-video-element {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
}
.deck-video-element.active {
  display: block;
}

.deck-iframe-element {
  width: 100%;
  height: 100%;
  border: none;
  display: none;
}
.deck-iframe-element.active {
  display: block;
}

.deck-cdg-canvas {
  display: none;
  width: 100%;
  flex: 1;
  min-height: 240px;
  background: #000;
  border-radius: 8px;
  margin-bottom: 0;
  image-rendering: pixelated;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.deck-cdg-canvas.has-cdg {
  display: block;
}

.btn-upload-file {
  background: #1e293b;
  border: 1px dashed #475569;
  color: #94a3b8;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-upload-file:hover {
  background: #27354f;
  color: #fff;
  border-color: #3b82f6;
}

.tag-format {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 800;
}
.tag-audio { background: #0284c7; color: #fff; }
.tag-video { background: #e11d48; color: #fff; }
.tag-youtube { background: #dc2626; color: #fff; }
.tag-cdg { background: #7c3aed; color: #fff; }

/* Tutorial Modal */
.tutorial-slide {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #1e293b;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid #334155;
}

.tutorial-step-title {
  font-size: 15px;
  font-weight: 700;
  color: #38bdf8;
}

.tutorial-text {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.5;
}

/* EQ and FX Sliders in Modal */
.fx-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}

.fx-knob-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #1e293b;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #334155;
}

.fx-slider {
  width: 100%;
  accent-color: #3b82f6;
  cursor: pointer;
}

.toggle-btn {
  background: #334155;
  color: #94a3b8;
  border: 1px solid #475569;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.2s;
}

.toggle-btn.active {
  background: #10b981;
  color: #fff;
  border-color: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

/* Party Queue Banner */
.party-queue-banner {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.queue-singer-name {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: 0.5px;
}

.btn-add-singer {
  background: #1e293b;
  color: #f1f5f9;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 6px 12px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-add-singer:hover {
  background: #334155;
  color: #fff;
}

/* TV screen alert badge for Singer Turn */
.singer-turn-toast {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  padding: 12px 32px;
  border-radius: 40px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.8);
  z-index: 100;
  animation: bounceIn 0.5s ease;
  display: none;
}

@keyframes bounceIn {
  0% { opacity: 0; transform: translate(-50%, -20px) scale(0.9); }
  50% { opacity: 1; transform: translate(-50%, 5px) scale(1.05); }
  100% { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

/* Indicador pulsante / alerta cuando hay un cantante en espera sin avisar turno */
.btn-announce-pending {
  animation: pulseAnnounce 1.2s infinite ease-in-out !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.9), 0 0 30px rgba(239, 68, 68, 0.6) !important;
  border: 1px solid #fef08a !important;
  color: #000 !important;
  font-weight: 900 !important;
}

@keyframes pulseAnnounce {
  0% {
    transform: scale(1);
    background: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.7);
  }
  50% {
    transform: scale(1.08);
    background: #ef4444;
    color: #fff;
    box-shadow: 0 0 22px rgba(239, 68, 68, 0.95), 0 0 35px rgba(245, 158, 11, 0.8);
  }
  100% {
    transform: scale(1);
    background: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.7);
  }
}

.btn-announce-notified {
  background: #334155 !important;
  color: #94a3b8 !important;
  border: 1px solid #475569 !important;
  box-shadow: none !important;
  animation: none !important;
}
