
.ai-chat[data-v-868eeda1] {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background-color: rgb(var(--v-theme-surface));
  border-radius: 8px;
}
.chat-history[data-v-868eeda1] {
  height: 100%;
  overflow-y: auto;
  padding-bottom: 80px; /* Provides empty space under the scroll block */
  display: flex;
  flex-direction: column;
  background-color: transparent;
  border-bottom: 1px solid rgba(var(--v-border-color), 0.08);
}
.chat-history-content[data-v-868eeda1] {
  flex: 1;
  padding: 0.5rem 0;
}
.chat-group[data-v-868eeda1] {
  margin: 0 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(var(--v-border-color), 0.12);
  background-color: rgba(var(--v-theme-surface-variant), 0.35);
  transition: all 0.2s ease;
  overflow: hidden;
}
.chat-group.has-ai-content[data-v-868eeda1] {
  background-color: rgba(105, 7, 233, 0.06);
  border-color: rgba(105, 7, 233, 0.15);
}
.group-header[data-v-868eeda1] {
  border-bottom: 1px solid rgba(var(--v-border-color), 0.05);
  padding: 0.5rem 1rem;
}
.group-role[data-v-868eeda1] {
  font-weight: 600;
  font-size: 0.875rem;
  margin-right: 0.5rem;
  color: rgba(var(--v-theme-on-surface), 0.9);
}
.group-time[data-v-868eeda1] {
  font-size: 0.75rem;
  color: rgba(var(--v-theme-on-surface), 0.5);
}
.message-content-wrapper[data-v-868eeda1] {
  padding: 0.5rem 1rem;
}
.message-text[data-v-868eeda1] {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(var(--v-theme-on-surface), 0.85);
}

/* --- Thinking / Reasoning UI --- */
.thinking-block[data-v-868eeda1] {
  background: rgba(105, 7, 233, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(105, 7, 233, 0.1);
  overflow: hidden;
}
.thinking-header[data-v-868eeda1] {
  padding: 0.5rem 0.75rem;
  user-select: none;
  transition: background-color 0.2s ease;
}
.thinking-header[data-v-868eeda1]:hover {
  background-color: rgba(105, 7, 233, 0.08);
}
.thinking-title[data-v-868eeda1] {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6907e9;
}
.thinking-chevron[data-v-868eeda1] {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: rgba(105, 7, 233, 0.5);
}
.thinking-chevron.is-expanded[data-v-868eeda1] {
  transform: rotate(180deg);
}
.thinking-body[data-v-868eeda1] {
  border-top: 1px solid rgba(105, 7, 233, 0.05);
}
.thinking-content[data-v-868eeda1] {
  font-family: "Fira Code", "Courier New", Courier, monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(var(--v-theme-on-surface), 0.7);
  white-space: pre-wrap;
  background: rgba(105, 7, 233, 0.02);
}
.input-section[data-v-868eeda1] {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgb(var(--v-theme-surface));
  padding: 0.5rem 0.5rem;
  border-top: 1px solid rgba(var(--v-border-color), 0.08);
}
.tool-call-item[data-v-868eeda1] {
  font-size: 0.8125rem;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 4px;
  font-family: monospace;
}

/* Message entry animation */
.message-fade-enter-active[data-v-868eeda1] {
  transition: all 0.4s ease-out;
}
.message-fade-enter-from[data-v-868eeda1] {
  opacity: 0;
  transform: translateY(15px);
}
.initial-state[data-v-868eeda1] {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  padding-bottom: 80px;
}
.chat-input-wrapper[data-v-868eeda1] {
  width: 100%;
}
.chat-textarea[data-v-868eeda1] {
  width: 100%;
  max-height: 200px;
}
