<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Mentor 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, #0891b2 0%, #22d3ee 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: #0891b2;
        }
        .content {
            margin-bottom: 30px;
        }
        .mentor-card {
            background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
            border: 2px solid #22d3ee;
            border-radius: 8px;
            padding: 25px;
            margin: 20px 0;
            text-align: center;
        }
        .mentor-card h3 {
            margin: 0 0 15px 0;
            color: #0e7490;
            font-size: 18px;
        }
        .mentor-info {
            display: inline-block;
            background-color: #ffffff;
            padding: 15px 30px;
            border-radius: 8px;
            margin-top: 10px;
            border: 1px solid #a5f3fc;
        }
        .mentor-info .name {
            font-size: 18px;
            font-weight: 600;
            color: #0e7490;
        }
        .mentor-info .role {
            font-size: 12px;
            color: #0891b2;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .programme-info {
            background-color: #f0fdf4;
            border: 1px solid #bbf7d0;
            border-radius: 6px;
            padding: 15px;
            margin: 20px 0;
        }
        .programme-info h4 {
            margin: 0 0 8px 0;
            color: #166534;
            font-size: 14px;
        }
        .info-box {
            background-color: #eff6ff;
            border: 1px solid #bfdbfe;
            border-radius: 6px;
            padding: 15px;
            margin: 20px 0;
            font-size: 14px;
            color: #1e40af;
        }
        .action-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-top: 25px;
        }
        .btn-primary {
            display: inline-block;
            background-color: #0891b2;
            color: #ffffff;
            text-decoration: none;
            padding: 14px 28px;
            border-radius: 6px;
            font-weight: 600;
        }
        .btn-primary:hover {
            background-color: #0e7490;
        }
        .btn-secondary {
            display: inline-block;
            background-color: #ffffff;
            color: #0891b2;
            text-decoration: none;
            padding: 14px 28px;
            border-radius: 6px;
            font-weight: 600;
            border: 2px solid #0891b2;
        }
        .btn-secondary:hover {
            background-color: #ecfeff;
        }
        .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: #0891b2;
            text-decoration: none;
        }
    </style>
</head>
<body style="margin: 0; padding: 20px; background-color: #f4f4f5;">
    <div class="email-wrapper">
        <div class="email-header">
            <h1>🎯 Mentor Assignment</h1>
            <p>You have been matched with a mentor</p>
        </div>

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

            <div class="content">
                <p>We're excited to inform you that you have been matched with a mentor for the <strong>{{ $programmeName }}</strong> mentorship programme. Your mentor will guide you through this transformative learning journey!</p>
            </div>

            <div class="mentor-card">
                <h3>👨‍🏫 Your Assigned Mentor</h3>
                <div class="mentor-info">
                    <div class="role">Mentor</div>
                    <div class="name">{{ $mentorName }}</div>
                </div>
            </div>

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

            <div class="info-box">
                <strong>📌 What to Expect:</strong><br>
                Your mentor will reach out to schedule your first introductory session. Be prepared to discuss your goals, expectations, and any specific areas you'd like to focus on during the mentorship.
            </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;">
                We wish you a successful mentorship journey!
            </p>
        </div>
    </div>
</body>
</html>
