/* Onboarding - Step progress indicator */

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ONBOARDING STEP PROGRESS INDICATOR
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.onb-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 1.75rem;
    padding: 0.75rem 0.25rem;
    gap: 0;
    position: relative;
}

.onb-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 130px;
    position: relative;
}

.onb-step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

/* States */
.onb-step-item.completed .onb-step-circle {
    background: var(--gray-900);
    color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.onb-step-item.active .onb-step-circle {
    background: #fff;
    color: var(--color-primary-600);
    border: 2px solid var(--color-primary-600);
    box-shadow: 0 0 0 3px rgba(194,113,74,0.12), 0 1px 4px rgba(0,0,0,0.1);
    animation: onb-pulse 2s ease-in-out infinite;
}

.onb-step-item.upcoming .onb-step-circle {
    background: var(--gray-100);
    color: var(--gray-400);
    border: 1.5px solid var(--gray-200);
}

/* Label */
.onb-step-label {
    font-size: 0.625rem;
    font-weight: 600;
    text-align: center;
    margin-top: 0.375rem;
    line-height: 1.2;
    white-space: nowrap;
    transition: color 0.3s ease;
    letter-spacing: 0.01em;
}

.onb-step-item.completed .onb-step-label { color: var(--gray-700); }
.onb-step-item.active .onb-step-label    { color: var(--color-primary-600); font-weight: 700; }
.onb-step-item.upcoming .onb-step-label  { color: var(--gray-400); }

/* Connector line */
.onb-step-connector {
    position: absolute;
    top: 16px;
    left: calc(50% + 18px);
    right: calc(-50% + 18px);
    height: 2px;
    background: var(--gray-200);
    z-index: 1;
    transition: background 0.3s ease;
}

.onb-step-connector.completed {
    background: var(--gray-900);
}

/* Pulse animation for active step */
@keyframes onb-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(194,113,74,0.12), 0 1px 4px rgba(0,0,0,0.1); }
    50%      { box-shadow: 0 0 0 5px rgba(194,113,74,0.08), 0 1px 4px rgba(0,0,0,0.1); }
}

/* Mobile responsive */
@media (max-width: 480px) {
    .onb-step-circle {
        width: 26px;
        height: 26px;
    }
    .onb-step-circle i,
    .onb-step-circle svg {
        width: 10px !important;
        height: 10px !important;
    }
    .onb-step-label {
        font-size: 0.5625rem;
    }
    .onb-step-connector {
        top: 13px;
        left: calc(50% + 15px);
        right: calc(-50% + 15px);
    }
    .onb-step-item.active .onb-step-circle {
        animation: none;
    }
}

