<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
    @include('eliteadmin::partials.head')
</head>
<body>
    <div class="auth-split">
        <div class="auth-split-brand d-none d-lg-flex">
            <div class="auth-split-brand-content">
                <a href="{{ Route::has('login') ? route('login') : '#' }}" class="auth-brand-logo">
                    <img src="{{ asset('assets/img/logo.webp') }}" alt="{{ config('app.name') }}">
                    <span>{{ config('app.name', 'Admin') }}</span>
                </a>
                <div class="auth-brand-text">
                    <h2 class="auth-brand-heading">@yield('brand_heading', 'Start managing your platform with ease')</h2>
                    <p class="auth-brand-desc">@yield('brand_description', 'Powerful tools and insights to help you grow your business, streamline operations, and boost productivity.')</p>
                </div>
                <div class="auth-brand-features">
                    <div class="auth-brand-feature">
                        <i class="bi bi-check-circle-fill"></i>
                        <span>Real-time analytics dashboard</span>
                    </div>
                    <div class="auth-brand-feature">
                        <i class="bi bi-check-circle-fill"></i>
                        <span>Team collaboration tools</span>
                    </div>
                    <div class="auth-brand-feature">
                        <i class="bi bi-check-circle-fill"></i>
                        <span>Advanced reporting &amp; exports</span>
                    </div>
                </div>
            </div>
        </div>

        <div class="auth-split-form">
            <div class="auth-container">
                @yield('content')

                <footer class="footer-centered">
                    <div class="footer-copyright">
                        &copy; {{ date('Y') }} <a href="#">{{ config('app.name', 'Admin') }}</a>. All Rights Reserved.
                    </div>
                    <div class="footer-links">
                        <a href="#">Privacy Policy</a>
                        <a href="#">Terms of Service</a>
                        <a href="#">Help</a>
                    </div>
                </footer>
            </div>
        </div>
    </div>

    @include('eliteadmin::partials.scripts')
    <script src="{{ asset('assets/js/auth.js') }}"></script>
</body>
</html>
