<?php
// Variables passed from controller
$memberName = isset($memberName) ? $memberName : '';
$loginLink = isset($loginLink) ? $loginLink : base_url('login');
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap" rel="stylesheet">
    <title>Welcome to UGA REDD+</title>
    <style>
        body { font-family: 'Montserrat', sans-serif; color: #333; line-height: 1.6; background: #f7f7f7; padding: 20px 0; }
        .container { max-width: 600px; margin: 0 auto; background: #fff; border-radius: 5px; box-shadow: 0 0 10px rgba(0,0,0,0.1); border-top: 4px solid #ED1C24; }
        .header { padding: 20px; text-align: center; border-bottom: 1px solid #eee; }
        .content { padding: 20px; }
        .footer { padding: 20px; text-align: center; font-size: 12px; color: #777; background: #f9f9f9; }
        .btn { display: inline-block; padding: 10px 20px; background: #ED1C24; color: #fff; text-decoration: none; border-radius: 4px; margin-top: 15px; }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <a href="https://lukhwells.com" target="_blank"><img src="https://lukhwells.com/logo-black.png" height="50px" style="object-fit:contain"/></a>
            <h2 style="margin-bottom: 0; color: #ED1C24;">Your UGA REDD+ Registration is Pending Approval</h2>
        </div>
        
        <div class="content">
            <p>Dear <?= htmlspecialchars($memberName) ?>,</p>
                        
            <p>Thank you for registering with UGA REDD+. Your application has been successfully received and is currently under review.</p>
            
            <p>Our team will verify your details and update you once your account has been approved. You will receive a confirmation email with further instructions as soon as the approval process is complete.</p>
            
            <p>You will receive another email once your registration has been approved. This process typically takes 1-5 business days.</p>
            
            
            <p style="margin-top: 20px;">If you have any questions, please don't hesitate to contact us at <a href="mailto:info@lukhwells.com" style="color: #ED1C24;">info@lukhwells.com</a>.</p>
        </div>
        
        <div class="footer">
            <p>UGA REDD+<br>
            <a href="https://lukhwells.com" style="color: #ED1C24;">lukhwells.com</a></p>
        </div>
    </div>
</body>
</html>