#chat-toggle {
  position: fixed;
  bottom: 13%;
  right: 10px;
  background: #a8ce08;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

#chatbot-container {
  position: fixed;
  bottom: 20%;
  right: 5%;
  width: 350px;
  max-height: 350px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
}

.hidden {
  display: block;
}

.chat-header {
  background-color: #a8ce08;
  color: white;
  padding: 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-box {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  background: #f9f9f9;
}

.mensaje {
  margin: 8px 0;
  padding: 10px;
  border-radius: 10px;
  max-width: 80%;
}

.user {
  background: #d1e7dd;
  align-self: flex-end;
  text-align: right;
  margin-left: auto;
}

.bot {
  background: #e2e3e5;
  align-self: flex-start;
  text-align: left;
  margin-right: auto;
}

#chat-form {
  display: flex;
  border-top: 1px solid #ccc;
}

#userInput {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
}

#chat-form button {
  background: #a8ce08;
  color: white;
  border: none;
  padding: 10px 15px;
}
#chat-form button:hover {
  cursor: pointer;
  font-size: 16px;
}
#close-chat {
  background: none;
  color: #fff;
  border: none;
}
#close-chat:hover {
  font-size: 16px;
  cursor: pointer;
}
