@props(['title' => ''])
merge(['class' => 'fixed inset-0 z-[80] hidden items-center justify-center bg-primary-900/75 p-4 backdrop-blur-sm']) }} aria-hidden="true" id="{{ $attributes['id'] }}" role="dialog" tabindex="-1" onclick="if (event.target === this) window.dispatchEvent(new CustomEvent('app-modal-close', { detail: { id: '{{ $attributes['id'] }}' } }));">
@if (isset($header))
{{ $header }}
@else

{{ $title }}

@endif @isset($body)
attributes->merge(['class' => 'max-h-[75vh] overflow-y-auto px-6 py-6']) }}> {{ $body }}
@endisset @isset($footer)
attributes->merge(['class' => 'border-t border-primary-700/60 px-6 py-5']) }}> {{ $footer }}
@endisset