@@ -358,40 +358,52 @@ export default function ExplorePage() {
358358 >
359359 { /* Stats Cards */ }
360360 < div className = "grid gap-4 md:grid-cols-4 mb-6" >
361- < Card >
361+ < Card className = "border-l-4 border-l-blue-500 bg-gradient-to-r from-blue-50/50 to-transparent dark:from-blue-950/20" >
362362 < CardHeader className = "flex flex-row items-center justify-between space-y-0 pb-2" >
363363 < CardTitle className = "text-sm font-medium" > Total Documents</ CardTitle >
364- < FileText className = "h-4 w-4 text-muted-foreground" />
364+ < div className = "h-8 w-8 rounded-full bg-blue-100 dark:bg-blue-900/30 flex items-center justify-center" >
365+ < FileText className = "h-4 w-4 text-blue-600 dark:text-blue-400" />
366+ </ div >
365367 </ CardHeader >
366368 < CardContent >
367- < div className = "text-2xl font-bold" > { stats . total } </ div >
369+ < div className = "text-2xl font-bold text-blue-700 dark:text-blue-400" > { stats . total } </ div >
370+ < p className = "text-xs text-muted-foreground mt-1" > documents in workspace</ p >
368371 </ CardContent >
369372 </ Card >
370- < Card >
373+ < Card className = "border-l-4 border-l-green-500 bg-gradient-to-r from-green-50/50 to-transparent dark:from-green-950/20" >
371374 < CardHeader className = "flex flex-row items-center justify-between space-y-0 pb-2" >
372375 < CardTitle className = "text-sm font-medium" > Completed</ CardTitle >
373- < CheckCircle className = "h-4 w-4 text-green-500" />
376+ < div className = "h-8 w-8 rounded-full bg-green-100 dark:bg-green-900/30 flex items-center justify-center" >
377+ < CheckCircle className = "h-4 w-4 text-green-600 dark:text-green-400" />
378+ </ div >
374379 </ CardHeader >
375380 < CardContent >
376- < div className = "text-2xl font-bold text-green-600" > { stats . completed } </ div >
381+ < div className = "text-2xl font-bold text-green-700 dark:text-green-400" > { stats . completed } </ div >
382+ < p className = "text-xs text-muted-foreground mt-1" > { stats . total > 0 ? Math . round ( ( stats . completed / stats . total ) * 100 ) : 0 } % success rate</ p >
377383 </ CardContent >
378384 </ Card >
379- < Card >
385+ < Card className = "border-l-4 border-l-yellow-500 bg-gradient-to-r from-yellow-50/50 to-transparent dark:from-yellow-950/20" >
380386 < CardHeader className = "flex flex-row items-center justify-between space-y-0 pb-2" >
381387 < CardTitle className = "text-sm font-medium" > Processing</ CardTitle >
382- < Clock className = "h-4 w-4 text-yellow-500" />
388+ < div className = "h-8 w-8 rounded-full bg-yellow-100 dark:bg-yellow-900/30 flex items-center justify-center" >
389+ < Clock className = "h-4 w-4 text-yellow-600 dark:text-yellow-400" />
390+ </ div >
383391 </ CardHeader >
384392 < CardContent >
385- < div className = "text-2xl font-bold text-yellow-600" > { stats . processing } </ div >
393+ < div className = "text-2xl font-bold text-yellow-700 dark:text-yellow-400" > { stats . processing } </ div >
394+ < p className = "text-xs text-muted-foreground mt-1" > currently in progress</ p >
386395 </ CardContent >
387396 </ Card >
388- < Card >
397+ < Card className = "border-l-4 border-l-red-500 bg-gradient-to-r from-red-50/50 to-transparent dark:from-red-950/20" >
389398 < CardHeader className = "flex flex-row items-center justify-between space-y-0 pb-2" >
390399 < CardTitle className = "text-sm font-medium" > Failed</ CardTitle >
391- < XCircle className = "h-4 w-4 text-red-500" />
400+ < div className = "h-8 w-8 rounded-full bg-red-100 dark:bg-red-900/30 flex items-center justify-center" >
401+ < XCircle className = "h-4 w-4 text-red-600 dark:text-red-400" />
402+ </ div >
392403 </ CardHeader >
393404 < CardContent >
394- < div className = "text-2xl font-bold text-red-600" > { stats . failed } </ div >
405+ < div className = "text-2xl font-bold text-red-700 dark:text-red-400" > { stats . failed } </ div >
406+ < p className = "text-xs text-muted-foreground mt-1" > require attention</ p >
395407 </ CardContent >
396408 </ Card >
397409 </ div >
0 commit comments