<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag; ?>
<?php foreach($attributes->onlyProps([
'id',
'title' => '¿Estás seguro?',
'message' => 'Esta acción no se puede deshacer.',
'confirmText' => 'Eliminar',
'action' => '#',
'method' => 'DELETE',
]) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
} ?>
<?php $attributes = $attributes->exceptProps([
'id',
'title' => '¿Estás seguro?',
'message' => 'Esta acción no se puede deshacer.',
'confirmText' => 'Eliminar',
'action' => '#',
'method' => 'DELETE',
]); ?>
<?php foreach (array_filter(([
'id',
'title' => '¿Estás seguro?',
'message' => 'Esta acción no se puede deshacer.',
'confirmText' => 'Eliminar',
'action' => '#',
'method' => 'DELETE',
]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
} ?>
<?php $__defined_vars = get_defined_vars(); ?>
<?php foreach ($attributes as $__key => $__value) {
    if (array_key_exists($__key, $__defined_vars)) unset($$__key);
} ?>
<?php unset($__defined_vars); ?>

<div id="<?php echo e($id); ?>" class="modal hidden fixed inset-0 z-50 bg-black/40 flex items-center justify-center font-main">
    <div class="bg-white rounded-lg shadow-lg p-6 w-full max-w-md">
        <h2 class="text-xl font-bold text-[#121416] mb-4"><?php echo e($title); ?></h2>
        <p class="text-sm text-[#6a7681] mb-6"><?php echo $message; ?></p>

        <div class="flex justify-end gap-3">
            <button class="modal-cancel px-4 py-2 rounded-full bg-gray-200 text-sm font-medium text-[#121416]">
                Cancelar
            </button>
            <form method="POST" action="<?php echo e($action); ?>">
                <?php echo csrf_field(); ?>
                <?php echo method_field('DELETE'); ?>
                <button
                    class="modal-confirm px-4 py-2 rounded-full bg-red-500 text-white text-sm font-medium hover:bg-red-600 transition">
                    <?php echo e($confirmText); ?>

                </button>
            </form>
        </div>
    </div>
</div><?php /**PATH /home/cnllsandbox/public_html/house-contract.cnll-sandbox.com/resources/views/components/modals/confirm-modal.blade.php ENDPATH**/ ?>