#chatbot-container {
  position: fixed;
  bottom: 80px;
  right: 30px;
  width: 300px;
  background: white;
  border: 5px solid #ccc;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}

#chatbot-container.chatbot-closed {
  display: none;
}

#chat-header {
  background-color: #17B8A6;
  color: white;
  padding: 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chat-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  max-height: 250px;
}

#user-input {
  padding: 8px;
  border: none;
  border-top: 1px solid #ccc;
  width: 100%;
}

#send-btn {
  background: #17B8A6;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

#chat-toggle {
 position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: white;
  color: #17B8A6;
  border: 4px solid #1c665b;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 9999;
}

#chat-toggle:hover {
  background-color: #17B8A6;
  color: white;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: white;
  color: #17B8A6;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 20px;
  font-weight: bold;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.close-btn:hover {
  background-color: #f8f9fa;
  color: #000;
}


.bot-message {
  background-color: #17B8A6;
  color: white;
  padding: 10px 15px;
  margin: 10px;
  border-radius: 15px 15px 15px 0;
  max-width: 80%;
  align-self: flex-start;
}

.user-message {
  background-color: #f1f1f1;
  color: black;
  padding: 10px 15px;
  margin: 10px;
  border-radius: 15px 15px 0 15px;
  max-width: 80%;
  align-self: flex-end;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.bounce {
  animation: bounce 2s infinite;
}
