@extends('emails.layout')

@section('title', 'Account Registration Update - Jurislocator')

@section('header-title', 'Registration Update')

@section('content')
<div class="content-section">
    <h2>Hello {{ $user_name }},</h2>
    
    <p>
        Thank you for your interest in joining Jurislocator. We have carefully reviewed your 
        registration application, and we regret to inform you that we are unable to approve 
        your account at this time.
    </p>
</div>

<div class="warning-box">
    <p style="margin-bottom: 8px;"><strong>Registration Status: Not Approved</strong></p>
    <p style="margin-bottom: 0;">
        Your account application has been reviewed but could not be approved.
    </p>
</div>

@if(isset($rejection_reason))
<div class="info-box">
    <h3>📋 Reason for Rejection</h3>
    <p>{{ $rejection_reason }}</p>
</div>
@endif

<div class="content-section">
    <h2>What Can You Do?</h2>
    <p>If you believe this decision was made in error, or if you have additional information to support your application, please:</p>
    
    <ul>
        <li><strong>Contact Our Support Team:</strong> Reach out with your concerns and any supporting documentation</li>
        <li><strong>Provide Additional Information:</strong> Share any missing credentials or verification documents</li>
        <li><strong>Reapply:</strong> After addressing the issues mentioned, you may submit a new application</li>
    </ul>
</div>

<div class="button-container">
    <a href="mailto:support@jurislocator.ca?subject=Registration Review Request - {{ $user_email }}" class="button">
        Contact Support
    </a>
</div>

<div class="divider"></div>

<div class="content-section">
    <h2>📞 Need Assistance?</h2>
    <p>
        Our support team is available to help clarify any questions you may have regarding 
        this decision or the registration process.
    </p>
    <ul>
        <li>📧 Email: <a href="mailto:support@jurislocator.ca" style="color: #162b34;">support@jurislocator.ca</a></li>
        <li>📱 Phone: +1 (XXX) XXX-XXXX</li>
        <li>🕐 Business Hours: Monday - Friday, 9:00 AM - 5:00 PM EST</li>
    </ul>
</div>

<div class="success-box">
    <p><strong>Thank You</strong></p>
    <p style="margin-bottom: 0;">
        We appreciate your interest in Jurislocator and hope to serve you in the future. 
        Please don't hesitate to reach out if you have any questions.
    </p>
</div>
@endsection
