Key Insights & Recommendations:
User Engagement: {{ number_format(($active_count / $total_count) * 100, 1) }}% of users are currently active in the system.
Daily Activity: {{ number_format(($logged_today / $total_count) * 100, 1) }}% of users logged in today, indicating {{ $logged_today > ($total_count * 0.3) ? 'high' : 'moderate' }} system engagement.
Real-time Usage: {{ $online_count }} users are currently online, representing {{ number_format(($online_count / $total_count) * 100, 1) }}% of the user base.
@if($departments->count() > 0)
Department Distribution: Users are distributed across {{ $departments->count() }} departments, with {{ $departments->sortByDesc('users_count')->first()->name ?? 'N/A' }} having the highest user count.
@endif
@if($branches->count() > 0)
Branch Performance: The system covers {{ $branches->count() }} branches, with {{ $branches->sortByDesc('users_count')->first()->name ?? 'N/A' }} being the most active branch.
@endif