/* Live chat widget styles */
#liveChatBtn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10000;
  background: var(--color-primary, #2b6cb0);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 10px 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  cursor: pointer;
}

#liveChatPanel {
  position: fixed;
  right: 20px;
  bottom: 70px;
  width: 320px;
  max-height: 60vh;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 10000;
}
#liveChatHeader {
  background: var(--color-primary, #2b6cb0);
  color: #fff;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#liveChatHeader select {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 6px;
  padding: 4px 6px;
}
#liveChatMessages {
  padding: 10px;
  overflow-y: auto;
  background: #fafafa;
}
.liveMsg {
  margin: 6px 0;
  padding: 6px 8px;
  border-radius: 8px;
  max-width: 80%;
  font-size: 13px;
}
.liveMsg.user { background: #e6f4ff; margin-left: 20%; }
.liveMsg.agent { background: #f1f1f1; }
.liveMsg.system { background: #fff3cd; }
.liveMsg.ai { background: #e8fff5; border: 1px dashed #c2f2da; }

#liveChatInput {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-top: 1px solid #eee;
}
#liveChatInput input[type="text"] { flex: 1; padding: 8px; border: 1px solid #ddd; border-radius: 8px; }
#liveChatInput button { padding: 8px 12px; border-radius: 8px; border: none; background: var(--color-primary, #2b6cb0); color: #fff; cursor: pointer; }