<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Purchase Receipt — {{ORGANIZATION_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: #f9f9f9;
            border-radius: 8px;
            padding: 30px;
            border: 1px solid #e0e0e0;
        }
        .header {
            text-align: center;
            margin-bottom: 30px;
            border-bottom: 2px solid #1890ff;
            padding-bottom: 20px;
        }
        .logo {
            color: #1890ff;
            font-size: 24px;
            font-weight: bold;
        }
        .badge {
            background: linear-gradient(135deg, #1890ff, #096dd9);
            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 #1890ff;
        }
        .product-box {
            text-align: center;
            background-color: #e6f7ff;
            padding: 20px;
            border-radius: 8px;
            margin: 20px 0;
            border: 1px solid #91d5ff;
        }
        .product-title {
            font-size: 20px;
            font-weight: bold;
            color: #096dd9;
        }
        .product-type {
            display: inline-block;
            padding: 2px 10px;
            border-radius: 4px;
            background: #1890ff;
            color: #fff;
            font-size: 11px;
            font-weight: 600;
            margin-top: 8px;
        }
        .amount {
            font-size: 28px;
            font-weight: bold;
            color: #096dd9;
            margin-top: 10px;
        }
        .info-section {
            background-color: #e6f7ff;
            padding: 15px;
            border-radius: 4px;
            margin: 20px 0;
            border: 1px solid #91d5ff;
        }
        .info-item {
            margin: 8px 0;
        }
        .info-label {
            font-weight: bold;
            display: inline-block;
            width: 120px;
            color: #0050b3;
        }
        .info-value {
            color: #2c3e50;
        }
        .footer {
            text-align: center;
            font-size: 12px;
            color: #6c757d;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #e9ecef;
        }
        .app-branding {
            color: #1890ff;
            font-weight: bold;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <div class="logo">{{ORGANIZATION_NAME}}</div>
            <div class="badge">Purchase Receipt</div>
        </div>

        <div class="content">
            <p>Hi {{RECIPIENT_NAME}},</p>
            <p>Thank you for your purchase! Here are the details:</p>

            <div class="product-box">
                <div class="product-title">{{PRODUCT_TITLE}}</div>
                <div class="product-type">{{PRODUCT_TYPE}}</div>
                <div class="amount">{{AMOUNT}}</div>
                <div style="color: #6c757d; font-size: 14px;">CAD</div>
            </div>

            <div class="info-section">
                <div class="info-item">
                    <span class="info-label">Order ID:</span>
                    <span class="info-value">{{ORDER_ID}}</span>
                </div>
                <div class="info-item">
                    <span class="info-label">Date:</span>
                    <span class="info-value">{{PURCHASE_DATE}}</span>
                </div>
            </div>

            <p>If you have any questions about your purchase, please don't hesitate to reach out.</p>
        </div>

        <div class="footer">
            <p>This receipt was sent by <span class="app-branding">{{ORGANIZATION_NAME}}</span></p>
            <p>Please keep this email for your records.</p>
        </div>
    </div>
</body>
</html>
