{% extends 'revervation/base.twig' %}

{% block title %}Compte activé - Ludikevent{% endblock %}

{% block body %}
    <div class="min-h-screen flex items-center justify-center p-6 bg-slate-50">
        <div class="max-w-md w-full bg-white p-10 rounded-[2.5rem] shadow-xl shadow-slate-200/50 border border-slate-100">

            <div class="text-center">
                <div class="inline-flex items-center justify-center w-24 h-24 bg-green-50 rounded-full mb-8 animate-in zoom-in duration-500">
                    <svg class="w-12 h-12 text-green-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M5 13l4 4L19 7"></path>
                    </svg>
                </div>

                <h1 class="text-3xl font-black italic uppercase text-slate-900 leading-tight mb-4">
                    Compte <br><span class="text-green-600">Activé !</span>
                </h1>

                <p class="text-slate-500 text-sm leading-relaxed mb-10">
                    Félicitations <strong>{{ customer.surname }}</strong> ! Votre espace client est désormais configuré. Vous pouvez maintenant accéder à votre contrat pour le consulter et le signer.
                </p>

                <div class="bg-slate-50 border border-slate-100 rounded-3xl p-6 mb-10 text-left">
                    <div class="flex items-center mb-4">
                        <div class="w-8 h-8 rounded-full bg-white flex items-center justify-center text-blue-600 shadow-sm mr-3">
                            <svg class="w-4 h-4" fill="currentColor" viewBox="0 0 20 20"><path d="M10 2a8 8 0 100 16 8 8 0 000-16zm1 11H9v-2h2v2zm0-4H9V5h2v4z"></path></svg>
                        </div>
                        <span class="text-[10px] font-black uppercase tracking-widest text-slate-400">Rappel de vos accès</span>
                    </div>
                    <p class="text-xs text-slate-500">Identifiant : <span class="text-slate-900 font-bold">{{ customer.email }}</span></p>
                </div>

                <a href="{{ link }}" class="group relative flex items-center justify-center w-full py-5 bg-blue-600 hover:bg-blue-700 text-white font-black uppercase tracking-widest rounded-2xl transition-all shadow-lg shadow-blue-200">
                    <span>Accéder à mon contrat</span>
                    <svg class="w-5 h-5 ml-2 transform group-hover:translate-x-1 transition-transform" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 5l7 7m0 0l-7 7m7-7H3"></path>
                    </svg>
                </a>
            </div>

        </div>
    </div>
{% endblock %}
