{{-- ─── LEFT PANEL: Account info ─── --}}
{{ __('Your account') }}
{{-- ─── Avatar upload zone ─── --}}
{{-- Current photo preview --}}
{{-- Camera badge triggers file picker --}}
{{-- Info + actions --}}

{{ __('Profile photo') }}

{{ __('Auto-generated from initials. Upload a photo to personalise your account.') }}

{{ __('Custom photo active.') }}

{{-- ─── Crop Modal ─── --}}
{{ __('Crop your photo') }}
{{-- Canvas area --}}
{{-- Dim outside circle + ring border --}}

{{ __('Drag to reposition · Scroll to zoom') }}

{{-- Zoom slider --}}
{{-- First / Last name --}}
@error('firstName')

{{ $message }}

@enderror
{{-- Email (read-only) --}}
{{-- Timezone --}}
@error('timezone')

{{ $message }}

@enderror
{{-- Two-factor authentication — status + enable / disable + enrolment. The account requires it when Settings → Security & access has "Require 2FA for all staff" on (enforced by EnsureStaffTwoFactor). --}}

{{ __('Two-factor authentication') }}

{{ $twoFactorEnabled ? __('Enabled') : __('Not enabled') }}

@if ($twoFactorEnabled)
@elseif (! $showing2fa)
@endif @error('twoFaPassword')

{{ $message }}

@enderror
{{-- Enrolment panel: scan the QR, keep the recovery codes, confirm a code --}} @if ($showing2fa && ! $twoFactorEnabled)

{{ __('Scan this QR with your authenticator app (Google Authenticator, Authy…), then enter the 6-digit code it shows.') }}

@if ($qrSvg)
{!! $qrSvg !!}
@endif

{{ __('Or enter this key manually:') }}

{{ $twoFaSecret }}

@if (! empty($recoveryCodes))

{{ __('Save these recovery codes — each works once if you lose your phone:') }}

@foreach ($recoveryCodes as $rc)
{{ $rc }}
@endforeach
@endif
@error('twoFaCode')

{{ $message }}

@enderror
@endif
{{-- ─── RIGHT PANEL: Change password ─── --}}
{{ __('Change your password') }}
{{ __('Choose a strong password with at least :count characters.', ['count' => (int) \App\Models\Setting::get('password_min_length', 8)]) }}
{{-- Old password --}}
@error('currentPassword')

{{ $message }}

@enderror
{{-- New password --}}
@error('newPassword')

{{ $message }}

@enderror
{{-- Confirm new password --}}