/* Estilos del botón flotante */
/* #chatbot-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgb(30, 136, 229, 0);
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 9999;
  overflow: hidden; 
} */

#chatbot-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: transparent; /* Eliminamos el azul si no se necesita */
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 9999;
  overflow: hidden;
  outline: none;
  padding: 0;
}

#chatbot-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  border: none;
}

/* #chatbot-button {
  border: none;
  outline: none;
  overflow: hidden;
  width: 90px; 
  height: 90px;
  border-radius: 50%;
} */


#chatbot-button:hover {
  background-color: #1565c0;
  transform: scale(1.1);
}

/* Estilos del contenedor del chat */
#chat-container {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 350px;
  height: 500px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  flex-direction: column;
  z-index: 9998 !important;
  overflow: hidden;
}

/* Estilos del área de mensajes */
#chat {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background-color: #f5f5f5;
}

/* Estilos de los mensajes */
.message {
  margin-bottom: 10px;
  padding: 10px 15px;
  border-radius: 18px;
  max-width: 80%;
  word-wrap: break-word;
}

.message.user {
  background-color: #1e88e5;
  color: white;
  margin-left: auto;
  border-bottom-right-radius: 5px;
}

.message.bot {
  background-color: #e0e0e0;
  color: #333;
  margin-right: auto;
  border-bottom-left-radius: 5px;
}

/* Estilos del área de entrada */
#input-area {
  display: flex;
  padding: 10px;
  background-color: white;
  border-top: 1px solid #ddd;
}

#input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
}

#send {
  margin-left: 10px;
  padding: 10px 15px;
  background-color: #1e88e5;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

#send:hover {
  background-color: #1565c0;
}