@extends('frontend.user.setting.index') @section('title', __('Security Center')) @section('user_setting_content') @php $isStrong = $securityScore >= 100; $statusModifier = $isStrong ? 'enabled' : 'disabled'; $completedChecks = $securityChecks->where('complete', true)->count(); @endphp @include('frontend.user.setting.partials._security_tabs')
{{ $isStrong ? __('Core wallet security is complete') : __('Core wallet security needs attention') }}

{{ __('Complete email verification, authenticator 2FA, and wallet PIN protection for safer wallet access.') }}

{{ __(':score% Ready', ['score' => $securityScore]) }}
{{ __('Protection readiness') }} {{ __(':completed of :total checks active', [ 'completed' => $completedChecks, 'total' => $securityChecks->count(), ]) }}
{{ __('Next best action') }} {{ $nextSecurityCheck['label'] ?? __('All core controls are active') }}
{{ __('Sign Out Other Browser Sessions') }}

{{ __('Keep this device signed in while removing account access from other browsers and devices.') }}

{{ __('Password Required') }}
@if($errors->has('password')) @endif
@csrf
{{ __('Recent Sign-In Activity') }}

{{ __('Review recent successful sign-ins and contact support if anything looks unfamiliar.') }}

@if($recentLoginActivities->total() > 0) {{ trans_choice(':count unique IP|:count unique IPs', $recentLoginActivities->total(), ['count' => $recentLoginActivities->total()]) }} @endif
@if($recentLoginActivities->isEmpty()) @else
@foreach($recentLoginActivities as $activity)
{{ $activity->browser ?: __('Unknown Browser') }} {{ $activity->platform ?: __('Unknown Platform') }}

{{ $activity->ip_address ?: __('Unknown IP') }} @if($activity->country) {{ $activity->country }} @endif @if($activity->device) {{ $activity->device }} @endif

@endforeach
@if($recentLoginActivities->hasPages()) @endif @endif
@endsection