/* Clickable Progress Steps Styles */

/* Base clickable styling */
.progress-steps .step {
    transition: all 0.3s ease;
    position: relative;
}

/* Hover effects for clickable steps */
.progress-steps .step.clickable {
    transform: translateY(-2px);
}

.progress-steps .step.clickable .step-number {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.progress-steps .step.clickable .step-label {
    color: var(--primary-2);
    font-weight: 600;
}

/* Cursor styles */
.progress-steps .step.active,
.progress-steps .step.completed {
    cursor: pointer;
}

/* Visual feedback for completed steps */
.progress-steps .step.completed .step-number {
    background: var(--success);
    border-color: var(--success);
    position: relative;
}

.progress-steps .step.completed .step-number::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: bold;
    color: white;
}

/* Disabled future steps */
.progress-steps .step:not(.active):not(.completed) {
    cursor: not-allowed;
    opacity: 0.6;
}

.progress-steps .step:not(.active):not(.completed):hover .step-number {
    background: var(--bg-hover);
    transform: none;
}

/* Active step highlight */
.progress-steps .step.active .step-number {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(102, 126, 234, 0);
    }
}

/* Tooltip for disabled steps */
.progress-steps .step:not(.active):not(.completed)::before {
    content: 'Complete previous steps first';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-elevated);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.progress-steps .step:not(.active):not(.completed):hover::before {
    opacity: 1;
    visibility: visible;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .progress-steps .step.clickable .step-number {
        transform: scale(1.05);
    }
    
    .progress-steps .step:not(.active):not(.completed)::before {
        font-size: 10px;
        padding: 4px 8px;
    }
}

/* Light theme adjustments */
[data-theme="light"] .progress-steps .step:not(.active):not(.completed)::before {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .progress-steps .step.clickable .step-number {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}