<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">
                {{ __('plans.discard_title', ['plan' => $plan, 'version' => $version]) }}
            </h3>
            <p class="mt-1 text-sm text-muted">{{ __('plans.discard_body') }}</p>
        </div>
    </div>
    <div class="mt-6 flex justify-end gap-2">
        <x-ui.button variant="secondary" x-on:click="Livewire.dispatch('closeModal')">{{ __('plans.cancel') }}</x-ui.button>
        <x-ui.button variant="danger" wire:click="delete" wire:loading.attr="disabled">
            {{ __('plans.discard_confirm') }}
        </x-ui.button>
    </div>
</div>
