{% extends "emails/_base.html" %}
{% from "emails/_macros.html" import email_button, heat_badge, section_heading %}

{% block body %}
{# Yellow urgency banner #}
<p style="font-size:13px;color:#334155;margin:0 0 16px;padding:10px 14px;background-color:#FEF3C7;border-radius:6px;border-left:3px solid #F59E0B;">{{ t.email_lead_forward_urgency }}</p>

<h2 style="margin:0 0 4px;color:#0F172A;font-size:18px;">{{ t.email_lead_forward_heading }} {{ heat_badge(heat) }}</h2>
<hr style="border:none;border-top:1px solid #E2E8F0;margin:8px 0 16px;">

{{ section_heading(t.email_lead_forward_section_brief) }}
<table cellpadding="0" cellspacing="0" style="margin-bottom:20px;">
  {% for label, value in brief_rows %}
  <tr>
    <td style="padding:4px 12px 4px 0;color:#94A3B8;font-size:13px;vertical-align:top;">{{ label }}</td>
    <td style="padding:4px 0;font-size:13px;color:#1E293B;">{{ value }}</td>
  </tr>
  {% endfor %}
</table>

{{ section_heading(t.email_lead_forward_section_contact) }}
<table cellpadding="0" cellspacing="0" style="margin-bottom:20px;">
  <tr>
    <td style="padding:4px 12px 4px 0;color:#94A3B8;font-size:13px;">{{ t.email_lead_forward_lbl_name }}</td>
    <td style="padding:4px 0;font-size:14px;color:#0F172A;font-weight:600;">{{ contact_name }}</td>
  </tr>
  <tr>
    <td style="padding:4px 12px 4px 0;color:#94A3B8;font-size:13px;">{{ t.email_lead_forward_lbl_email }}</td>
    <td style="padding:4px 0;font-size:14px;"><a href="mailto:{{ contact_email }}" style="color:#1D4ED8;font-weight:600;text-decoration:none;">{{ contact_email }}</a></td>
  </tr>
  <tr>
    <td style="padding:4px 12px 4px 0;color:#94A3B8;font-size:13px;">{{ t.email_lead_forward_lbl_phone }}</td>
    <td style="padding:4px 0;font-size:13px;color:#1E293B;">{{ contact_phone }}</td>
  </tr>
  <tr>
    <td style="padding:4px 12px 4px 0;color:#94A3B8;font-size:13px;">{{ t.email_lead_forward_lbl_company }}</td>
    <td style="padding:4px 0;font-size:13px;color:#1E293B;">{{ contact_company }}</td>
  </tr>
  <tr>
    <td style="padding:4px 12px 4px 0;color:#94A3B8;font-size:13px;">{{ t.email_lead_forward_lbl_role }}</td>
    <td style="padding:4px 0;font-size:13px;color:#1E293B;">{{ stakeholder_type }}</td>
  </tr>
</table>

{{ email_button(base_url ~ "/suppliers/leads", t.email_lead_forward_btn) }}
<p style="font-size:13px;color:#64748B;text-align:center;margin:8px 0 0;">{{ t.email_lead_forward_reply_direct | tformat(contact_email=contact_email) }}</p>

{%- if cta_url %}
<p style="font-size:12px;color:#94A3B8;text-align:center;margin:16px 0 0;">
  <a href="{{ cta_url }}" style="color:#94A3B8;">&#10003; Mark as contacted</a>
</p>
{%- endif %}
{% endblock %}
