{% extends "emails/base.html" %}
{% block content %}
<div style="font-size:14px;margin:0 0 14px 0;">
  <div style="font-weight:600;margin-bottom:6px;">Dear {{ member_name }},</div>
  <div>Your charity funds have been released.</div>
</div>

<table width="100%" cellpadding="0" cellspacing="0" style="border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;">
  <tr>
    <td style="background:#f9fafb;padding:10px 12px;font-weight:600;font-size:13px;color:#111827;">Fund Release Details</td>
  </tr>
  <tr>
    <td style="padding:12px;">
      <table width="100%" cellpadding="0" cellspacing="0" style="font-size:13px;">
        <tr><td style="padding:6px 0;color:#374151;width:160px;">Charity ID</td><td style="padding:6px 0;color:#111827;font-weight:700;">{{ charity_id }}</td></tr>
        <tr><td style="padding:6px 0;color:#374151;">Beneficiary</td><td style="padding:6px 0;color:#111827;font-weight:600;">{{ beneficiary }}</td></tr>
        <tr><td style="padding:6px 0;color:#374151;">Requested Amount</td><td style="padding:6px 0;color:#111827;font-weight:600;">{{ requested_amount }}</td></tr>
        <tr><td style="padding:6px 0;color:#374151;">Allotted Amount</td><td style="padding:6px 0;color:#111827;font-weight:700;">{{ allotted_amount }}</td></tr>
      </table>
    </td>
  </tr>
</table>

<div style="margin-top:14px;color:#374151;font-size:13px;">
  Regards,<br />
  {{ (brand.company_name if brand else "Jana") }} Team
</div>
{% endblock %}
