.chatbot-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 250px;
  background-color: #1bff73;
  color: white;
  border: none;
  border-radius: 5%;
  padding: 15px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.chatbot-window {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.chatbot-window.hidden {
  display: none;
}

.chatbot-window.show {
  display: block;
  opacity: 1; 
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    filter: blur(20px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
  }
}

.chatbot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: white;
  color: black;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.chatbot-body {
  padding: 10px;
}

.chatbot-body input,
.chatbot-body button {
  margin-bottom: 10px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.chatbot-body button {
  background-color: #1bff73;
  color: white;
  border: none;
  cursor: pointer;
}

#close-chatbot {
  background: none;
  border: none;
  color: black;
  font-size: 25px;
  cursor: pointer;
}
#chatbot-messages {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 10px;
  padding: 10px;
  background-color: #f1f0f0;
  border-radius: 10px;
}

.user-message {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.user-message p {
  background-color: #1bff73;
  color: white;
  padding: 8px 12px;
  border-radius: 18px;
  max-width: 70%;
  word-wrap: break-word;
  text-align: left;
}

.bot-message {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.bot-message p {
  background-color: #e5e5ea;
  color: black;
  padding: 8px 12px;
  border-radius: 18px;
  max-width: 70%;
  word-wrap: break-word;
  text-align: left;
}
