/* === BOTÓN FLOTANTE CON ONDAS === */
#chatbot-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: #fff;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
  overflow: visible;
}

#chatbot-toggle:hover {
  transform: scale(1.1);
}

.wave {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 198, 255, 0.4);
  animation: ripple 2s infinite ease-out;
  z-index: -1;
}

.wave1 {
  width: 60px;
  height: 60px;
  top: 0;
  left: 0;
}

.wave2 {
  width: 60px;
  height: 60px;
  top: 0;
  left: 0;
  animation-delay: 0.5s;
}

.wave3 {
  width: 60px;
  height: 60px;
  top: 0;
  left: 0;
  animation-delay: 1s;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* === CONTENEDOR DEL CHAT === */
#chatbot-container {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 340px;
  height: 520px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
  display: none;
  flex-direction: column;
  z-index: 9999;
  border: 2px solid #007bff;
}

#chatbot-header {
  background: linear-gradient(90deg, #007bff 0%, #00c6ff 100%);
  color: white;
  padding: 16px;
  font-weight: bold;
  text-align: center;
  font-size: 16px;
}

#chatbot-messages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  background: #f1f9ff;
  font-size: 14px;
}

#chatbot-messages p {
  margin: 6px 0;
}

#chatbot-options {
  padding: 10px;
  border-top: 1px solid #ccc;
  background: #eef6ff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#chatbot-options button,
#send-whatsapp {
  padding: 10px;
  border: none;
  border-radius: 6px;
  background: #007bff;
  color: white;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
  transition: background 0.2s;
}

#chatbot-options button:hover,
#send-whatsapp:hover {
  background: #0056b3;
}

#chatbot-input-area {
  display: flex;
  padding: 10px;
  background-color: #eef6ff;
  gap: 6px;
}

#model-input {
  flex: 1;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
