<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Application Received - GNX</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.7;
            color: #2c3e50;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            margin: 0;
            padding: 40px 20px;
        }
        
        .email-wrapper {
            max-width: 650px;
            margin: 0 auto;
            background: #ffffff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
        }
        
        .email-header {
            background: linear-gradient(135deg, #4A90E2 0%, #357ABD 50%, #2E6DA4 100%);
            padding: 50px 40px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .email-header::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
        }
        
        .email-header h1 {
            color: #ffffff;
            font-size: 32px;
            font-weight: 700;
            margin: 0;
            position: relative;
            z-index: 2;
            letter-spacing: -0.5px;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }
        
        .email-body {
            padding: 50px 40px;
            background: #ffffff;
        }
        
        .greeting {
            font-size: 18px;
            color: #1e293b;
            margin-bottom: 30px;
            font-weight: 500;
        }
        
        .intro-text {
            font-size: 16px;
            color: #475569;
            line-height: 1.8;
            margin-bottom: 35px;
        }
        
        .details-box {
            background: linear-gradient(135deg, rgba(74, 144, 226, 0.08) 0%, rgba(74, 144, 226, 0.03) 100%);
            border: 2px solid rgba(74, 144, 226, 0.2);
            border-left: 5px solid #4A90E2;
            padding: 30px;
            margin: 35px 0;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(74, 144, 226, 0.1);
        }
        
        .details-box h3 {
            font-size: 20px;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 25px;
            padding-bottom: 12px;
            border-bottom: 2px solid rgba(74, 144, 226, 0.2);
        }
        
        .details-list {
            list-style: none;
            padding: 0;
        }
        
        .details-list li {
            padding: 15px 0;
            border-bottom: 1px solid rgba(74, 144, 226, 0.1);
            display: flex;
            align-items: flex-start;
        }
        
        .details-list li:last-child {
            border-bottom: none;
        }
        
        .details-list strong {
            color: #475569;
            min-width: 140px;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .details-list span {
            color: #1e293b;
            font-size: 15px;
            font-weight: 500;
            flex: 1;
        }
        
        .next-steps {
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            border-left: 4px solid #4A90E2;
            padding: 25px;
            border-radius: 8px;
            margin-top: 40px;
        }
        
        .next-steps h3 {
            color: #0f172a;
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 15px;
        }
        
        .next-steps p {
            color: #475569;
            font-size: 15px;
            line-height: 1.8;
            margin-bottom: 15px;
        }
        
        .next-steps p:last-child {
            margin-bottom: 0;
        }
        
        .closing {
            margin-top: 40px;
            font-size: 16px;
            color: #1e293b;
            line-height: 1.8;
        }
        
        .closing strong {
            color: #0f172a;
        }
        
        .email-footer {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            padding: 40px;
            text-align: center;
            color: rgba(255, 255, 255, 0.9);
        }
        
        .footer-company {
            font-size: 18px;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 8px;
        }
        
        .footer-tagline {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 25px;
        }
        
        .footer-note {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.6);
            margin-top: 25px;
            line-height: 1.6;
        }
        
        @media (max-width: 600px) {
            body {
                padding: 20px 10px;
            }
            
            .email-header {
                padding: 40px 25px;
            }
            
            .email-header h1 {
                font-size: 26px;
            }
            
            .email-body {
                padding: 35px 25px;
            }
            
            .details-list li {
                flex-direction: column;
            }
            
            .details-list strong {
                min-width: auto;
                margin-bottom: 6px;
            }
        }
    </style>
</head>
<body>
    <div class="email-wrapper">
        <div class="email-header">
            <h1>✓ Application Received</h1>
        </div>
        
        <div class="email-body">
            <div class="greeting">Dear <strong>{{ applicant_name }}</strong>,</div>
            
            <div class="intro-text">
                Thank you for applying for the <strong>{{ job_title }}</strong> position at GNX! We have received your application and our team will review it carefully. We appreciate your interest in joining our team.
            </div>
            
            <div class="details-box">
                <h3>Application Details</h3>
                <ul class="details-list">
                    <li>
                        <strong>Position:</strong>
                        <span>{{ job_title }}</span>
                    </li>
                    <li>
                        <strong>Location:</strong>
                        <span>{{ job_location }}</span>
                    </li>
                    <li>
                        <strong>Applied on:</strong>
                        <span>{{ application_date|date:"F d, Y" }}</span>
                    </li>
                </ul>
            </div>
            
            <div class="next-steps">
                <h3>What happens next?</h3>
                <p>Our hiring team will review your application and resume. If your qualifications match our requirements, we will contact you within 1-2 weeks to discuss the next steps.</p>
                <p>If you have any questions, please don't hesitate to reach out to us.</p>
            </div>
            
            <div class="closing">
                Best regards,<br>
                <strong>The GNX Team</strong>
            </div>
        </div>
        
        <div class="email-footer">
            <div class="footer-company">GNX Software Solutions</div>
            <div class="footer-tagline">Talent Acquisition Team</div>
            
            <div class="footer-note">
                This is an automated message. Please do not reply to this email.<br>
                For inquiries, please contact our HR department.
            </div>
        </div>
    </div>
</body>
</html>
