
.chat-toggle-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 18px;
  z-index: 1000;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#chatbot {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 280px;
  background: #f8f8f8;
  color: #333;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  font-family: 'Arial', sans-serif;
  z-index: 999;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

#chatbot.open {
  display: flex;
}

#chatbot .chat-header {
  background: #2ecc71;
  color: white;
  padding: 12px;
  font-weight: bold;
  text-align: center;
}

#chatbot .chat-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  max-height: 300px;
  scroll-behavior: smooth;
}

#chatbot .chat-bot, #chatbot .chat-user {
  background: #e1ffc7;
  padding: 8px 12px;
  border-radius: 12px;
  max-width: 90%;
  font-size: 14px;
}

#chatbot .chat-user {
  background: #d4f0ff;
  align-self: flex-end;
  text-align: right;
}

#chatbot .chat-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#chatbot .chat-buttons button {
  background: white;
  border: 1px solid #2ecc71;
  border-radius: 6px;
  padding: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
}

#chatbot .chat-buttons button:hover {
  background: #2ecc71;
  color: white;
}

#chatbot .chat-buttons button:disabled {
  opacity: 0.6;
  cursor: default;
}

#chatbot .chat-form {
  background: #fff;
  padding: 10px;
  border: 1px solid #2ecc71;
  border-radius: 8px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#chatbot .chat-form input,
#chatbot .chat-form textarea {
  width: 100%;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 13px;
}

#chatbot .chat-form button {
  background: #2ecc71;
  color: white;
  border: none;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

#chatbot .chat-form button:hover {
  background: #1dbf5f;
}
