{{-- resources/views/emails/event_updated.edge --}}
<div style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; max-width: 600px; margin: 0 auto; color: #111;">
  <h2>Bonjour {{ user.firstname }},</h2>

  <p>
    L'événement <strong>{{ event.title }}</strong> organisé par <strong>{{ community.name }}</strong>
    a été modifié. Voici les changements importants :
  </p>

  <ul style="padding-left: 20px;">
    @each(change in changes)
      <li style="margin-bottom: 8px;">
        <strong>{{ change.label }}</strong> :
        <span style="color: #6b7280; text-decoration: line-through;">{{ change.oldDisplay }}</span>
        →
        <span style="color: #111;">{{ change.newDisplay }}</span>
      </li>
    @end
  </ul>

  <p style="margin-top: 24px;">
    <a
      href="{{ eventUrl }}"
      style="display: inline-block; padding: 10px 20px; background: #7c3aed; color: white; text-decoration: none; border-radius: 6px;"
    >
      Voir l'événement
    </a>
  </p>

  <p style="color: #6b7280; font-size: 14px; margin-top: 24px;">
    Votre billet reste valide. Si vous ne pouvez plus participer,
    vous pouvez signaler le problème depuis « Mes Billets ».
  </p>

  <p style="color: #6b7280; font-size: 14px;">— L'équipe Domo</p>
</div>
