{% extends "base.html" %}

{% block title %}Appointment reminder - {{ clinic_name | default('DentalPin') }}{% endblock %}

{% block content %}
<h2>Appointment reminder</h2>

<p>Hello {{ patient_name }},</p>

<p>This is a friendly reminder of your upcoming appointment at <strong>{{ clinic_name | default('DentalPin') }}</strong>:</p>

<div class="info-box">
    <div class="info-row">
        <div style="flex: 1;">
            <div class="label">Date</div>
            <div class="value">{{ appointment_date }}</div>
        </div>
        <div style="flex: 1;">
            <div class="label">Time</div>
            <div class="value">{{ appointment_time }}</div>
        </div>
    </div>
    {% if professional_name %}
    <div class="info-row">
        <div style="flex: 1;">
            <div class="label">Professional</div>
            <div class="value">{{ professional_name }}</div>
        </div>
    </div>
    {% endif %}
</div>

<p>Please arrive a few minutes early. If you need to reschedule, contact us as soon as possible.</p>
{% endblock %}
