<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Application Status Update</title>
    <style>
        body { font-family: Arial, sans-serif; line-height: 1.6; color: #333; }
        .container { max-width: 600px; margin: 0 auto; padding: 20px; }
        .header { background-color: #3fb7fe; color: white; padding: 20px; text-align: center; }
        .content { padding: 20px; background-color: #f9f9f9; }
        .footer { padding: 20px; text-align: center; font-size: 12px; color: #777; }
        .button {
            display: inline-block; padding: 10px 20px; background-color: #3fb7fe; 
            color: white; text-decoration: none; border-radius: 4px; margin-top: 15px;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>JV Overseas Education</h1>
        </div>
        
        <div class="content">
            <h2>Application Status Update</h2>
            <p>Dear {{student_name}},</p>
            
            <p>Your application to <strong>{{university_name}}</strong> has been updated to:</p>
            
            <div style="background-color: white; border-left: 4px solid #3fb7fe; padding: 15px; margin: 15px 0;">
                <h3 style="margin-top: 0; color: #3fb7fe;">{{status}}</h3>
                {{#notes}}<p>{{notes}}</p>{{/notes}}
            </div>
            
            <p>You can view the details of your application by logging into your student dashboard:</p>
            
            <a href="{{dashboard_url}}" class="button">Go to Dashboard</a>
            
            <p>If you have any questions, please don't hesitate to contact your counselor.</p>
            
            <p>Best regards,<br>
            The JV Overseas Education Team</p>
        </div>
        
        <div class="footer">
            <p>© <?= date('Y') ?> JV Overseas Education. All rights reserved.</p>
            <p>If you didn't request this notification, please ignore this email.</p>
        </div>
    </div>
</body>
</html>