@extends('admin.layout')

@section('content')
    <section class="stats-grid">
        <div class="stat-card">
            <div class="stat-label">{{ __('admin.dashboard.total_users') }}</div>
            <div class="stat-value">{{ number_format($stats['total_users'] ?? 0) }}</div>
            <div class="stat-meta">{{ __('admin.dashboard.total_users_meta') }}</div>
        </div>
        <div class="stat-card">
            <div class="stat-label">{{ __('admin.dashboard.total_deposits') }}</div>
            <div class="stat-value">${{ number_format($stats['total_deposits'] ?? 0) }}</div>
            <div class="stat-meta">{{ __('admin.dashboard.total_deposits_meta') }}</div>
        </div>
        <div class="stat-card">
            <div class="stat-label">{{ __('admin.dashboard.total_withdrawals') }}</div>
            <div class="stat-value">${{ number_format($stats['total_withdrawals'] ?? 0) }}</div>
            <div class="stat-meta">{{ __('admin.dashboard.total_withdrawals_meta') }}</div>
        </div>
        <div class="stat-card">
            <div class="stat-label">{{ __('admin.dashboard.active_bots') }}</div>
            <div class="stat-value">{{ $stats['active_bots'] ?? 0 }}</div>
            <div class="stat-meta">{{ __('admin.dashboard.active_bots_meta') }}</div>
        </div>
        <div class="stat-card">
            <div class="stat-label">{{ __('admin.dashboard.open_orders') }}</div>
            <div class="stat-value">{{ $stats['open_orders'] ?? 0 }}</div>
            <div class="stat-meta">{{ __('admin.dashboard.open_orders_meta') }}</div>
        </div>
        <div class="stat-card">
            <div class="stat-label">{{ __('admin.dashboard.risk_alerts') }}</div>
            <div class="stat-value">{{ $stats['risk_alerts'] ?? 0 }}</div>
            <div class="stat-meta">{{ __('admin.dashboard.risk_alerts_meta') }}</div>
        </div>
    </section>
@endsection

