.chatbot {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 350px;
  max-height: 500px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  font-family: "Segoe UI", sans-serif;
  z-index: 9999;
  overflow: hidden;
  flex-direction: column;
}

.chatbot-header {
  background: #4c1d95;
  color: white;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.chatbot-body {
  padding: 10px;
  flex: 1;
  overflow-y: auto;
  max-height: 300px;
}

.chatbot form {
  display: flex;
  border-top: 1px solid #ddd;
}

.chatbot input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
}

.chatbot button {
  background: #4c1d95;
  color: white;
  border: none;
  padding: 0 5px;
  cursor: pointer;
}

.chatbot-close {
  background: transparent;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.chatbot-faq {
  padding: 10px;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq-btn {
  background: #f3f4f6;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
}

.faq-btn:hover {
  background: #e5e7eb;
}

#chatbot-toggle-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #2dd8f2;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 50%;
  font-size: 20px;
  z-index: 9999;
  cursor: pointer;
}

.chat-message {
  margin-bottom: 10px;
}

.bot-typing {
  color: #888;
  font-style: italic;
}
.chatbot-clear {
  background: transparent;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  margin-right: 8px;
}

.faq-btn {
  margin: 1px;
  padding: 6px 10px;
  border: none;
  background-color: #eee;
  border-radius: 6px;
  cursor: pointer;
}
.faq-btn:hover {
  background-color: #ddd;
}

.chatbot-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.chatbot-modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.modal-actions {
  margin-top: 15px;
  display: flex;
  justify-content: space-around;
}

.btn-cancel,
.btn-confirm {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-cancel {
  background: #ccc;
}

.btn-confirm {
  background: #003366;
  color: white;
}

#emoji-picker {
  padding: 5px 10px;
  font-size: 12px;
  text-align: center;
  color: #888;
}
