<div class="p-6">
    <div class="flex items-start gap-4">
        <div class="grid size-10 shrink-0 place-items-center rounded-full border border-danger-border bg-danger-bg">
            <x-ui.icon name="alert-triangle" class="size-5 text-danger" />
        </div>
        <div class="min-w-0">
            <h3 class="text-base font-semibold text-ink">{{ __('vpn.delete_title', ['name' => $name]) }}</h3>
            <p class="mt-1 text-sm text-muted">{{ __('vpn.delete_body') }}</p>
            @if ($hostName)
                <p class="mt-2 rounded-lg border border-warning-border bg-warning-bg p-3 text-sm text-body">
                    {{ __('vpn.delete_host_warning', ['host' => $hostName]) }}
                </p>
            @endif
        </div>
    </div>
    <div class="mt-6 flex justify-end gap-2">
        <x-ui.button variant="secondary" x-on:click="Livewire.dispatch('closeModal')">{{ __('vpn.cancel') }}</x-ui.button>
        <x-ui.button variant="danger" wire:click="delete" wire:loading.attr="disabled">
            {{ __('vpn.delete_confirm') }}
        </x-ui.button>
    </div>
</div>
