@if(session('status'))
    @php $st = session('status'); @endphp
    <div class="row">
        <div class="col-md-12">
            @if(is_array($st))
                <div class="alert {{ !empty($st['success']) ? 'alert-success' : 'alert-danger' }}">
                    {{ $st['msg'] ?? '' }}
                </div>
            @else
                <div class="alert alert-success">{{ $st }}</div>
            @endif
        </div>
    </div>
@endif
