<div>
    <div class="container px-4 mx-auto"></div>
    <div class="grid w-full gap-4 mb-6 md:grid-cols-4">
        <p class="block mb-2 text-sm font-medium dark:text-gray-400"><strong>ID:</strong> <?php echo e($user->id); ?>

        </p>

        <p class="block mb-2 text-sm font-medium dark:text-gray-400"><strong>Nombre:</strong>
            <?php echo e($user->person->names . ' ' . $user->person->surnames); ?>

        </p>

        <p class="block mb-2 text-sm font-medium dark:text-gray-400"><strong>Correo:</strong> <?php echo e($user->email); ?>

        </p>

    </div>
    <div class="grid w-full gap-4 md:grid-cols-2">

        <p class="block mb-2 text-sm font-medium dark:text-gray-400"><strong>Rol:</strong> <?php echo e($user->role->name); ?>

        </p>


        
        <p class="block mb-2 text-sm font-medium dark:text-gray-400"><strong>Status:</strong> <span
                class="px-2 rounded-md py-1 text-gray-700 <?php echo e($user->status_id == 1 ? 'bg-green-200' : 'bg-red-200'); ?>"><?php echo e($user->status->name); ?></span>
        </p>

        <p class="block mb-2 text-sm font-medium dark:text-gray-400"><strong>Fecha de Registro:</strong>
            <?php echo e($user->created_at->format('d/m/Y H:i:s')); ?>

        </p>
    </div>

    <div class="mt-7">
        <div class="flex justify-start space-x-2">
            <a href="<?php echo e(route('users.edit', $user->id)); ?>"
                class="inline-block px-4 py-2 text-xs font-medium leading-tight text-white rounded shadow-md bg-amber-500 hover:bg-amber-600">Editar</a>
            <a href="<?php echo e(route('users.index')); ?>"
                class="inline-block px-4 py-2 text-xs font-medium leading-tight text-white bg-red-500 rounded shadow-md hover:bg-red-600">Regresar</a>
        </div>
    </div>
</div><?php /**PATH C:\laragon\www\web-backup\resources\views/livewire/user/show.blade.php ENDPATH**/ ?>