/**
 * 工作流程导航样式
 */

.workflow-navigation {
    animation: fadeIn 0.5s ease-out;
}

/* 步骤圆圈动画 */
.workflow-step {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.workflow-step:hover {
    transform: scale(1.05) translateY(-2px);
}

/* 步骤状态颜色 */
.step-active {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    animation: stepPulse 2s ease-in-out infinite;
}

.step-completed {
    background: #22c55e;
    box-shadow: 0 4px 12px rgba(34,197,94,0.3);
}

.step-pending {
    background: #ffffff;
    border: 3px solid #e0e0e0;
    opacity: 0.6;
}

/* 脉冲动画 */
@keyframes stepPulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    }
    50% {
        box-shadow: 0 12px 32px rgba(0,0,0,0.35);
    }
}

/* 连接线动画 */
.workflow-connector {
    transition: background 0.5s ease;
}

.workflow-connector.active {
    background: linear-gradient(90deg, #22c55e 0%, #e0e0e0 100%);
}

/* 进度指示器 */
.workflow-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #22c55e;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .workflow-navigation {
        overflow-x: auto;
    }
    
    .workflow-navigation > div:nth-child(2) {
        min-width: 800px;
    }
}

@media (max-width: 768px) {
    .workflow-navigation {
        padding: 1.5rem 1rem;
    }
    
    .workflow-navigation > div:nth-child(2) {
        flex-direction: column;
        min-width: auto;
    }
    
    .workflow-navigation > div:nth-child(2) > div:first-child {
        display: none; /* 隐藏连接线 */
    }
    
    .workflow-navigation > div:nth-child(2) > div + div {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
}

/* 步骤提示卡片 */
.step-hint {
    background: linear-gradient(135deg, #f0f0f0 0%, #fafafa 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    border-left: 4px solid #000000;
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 步骤完成效果 */
.step-complete-check {
    animation: checkBounce 0.6s ease-out;
}

@keyframes checkBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 工具提示 */
.workflow-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #000000;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    margin-bottom: 0.5rem;
}

.workflow-step:hover .workflow-tooltip {
    opacity: 1;
}

/* 进度百分比 */
.workflow-progress-bar {
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 1rem;
}

.workflow-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #000000 0%, #22c55e 100%);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

