@if(session('success'))
    <x-modern-notification type="success" :message="session('success')" />
@endif

@if(session('error'))
    <x-modern-notification type="error" :message="session('error')" />
@endif

@if(session('warning'))
    <x-modern-notification type="warning" :message="session('warning')" />
@endif

@if(session('info'))
    <x-modern-notification type="info" :message="session('info')" />
@endif

@if($errors->any())
    @foreach($errors->all() as $error)
        <x-modern-notification type="error" :message="$error" />
    @endforeach
@endif

