<!DOCTYPE html>

<head>
    <meta charset="utf-8">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">

    <title>Dashboard</title>
    <meta content="" name="description">
    <meta content="" name="keywords">

    <!-- Favicons -->
    {{-- <link href="{{ asset('niceAdmin/assets/img/favicon.png') }}" rel="icon"> --}}
    <link rel="icon" type="image/png" href="{{ asset('storage/company/' . siteinfo()->img_url ?? '') }}">
    {{-- <link rel="icon" type="image/jpeg" href="{{ asset('storage/company/' . siteinfo()->img_url ?? '') }}"> --}}

    <link href="{{ asset('niceAdmin/assets/img/apple-touch-icon.png') }}" rel="apple-touch-icon">

    <!-- Google Fonts -->
    <link href="https://fonts.gstatic.com" rel="preconnect">
    <link
        href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Nunito:300,300i,400,400i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i"
        rel="stylesheet">

    <!-- Vendor CSS Files -->
    <link href="{{ asset('niceAdmin/assets/vendor/bootstrap/css/bootstrap.min.css') }}" rel="stylesheet">
    <link href="{{ asset('niceAdmin/assets/vendor/bootstrap-icons/bootstrap-icons.css') }}" rel="stylesheet">
    <link href="{{ asset('niceAdmin/assets/vendor/boxicons/css/boxicons.min.css') }}" rel="stylesheet">
    <link href="{{ asset('niceAdmin/assets/vendor/quill/quill.snow.css') }}" rel="stylesheet">
    <link href="{{ asset('niceAdmin/assets/vendor/quill/quill.bubble.css') }}" rel="stylesheet">
    <link href="{{ asset('niceAdmin/assets/vendor/remixicon/remixicon.css') }}" rel="stylesheet">
    <link href="{{ asset('niceAdmin/assets/vendor/simple-datatables/style.css') }}" rel="stylesheet">
    <link rel="stylesheet" href="{{ asset('/') }}css/clientbootcss.min.css">

    <!-- Template Main CSS File -->
    <link href="{{ asset('niceAdmin/assets/css/style.css') }}" rel="stylesheet">
</head>

<body>
    <style>
        .news-marquee {
            width: 100%;
            overflow: hidden;
            background-color: #fffbea;
            border-top: 2px solid #ff9900;
            border-bottom: 2px solid #ff9900;
            padding: 10px 0;
            position: relative;
        }

        .news-track {
            display: flex;
            width: fit-content;
            animation: scroll-left 60s linear infinite;
            /* speed + delay */
            /* animation: scroll-left 60s linear 1s infinite; */
        }

        .news-text {
            white-space: nowrap;
            font-size: 18px;
            font-weight: bold;
            color: #d60000;
            padding-left: 50vw;
            /* Push start off-screen */
        }

        /* Animation */
        @keyframes scroll-left {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-100%);
            }
        }

        /* Pause on hover */
        .news-marquee:hover .news-track {
            animation-play-state: paused;
        }

        /* Responsive */
        @media (max-width: 600px) {
            .news-text {
                font-size: 14px;
            }
        }
    </style>
    <!-- ======= Header ======= -->
    <header id="header" class="header fixed-top d-flex align-items-center">

        <div class="d-flex align-items-center justify-content-between">
            <a href="{{ route('customerDashboard') }}" class="logo d-flex align-items-center">
                {{-- <img src="{{ asset('niceAdmin/assets/img/logo.png') }}" alt=""> --}}
                <span class="d-none d-lg-block">{{ siteinfo()->name }}</span>
            </a>

            <i class="bi bi-list toggle-sidebar-btn"></i>

        </div><!-- End Logo -->
        @if (checkSettings('client_topbar_notification') == 'enable')
            <div class="news-marquee">
                <div class="news-track">
                    <div class="news-text">
                        {!! siteinfo()->notification !!} &nbsp; • &nbsp;
                        {!! siteinfo()->notification !!} &nbsp; • &nbsp;
                        {!! siteinfo()->notification !!} &nbsp; • &nbsp;
                        {!! siteinfo()->notification !!} &nbsp; • &nbsp;
                    </div>
                </div>
            </div>
        @endif

        <nav class="header-nav ms-auto">
            <ul class="d-flex align-items-center">
                <li class="nav-item dropdown pe-3">
                    <a class="nav-link nav-profile d-flex align-items-center pe-0" href="#"
                        data-bs-toggle="dropdown">
                        <img src="{{ asset('niceAdmin/assets/img/profile-img.jpg') }}" alt="Profile"
                            class="rounded-circle">
                        <span
                            class="d-none d-md-block dropdown-toggle ps-2">{{ $details['userinfo']->clientsinfo->clients_name }}</span>
                    </a><!-- End Profile Iamge Icon -->

                    <ul class="dropdown-menu dropdown-menu-end dropdown-menu-arrow profile">
                        <li>
                            <a class="dropdown-item d-flex align-items-center" href="{{ route('account') }}">
                                <i class="bi bi-person"></i>
                                <span>My Profile</span>
                            </a>
                        </li>
                        <li>
                            <hr class="dropdown-divider">
                        </li>

                        <li>
                            <a class="dropdown-item d-flex align-items-center" href="{{ route('customer-payment') }}">
                                <i class="bi bi-cash"></i>
                                <span>Payment</span>
                            </a>
                        </li>
                        <li>
                            <hr class="dropdown-divider">
                        </li>
                        <li>
                            <hr class="dropdown-divider">
                        </li>

                        <li>
                            <a class="dropdown-item d-flex align-items-center" href="{{ route('customer-logout') }}">
                                <i class="bi bi-box-arrow-right"></i>
                                <span>Sign Out</span>
                            </a>
                        </li>

                    </ul><!-- End Profile Dropdown Items -->

                </li><!-- End Profile Nav -->

            </ul>
        </nav><!-- End Icons Navigation -->

    </header><!-- End Header -->
