body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

#chat-icon-container {
  position: fixed;
  bottom: 5px;
  right: 120px;
  width: 80px;
  height: 80px;
  z-index: 1000;
  /* Nuevos estilos para el tooltip */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Estilos para el tooltip */
#chat-icon-container::before {
  content: "¿Necesitas ayuda?";
  position: absolute;
  bottom: calc(100% + 10px);
  background-color: #db7d30;
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateY(10px);
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#chat-icon-container:hover::before {
  opacity: 1;
  transform: translateY(0);
}

#ocelote-icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  object-fit: cover;
  border: 3px solid #dc8629;
}

#ocelote-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(45, 4, 4, 0.3);
}


#chat-container {
  position: fixed;
  bottom: 120px;
  right: 30px;
  z-index: 2000;
}

@media (max-width: 920px){
  #chat-container {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 2000;
  }
}

#chatbot {
  display: none;
  flex-direction: column;
  width: 80vw;
  max-width: 400px;
  height: 64vh;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

@media (max-width: 920px){
  #chatbot {
    height: 80vh;
  }
}

#chatbot-header {
  background-color: #db7d30;
  color: white;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  position: relative;
  min-height: 60px;
}

#chatbot-header h2 {
  margin: 0;
  font-size: 18px;
  margin-left: 15px;
}

#chatbot-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

#chatbot-body {
  display: flex;
  flex-direction: column;
  height: calc(100% - 60px);
}

#chatbot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background-color: #f9f7f7;
  font-size: 15px;
  line-height: 1.5;
}

#chatbot-input-area {
  padding: 15px;
  background-color: white;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
}

#chatbot-input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 15px;
  outline: none;
}

.message {
  margin-bottom: 15px;
  padding: 12px 16px;
  border-radius: 18px;
  max-width: 80%;
  word-wrap: break-word;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

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

#chatbot-send {
  margin-left: 12px;
  padding: 12px 18px;
  background-color: #0e3b0b;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#chatbot-send:hover {
  background-color: #1a252f;
}

.close-btn {
  position: absolute;
  right: 15px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 18px;
}

#chatbot-messages::-webkit-scrollbar {
  width: 8px;
}

#chatbot-messages::-webkit-scrollbar-track {
  background: #f1f1f1;
}

#chatbot-messages::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}