body {
    background-color: #f8f9fa;
    padding: 2rem 0;
}

.video-side-merger {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-bottom: 2rem;
}

.video-side-merger h2 {
    margin-bottom: 0.5rem;
    color: #333;
}

/* 上传区域样式 */
.upload-section {
    margin: 2rem 0;
}

.video-upload-container {
    margin-bottom: 1.5rem;
}

.video-upload-container h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
}

.upload-area {
    border: 2px dashed #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #4a90e2;
    background: #f0f7ff;
}

.upload-area.dragover {
    border-color: #4a90e2;
    background: #f0f7ff;
}

.upload-hint {
    color: #666;
}

.upload-hint i {
    font-size: 2.5rem;
    color: #4a90e2;
    margin-bottom: 1rem;
}

.upload-hint p {
    margin: 0;
    font-size: 1rem;
}

.upload-hint .sub-hint {
    font-size: 0.85rem;
    color: #999;
    margin-top: 0.5rem;
}

/* 视频预览样式 */
.video-preview {
    margin-top: 1rem;
    position: relative;
}

.video-preview video {
    width: 100%;
    border-radius: 8px;
    background: #000;
}

.video-info {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.remove-video {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 10;
    opacity: 0.8;
}

.remove-video:hover {
    opacity: 1;
}

/* 选项区域样式 */
.options-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.options-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #444;
    font-weight: 500;
    font-size: 0.9rem;
}

/* 合并按钮区域 */
.merge-section {
    margin-bottom: 2rem;
}

.merge-progress {
    margin-top: 1rem;
}

.progress {
    height: 10px;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
}

/* 结果区域样式 */
.result-section {
    margin-top: 2rem;
}

.result-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
}

.result-video-container {
    margin-bottom: 1rem;
}

.result-video-container video {
    width: 100%;
    border-radius: 8px;
    background: #000;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* 导出遮罩层样式 */
.export-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

/* 圆形进度条容器 */
.circular-progress-container {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 圆形进度条 */
.circular-progress {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(#4a90e2 0%, transparent 0%);
    position: absolute;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.circular-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
}

/* 进度文本 */
.progress-text {
    position: relative;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    z-index: 1;
}

/* 状态文本 */
.status-text {
    color: white;
    font-size: 1.2rem;
    text-align: center;
}

/* FFmpeg状态消息 */
.ffmpeg-status {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .video-upload-container {
        margin-bottom: 2rem;
    }
} 