/* ===== CHATBOT FLOTANTE - BOTÓN DE ATENCIÓN ===== */
.chatbot-floating-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #00d4ff, #00ff88);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4),
              0 0 40px rgba(0, 255, 136, 0.3),
              inset 0 0 20px rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: chatbotPulse 2s ease-in-out infinite;
}

.chatbot-floating-button:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(0, 212, 255, 0.6),
              0 0 60px rgba(0, 255, 136, 0.5),
              inset 0 0 30px rgba(255, 255, 255, 0.2);
}

.chatbot-floating-button:active {
  transform: scale(0.95);
}

.chatbot-floating-button i {
  font-size: 28px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Animación de pulso */
@keyframes chatbotPulse {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4),
                0 0 40px rgba(0, 255, 136, 0.3),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.6),
                0 0 50px rgba(0, 255, 136, 0.5),
                inset 0 0 20px rgba(255, 255, 255, 0.15);
  }
}

/* Badge de notificación (opcional) */
.chatbot-notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background: #ff4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  color: #ffffff;
  border: 2px solid #0a0a0a;
  animation: badgePulse 1.5s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Estado cuando el chat está abierto */
.chatbot-floating-button.chat-open {
  transform: scale(0.9);
  opacity: 0.7;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .chatbot-floating-button {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }
  
  .chatbot-floating-button i {
    font-size: 24px;
  }
}

