<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; margin: 0; padding: 0; background-color: #f4f7f6; }
        .container { max-width: 600px; margin: 20px auto; background: #ffffff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
        .header { background: #0A1F44; color: #ffffff; padding: 30px; text-align: center; }
        .header h1 { margin: 0; font-size: 24px; letter-spacing: -0.02em; }
        .content { padding: 40px; }
        .title { font-size: 18px; font-weight: 700; color: #0A1F44; margin-bottom: 10px; }
        .message { font-size: 16px; color: #4B5563; margin-bottom: 30px; }
        .btn { display: inline-block; padding: 12px 24px; background-color: #C0152A; color: #ffffff !important; text-decoration: none; border-radius: 6px; font-weight: 600; font-size: 14px; }
        .footer { background: #F9FAFB; padding: 20px; text-align: center; font-size: 12px; color: #9CA3AF; border-top: 1px solid #E5E7EB; }
        .badge { display: inline-block; padding: 4px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; margin-bottom: 15px; }
        .badge-info { background: #DBEAFE; color: #1E40AF; }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>CyberArsenals</h1>
        </div>
        <div class="content">
            <div class="badge badge-info">{{ type_label }}</div>
            <div class="title">{{ title }}</div>
            <p class="message">{{ message }}</p>
            <a href="http://localhost:5173{{ link }}" class="btn">View in Dashboard</a>
            <p style="margin-top: 30px; font-size: 13px; color: #6B7280;">
                If the button doesn't work, copy and paste this link into your browser:<br>
                <span style="color: #2563EB;">http://localhost:5173{{ link }}</span>
            </p>
        </div>
        <div class="footer">
            &copy; 2026 CyberArsenals (Pvt) Ltd. All rights reserved.<br>
            Software Technology Park, Islamabad, PK
        </div>
    </div>
</body>
</html>
