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

{% block body %}
<h2 style="margin:0 0 8px;color:#0F172A;font-size:18px;">New [{{ heat }}] lead in {{ country }} {{ heat_badge(heat) }}</h2>
<hr style="border:none;border-top:1px solid #E2E8F0;margin:0 0 16px;">
<p style="font-size:14px;color:#334155;">A new project brief has been submitted that matches your service area.</p>

<table cellpadding="0" cellspacing="0" style="margin-bottom:20px;">
  <tr>
    <td style="padding:4px 12px 4px 0;color:#94A3B8;font-size:13px;">Facility</td>
    <td style="font-size:13px;color:#1E293B;">{{ facility_type }}</td>
  </tr>
  <tr>
    <td style="padding:4px 12px 4px 0;color:#94A3B8;font-size:13px;">Courts</td>
    <td style="font-size:13px;color:#1E293B;">{{ courts }}</td>
  </tr>
  <tr>
    <td style="padding:4px 12px 4px 0;color:#94A3B8;font-size:13px;">Country</td>
    <td style="font-size:13px;color:#1E293B;">{{ country }}</td>
  </tr>
  <tr>
    <td style="padding:4px 12px 4px 0;color:#94A3B8;font-size:13px;">Timeline</td>
    <td style="font-size:13px;color:#1E293B;">{{ timeline or "-" }}</td>
  </tr>
</table>

<p style="font-size:13px;color:#64748B;">Contact details are available after unlocking. Credits required: {{ credit_cost }}.</p>
{{ email_button(base_url ~ "/suppliers/leads", "View lead feed") }}
{% endblock %}
