<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>New Mentee Assignment</title>
    <style>
        body {
            font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
            line-height: 1.6;
            color: #333333;
            background-color: #f4f4f5;
            margin: 0;
            padding: 0;
        }
        .email-wrapper {
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
            background-color: #ffffff;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        .email-header {
            background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
            padding: 30px 40px;
            text-align: center;
        }
        .email-header h1 {
            color: #ffffff;
            margin: 0;
            font-size: 24px;
            font-weight: 600;
        }
        .email-header p {
            color: rgba(255, 255, 255, 0.9);
            margin: 8px 0 0 0;
            font-size: 14px;
        }
        .email-body {
            padding: 40px;
        }
        .greeting {
            font-size: 18px;
            margin-bottom: 20px;
        }
        .greeting strong {
            color: #7c3aed;
        }
        .content {
            margin-bottom: 30px;
        }
        .assignment-card {
            background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
            border: 2px solid #a78bfa;
            border-radius: 8px;
            padding: 25px;
            margin: 20px 0;
            text-align: center;
        }
        .assignment-card h3 {
            margin: 0 0 15px 0;
            color: #6b21a8;
            font-size: 18px;
        }
        .mentee-info {
            display: inline-block;
            background-color: #ffffff;
            padding: 15px 30px;
            border-radius: 8px;
            margin-top: 10px;
            border: 1px solid #e9d5ff;
        }
        .mentee-info .name {
            font-size: 18px;
            font-weight: 600;
            color: #6b21a8;
        }
        .mentee-info .role {
            font-size: 12px;
            color: #7c3aed;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .programme-info {
            background-color: #eff6ff;
            border: 1px solid #bfdbfe;
            border-radius: 6px;
            padding: 15px;
            margin: 20px 0;
        }
        .programme-info h4 {
            margin: 0 0 8px 0;
            color: #1d4ed8;
            font-size: 14px;
        }
        .action-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-top: 25px;
        }
        .btn-primary {
            display: inline-block;
            background-color: #7c3aed;
            color: #ffffff;
            text-decoration: none;
            padding: 14px 28px;
            border-radius: 6px;
            font-weight: 600;
        }
        .btn-primary:hover {
            background-color: #6b21a8;
        }
        .btn-secondary {
            display: inline-block;
            background-color: #ffffff;
            color: #7c3aed;
            text-decoration: none;
            padding: 14px 28px;
            border-radius: 6px;
            font-weight: 600;
            border: 2px solid #7c3aed;
        }
        .btn-secondary:hover {
            background-color: #faf5ff;
        }
        .tips-box {
            background-color: #f0fdf4;
            border: 1px solid #bbf7d0;
            border-radius: 6px;
            padding: 15px;
            margin: 20px 0;
            font-size: 14px;
        }
        .tips-box h4 {
            margin: 0 0 10px 0;
            color: #166534;
        }
        .tips-box ul {
            margin: 0;
            padding-left: 20px;
            color: #166534;
        }
        .tips-box li {
            margin-bottom: 5px;
        }
        .email-footer {
            background-color: #f9fafb;
            padding: 25px 40px;
            text-align: center;
            border-top: 1px solid #e5e7eb;
        }
        .footer-text {
            color: #6b7280;
            font-size: 13px;
            margin: 0;
        }
        .footer-link {
            color: #7c3aed;
            text-decoration: none;
        }
    </style>
</head>
<body style="margin: 0; padding: 20px; background-color: #f4f4f5;">
    <div class="email-wrapper">
        <div class="email-header">
            <h1>👥 New Mentee Assignment</h1>
            <p>You have been assigned a new mentee</p>
        </div>

        <div class="email-body">
            <p class="greeting">Hello <strong>{{ $mentorName }}</strong>,</p>

            <div class="content">
                <p>Great news! You have been assigned as a mentor to a new participant in the <strong>{{ $programmeName }}</strong> mentorship programme. Your guidance and expertise will be invaluable in helping them achieve their goals.</p>
            </div>

            <div class="assignment-card">
                <h3>🎓 Your New Mentee</h3>
                <div class="mentee-info">
                    <div class="role">Mentee</div>
                    <div class="name">{{ $menteeName }}</div>
                </div>
            </div>

            <div class="programme-info">
                <h4>📚 Programme Details</h4>
                <p style="margin: 0; color: #374151;">{{ $programmeName }}</p>
            </div>

            <div class="tips-box">
                <h4>💡 Tips for a Successful Mentorship</h4>
                <ul>
                    <li>Schedule your first introductory session soon</li>
                    <li>Discuss goals and expectations with your mentee</li>
                    <li>Set up regular meeting schedules</li>
                    <li>Be available for questions and guidance</li>
                </ul>
            </div>

            <div class="action-buttons">
                <a href="{{ $acceptUrl }}" class="btn-primary">✓ Accept Assignment</a>
                <a href="{{ $dashboardUrl }}" class="btn-secondary">📊 View Dashboard</a>
            </div>
        </div>

        <div class="email-footer">
            <p class="footer-text">
                This email was sent from <strong>{{ config('app.name') }}</strong><br>
                <a href="{{ config('app.url') }}" class="footer-link">{{ config('app.url') }}</a>
            </p>
            <p class="footer-text" style="margin-top: 10px;">
                Thank you for being a valued mentor in our community!
            </p>
        </div>
    </div>
</body>
</html>
