/* ---- Workflow stepper ------------------------------------------------- */

/* Step button hover and focus states */
.omnis-workflow-stepper button:not(:disabled):hover {
  color: var(--text);
}

.omnis-workflow-stepper button:not(:disabled):focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-md);
}

.omnis-workflow-stepper button:disabled {
  cursor: not-allowed;
  opacity: var(--disabled-opacity, 0.5);
}

/* Label truncation helper */
.omnis-workflow-stepper__label {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Compact horizontal stepper: collapse labels and badges at narrow widths */
@media (max-width: 480px) {
  .omnis-workflow-stepper button {
    padding: var(--space-1);
  }

  .omnis-workflow-stepper__label {
    display: none;
  }

  .omnis-workflow-stepper__badge {
    display: none;
  }
}
