@extends('layouts.dashboard') @section('title', 'Watchlist — My Countries') @section('content') @if($watchlists->isEmpty())
⭐
Your watchlist is empty
Add countries from the map or country pages to monitor them here.
Explore Map
@else
@foreach($watchlists as $wl) @php $c = $wl->country; $risk = $c?->riskScore; @endphp
{{-- Remove Button --}} {{-- Country Info --}}
{{ $c?->country_name ?? '—' }}
{{ $c?->region }} · {{ $c?->capital }}
{{-- Risk Score --}} @if($risk)
Risk Score
{{ number_format($risk->total_score, 1) }}
{{ $risk->risk_level }}
@endif {{-- Economic Data --}} @php $eco = $c?->economicCache; @endphp @if($eco)
GDP
{{ $eco->formatted_gdp }}
Inflation
{{ number_format($eco->inflation ?? 0, 2) }}%
@endif {{-- Actions --}}
View Compare
@endforeach
@endif @endsection @push('scripts') @endpush