<?php
/** @var \App\Modules\Members\Models\Member $member */
?>
<div style="display:flex;justify-content:space-between;align-items:center;">
    <div>
        <h2 style="margin:0;"><?= e($member->full_name_ar) ?></h2>
        <div style="color:#6B7280;margin-top:4px;">رقم العضوية: <strong><?= e($member->membership_number ?: 'لم يُحدد') ?></strong></div>
    </div>
    <span style="padding:6px 16px;border-radius:20px;font-weight:700;color:#fff;background:<?= $member->getStatusColor() ?>;"><?= e($member->getStatusLabel()) ?></span>
</div>