{% extends 'base.twig' %}

{% block title %}{{ 'email.removed'|trans }}{% endblock %}

{% block body %}
    <div class="min-h-screen flex items-center justify-center bg-gray-50 py-12 px-4 sm:px-6 lg:px-8">
        <div class="max-w-md w-full space-y-8 p-10 bg-white rounded-xl shadow-lg text-center">

            {# Logo #}
            <div class="flex justify-center">
                <img class="h-50 w-auto" src="{{ asset('provider/images/logo.png') }}" alt="Ludikevent Logo"/>
            </div>

            {# Icône de succès #}
            <div class="mx-auto flex items-center justify-center h-12 w-12 rounded-full bg-green-100">
                <svg class="h-6 w-6 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
                </svg>
            </div>

            {# Message #}
            <div class="space-y-4">
                <h2 class="text-2xl font-extrabold text-gray-900">
                    {{ 'email.removed'|trans }}
                </h2>
                <p class="text-sm text-gray-600">
                    L'adresse email <strong>{{ email }}</strong> a bien été retirée de notre liste de diffusion. Vous ne recevrez plus de notifications automatiques de l'intranet.
                </p>
            </div>


            <p class="text-xs text-gray-400 pt-4">
                &copy; {{ "now"|date("Y") }} Ludikevent. Tous droits réservés.
            </p>
        </div>
    </div>
{% endblock %}
