<div class="dropdown-menu dropdown-menu-right" style="min-width: 360px;">
    <div class="d-flex justify-content-between align-items-center px-3 py-2 border-bottom">
        <strong>Bildirimler</strong>
        <span class="badge badge-danger">{{ $unreadCount }}</span>
    </div>
    @forelse($notifications as $notification)
        <a class="dropdown-item py-2 {{ $notification->read_at ? '' : 'font-weight-bold' }}" href="{{ route('admin.notifications.show', $notification) }}">
            <span class="badge {{ $notification->badgeClass() }} mr-1">{{ $notification->label() }}</span>
            <span>{{ \Illuminate\Support\Str::limit($notification->title, 44) }}</span>
            <div class="small text-muted">{{ optional($notification->created_at)->diffForHumans() }}</div>
        </a>
    @empty
        <div class="px-3 py-3 text-muted">Aktif bildirim yok.</div>
    @endforelse
    <div class="border-top px-3 py-2 text-center">
        <a href="{{ route('admin.notifications.index') }}">Tüm Bildirimleri Gör</a>
    </div>
</div>
