/* Flow页面样式 - 视频播放 + 导航联动

/* 流程导航样式 */
.process-nav-item {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.process-nav-item:hover {
    background-color: #f8f9fa;
}

/* 导航项图标样式 - 使用圆点 */
.process-nav-item .fa {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: #9CA3AF !important;
    display: inline-block !important;
    margin-right: 12px !important;
    flex-shrink: 0 !important;
    position: relative;
    z-index: 2;
    /* 重置FontAwesome样式 */
    font-family: inherit !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-size: 0 !important;
    line-height: 1 !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.process-nav-item.active .fa {
    background-color: #00B42A !important;
}

/* 导航项美化效果 */
.process-nav-item .fa {
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.process-nav-item:hover .fa {
    transform: scale(1.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.process-nav-item.active .fa {
    transform: scale(1.3);
    box-shadow: 0 6px 12px rgba(0, 180, 42, 0.3);
}

/* 步骤内容样式 */
.process-step {
    position: relative;
    transition: all 0.3s ease;
    min-height: auto !important;
    height: auto !important;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 60px;
    bottom: -40px;
    width: 2px;
    background-color: #e5e7eb;
    z-index: 1;
}

.process-step:last-child::before {
    display: none;
}

.step-number {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
}

/* 步骤图片样式优化 */
.process-step img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

/* 更具体的图片样式选择器 */
.process-step .bg-gray-50 img {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

/* 图片容器样式优化 - 自适应布局 */
.process-step .bg-gray-50 {
    max-height: none !important;
    overflow: visible !important;
    min-height: auto !important;
    height: auto !important;
    display: block !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

/* 视频容器样式 */
.flow-video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* 视频播放器样式 */
.flow-video-player {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}

.flow-video-element {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: #000;
    display: block;
}

/* 错误状态样式 */
.flow-video-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 8px;
    z-index: 15;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .flow-video-element {
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .flow-video-element {
        border-radius: 4px;
    }
}