<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Social Account Connected</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: #17a2b8; color: white; padding: 20px; text-align: center; }
        .content { padding: 20px; background-color: #f8f9fa; }
        .info { 
            background-color: #d1ecf1; 
            border: 1px solid #bee5eb; 
            padding: 15px; 
            border-radius: 4px; 
            margin: 15px 0; 
        }
        .warning { 
            background-color: #fff3cd; 
            border: 1px solid #ffeaa7; 
            padding: 10px; 
            border-radius: 4px; 
            margin: 15px 0; 
        }
        .footer { text-align: center; font-size: 12px; color: #666; margin-top: 20px; }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>🔗 Account Connected</h1>
        </div>
        <div class="content">
            <h2>Hello {{ user.get_full_name|default:user.username }},</h2>
            
            <div class="info">
                <p><strong>Success!</strong> Your {{ provider_display }} account has been successfully connected to your account.</p>
            </div>
            
            <p>You can now log in using your {{ provider_display }} credentials in addition to your email and password.</p>
            
            <p>This gives you more flexibility when accessing your account and provides an additional login option for your convenience.</p>
            
            <div class="warning">
                <p><strong>Security Notice:</strong> If you didn't connect this account, please contact our support team immediately.</p>
            </div>
        </div>
        <div class="footer">
            <p>Best regards,<br>The Team</p>
        </div>
    </div>
</body>
</html>