/* Estilos para configuración bloqueada */

.chinchon-config.locked {
  position: relative;
}

.chinchon-config.locked::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 62, 80, 0.7);
  border-radius: 12px;
  pointer-events: none;
}

.config-lock-indicator {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilos para controles deshabilitados */
select:disabled,
button:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.config-control select:disabled,
.config-control button:disabled {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Indicador visual en el título de configuración */
.config-section-title {
  position: relative;
}

.config-section-title.locked::before {
  content: '🔒';
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

/* Botón de reinicio más prominente cuando hay partida en curso */
.btn-reset-game.game-active {
  background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
  animation: pulse-reset 2s infinite;
  box-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
}

@keyframes pulse-reset {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

/* Mensaje informativo */
.info-message {
  background: rgba(52, 152, 219, 0.1);
  border-left: 4px solid #3498db;
  padding: 10px 15px;
  margin: 10px 0;
  border-radius: 0 8px 8px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}
