<!-- Delete Account Button -->
<div class="space-y-4">
    <p class="text-sm text-gray-600 dark:text-gray-400">
        Setelah akun Anda dihapus, semua sumber daya dan data akan dihapus secara permanen. Sebelum menghapus akun, unduh data atau informasi yang ingin Anda simpan.
    </p>

    <button
        type="button"
        onclick="openDeleteModal()"
        class="px-4 py-2.5 text-sm font-medium text-white bg-gradient-to-r from-rose-500 to-red-600 hover:from-rose-600 hover:to-red-700 rounded-xl transition-all shadow-sm hover:shadow-md flex items-center gap-2"
    >
        <i data-lucide="trash-2" class="w-4 h-4"></i>
        Hapus Akun
    </button>
</div>

<script>
function openDeleteModal() {
    document.getElementById('deleteModal').classList.remove('hidden');
}

function closeDeleteModal() {
    document.getElementById('deleteModal').classList.add('hidden');
    document.getElementById('password').value = '';
}
</script>
<?php /**PATH /home/edunesiaserver/public_html/K2/WEB_INTERNAL/SIMA/DEVELOPMENT/resources/views/profile/partials/delete-user-form.blade.php ENDPATH**/ ?>