/**
 * Stepper Component
 * Reusable progress indicator for multi-step flows
 */

.stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stepper-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.stepper-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stepper-item.active .stepper-circle {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border-color: #4CAF50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    transform: scale(1.05);
}

.stepper-item.completed .stepper-circle {
    background: #4CAF50;
    color: white;
}

.stepper-item.completed .stepper-circle::before {
    content: '✓';
    font-size: 1.25rem;
}

.stepper-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #999;
    transition: color 0.3s ease;
}

.stepper-item.active .stepper-label {
    color: #1a1a1a;
}

.stepper-item.completed .stepper-label {
    color: #4CAF50;
}

.stepper-divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(to right, #f0f0f0 0%, #f0f0f0 100%);
    border-radius: 2px;
    transition: all 0.4s ease;
}

.stepper-divider.completed {
    background: linear-gradient(to right, #4CAF50 0%, #4CAF50 100%);
}

/* Responsive */
@media (max-width: 480px) {
    .stepper {
        gap: 0.5rem;
    }
    
    .stepper-item {
        gap: 0.5rem;
    }
    
    .stepper-circle {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
    
    .stepper-label {
        display: none;
    }
    
    .stepper-divider {
        width: 32px;
    }
}
