#chatbot-root {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

#chatbot-toggle {
  background: #3d108f;
  color: white;
  border: none;
  border-radius: 40%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#chatbot-panel {
  width: 300px;
  max-height: 300px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

#chatbot-panel.open {
  display: flex;
}

.chatbot-header {
  padding: 12px;
  background: #2d1291;
  color: rgb(119, 41, 243);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chatbot-close {
  background: none;
  border: none;
  color: rgb(245, 62, 62);
  font-size: 18px;
  cursor: pointer;
}

.chatbot-messages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
}

.chatbot-msg {
  margin: 8px 0;
  padding: 8px 12px;
  border-radius: 18px;
  max-width: 80%;
}

.chatbot-msg.user {
  background: #3f4f6d;
  color: white;
  margin-left: auto;
}

.chatbot-msg.bot {
  background: #f1f1f1;
  margin-right: auto;
}

.chatbot-form {
  display: flex;
  padding: 12px;
  border-top: 1px solid #eee;
}

#chatbot-input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.chatbot-form button {
  margin-left: 8px;
  padding: 8px 16px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.chatbot-suggestions button {
  padding: 4px 8px;
  background: #e9ecef;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
