/* ── Pipeline Progress ──────────────────────────────────── */

.pipeline-progress {
  padding: 40px 0;
}

.pipeline-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
}

.pipeline-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pipeline-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
}

.pipeline-step--running {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.pipeline-step--done {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.05);
}

.pipeline-step--error {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.05);
}

.stage-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.stage-done {
  color: var(--green);
}

.stage-error {
  color: var(--red);
}

.stage-running {
  color: var(--accent);
}

.stage-pending {
  color: var(--text-dim);
}

.spinner {
  display: inline-block;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.pipeline-step-label {
  font-weight: 500;
}

.pipeline-retry {
  margin-top: 20px;
}

.pipeline-step--skipped {
  border-color: var(--border);
  background: var(--bg-surface);
  opacity: 0.45;
}

.stage-skipped {
  color: var(--text-dim);
}

.pipeline-pass-group--extra {
  margin-top: 20px;
}

.pipeline-pass-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 8px;
}
