#chatbot-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 30px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  z-index: 1000;
}
#chatbot-button:hover {
  transform: scale(1.1);
  background-color: #0056b3;
}

#chatbot-container {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 350px;
  max-height: 500px;
  background: #111;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(20px);
  opacity: 0;
  z-index: 999;
}
#chatbot-container.show {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

#chatbot-header {
  background: #000;
  padding: 12px 40px 12px 12px;
  font-weight: bold;
  border-bottom: 1px solid #333;
  position: relative;
}

#chatbot-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: none;
  color: #aaa;
  font-size: 18px;
  cursor: pointer;
}
#chatbot-close:hover {
  color: #fff;
}

#chatbot-messages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  font-size: 14px;
  display: flex;
  flex-direction: column;
}

.message-user {
  background: #0056b3;
  color: white;
  padding: 8px 12px;
  border-radius: 18px 18px 0 18px;
  margin: 6px 0;
  max-width: 80%;
  align-self: flex-end;
  text-align: right;
}

.message-bot {
  background: #2b2b2b;
  color: #eee;
  padding: 8px 12px;
  border-radius: 18px 18px 18px 0;
  margin: 6px 0;
  max-width: 80%;
  align-self: flex-start;
  text-align: left;
}

#chatbot-input-container {
  display: flex;
  border-top: 1px solid #333;
}

#chatbot-input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
  background: #222;
  color: white;
}

#chatbot-send {
  background: #007BFF;
  color: white;
  border: none;
  padding: 0 16px;
  cursor: pointer;
}
@media (max-width: 480px) {
  #chatbot-container {
    right: 10px;
    bottom: 80px;
    width: calc(100% - 20px);
    max-height: 80vh;
  }
}
