@endcan
{{-- NOTIFICATION CENTER --}}
@php
$isNotificationEnabled = get_setting('feature_notification_center', true);
$canManageSettings = Auth::user()?->can('manage global settings');
$canViewNotifications = Auth::user()?->can('view notification center');
// Show if feature is on OR if user is an admin (who can see it even if disabled)
$showNotificationMenu = ($isNotificationEnabled && $canViewNotifications) || $canManageSettings;
@endphp
@if($showNotificationMenu)