{% extends "emails/hosting_app/base_hosting_email.html" %}

{% block email_title %}Welcome to Host in Sri Lanka{% endblock %}

{% block brand_title %}Welcome to Host in Sri Lanka{% endblock %}

{% block brand_subtitle %}
Your Hosting Client account has been created successfully
{% endblock %}

{% block email_content %}

<h2>Hello {{ full_name|default:user.get_username }},</h2>

<p>
    Welcome to <strong>Host in Sri Lanka</strong>. Your Hosting Client account has been created successfully.
</p>

<p>
    You can now sign in to your Hosting Client dashboard, continue your selected venue booking,
    review your booking order, manage payment items, and plan beautiful hosted experiences
    such as romantic dinners, birthday celebrations, private dining, proposal events,
    anniversary moments, and custom celebrations.
</p>

{% if venue %}
<div class="email-note">
    <strong>Selected Venue:</strong> {{ venue.venue_name }}<br>
    {% if venue.city or venue.district %}
        <strong>Location:</strong>
        {% if venue.city %}{{ venue.city }}{% endif %}
        {% if venue.city and venue.district %}, {% endif %}
        {% if venue.district %}{{ venue.district }}{% endif %}
        <br>
    {% endif %}
    {% if venue.venue_category %}
        <strong>Venue Type:</strong> {{ venue.get_venue_category_display }}
    {% endif %}
</div>
{% endif %}

<div class="email-note">
    <strong>Account Type:</strong> {{ account_role|default:"Hosting Client" }}<br>
    <strong>Email:</strong> {{ email }}<br>
    <strong>Username:</strong> {{ username }}<br>
    <strong>Temporary Password:</strong> {{ temporary_password }}
</div>

<p>
    For better security, please change your password after your first login.
</p>

{% if dashboard_url %}
<p>
    <a href="{{ dashboard_url }}" class="email-button">
        Go to My Client Dashboard
    </a>
</p>
{% endif %}

{% if venue_url %}
<p>
    <a href="{{ venue_url }}" class="email-button">
        Continue My Booking
    </a>
</p>
{% endif %}

{% if payment_center_url %}
<p>
    <a href="{{ payment_center_url }}" class="email-button">
        Open Payment Center
    </a>
</p>
{% endif %}

<div class="email-note">
    <strong>What you can do next:</strong><br>
    Continue your venue booking, select event packages, choose meal plans,
    add optional services such as flowers, cakes, décor, photography, music,
    or other arrangements, then review your booking before payment.
</div>

<div class="email-note">
    <strong>Important:</strong><br>
    Please keep these login details safe. Do not share your username or password with anyone.
</div>

<p>
    If you did not create this account, please contact our support team immediately.
</p>

<p>
    Thank you,<br>
    <strong>Host in Sri Lanka Team</strong>
</p>

{% endblock %}