#chatbot-toggle {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 9999;
  background-color: #0d6efd;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#chatbot-container {
  position: fixed;
  bottom: 170px;
  right: 20px;
  width: 350px;
  max-height: 500px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  z-index: 9998;
}

#chat-header {
  background: linear-gradient(to right, #0d6efd, #0b5ed7);
  color: white;
  padding: 12px 16px;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  align-items: center;
}

#chat-body {
  background-color: #f8f9fa;
  padding: 10px;
  overflow-y: auto;
  flex-grow: 1;
  max-height: 350px;
}

.message {
  margin-bottom: 10px;
}

.message.user {
  text-align: right;
  background-color: #d1e7dd;
  color: #0f5132;
  padding: 10px;
  border-radius: 10px;
  max-width: 85%;
  margin-left: auto;
  font-size: 14px;
  line-height: 1.4;
}

.message.mita {
  display: flex;
  align-items: flex-start;
}

.message.mita .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 10px;
}

.message.mita .text {
  background-color: #e2e3e5;
  color: #41464b;
  padding: 10px;
  border-radius: 10px;
  max-width: 85%;
  font-size: 14px;
  line-height: 1.4;
}

.typing span {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 2px;
  background-color: #6c757d;
  border-radius: 50%;
  animation: typing 1s infinite ease-in-out;
}

.typing span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

#chat-input-area {
  display: flex;
  border-top: 1px solid #ccc;
  padding: 10px;
  background-color: white;
}
#chat-input {
  flex-grow: 1;
  border: none;
  outline: none;
}
/* #chat-send {
  background-color: #0d6efd;
  color: white;
  border: none;
  padding: 3px 12px;
  margin-left: 5px;
  border-radius: 5px;
} */

#chat-send {
  background-color: #0d6efd;
  color: white;
  border: none;
  padding: 0 12px; /* Sin padding vertical */
  height: 45px; /* Altura fija */
  margin-left: 5px;
  border-radius: 5px;
  line-height: 30px; /* Para centrar el texto verticalmente */
}