@php($footerBusiness = auth()->user()?->business)
<footer class="footer crm-footer" data-testid="professional-footer">
    <div class="crm-footer-brand">
        <span class="crm-footer-mark"><i class="feather-layers"></i></span>
        <div>
            <strong>{{ $footerBusiness?->name ?: 'YalCRM' }}</strong>
            <small>Customer relationship workspace</small>
        </div>
    </div>
    <div class="crm-footer-center d-none d-lg-flex">
        <span><i class="feather-shield"></i> Secure workspace</span>
        <span><i class="feather-clock"></i> {{ now()->timezone(config('app.timezone'))->format('D, d M Y') }}</span>
    </div>
    <div class="crm-footer-links">
        <a href="{{ route('my-dashboard') }}">My Dashboard</a>
        <a href="{{ route('notifications.index') }}">Notifications</a>
        <span>&copy; {{ now()->year }} {{ $footerBusiness?->name ?: 'YalCRM' }}</span>
    </div>
</footer>
