<x-filament-panels::page>
    @if(! $wafInstalled)
        <x-filament::section icon="heroicon-o-exclamation-triangle" icon-color="warning">
            <x-slot name="heading">{{ __('ModSecurity not detected') }}</x-slot>
            <x-slot name="description">
                {{ __('Install ModSecurity on the server to enable WAF controls. Settings can be saved now and applied later.') }}
            </x-slot>
        </x-filament::section>
    @endif

    <div class="mt-6">
        {{ $this->wafForm }}
        <div class="mt-4">
            <x-filament::button wire:click="saveWafSettings" icon="heroicon-o-check">
                {{ __('Save WAF Settings') }}
            </x-filament::button>
        </div>
    </div>

    <x-filament-actions::modals />
</x-filament-panels::page>
