/* Styles for QSupportAI chat widget */
#qsupport-chat-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #007bff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#qsupport-chat-container {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 320px;
  max-height: 500px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  display: none;
  flex-direction: column;
  font-family: Arial, sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9998;
}

#qsupport-chat-header {
  background-color: #007bff;
  color: #fff;
  padding: 10px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  font-weight: bold;
}

#qsupport-chat-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  font-size: 14px;
}

.qsupport-message {
  margin-bottom: 8px;
  line-height: 1.4;
}
.qsupport-message.user {
  text-align: right;
  color: #333;
}
.qsupport-message.assistant {
  text-align: left;
  color: #007bff;
}

#qsupport-chat-input-wrapper {
  display: flex;
  border-top: 1px solid #eee;
}

#qsupport-chat-input {
  flex: 1;
  padding: 8px;
  border: none;
  outline: none;
  font-size: 14px;
}

#qsupport-chat-send {
  padding: 8px 12px;
  background-color: #007bff;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.qsupport-sources {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}