{% block cancellationPolicy %}
    <h2 style="color: #333; font-size: 18px; margin-bottom: 15px;">Политика отмены</h2>

    <p style="color: #51545E; font-size: 15px; margin-bottom: 10px;">
        <strong>{{ reservation.cancellation.policy.name }}</strong>
    </p>

    <ul style="color: #51545E; font-size: 15px; line-height: 1.625; margin-bottom: 20px;">
        {% for consequence in reservation.cancellation.policy.consequences %}
            <li>{{ consequence }}</li>
        {% endfor %}
    </ul>

    {% if reservation.status != 'CANCELLED' %}
        <p style="color: #51545E; font-size: 15px; line-height: 1.625;">
            Для отмены бронирования перейдите по <a href="{{ reservation.cancellation.url }}" target="_blank" style="color: #3869D4; text-decoration: none;">ссылке</a> и введите код: <b>{{ reservation.cancellation.code }}</b>
        </p>
    {% endif %}

    <!-- Separator -->
    <hr style="border: none; border-top: 1px solid #EAEAEC; margin: 30px 0;" />
{% endblock %}
