

<?php $__env->startSection('content'); ?>
    <div class="row">
        <div class="col-12 mb-4">
            <div class="card card-gray">
                <div class="card-body" style="background-color: #b0a8aeff; border: none;">
                    <div class="d-flex align-items-center justify-content-between">
                        <div>
                            <h1 class="h4 mb-1"><i class="bi bi-speedometer2 me-1"></i> Dashboard Admin</h1>
                            <p class="text-muted mb-0">Ringkasan sistem</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="row g-3">
        <div class="col-md-4">
            <div class="card">
                <div class="card-body d-flex align-items-center" style="background-color: #0db821ff; border: none; color: #fff;">
                    <div class="me-3" style="font-size:2.2rem;">
                        <i class="bi bi-people-fill"></i>
                    </div>
                    <div>
                        <h5 class="card-title mb-0"><i class="bi bi-people-fill me-1"></i> Pengguna</h5>
                        <p class="text-muted mb-1">Jumlah pengguna</p>
                        <p class="card-text mb-0" style="font-size:1.25rem; font-weight:600;"><?php echo e($userCount ?? 0); ?></p>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-md-4">
            <div class="card">
                <div class="card-body d-flex align-items-center" style="background-color: #0d6efd; border: none; color: #fff;">
                    <div class="me-3" style="font-size:2.2rem;">
                        <i class="bi bi-mortarboard-fill"></i>
                    </div>
                    <div>
                        <h5 class="card-title mb-0"><i class="bi bi-mortarboard-fill me-1"></i> Guru</h5>
                        <p class="text-muted mb-1">Jumlah guru</p>
                        <p class="card-text mb-0" style="font-size:1.25rem; font-weight:600;"><?php echo e($guruCount ?? 0); ?></p>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-md-4">
            <div class="card">
                <div class="card-body d-flex align-items-center" style="background-color: #6610f2; border: none; color: #fff;">
                    <div class="me-3" style="font-size:2.2rem;">
                        <i class="bi bi-award"></i>
                    </div>
                    <div>
                        <h5 class="card-title mb-0"><i class="bi bi-award me-1"></i> Walikelas</h5>
                        <p class="text-muted mb-1">Jumlah walikelas</p>
                        <p class="card-text mb-0" style="font-size:1.25rem; font-weight:600;"><?php echo e($walikelasCount ?? 0); ?></p>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-md-4">
            <div class="card">
                <div class="card-body d-flex align-items-center" style="background-color: #198754; border: none; color: #fff;">
                    <div class="me-3" style="font-size:2.2rem;">
                        <i class="bi bi-person-badge-fill"></i>
                    </div>
                    <div>
                        <h5 class="card-title mb-0"><i class="bi bi-person-badge-fill me-1"></i> Peserta Didik</h5>
                        <p class="text-muted mb-1">Jumlah peserta didik</p>
                        <p class="card-text mb-0" style="font-size:1.25rem; font-weight:600;"><?php echo e($pesertaCount ?? 0); ?></p>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-md-4">
            <div class="card">
                <div class="card-body d-flex align-items-center" style="background-color: #fd7e14; border: none; color: #fff;">
                    <div class="me-3" style="font-size:2.2rem;">
                        <i class="bi bi-book-half"></i>
                    </div>
                    <div>
                        <h5 class="card-title mb-0"><i class="bi bi-book-half me-1"></i> Mata Pelajaran</h5>
                        <p class="text-muted mb-1">Jumlah mata pelajaran</p>
                        <p class="card-text mb-0" style="font-size:1.25rem; font-weight:600;"><?php echo e($mataPelajaranCount ?? 0); ?></p>
                    </div>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layout', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\App\laravel\laravel\resources\views/admin/dashboard.blade.php ENDPATH**/ ?>