/* AI Agent Styling */

/* AI message container */
.ai-message {
  background-color: #f5e9ff;
  border-left: 4px solid #6b00d4;
  padding: 8px 12px;
  margin-bottom: 8px;
  border-radius: 4px;
  font-family: Arial, sans-serif;
  position: relative;
}

/* AI thinking indicator */
.ai_thinking {
  color: #666;
  font-style: italic;
}

/* AI error message */
.ai_error {
  background-color: #fff5f5;
  border-left: 4px solid #d13438;
}

/* AI suggestion highlight */
.ai-suggestion {
  background-color: #e5f4e5;
  border-left: 4px solid #107c10;
  padding: 10px 15px;
  margin: 10px 0;
  border-radius: 4px;
}

/* AI channel styling */
.ai-channel, li.liChatChannel[ai-channel="true"] {
  color: white !important;
  font-weight: bold;
  background-color: #6b00d4 !important;
  border-left: 3px solid #4a0090;
  padding: 8px 12px;
  margin-bottom: 5px;
  border-radius: 4px;
  display: flex;
  align-items: center;
}

/* For AI chat channel in the list */
li.liChatChannel[ai-channel="true"]::before {
  content: "🤖";
  margin-right: 8px;
  font-size: 16px;
}

/* Team chat channel styling */
li.liChatChannel:not([ai-channel="true"]) {
  background-color: #007bff;
  color: white;
  font-weight: bold;
  border-left: 3px solid #0056b3;
}

/* For the "Thinking..." animation */
@keyframes thinking {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

.thinking-dots {
  display: inline-block;
  animation: thinking 1.5s infinite;
}

/* AI assistant icon */
.ai-icon {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  vertical-align: middle;
}

/* AI message header */
.ai-message-header {
  font-weight: bold;
  color: #6b00d4;
  margin-bottom: 5px;
}

/* Disable UI during AI thinking */
.disabled-during-ai {
  opacity: 0.5;
  pointer-events: none;
} 