/* Project Workflow Pipeline — horizontal stepper */
.project-pipeline {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 12px 0;
}

.pipeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #95a5a6;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
}

.pipeline-step:hover {
    color: #ff6600;
    text-decoration: none;
}

.pipeline-step.completed {
    color: #28a745;
}

.pipeline-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.pipeline-step.completed .pipeline-step-circle {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}

.pipeline-step:hover .pipeline-step-circle {
    border-color: #ff6600;
    background: rgba(255, 102, 0, 0.1);
}

.pipeline-step-label {
    font-size: 0.7rem;
    margin-top: 6px;
    text-align: center;
    white-space: nowrap;
    font-weight: 500;
}

.pipeline-connector {
    flex: 1;
    height: 2px;
    background: #dee2e6;
    margin: 0 -2px;
    margin-bottom: 22px;
    min-width: 16px;
    transition: background 0.2s ease;
}

.pipeline-connector.active {
    background: #28a745;
}

/* Prominent mode (Simple) */
.pipeline-prominent .pipeline-step-circle {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
}

.pipeline-prominent .pipeline-step-label {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Compact mode (Advanced) */
.pipeline-compact {
    padding: 6px 0;
}

.pipeline-compact .pipeline-step-circle {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
}

.pipeline-compact .pipeline-step-label {
    font-size: 0.6rem;
    margin-top: 3px;
}

.pipeline-compact .pipeline-connector {
    min-width: 10px;
    margin-bottom: 16px;
}

/* Dark mode */
[data-theme="dark"] .pipeline-connector {
    background: #495057;
}

[data-theme="dark"] .pipeline-step {
    color: #6c757d;
}

[data-theme="dark"] .pipeline-step:hover .pipeline-step-circle {
    background: rgba(255, 102, 0, 0.15);
}
