<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>New Job Application</title>
</head>

<body style="margin:0; padding:0; background-color:#eef1f5; font-family:'Segoe UI',Arial,sans-serif;">

<table width="100%" cellpadding="0" cellspacing="0" style="padding:40px 0; background:#eef1f5;">
<tr>
<td align="center">

<!-- MAIN CONTAINER -->
<table width="640" cellpadding="0" cellspacing="0"
    style="background:#ffffff; border-radius:14px; box-shadow:0 10px 30px rgba(0,0,0,0.12); overflow:hidden;">

    <!-- HEADER -->
    <tr>
        <td style="background:linear-gradient(135deg,#111827,#1f2933); padding:28px 35px;">
            <h1 style="margin:0; font-size:24px; color:#ffffff;">New Job Application</h1>
            <p style="margin:6px 0 0; font-size:14px; color:#cbd5e1;">
                A new candidate has submitted their profile
            </p>
        </td>
    </tr>

    <!-- CONTENT -->
    <tr>
        <td style="padding:35px;">

            <!-- CANDIDATE CARD -->
            <table width="100%" cellpadding="0" cellspacing="0"
                style="background:#ffffff; border-radius:10px; box-shadow:0 8px 20px rgba(0,0,0,0.08); border:1px solid #e5e7eb; margin-bottom:26px;">
                
                <tr>
                    <td style="padding:18px 22px; border-bottom:1px solid #e5e7eb; width:35%; color:#6b7280; font-size:13px;">
                        Candidate Name
                    </td>
                    <td style="padding:18px 22px; border-bottom:1px solid #e5e7eb; font-weight:600; font-size:14px; color:#111827;">
                        <?php echo e($application->name); ?>

                    </td>
                </tr>

                <tr>
                    <td style="padding:14px 22px; border-bottom:1px dashed #e5e7eb; color:#6b7280; font-size:13px;">
                        Email
                    </td>
                    <td style="padding:14px 22px; border-bottom:1px dashed #e5e7eb; font-size:14px; color:#2563eb;">
                        <?php echo e($application->email); ?>

                    </td>
                </tr>

                <tr>
                    <td style="padding:14px 22px; border-bottom:1px dashed #e5e7eb; color:#6b7280; font-size:13px;">
                        Phone
                    </td>
                    <td style="padding:14px 22px; border-bottom:1px dashed #e5e7eb; font-size:14px;">
                        <?php echo e($application->phone); ?>

                    </td>
                </tr>

                <tr>
                    <td style="padding:14px 22px; color:#6b7280; font-size:13px;">
                        Position
                    </td>
                    <td style="padding:14px 22px; font-size:14px; font-weight:600; color:#111827;">
                        <?php echo e($application->career->title); ?>

                    </td>
                </tr>

            </table>

            <!-- SCORE CARD -->
            <div style="margin-bottom:30px; padding:18px 22px; background:#f8fafc; border-left:4px solid #111827; border-radius:8px;">
                <span style="font-size:13px; color:#6b7280;">Resume Score</span><br>
                <span style="font-size:26px; font-weight:700; color:#111827;">
                    <?php echo e($application->resume_score); ?><span style="font-size:16px;"> / 100</span>
                </span>
            </div>

            <!-- CTA BUTTON -->
            <div style="text-align:center; margin-top:10px;">
                <a href="<?php echo e(asset('storage/' . $application->resume)); ?>" target="_blank"
                   style="display:inline-block; padding:14px 36px; background:linear-gradient(135deg,#111827,#374151); color:#ffffff; text-decoration:none; font-size:14px; font-weight:600; border-radius:999px; letter-spacing:0.4px; box-shadow:0 6px 14px rgba(0,0,0,0.18);">
                    ⬇ Download Resume
                </a>
            </div>

        </td>
    </tr>

    <!-- FOOTER -->
    <tr>
        <td style="background:#0f172a; padding:22px; text-align:center;">
            <p style="margin:0; color:#e5e7eb; font-size:13px;">
                Eggfirst Careers System
            </p>
            <p style="margin:6px 0 0; color:#94a3b8; font-size:12px;">
                Automated Recruitment Notification
            </p>
        </td>
    </tr>

</table>

</td>
</tr>
</table>

</body>
</html>
<?php /**PATH /home/eggfirst/public_html/video.eggfirst.com/resources/views/emails/admin-job-applied.blade.php ENDPATH**/ ?>