<?php $__env->startSection('title', 'Status APIs'); ?>
<?php $__env->startSection('page-title', 'Status APIs'); ?>
<?php $__env->startSection('content'); ?>
    <form method="POST" action="<?php echo e(route('super-admin.health.refresh')); ?>" class="mb-4"><?php echo csrf_field(); ?><button class="rounded-lg bg-emerald-600 px-4 py-2 text-sm font-semibold text-white">Atualizar agora</button></form>
    <p class="mb-4 text-sm">Geral: <strong><?php echo e($health['overall_status']); ?></strong></p>
    <div class="grid gap-3 sm:grid-cols-2">
        <?php $__currentLoopData = $health['checks']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $name => $check): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="rounded-xl border bg-white p-4 shadow-sm">
                <p class="font-semibold"><?php echo e($name); ?></p>
                <p class="text-sm text-slate-600"><?php echo e($check['status']); ?> — <?php echo e($check['message']); ?></p>
            </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>
    <h2 class="mt-6 font-semibold">Conectores</h2>
    <ul class="mt-2 space-y-1 text-sm">
        <?php $__currentLoopData = $connectors; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $c): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <li><?php echo e($c->name); ?> (<?php echo e($c->category); ?>): <?php echo e($c->status); ?></li>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </ul>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.superadmin', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /var/www/html/backend/resources/views/super-admin/health/index.blade.php ENDPATH**/ ?>