/* AgentDebugModal 样式 - 支持深色模式 */

.agent-debug-modal {
  display: flex;
  height: 100%;
}

.agent-debug-modal-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-light, #f0f0f0);
}

.agent-debug-modal-header {
  padding: 12px;
  border-bottom: 1px solid var(--border-light, #f0f0f0);
}

.agent-debug-modal-output {
  flex: 1;
  overflow: auto;
  padding: 12px;
}

.agent-debug-modal-pre {
  margin: 0;
  padding: 12px;
  background: var(--bg-sidebar, #f5f5f5);
  border-radius: 8px;
  min-height: 100%;
  font-size: 12px;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text-primary, inherit);
}

.agent-debug-modal-right {
  width: 400px;
  display: flex;
  flex-direction: column;
}

.agent-debug-modal-preview-header {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-light, #f0f0f0);
  background: var(--bg-sidebar, #fafafa);
}

.agent-debug-modal-preview-actions {
  padding: 8px;
  border-bottom: 1px solid var(--border-light, #f0f0f0);
}

.agent-debug-modal-preview-content {
  flex: 1;
  position: relative;
  background: var(--bg-container, #fff);
}

.agent-debug-modal-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-secondary, #999);
}

/* 深色模式适配 */
[data-theme='dark'] .agent-debug-modal-pre {
  background: var(--bg-elevated, #1e293b);
  color: var(--text-primary, #e2e8f0);
}

[data-theme='dark'] .agent-debug-modal-preview-content {
  background: var(--bg-container, #1e293b);
}