/* --- Contenedor flotante de instalación --- */
.install-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  text-align: center;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* --- Botón de instalación --- */
#installBtn {
  display: none;
  padding: 14px 18px;
  font-size: 18px;
  font-weight: bold;
  color: white;
  background: linear-gradient(90deg, #00c3ff, #0078ff);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Hover del botón */
#installBtn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 120, 255, 0.8);
}

/* --- Animación de aparición --- */
.show-install {
  animation: fadeIn 0.8s ease forwards, pulse 2s infinite;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* --- Efecto de pulso para llamar la atención --- */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 120, 255, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(0, 120, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 120, 255, 0); }
}

/* --- Mensaje de éxito --- */
.mensaje-exito {
  background: rgba(0, 255, 120, 0.15);
  color: #00ff88;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 15px;
  text-align: center;
  transition: opacity 0.5s ease;
}

/* Efecto de entrada del mensaje */
.mensaje-exito:not(.oculto) {
  opacity: 1;
  animation: fadeMessage 1s ease;
}

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

/* --- Oculto --- */
.oculto {
  display: none;
}
