.chatbot{
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--qj-primary);
  color: var(--qj-yellow);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chatbot-qna-card {
  position: fixed;
  z-index: 500;
  bottom: 70px;
  margin: 10px;
  right: 0;
  background-color: var(--qj-secondary);
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.221);
  height: 380px;
  width: 250px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chatbot-header {
  background: var(--qj-primary);
  color: var(--qj-yellow);
  padding: 10px 14px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chatbot-welcome {
  color: #333;
  font-size: 13px;
  margin-bottom: 5px;
}
.chatbot-category-btn,
.chatbot-question-btn {
  background: #fff;
  border: 1px solid var(--qj-primary);
  color: var(--qj-primary-dark);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 12px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background 0.2s;
}
.chatbot-category-btn:hover,
.chatbot-question-btn:hover {
  background: var(--qj-primary);
  color: var(--qj-yellow);
}
.chatbot-answer {
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  font-size: 12px;
  color: #333;
  line-height: 1.6;
}
.chatbot-contact {
  background: #f0f7f0;
  border-left: 3px solid var(--qj-primary);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 11px;
  color: #444;
  margin-top: 4px;
}
.chatbot-back-btn {
  background: transparent;
  border: none;
  color: var(--qj-primary);
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.chatbot-back-btn:hover {
  text-decoration: underline;
}