@if (session('success'))
    <div class="flash flash-success">{{ session('success') }}</div>
@endif
@if (session('info'))
    <div class="flash flash-info">{{ session('info') }}</div>
@endif
@if ($errors->any())
    <div class="flash flash-success" style="border-color: var(--danger); color: var(--danger); background: rgba(220, 38, 38, 0.08);">
        <ul class="mb-0" style="margin:0;padding-left:1.1rem;">
            @foreach ($errors->all() as $error)
                <li>{{ $error }}</li>
            @endforeach
        </ul>
    </div>
@endif
