<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Ticket Resolved</title>
    <style>
        body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: #333; max-width: 600px; margin: 0 auto; padding: 20px; }
        .header { background: #059669; color: white; padding: 20px; border-radius: 8px 8px 0 0; }
        .content { background: #f0fdf4; padding: 20px; border: 1px solid #bbf7d0; }
        .footer { padding: 15px 20px; font-size: 12px; color: #6b7280; border-top: 1px solid #e5e7eb; }
        .reference { font-family: monospace; font-weight: bold; color: #059669; }
    </style>
</head>
<body>
    <div class="header">
        <h2 style="margin: 0;">Ticket Resolved</h2>
    </div>
    <div class="content">
        <p>Your support ticket <span class="reference">{{ ticket.reference }}</span> has been resolved.</p>
        <p><strong>{{ ticket.subject }}</strong></p>

        <p>If you believe this issue is not fully resolved, you can reopen the ticket by logging into your account.</p>

        <p>Thank you for reaching out to us. We hope we were able to help!</p>
    </div>
    <div class="footer">
        <p>This is an automated message from the support system. Please do not reply directly to this email.</p>
    </div>
</body>
</html>
