@php
$metrics = [
['Total users', number_format($usersCount), $verifiedCount.' verified', 'from-brand to-violet'],
['Wallet balances', '$'.number_format($walletTotal, 2), 'Across all users', 'from-sky-500 to-indigo-600'],
['Active investments', number_format($activeInvestments), '$'.number_format($totalInvested, 2).' invested', 'from-emerald-500 to-teal-600'],
['Expected payouts', '$'.number_format($expectedReturns, 2), 'On active plans', 'from-amber-400 to-orange-500'],
];
@endphp
@foreach ($metrics as [$label, $value, $sub, $grad])
{{ $label }}
{{ $value }}
{{ $sub }}
@endforeach
@foreach ([['Investment plans', number_format($plansCount)], ['Total deposits', '$'.number_format($depositsTotal, 2)], ['Total withdrawals', '$'.number_format($withdrawalsTotal, 2)]] as [$label, $value])
{{ $label }}
{{ $value }}
@endforeach