<!-- templates/interviews/email/interview_invitation.html -->
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Interview Invitation</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: #f8f9fa;
            padding: 20px;
            text-align: center;
        }
        .content {
            padding: 20px;
        }
        .button {
            display: inline-block;
            background-color: #007bff;
            color: white;
            padding: 10px 20px;
            text-decoration: none;
            border-radius: 5px;
            margin-top: 20px;
        }
        .footer {
            background-color: #f8f9fa;
            padding: 20px;
            text-align: center;
            font-size: 12px;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>Interview Invitation</h1>
        </div>
        <div class="content">
            <p>Dear {{ candidate_name }},</p>
            <p>We are pleased to invite you for an interview for the position of <strong>{{ job_title }}</strong> at <strong>{{ company_name }}</strong>.</p>

            <h3>Interview Details:</h3>
            <ul>
                <li><strong>Date:</strong> {{ interview_date|date:"l, F j, Y" }}</li>
                <li><strong>Time:</strong> {{ interview_time|time:"g:i A" }}</li>
                <li><strong>Platform:</strong> Zoom Video Conference</li>
                <li><strong>Meeting ID:</strong> {{ meeting_id }}</li>
            </ul>

            <p>Please join the interview using the link below:</p>
            <a href="{{ join_url }}" class="button">Join Interview</a>

            <p>If you have any questions or need to reschedule, please contact us at your earliest convenience.</p>

            <p>We look forward to speaking with you!</p>

            <p>Best regards,<br>
            The Hiring Team<br>
            {{ company_name }}</p>
        </div>
        <div class="footer">
            <p>This is an automated message. Please do not reply to this email.</p>
        </div>
    </div>
</body>
</html>