<x-filament-panels::page>
    @livewire(\App\Filament\Jabali\Widgets\EmailStatsWidget::class)

    {{ $this->emailForm }}

    @if($activeTab === 'spam')
        <div class="mt-4">
            {{ $this->spamForm }}

            <div class="mt-6">
                <x-filament::button wire:click="saveSpamSettings" icon="heroicon-o-check" color="primary">
                    {{ __('Save Spam Settings') }}
                </x-filament::button>
            </div>
        </div>
    @else
        <div class="-mt-4">
            {{ $this->table }}
        </div>
    @endif

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