{% extends 'emails/base_email_template.html' %}
{% load i18n %}

{% block title %}{% trans "New Inquiry Submitted - Al Hammadi Hospital" %}{% endblock %}
{% block preheader %}{% trans "A new inquiry requires your attention" %}{% endblock %}

{% block content %}
<p style="margin: 0 0 15px;">
    {% trans "Dear" %} <strong>{{ recipient_name|default:'Team' }}</strong>,
</p>

<p style="margin: 0 0 20px;">
    {% trans "A new inquiry has been submitted and requires your attention. Please review the details below." %}
</p>

<p style="margin: 0 0 5px;"><strong>{% trans "Reference" %}:</strong> {{ reference_number }}</p>
<p style="margin: 0 0 5px;"><strong>{% trans "Subject" %}:</strong> {{ subject }}</p>
<p style="margin: 0 0 5px;"><strong>{% trans "Category" %}:</strong> {{ category|default:"N/A" }}</p>
<p style="margin: 0 0 5px;"><strong>{% trans "Priority" %}:</strong> {{ priority|default:"N/A" }}</p>
<p style="margin: 0 0 5px;"><strong>{% trans "Contact" %}:</strong> {{ contact_name }}</p>
<p style="margin: 0 0 5px;"><strong>{% trans "Hospital" %}:</strong> {{ hospital_name|default:"N/A" }}</p>
<p style="margin: 0 0 20px;"><strong>{% trans "Department" %}:</strong> {{ department_name|default:"N/A" }}</p>

{% if message %}
<p style="margin: 0 0 5px;"><strong>{% trans "Message" %}:</strong></p>
<p style="margin: 0 0 20px;">{{ message }}</p>
{% endif %}

<p style="margin: 0 0 25px;">
    {% trans "Please review and respond to this inquiry at your earliest convenience." %}
</p>

<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%">
    <tr>
        <td align="center">
            <a href="{{ item_url }}"
               style="display: inline-block; padding: 12px 32px; font-size: 16px; font-weight: 600; color: #ffffff; text-decoration: none; border-radius: 6px; background-color: #005696;">
                {% trans "View Inquiry" %}
            </a>
        </td>
    </tr>
</table>

<p style="margin: 25px 0 0; font-size: 14px; color: #666666;">
    <strong>{% trans "Type:" %}</strong> {{ notification_type|default:"Working Hours" }}<br>
    <strong>{% trans "Time:" %}</strong> {{ current_time }}<br>
    {% trans "This is an automated notification from the PX 360 system." %}
</p>
{% endblock %}
