/* =========================================================
   Stepper Component — Figma design: LcTth2sgEJ6uFC9DSWLt9A
   Pill-based step nav with FA Light numbered circle icons
   ========================================================= */

.stepper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px;
    border: 1px solid var(--cf-color-border);
    border-radius: var(--cf-radius-nav);
    background: transparent;
    margin-bottom: 0; /* gap on stepper-container handles spacing */
    align-self: center; /* centered within the flex column container */
    flex-wrap: wrap;
}

.stepper__step {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 32px;
    padding: 0 12px 0 8px;
    border-radius: var(--cf-radius-md);
    background: transparent;
    color: var(--cf-color-text-primary);
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

.stepper__step--active {
    background-color: var(--cf-color-border);
}

.stepper__icon {
    font-size: 20px;
    color: var(--cf-color-text-primary);
    flex-shrink: 0;
    line-height: 1;
}

.stepper__label {
    font-size: var(--cf-font-size-base);
    font-weight: 400;
    color: var(--cf-color-text-primary);
    line-height: 1;
}

/* Responsive: hide labels on smaller screens */
@media (max-width: 900px) {
    .stepper__label {
        display: none;
    }

    .stepper__step {
        padding: 0 8px;
    }
}
