/* v2版本文生视频试用示例样式 */
.prompt-examples-v2 {
    padding: 0;
    margin-top: 32px;
}

.prompt-examples-v2-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.prompt-examples-v2-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
    text-align: center;
}

.prompt-examples-v2-list {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    max-height: 600px;
    overflow-y: auto;
}

.prompt-examples-v2-item {
    margin-bottom: 0;
}

.prompt-examples-v2-header {
    margin-bottom: 16px;
}

.prompt-examples-v2-item-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
}

.prompt-examples-v2-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 文生视频容器布局 */
.text-to-video-container {
    display: flex;
    gap: 20px;
    height: 500px;
}

/* 左侧视频缩略图面板 */
.video-thumbnails-panel {
    flex: 0 0 120px;
    border-right: 1px solid #e5e7eb;
    padding-right: 16px;
}

.video-thumbnails-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 8px;
}

.video-thumbnails-list::-webkit-scrollbar {
    width: 4px;
}

.video-thumbnails-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 2px;
}

.video-thumbnails-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.video-thumbnails-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.video-thumbnail-item {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 6px;
    transition: all 0.3s ease;
    background-color: #f8fafc;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video-thumbnail-item:hover {
    border-color: #3b82f6;
    background-color: #eff6ff;
}

.video-thumbnail-item.active {
    border-color: #2563eb;
    background-color: #dbeafe;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.video-thumbnail {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.video-thumbnail-title {
    margin-top: 4px;
    font-size: 10px;
    color: #64748b;
    text-align: center;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 88px;
}

.video-thumbnail-item.active .video-thumbnail-title {
    color: #1e40af;
    font-weight: 500;
}

/* 右侧主视频面板 */
.main-video-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.main-video-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.main-display-video {
    max-width: 100%;
    max-height: 450px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #000;
}

.main-video-title {
    margin-top: 16px;
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    text-align: center;
}

/* 占位符样式 */
.text-to-video-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
    font-size: 16px;
    background-color: #f9fafb;
    border-radius: 8px;
    border: 2px dashed #d1d5db;
}

.text-to-video-placeholder p {
    margin: 0;
    font-style: italic;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .prompt-examples-v2-container {
        padding: 0 16px;
    }
    
    .prompt-examples-v2-list {
        padding: 16px;
        max-height: none;
    }
    
    .text-to-video-container {
        flex-direction: column;
        height: auto;
        gap: 16px;
    }
    
    .video-thumbnails-panel {
        flex: none;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding-right: 0;
        padding-bottom: 16px;
    }
    
    .video-thumbnails-list {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-right: 0;
        padding-bottom: 8px;
    }
    
    .video-thumbnails-list::-webkit-scrollbar {
        height: 4px;
        width: auto;
    }
    
    .video-thumbnail-item {
        flex: 0 0 100px;
        width: 100px;
        height: 100px;
    }
    
    .video-thumbnail {
        width: 88px;
        height: 88px;
    }
    
    .main-video-panel {
        flex: none;
    }
    
    .main-display-video {
        max-height: 300px;
    }
    
    .text-to-video-placeholder {
        padding: 40px 15px;
        font-size: 14px;
    }
}