<div class="p-6 space-y-5">
    <div class="flex items-start gap-4">
        <div class="w-10 h-10 rounded-full bg-red/10 flex items-center justify-center flex-shrink-0">
            <svg class="w-5 h-5 text-red" fill="none" viewBox="0 0 20 20" stroke="currentColor" stroke-width="1.5">
                <path stroke-linecap="round" stroke-linejoin="round" d="M10 9V5m0 8h.01M4.93 4.93l10.14 10.14M10 18a8 8 0 100-16 8 8 0 000 16z"/>
            </svg>
        </div>
        <div class="flex-1">
            <h3 class="text-base font-semibold text-t1">Delete Account</h3>
            <p class="mt-1.5 text-sm text-t2">
                This will permanently delete your account and all data. This action cannot be undone.
            </p>
        </div>
    </div>

    <div>
        <label class="block text-xs font-medium text-t2 mb-1.5">Confirm your password</label>
        <input wire:model="password" type="password" placeholder="••••••••"
               class="w-full px-3 py-2 bg-s2 border border-white/[.06] rounded-lg text-sm text-t1 placeholder-t3
                      focus:outline-none focus:ring-1 focus:ring-red/50 focus:border-red/50" />
        @error('password')<p class="mt-1 text-xs text-red">{{ $message }}</p>@enderror
    </div>

    <div class="flex justify-end gap-2 pt-2">
        <x-ui.button wire:click="closeModal" variant="ghost" label="Cancel" />
        <x-ui.button wire:click="delete" action="delete" variant="danger" label="Delete My Account" loading-label="Deleting..." />
    </div>
</div>
