

<?php $__env->startSection('title', 'Dashboard'); ?>

<?php $__env->startSection('content'); ?>
<div class="page-header">
    <h1>Dashboard</h1>
    <p>Platform overview and recent activity</p>
</div>

<div class="stat-grid">
    <?php $__currentLoopData = [
        ['Total Users', number_format($stats['total_users']), '👤'],
        ['Total Transactions', number_format($stats['total_transactions']), '📊'],
        ['Total Deposit', '$'.number_format($stats['total_deposit'], 2), '➕'],
        ['Pending Deposit', '$'.number_format($stats['pending_deposit'], 2), '⏳'],
        ['Total Withdraw', '$'.number_format($stats['total_withdraw'], 2), '📤'],
        ['Pending Withdraw', '$'.number_format($stats['pending_withdraw'], 2), '➖'],
        ['Total Transfer', '$'.number_format($stats['total_transfer'], 2), '🔄'],
        ['Today Transfer', '$'.number_format($stats['today_transfer'], 2), '📅'],
    ]; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as [$label, $value, $icon]): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <div class="stat-tile">
        <div><p class="stat-tile-label"><?php echo e($label); ?></p><p class="stat-tile-value"><?php echo e($value); ?></p></div>
        <div class="stat-tile-icon"><?php echo e($icon); ?></div>
    </div>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>

<div class="md-card">
    <div class="md-card-header">Recent System Activity</div>
    <div class="md-card-body" style="padding:0">
        <table class="md-table">
            <tbody>
                <?php $__empty_1 = true; $__currentLoopData = $activities; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $activity): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                <tr>
                    <td><strong><?php echo e($activity->user->name); ?></strong><br><small style="color:var(--md-on-surface-variant)"><?php echo e(ucfirst($activity->type)); ?></small></td>
                    <td style="text-align:right;font-weight:600">$<?php echo e(number_format($activity->amount, 2)); ?> <?php echo e($activity->outcome); ?></td>
                </tr>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                <tr><td colspan="2" style="text-align:center;padding:2rem;color:var(--md-on-surface-variant)">No activity yet</td></tr>
                <?php endif; ?>
            </tbody>
        </table>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH D:\SkyApps\Projects\Laravel_projects\web3derp\resources\views/admin/dashboard.blade.php ENDPATH**/ ?>