{% extends "emails/affiliates_app/base_affiliate_email.html" %}

{% block email_title %}Password Reset Request{% endblock %}

{% block brand_title %}Reset Your Password{% endblock %}

{% block brand_subtitle %}
Secure your Affiliate Partner account
{% endblock %}

{% block email_content %}

<h2>Hello {{ user.get_username }},</h2>

<p>
    We received a request to reset the password for your <strong>Affiliate Partner account</strong> at Partner with Ensolanka.
</p>

<p>
    If you made this request, please click the button below to set a new password:
</p>

<p style="text-align: center;">
    <a href="{{ protocol }}://{{ domain }}{% url 'affiliates_app:affiliate_password_reset_confirm' uidb64=uid token=token %}" class="email-button">
        Reset My Password
    </a>
</p>

<p>
    If the button doesn't work, copy and paste this link into your browser:<br>
    <small style="word-break: break-all;">
        {{ protocol }}://{{ domain }}{% url 'affiliates_app:affiliate_password_reset_confirm' uidb64=uid token=token %}
    </small>
</p>

<div class="email-note">
    <strong>🔐 Didn't request this?</strong><br>
    If you did not request a password reset, please ignore this email. Your password will remain unchanged.
</div>

<p>
    Your username: <strong>{{ user.get_username }}</strong>
</p>

<p>
    Thank you,<br>
    <strong>Ensolanka Team</strong>
</p>

{% endblock %}