@extends('emails.layout')

@section('content')
    <h1>Payment Verified</h1>
    <p>Hi,</p>
    <p>The manual payment for <strong>{{ $association->name }}</strong> has been verified and your subscription is now active.</p>

    <div class="info-box">
        <div class="info-row">
            <span class="info-label">Plan</span>
            <span class="info-value">{{ $subscription->subscriptionPlan?->name ?? 'N/A' }}</span>
        </div>
        <div class="info-row">
            <span class="info-label">Amount</span>
            <span class="info-value">&#8358;{{ number_format($subscription->amount, 2) }}</span>
        </div>
        <div class="info-row">
            <span class="info-label">Active Until</span>
            <span class="info-value">{{ $subscription->ends_at?->format('M d, Y') ?? 'N/A' }}</span>
        </div>
        <div class="info-row">
            <span class="info-label">Status</span>
            <span class="info-value"><span class="badge badge-success">Active</span></span>
        </div>
    </div>

    <p>Your association now has full access to all plan features.</p>
@endsection
