/* ===== 运行日志页面样式 ===== */

.logs-page {
  padding: 24px;
}

.logs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.logs-header h2 {
  font-size: 20px;
  font-weight: 600;
}

.logs-actions {
  display: flex;
  gap: 12px;
}

.logs-actions .btn {
  display: flex;
  align-items: center;
  gap: 6px;
}

.logs-content {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 12px;
  line-height: 1.6;
}

.log-line {
  padding: 2px 8px;
  border-radius: 4px;
  white-space: pre-wrap;
  word-break: break-all;
}

.log-line:hover {
  background: var(--bg-hover);
}

.log-info {
  color: #333;
}

.log-debug {
  color: var(--info);
  background: rgba(52, 152, 219, 0.1);
}

.log-warn {
  color: var(--warning);
  background: rgba(243, 156, 18, 0.1);
}

.log-error {
  color: var(--danger);
  background: rgba(231, 76, 60, 0.1);
}

.logs-content .loading,
.logs-content .empty-state,
.logs-content .error-state {
  text-align: center;
  padding: 40px;
  color: var(--text-hint);
}

.logs-content .error-state {
  color: var(--danger);
}
