/* Progress Indicator Component Styles - Tab-based Stepper */
.ui-progress-indicator {
    width: 100%;
    padding: var(--spacing-md) 0;
}

.ui-progress-indicator-clickable .ui-progress-step.completed,
.ui-progress-indicator-clickable .ui-progress-step.current {
    cursor: pointer;
}

.ui-progress-indicator-clickable .ui-progress-step.completed:hover .ui-progress-step-circle,
.ui-progress-indicator-clickable .ui-progress-step.current:hover .ui-progress-step-circle {
    transform: scale(1.05);
    box-shadow: 0 4px 12px var(--color-primary-shadow);
}

.ui-progress-step.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ui-progress-indicator-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.ui-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.ui-progress-step-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid var(--color-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.ui-progress-step-number {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-secondary);
    transition: color 0.3s ease;
}

/* Completed step */
.ui-progress-step.completed .ui-progress-step-circle {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px var(--color-primary-shadow);
}

.ui-progress-step.completed .ui-progress-step-number {
    color: white;
}

.ui-progress-step.completed .ui-progress-step-checkmark {
    color: #ffffff;
    stroke: #ffffff;
}

/* Current step */
.ui-progress-step.current .ui-progress-step-circle {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    border-width: 3px;
    box-shadow: 0 4px 12px var(--color-primary-shadow);
    transform: scale(1.1);
}

.ui-progress-step.current .ui-progress-step-number {
    color: #ffffff;
    font-weight: var(--font-weight-bold);
}

/* Future step */
.ui-progress-step.future .ui-progress-step-circle {
    background-color: #ffffff;
    border-color: var(--color-border);
}

.ui-progress-step.future .ui-progress-step-number {
    color: var(--color-text-secondary);
}

/* Step line (connector between steps) */
.ui-progress-step-line {
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: var(--color-border);
    z-index: 1;
    transition: background-color 0.3s ease;
}

.ui-progress-step-line.completed {
    background-color: var(--color-primary);
}

/* Step label */
.ui-progress-step-label {
    margin-top: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 100px;
    line-height: var(--line-height-tight);
    transition: color 0.3s ease;
}

.ui-progress-step.current .ui-progress-step-label {
    color: var(--color-primary);
    font-weight: var(--font-weight-medium);
}

.ui-progress-step.completed .ui-progress-step-label {
    color: var(--color-primary);
    font-weight: var(--font-weight-medium);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ui-progress-step-circle {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
    }
    
    .ui-progress-step-number {
        font-size: var(--font-size-sm);
    }
    
    .ui-progress-step-line {
        top: 16px;
    }
    
    .ui-progress-step-label {
        font-size: var(--font-size-xs);
        max-width: 80px;
    }
}

/* Progress Panels (Content Panels) */
.ui-progress-panels {
    margin-top: var(--spacing-lg);
    position: relative;
}

.ui-progress-panel {
    display: none;
}

.ui-progress-panel.ui-progress-panel-active {
    display: block;
    animation: fadeInPanel 0.3s ease;
}

@keyframes fadeInPanel {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
