{{-- Header --}}

{{ __('threats.eyebrow') }}

{{ __('threats.title') }}

{{ __('threats.probes_pill', ['count' => $probes_24h]) }}
{{-- KPI strip: 4 → 2 → 1 --}}
{{-- Threat feed --}}
@forelse ($events as $e)
$e->is_error, 'bg-raised text-ink-3' => ! $e->is_error, ])>

$e->is_error, 'text-ink' => ! $e->is_error])>{{ $e->action_label }}

@if ($e->ip)

{{ $e->ip }}

@endif @if ($e->target)

{{ $e->target }}

@endif
{{ $e->created_at->diffForHumans() }}
@empty

{{ __('threats.empty_title') }}

@if (trim($q) !== '') {{ __('threats.empty_filtered', ['query' => $q]) }} @else {{ __('threats.empty_feed') }} @endif

@endforelse
{{-- Pagination — page is deep-linked via ?page= (Livewire WithPagination). --}} @if ($events->lastPage() > 1) @endif
{{-- Banned-IP management --}}
@forelse ($bannedIps as $ban)

{{ $ban->ip }}

{{ $ban->reason ?? __('threats.reason_unknown') }} {{ __('threats.banned_until', ['time' => $ban->banned_until->diffForHumans()]) }}

@can('manage-panel') {{ __('threats.unban') }} @endcan
@empty

{{ __('threats.empty_banned_title') }}

{{ __('threats.empty_banned') }}

@endforelse