<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Test Email - {{APP_NAME}}</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;
        }
        .container {
            background-color: #fff3cd;
            border-radius: 8px;
            padding: 30px;
            border: 2px solid #ffc107;
        }
        .header {
            text-align: center;
            margin-bottom: 30px;
            border-bottom: 2px solid #ffc107;
            padding-bottom: 20px;
        }
        .logo {
            color: #856404;
            font-size: 24px;
            font-weight: bold;
        }
        .test-badge {
            background: #dc3545;
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: bold;
            display: inline-block;
            margin-top: 10px;
        }
        .content {
            background-color: white;
            padding: 25px;
            border-radius: 6px;
            margin-bottom: 20px;
            border-left: 4px solid #ffc107;
        }
        .message-body {
            font-size: 16px;
            line-height: 1.7;
            margin: 20px 0;
            color: #2c3e50;
        }
        .test-info {
            background-color: #f8d7da;
            padding: 15px;
            border-radius: 4px;
            margin: 20px 0;
            border: 1px solid #f5c6cb;
        }
        .footer {
            text-align: center;
            font-size: 12px;
            color: #6c757d;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #e9ecef;
        }
        .app-branding {
            color: #856404;
            font-weight: bold;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <div class="logo">{{APP_NAME}}</div>
            <div class="test-badge">TEST EMAIL</div>
            <p style="margin: 10px 0 0 0; color: #856404;">Email System Test</p>
        </div>
        
        <div class="content">
            <div class="test-info">
                <h4 style="margin: 0 0 10px 0; color: #721c24;">⚠️ This is a test email</h4>
                <p style="margin: 0; color: #721c24;">This email was sent to verify the email system is working correctly.</p>
            </div>
            
            <div class="message-body">
                {{MESSAGE}}
            </div>
        </div>
        
        <div class="footer">
            <p><strong>TEST EMAIL</strong> sent from <span class="app-branding">{{APP_NAME}}</span> at {{TIMESTAMP}}</p>
            <p>If you received this email, the email system is functioning properly.</p>
        </div>
    </div>
</body>
</html>