/* 视频上传表单样式 */
.video-upload-container {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(108, 194, 255, 0.2);
    height: fit-content;
}

.video-upload-title {
    color: #1d7eff;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.detection-stats {
    text-align: center;
    padding: 8px 16px;
    background: rgba(108, 194, 255, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(108, 194, 255, 0.3);
}

.stats-text {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.stats-count {
    color: #1d7eff;
    font-size: 16px;
    font-weight: 600;
    margin-left: 4px;
}

.upload-area {
    border: 2px dashed #6cc2ff;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    background: rgba(108, 194, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    height: 160px;
}

.upload-area:hover, .upload-area.drag-over {
    border-color: #1d7eff;
    background: rgba(108, 194, 255, 0.1);
}

.upload-content {
    /* display: flex; */
    /* flex-direction: column; */
    align-items: center;
}

.upload-icon {
    width: 48px;
    height: 48px;
    color: #6cc2ff;
    margin-bottom: 16px;
}

.upload-text {
    font-size: 18px;
    color: #1d7eff;
    margin-bottom: 8px;
    font-weight: 500;
}

.upload-hint {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

.upload-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(108, 194, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.file-info {
    display: flex;
    flex-direction: column;
}

.file-name {
    font-weight: 600;
    color: #1d7eff;
    margin-bottom: 4px;
}

.file-size {
    font-size: 14px;
    color: #6c757d;
}

.btn-remove {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.btn-remove:hover {
    background: #c82333;
}

.upload-progress {
    margin-bottom: 16px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(108, 194, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #6cc2ff 0%, #1d7eff 100%);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #6c757d;
}

.upload-btn {
    width: 100%;
    background: linear-gradient(135deg, #6cc2ff 0%, #1d7eff 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.upload-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #5ab3f0 0%, #0d6efd 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 126, 255, 0.3);
}

.upload-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.result-section {
    background: rgba(40, 167, 69, 0.1);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.result-title {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 16px;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-link:hover {
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .video-upload-container {
        padding: 16px;
        margin-top: 20px;
    }
    
    .upload-area {
        padding: 30px 15px;
    }
    
    .upload-text {
        font-size: 16px;
    }
    
    .upload-info {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* 检测类型单选组样式 */
.check-type-section {
    margin: 20px 0;
    padding: 16px;
    background: rgba(29, 126, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(29, 126, 255, 0.1);
}

.check-type-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    font-size: 14px;
}

.radio-group {
    display: flex;
    gap: 24px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1d7eff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: #1d7eff;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.radio-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.radio-option:hover .radio-custom {
    border-color: #1d7eff;
}

@media (max-width: 992px) {
    .video-upload-container {
        margin-top: 20px;
    }
    
    .radio-group {
        gap: 16px;
    }
}

@media (max-width: 576px) {
    .check-type-section {
        margin: 16px 0;
        padding: 12px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 12px;
    }
}