body {
  margin: 0;
  background-color: #00ff00; /* Fondo verde para chroma key */
  font-family: Arial, sans-serif;
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: white;
}

  .tipoShowBtns {
    display: inline;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
  }
  .tipoShowBtns button {
    padding: 4px 8px;
    font-size: 12px;
    border: 1px solid #aaa;
    border-radius: 4px;
    background: #eee;
    cursor: pointer;
  }
  .tipoShowBtns button.active {
    background-color: #333;
    color: white;
  }

.container {
  max-width: 100%;
  margin: auto;
}

select, button {
  margin: 10px 0;
  padding: 8px;
  font-size: 16px;
}

.galeria {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.galeria img {
  height: 100px;
  cursor: pointer;
  border: 3px solid transparent;
  border-radius: 5px;
  transition: all 0.2s ease-in-out;
}

.galeria img.seleccionada {
  border-color: #00ffcc;
  transform: scale(1.1);
}

button:disabled {
  background-color: #555;
  cursor: not-allowed;
}






/* Panel izquierdo */
#left-panel {
  position: absolute;
  top: 20px;
  left: 20px;
  text-align: center;
}

#logo {
  height: 60px;
}

#countdown {
  margin-top: 10px;
  font-size: 24px;
  font-weight: bold;
}

/* Panel de votación */
#poll-box {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0,0,0,0.23);
  padding: 10px;
  border-radius: 10px;
}

#poll-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}

#poll-timer {
  font-size: 2em;
  margin-top: 10px;
  color: red;
  text-align: center;
}

#poll-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.poll-option {
  text-align: center;
}

.poll-option img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  background: transparent;
}

.label {
  font-size: 18px;
  margin-top: 1px;
}

.votes {
  font-size: 16px;
  color: #ccc;
}

/* Panel de ganador */
#winner-box {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0,0,0,0.23);
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  display: none;
}

#winner-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}

#winner-image {
  width: 180px;
  height: 180px;
}

#winner-message {
  margin-top: 10px;
  font-size: 16px;
}

#winner-box.flash-effect {
  box-shadow: 0 0 30px 10px gold;
  animation: flash 0.8s ease-in-out;
}

@keyframes flash {
  0%, 100% {
    box-shadow: 0 0 0 0 gold;
  }
  50% {
    box-shadow: 0 0 30px 10px gold;
  }
}

/* Mensaje inferior */
#bottom-message {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  font-size: 20px;
  background: rgba(253,0,255,0.88);
  padding: 5px 0;
}

.hidden {
  display: none;
}

.imagen-click {
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.2s ease, border 0.2s ease;
}

.imagen-votacion:hover .imagen-click {
  transform: scale(1.03);
}

.imagen-votacion.seleccionada {
  border: 3px solid green;
  border-radius: 12px;
}

