{% extends 'pdf/_base.html.twig' %}

{% block title %}Attestation RGPD - Absence de donnees{% endblock %}
{% block font_size %}11px{% endblock %}
{% block info_grid_mb %}16px{% endblock %}
{% block info_cell_px %}12px{% endblock %}

{% block extra_styles %}
        .info-cell { border-left: 3px solid #fabf04; }
        .doc-type { background: #111827; color: #fabf04; }
        .attestation-box { border: 1px solid #ddd;  margin: 12px 0; }
        .attestation-header { background: #111827; color: #fff; padding: 6px 16px; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
        .attestation-body { padding: 14px 16px; background: #fffbeb; }
        .attestation-body p { line-height: 1.6; margin: 4px 0; font-size: 11px; }
        .content p { line-height: 1.6; margin: 4px 0; font-size: 10px; }
{% endblock %}

{% block content %}
        <span class="doc-type">Document officiel</span>
        <h1>Attestation d'absence de donnees</h1>
        <div class="subtitle">RGPD &mdash; Article 15</div>
        <div class="info-grid">
            <div class="info-row">
                <div class="info-cell" style="width: 33%;"><span class="info-label">Reference</span><span class="info-value">{{ attestation.reference }}</span></div>
                <div class="info-cell" style="width: 33%;"><span class="info-label">Date</span><span class="info-value">{{ date|date('d/m/Y a H:i') }}</span></div>
                <div class="info-cell" style="width: 33%;"><span class="info-label">Adresse IP</span><span class="info-value">{{ ip }}</span></div>
            </div>
        </div>
        <div class="attestation-box">
            <div class="attestation-header">Attestation</div>
            <div class="attestation-body">
                <p><strong>La Association E-Cosplay atteste par la presente que :</strong></p>
                <p>Aucune donnee de navigation associee a l'adresse IP <strong>{{ ip }}</strong> n'a ete trouvee dans nos systemes a la date du <strong>{{ date|date('d/m/Y') }}</strong> a <strong>{{ date|date('H:i') }}</strong>, conformement a l'<strong>article 15</strong> du RGPD (Reglement UE 2016/679).</p>
            </div>
        </div>
        <div class="content">
            <p>Aucune donnee personnelle (identifiants de session, evenements de navigation, informations techniques) n'est stockee dans nos bases de donnees pour cette adresse IP.</p>
        </div>
{% endblock %}

