<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Membership Dues Reminder - MonacoUSA</title>
</head>
<body style="margin: 0; padding: 0; font-family: Arial, sans-serif; background-color: #f4f4f4;">
    <!-- Main Container -->
    <table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color: #f4f4f4; padding: 20px 0;">
        <tr>
            <td align="center">
                <!-- Email Container -->
                <table width="600" cellpadding="0" cellspacing="0" border="0" style="background-color: #ffffff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.1);">
                    
                    <!-- Header with Monaco Red Background -->
                    <tr>
                        <td style="background-color: #a31515; padding: 30px; text-align: center;">
                            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                <tr>
                                    <td align="center">
                                        <img src="{{logoUrl}}" alt="MonacoUSA" width="80" height="80" style="border-radius: 8px; margin-bottom: 15px;">
                                        <h1 style="color: #ffffff; font-size: 28px; font-weight: bold; margin: 0 0 8px 0;">Membership Dues Reminder</h1>
                                        <p style="color: #ffffff; font-size: 16px; margin: 0; opacity: 0.9;">Monaco - United States Association</p>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    
                    <!-- Main Content -->
                    <tr>
                        <td style="padding: 40px 30px;">
                            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                
                                <!-- Greeting -->
                                <tr>
                                    <td style="padding-bottom: 20px;">
                                        <h2 style="color: #a31515; font-size: 20px; font-weight: bold; margin: 0;">Dear {{firstName}} {{lastName}},</h2>
                                    </td>
                                </tr>
                                
                                <!-- Main Message -->
                                <tr>
                                    <td style="padding-bottom: 30px;">
                                        <p style="color: #333333; font-size: 16px; line-height: 1.6; margin: 0;">
                                            This is a friendly reminder that your annual membership dues for the MonacoUSA Association are due.
                                        </p>
                                    </td>
                                </tr>
                                
                                <!-- Payment Due Box -->
                                <tr>
                                    <td style="padding-bottom: 30px;">
                                        <table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color: #fff3cd; border: 1px solid #ffeaa7; border-radius: 6px;">
                                            <tr>
                                                <td style="padding: 25px; text-align: center;">
                                                    <h3 style="color: #856404; font-size: 18px; font-weight: bold; margin: 0 0 15px 0;">💳 Payment Due</h3>
                                                    <div style="font-size: 32px; font-weight: bold; color: #a31515; margin: 10px 0;">€{{amount}}</div>
                                                    <p style="color: #333333; font-size: 16px; font-weight: bold; margin: 10px 0 0 0;">Due Date: {{dueDate}}</p>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                
                                <!-- Payment Instructions -->
                                {{#if iban}}
                                <tr>
                                    <td style="padding-bottom: 30px;">
                                        <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                            <tr>
                                                <td style="background-color: #e3f2fd; border-left: 4px solid #2196f3; padding: 20px; border-radius: 4px;">
                                                    <h3 style="color: #1976d2; font-size: 18px; font-weight: bold; margin: 0 0 15px 0;">🏦 Payment Instructions</h3>
                                                    <p style="color: #333333; font-size: 16px; font-weight: bold; margin: 0 0 15px 0;">Bank Transfer Details:</p>
                                                    <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                                        <tr>
                                                            <td width="25%" style="vertical-align: top; padding: 5px 10px 5px 0;">
                                                                <strong style="color: #333333;">IBAN:</strong>
                                                            </td>
                                                            <td style="padding: 5px 0;">
                                                                <span style="color: #333333; font-family: monospace;">{{iban}}</span>
                                                            </td>
                                                        </tr>
                                                        {{#if accountHolder}}
                                                        <tr>
                                                            <td width="25%" style="vertical-align: top; padding: 5px 10px 5px 0;">
                                                                <strong style="color: #333333;">Account Holder:</strong>
                                                            </td>
                                                            <td style="padding: 5px 0;">
                                                                <span style="color: #333333;">{{accountHolder}}</span>
                                                            </td>
                                                        </tr>
                                                        {{/if}}
                                                        <tr>
                                                            <td width="25%" style="vertical-align: top; padding: 5px 10px 5px 0;">
                                                                <strong style="color: #333333;">Amount:</strong>
                                                            </td>
                                                            <td style="padding: 5px 0;">
                                                                <span style="color: #333333;">€{{amount}}</span>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td width="25%" style="vertical-align: top; padding: 5px 10px 5px 0;">
                                                                <strong style="color: #333333;">Reference:</strong>
                                                            </td>
                                                            <td style="padding: 5px 0;">
                                                                <span style="color: #333333;">Membership Dues - {{firstName}} {{lastName}}</span>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                    <p style="color: #666666; font-size: 14px; font-style: italic; margin: 15px 0 0 0;">
                                                        Please include your name in the payment reference to ensure proper crediting.
                                                    </p>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                {{/if}}
                                
                                <!-- Why Your Membership Matters -->
                                <tr>
                                    <td style="padding-bottom: 30px;">
                                        <h3 style="color: #a31515; font-size: 18px; font-weight: bold; margin: 0 0 15px 0;">🌟 Why Your Membership Matters</h3>
                                        <p style="color: #333333; font-size: 16px; line-height: 1.6; margin: 0 0 10px 0;">Your membership helps us:</p>
                                        <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                            <tr>
                                                <td style="padding: 5px 0;">
                                                    <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                                        <tr>
                                                            <td width="20" style="vertical-align: top; padding-right: 10px;">
                                                                <span style="color: #a31515; font-weight: bold;">•</span>
                                                            </td>
                                                            <td>
                                                                <p style="margin: 0; color: #333333; font-size: 16px;">
                                                                    Connect Monaco and the United States communities
                                                                </p>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="padding: 5px 0;">
                                                    <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                                        <tr>
                                                            <td width="20" style="vertical-align: top; padding-right: 10px;">
                                                                <span style="color: #a31515; font-weight: bold;">•</span>
                                                            </td>
                                                            <td>
                                                                <p style="margin: 0; color: #333333; font-size: 16px;">
                                                                    Organize cultural events and networking opportunities
                                                                </p>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="padding: 5px 0;">
                                                    <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                                        <tr>
                                                            <td width="20" style="vertical-align: top; padding-right: 10px;">
                                                                <span style="color: #a31515; font-weight: bold;">•</span>
                                                            </td>
                                                            <td>
                                                                <p style="margin: 0; color: #333333; font-size: 16px;">
                                                                    Support charitable causes in both regions
                                                                </p>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="padding: 5px 0;">
                                                    <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                                        <tr>
                                                            <td width="20" style="vertical-align: top; padding-right: 10px;">
                                                                <span style="color: #a31515; font-weight: bold;">•</span>
                                                            </td>
                                                            <td>
                                                                <p style="margin: 0; color: #333333; font-size: 16px;">
                                                                    Maintain our digital platform and services
                                                                </p>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                
                                <!-- Payment Notice -->
                                <tr>
                                    <td style="padding-bottom: 30px;">
                                        <p style="color: #333333; font-size: 16px; line-height: 1.6; margin: 0 0 15px 0;">
                                            If you have already made your payment, please disregard this reminder. It may take a few days for payments to be processed.
                                        </p>
                                        <p style="color: #333333; font-size: 16px; line-height: 1.6; margin: 0;">
                                            If you have any questions about your membership or payment, please don't hesitate to contact us.
                                        </p>
                                    </td>
                                </tr>
                                
                            </table>
                        </td>
                    </tr>
                    
                    <!-- Footer -->
                    <tr>
                        <td style="background-color: #f8f9fa; padding: 30px; text-align: center; border-top: 1px solid #e9ecef;">
                            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                <tr>
                                    <td>
                                        <h4 style="color: #333333; font-size: 18px; font-weight: bold; margin: 0 0 8px 0;">MonacoUSA Association</h4>
                                        <p style="color: #666666; font-size: 14px; margin: 0 0 15px 0;">Connecting Monaco and the United States</p>
                                        
                                        <!-- Links -->
                                        <table cellpadding="0" cellspacing="0" border="0" style="margin: 0 auto;">
                                            <tr>
                                                <td style="padding: 0 10px;">
                                                    <a href="https://portal.monacousa.org" style="color: #a31515; text-decoration: none; font-size: 14px;">Portal</a>
                                                </td>
                                                <td style="padding: 0 10px; color: #cccccc;">|</td>
                                                <td style="padding: 0 10px;">
                                                    <a href="mailto:info@monacousa.org" style="color: #a31515; text-decoration: none; font-size: 14px;">Contact Us</a>
                                                </td>
                                                <td style="padding: 0 10px; color: #cccccc;">|</td>
                                                <td style="padding: 0 10px;">
                                                    <a href="https://monacousa.org" style="color: #a31515; text-decoration: none; font-size: 14px;">Website</a>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    
                </table>
            </td>
        </tr>
    </table>
</body>
</html>
