/* K8s + troubleshoot */
.k8s-page .el-select {
  width: 100%;
}

.k8s-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.k8s-exec-command {
  margin: 12px 0 0;
  padding: 10px 12px;
  background: #f5f7fa;
  border-radius: 6px;
  word-break: break-all;
}

.k8s-exec-command code {
  font-family: Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.k8s-terminal-card .el-card__body {
  padding: 0;
}

.k8s-terminal {
  height: 480px;
  background: #1e1e1e;
  padding: 8px;
  overflow: hidden;
}

.k8s-terminal .xterm {
  height: 100%;
}

.k8s-terminal .xterm-viewport {
  overflow-y: auto;
}

.k8s-tabs .el-tabs__header {
  margin-bottom: 16px;
}

.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.troubleshoot-runtime-targets {
  margin-bottom: 8px;
}

.troubleshoot-target-row {
  margin-bottom: 12px;
}

.troubleshoot-target-label {
  font-size: 13px;
  color: #606266;
  margin-bottom: 6px;
}

.troubleshoot-var-editor {
  width: 100%;
}

.troubleshoot-var-row,
.troubleshoot-target-edit-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.troubleshoot-steps-toolbar {
  margin-bottom: 12px;
}

.troubleshoot-step-card {
  border: 1px solid #ebeef5;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: #fafafa;
}

.troubleshoot-step-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.troubleshoot-step-actions {
  margin-left: auto;
}

.troubleshoot-targets-editor {
  width: 100%;
}

.troubleshoot-log-pre,
.troubleshoot-sql-pre {
  margin: 0;
  max-height: 320px;
  overflow: auto;
  padding: 10px 12px;
  background: #1e1e1e;
  color: #d4d4d4;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.troubleshoot-sql-pre {
  background: #f5f7fa;
  color: #303133;
  border: 1px solid #ebeef5;
}

.troubleshoot-log-collapse {
  margin-top: 8px;
}

.mb-12 {
  margin-bottom: 12px;
}

