body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.video-cutter-tool {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-bottom: 2rem;
}

.video-cutter-tool h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

/* 上传区域样式 */
.upload-area {
    border: 2px dashed #e0e0e0;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #4a90e2;
    background: #f0f7ff;
}

.upload-hint {
    color: #6c757d;
}

.upload-hint i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #adb5bd;
}

.upload-hint p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.upload-hint .sub-hint {
    font-size: 0.9rem;
    color: #adb5bd;
}

/* 视频区域样式 */
.video-section {
    margin-top: 2rem;
}

.video-container {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.video-container video {
    width: 100%;
    display: block;
}

/* 控制区域样式 */
.controls-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.time-controls {
    margin-bottom: 1.5rem;
}

.time-range {
    width: 100%;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.range-slider {
    position: relative;
    height: 30px;
    margin-bottom: 1rem;
}

.range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 5px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #4a90e2;
    cursor: pointer;
    pointer-events: auto;
    -webkit-appearance: none;
}

.range-slider input[type="range"]::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #4a90e2;
    cursor: pointer;
    pointer-events: auto;
}

.slider-track {
    position: absolute;
    top: 12px;
    width: 100%;
    height: 5px;
    background: #e0e0e0;
    border-radius: 3px;
}

.slider-selection {
    position: absolute;
    top: 12px;
    height: 5px;
    background: #4a90e2;
    border-radius: 3px;
}

.range-inputs {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.range-inputs .input-group {
    width: 48%;
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

/* 预览区域样式 */
.preview-section {
    margin-top: 2rem;
}

.preview-section h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.preview-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.preview-container video {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.preview-info {
    display: flex;
    justify-content: space-between;
    color: #6c757d;
    font-size: 0.9rem;
}

/* 导出区域样式 */
.export-section {
    margin-top: 2rem;
}

.export-section h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.export-options {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.export-options .form-group {
    flex: 1;
}

.export-progress {
    margin-bottom: 1.5rem;
}

.progress {
    height: 10px;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    color: #6c757d;
    font-size: 0.9rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .export-options {
        flex-direction: column;
        gap: 1rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons button {
        width: 100%;
    }
    
    .range-inputs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .range-inputs .input-group {
        width: 100%;
    }
}

/* 导出遮罩层样式 */
.export-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    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);
} 