/* === Chatbot estilo Snake Tech === */
#chatbot-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  font-family: 'Poppins', Arial, sans-serif;
}

/* Botón flotante */
#chatbot-toggle {
  background: linear-gradient(135deg, #00ff9d, #00d67a);
  border: none;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  font-size: 24px;
  color: #111;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(0, 255, 157, 0.5);
  transition: all 0.3s ease;
}

#chatbot-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(0, 255, 157, 0.8);
}

/* Caja del chat */
#chatbot-box {
  width: 320px;
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid rgba(0, 255, 157, 0.2);
  border-radius: 15px;
  padding: 12px;
  box-shadow: 0 0 25px rgba(0, 255, 157, 0.1);
  margin-bottom: 12px;
  color: #f0f0f0;
  backdrop-filter: blur(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#chatbot-box.hidden {
  display: none;
}

/* Encabezado */
#chatbot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
  color: #00ff9d;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(0, 255, 157, 0.15);
  padding-bottom: 6px;
}

#chatbot-header button {
  border: none;
  background: transparent;
  font-size: 18px;
  color: #888;
  cursor: pointer;
  transition: color 0.2s;
}

#chatbot-header button:hover {
  color: #00ff9d;
}

/* Botones de preguntas */
.question-buttons button {
  display: block;
  width: 100%;
  margin: 6px 0;
  background: rgba(40, 40, 40, 0.9);
  border: 1px solid rgba(0, 255, 157, 0.15);
  padding: 10px;
  border-radius: 8px;
  text-align: left;
  color: #e0e0e0;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.question-buttons button:hover {
  background: rgba(0, 255, 157, 0.15);
  color: #00ff9d;
  border-color: rgba(0, 255, 157, 0.4);
}

/* Respuesta */
#chatbot-answer {
  margin-top: 12px;
  background: rgba(0, 255, 157, 0.08);
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  color: #bfffd6;
  border-left: 3px solid #00ff9d;
  box-shadow: 0 0 8px rgba(0, 255, 157, 0.1);
  animation: fadeIn 0.4s ease;
}

/* Animación sutil */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
