/* Kole UI Steps 样式 — 对齐 组件2/7 StepList：序号、标题、描述、状态、连接线、横/纵 */

.kole-steps { font-family: var(--font-family, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif); color: var(--kole-color-text-body); }
.kole-steps.horizontal { display: flex; }
.kole-steps.vertical { display: inline-flex; flex-direction: column; }

.kole-step { position: relative; display: flex; gap: 12px; flex: 1; }
.kole-steps.vertical .kole-step { flex-direction: column; }

.kole-step-icon {
  position: relative; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--kole-color-border);
  display: flex; align-items: center; justify-content: center; font-size: 14px; background: var(--kole-color-card-bg); color: var(--kole-color-text-secondary); flex-shrink: 0; z-index: 1;
}
.kole-step.is-finish .kole-step-icon { border-color: var(--kole-color-brand); color: var(--kole-color-brand); background: var(--kole-color-brand-bg); }
.kole-step.is-process .kole-step-icon { border-color: var(--kole-color-brand); color: var(--kole-color-text-inverse); background: var(--kole-color-brand); }
.kole-step.is-error .kole-step-icon { border-color: var(--kole-color-error); color: var(--kole-color-error); background: #FFF1F0; }

.kole-step-title { font-size: 14px; font-weight: 500; line-height: 32px; }
.kole-step.is-wait .kole-step-title { color: var(--kole-color-text-secondary); }
.kole-step-desc { font-size: 12px; color: var(--kole-color-text-secondary); margin-top: 2px; }

/* 连接线 */
.kole-steps.horizontal .kole-step:not(:last-child) .kole-step-icon::after {
  content: ''; position: absolute; top: 15px; left: 38px; right: -12px; height: 2px; background: var(--kole-color-border);
}
.kole-steps.horizontal .kole-step.is-finish:not(:last-child) .kole-step-icon::after { background: var(--kole-color-brand); }

.kole-steps.vertical .kole-step-body { padding-bottom: 24px; }
.kole-steps.vertical .kole-step:not(:last-child) .kole-step-icon::after {
  content: ''; position: absolute; top: 40px; left: 15px; bottom: -12px; width: 2px; background: var(--kole-color-border);
}
.kole-steps.vertical .kole-step.is-finish:not(:last-child) .kole-step-icon::after { background: var(--kole-color-brand); }
