@extends('emails.layout')

@section('content')
    <h1>Subscription Expired</h1>
    <p>The subscription for <strong>{{ $association->name }}</strong> has expired.</p>

    <div class="info-box">
        <div class="info-row">
            <span class="info-label">Plan</span>
            <span class="info-value">{{ $plan->name }}</span>
        </div>
        <div class="info-row">
            <span class="info-label">Expired On</span>
            <span class="info-value">{{ $subscription->ends_at?->format('M d, Y') }}</span>
        </div>
        <div class="info-row">
            <span class="info-label">Status</span>
            <span class="info-value"><span class="badge badge-danger">Expired</span></span>
        </div>
    </div>

    <p>Advanced modules have been locked. Core features remain available. Renew your subscription to restore full access.</p>

    <div style="text-align: center; margin: 32px 0;">
        <a href="{{ config('app.url') }}/association/admin/subscription" class="btn">Renew Subscription</a>
    </div>
@endsection
