@component('emails.layouts.html', ['subject' => __('Your profile has been deleted')]) {{-- Greeting --}}

{{ __('Hello :name,', ['name' => $full_name ?? $name]) }}

{{-- Main message --}}

{!! __('Your :appname user profile has been deleted.', ['appname' => config('app.name')]) !!}

{{-- Deletion Reason (only shown for auto-deletions) --}} @if(isset($autoDeleted) && $autoDeleted)

{{ __('Reason for deletion:') }}

{{ __('Your profile was automatically deleted due to prolonged inactivity.') }} @if(isset($daysNotLoggedIn) && isset($totalDaysToDelete)) {{ __('Profiles are deleted after :days days of no login activity.', ['days' => round($totalDaysToDelete)]) }} {{ __('Your last login was more than :days days ago.', ['days' => round($daysNotLoggedIn)]) }} @endif

@endif {{-- Account Details Table --}}

{{ __('Account Details:') }}

{{ __('Username:') }} {{ $name }}
{{ __('Full name:') }} {{ $full_name }}
{{ __('Email:') }} {{ $deletedMail }}
{{ __('Deleted at:') }} {{ $time }}
{{-- Balance handling information --}} @if(isset($totalBalance) && $totalBalance != 0)

{{ __('Balance handling:') }}

@if($balanceHandlingOption === 'donate' && isset($donationOrganizationName)) @else @endif
{{ __('Total balance:') }} {{ tbFormat($totalBalance) }}
{{ __('Action:') }} {{ __('Donated to organization') }}
{{ __('Organization:') }} {{ $donationOrganizationName }}
{{ __('Account:') }} {{ __('messages.' . $donationAccountName . '_account') }}
{{ __('Action:') }} {{ __('Balance deleted') }}
@endif {{-- Deletion information --}}

{{ __('All your accounts, personal profile data, photos, or other uploaded files and messages will be permanently deleted. Historical data such as transaction descriptions and messages you shared with other :appname users will be anonymized. We did not share any of your data with third parties.', ['appname' => config('app.name')]) }}

{{-- Closing message --}}

{!! __('On behalf of the :appname Team, we hope to see you another time!', ['appname' => config('app.name')]) !!}

{{-- Footer note --}}
{{ __('This is an automated notification about your account deletion. This action will become permanent after :days days.', ['days' => $gracePeriodDays ?? 30]) }}
@endcomponent