@props(['user'])

<div class="flex flex-wrap gap-1 mt-1">

    {{-- Email verified --}}
    @if($user->email_verified_at)
        <span class="inline-flex items-center px-2 py-0.5 text-xs font-semibold rounded-full bg-blue-100 text-blue-700 dark:bg-blue-700 dark:text-blue-100">
            ✓ Email
        </span>
    @else
        <span class="inline-flex items-center px-2 py-0.5 text-xs font-semibold rounded-full bg-gray-100 text-gray-500 dark:bg-gray-700 dark:text-gray-400">
            ✗ Unverified
        </span>
    @endif

    {{-- KYC --}}
    @if($user->kyc_status == 1)
        <span class="inline-flex items-center px-2 py-0.5 text-xs font-semibold rounded-full bg-green-100 text-green-700 dark:bg-green-700 dark:text-green-100">
            ✓ KYC
        </span>
    @elseif($user->kyc_status == 2)
        <span class="inline-flex items-center px-2 py-0.5 text-xs font-semibold rounded-full bg-yellow-100 text-yellow-700">
            ⏳ KYC Pending
        </span>
    @else
        <span class="inline-flex items-center px-2 py-0.5 text-xs font-semibold rounded-full bg-gray-100 text-gray-500 dark:bg-gray-700 dark:text-gray-400">
            ✗ No KYC
        </span>
    @endif

    {{-- Store activated --}}
    @if($user->activated == 1)
        <span class="inline-flex items-center px-2 py-0.5 text-xs font-semibold rounded-full bg-emerald-100 text-emerald-700 dark:bg-emerald-700 dark:text-emerald-100">
            ✓ Store
        </span>
    @endif

    {{-- Active bots --}}
    @if(isset($user->active_bots) && $user->active_bots > 0)
        <span class="inline-flex items-center px-2 py-0.5 text-xs font-semibold rounded-full bg-purple-100 text-purple-700 dark:bg-purple-700 dark:text-purple-100">
            🤖 {{ $user->active_bots }} bot{{ $user->active_bots > 1 ? 's' : '' }}
        </span>
    @endif

    {{-- Banned --}}
    @if($user->status == 0)
        <span class="inline-flex items-center px-2 py-0.5 text-xs font-semibold rounded-full bg-red-100 text-red-700 dark:bg-red-700 dark:text-red-100">
            🚫 Banned
        </span>
    @endif

</div>