<header class="header custom-sticky !top-0 !w-full">
	<nav class="main-header" aria-label="Global">
		<div class="header-content">
			<div class="header-left">
				<!-- Navigation Toggle -->
				<div class="">
					<button type="button" class="sidebar-toggle !w-100 !h-100">
						<span class="sr-only">Toggle Navigation</span>
						<i class="ri-arrow-right-circle-line header-icon"></i>
					</button>
				</div>
				<!-- End Navigation Toggle -->
			</div>

			<div class="responsive-logo">
				<a class="responsive-logo-dark" href="<?php echo e(url('index')); ?>" aria-label="Brand"><img
						src="<?php echo e(asset('assets/img/brand-logos/desktop-logo.png')); ?>" alt="logo" class="mx-auto"></a>
				<a class="responsive-logo-light" href="<?php echo e(url('index')); ?>" aria-label="Brand"><img
						src="<?php echo e(asset('assets/img/brand-logos/desktop-dark.png')); ?>" alt="logo" class="mx-auto"></a>
			</div>

			<div class="header-right">
				<div class="responsive-headernav">
					<div class="header-nav-right">
						<a href="<?php echo e(route('crm.dashboard')); ?>" class="ti-btn ti-btn-soft-secondary py-0 px-1 my-0">CRM</a>
						<a href="<?php echo e(route('osiguranje.dashboard')); ?>" class="ti-btn ti-btn-soft-secondary py-0 px-1 my-0">ADO</a>
						<div class="header-country hs-dropdown ti-dropdown hidden sm:block" data-hs-dropdown-placement="bottom-right">
							<button id="dropdown-flag" type="button"
								class="hs-dropdown-toggle ti-dropdown-toggle p-0 flex-shrink-0 h-[2.375rem] w-[2.375rem] border-0 rounded-full shadow-none">
								<div><?php echo e(strtoupper($currentLocale)); ?></div>
							</button>
							<div class="hs-dropdown-menu ti-dropdown-menu min-w-[10rem]">
								<div class="ti-dropdown-divider divide-y divide-gray-200 dark:divide-white/10">
									<div class="py-2 first:pt-0 last:pb-0">
										<div class="ti-dropdown-item">
											<div class="flex items-center space-x-2 rtl:space-x-reverse w-full">
												<div>
													<?php $__currentLoopData = ['en', 'sr']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $locale): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
														<?php if (isset($component)) { $__componentOriginal68cb1971a2b92c9735f83359058f7108 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal68cb1971a2b92c9735f83359058f7108 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dropdown-link','data' => ['href' => ''.e(route('set.locale', ['locale' => $locale])).'','class' => $currentLocale === $locale ? 'bg-gray-100 dark:bg-gray-700' : '']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dropdown-link'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['href' => ''.e(route('set.locale', ['locale' => $locale])).'','class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($currentLocale === $locale ? 'bg-gray-100 dark:bg-gray-700' : '')]); ?>
															<div class="flex items-center">
																<div> <?php echo e(__('languages.' . $locale)); ?></div>
															</div>
														 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal68cb1971a2b92c9735f83359058f7108)): ?>
<?php $attributes = $__attributesOriginal68cb1971a2b92c9735f83359058f7108; ?>
<?php unset($__attributesOriginal68cb1971a2b92c9735f83359058f7108); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal68cb1971a2b92c9735f83359058f7108)): ?>
<?php $component = $__componentOriginal68cb1971a2b92c9735f83359058f7108; ?>
<?php unset($__componentOriginal68cb1971a2b92c9735f83359058f7108); ?>
<?php endif; ?>
													<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

												</div>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
						<div class="header-theme-mode hidden sm:block">
							<a aria-label="anchor"
								class="hs-dark-mode-active:hidden flex hs-dark-mode group flex-shrink-0 justify-center items-center gap-2 h-[2.375rem] w-[2.375rem] rounded-full font-medium bg-gray-100 hover:bg-gray-200 text-gray-500 align-middle focus:outline-none focus:ring-0 focus:ring-gray-400 focus:ring-offset-0 focus:ring-offset-white transition-all text-xs dark:bg-bgdark dark:hover:bg-black/20 dark:text-white/70 dark:hover:text-white dark:focus:ring-white/10 dark:focus:ring-offset-white/10"
								href="javascript:;" data-hs-theme-click-value="dark">
								<i class="ri-moon-line header-icon"></i>
							</a>
							<a aria-label="anchor"
								class="hs-dark-mode-active:flex hidden hs-dark-mode group flex-shrink-0 justify-center items-center gap-2 h-[2.375rem] w-[2.375rem] rounded-full font-medium bg-gray-100 hover:bg-gray-200 text-gray-500 align-middle focus:outline-none focus:ring-0 focus:ring-gray-400 focus:ring-offset-0 focus:ring-offset-white transition-all text-xs dark:bg-bgdark dark:hover:bg-black/20 dark:text-white/70 dark:hover:text-white dark:focus:ring-white/10 dark:focus:ring-offset-white/10"
								href="javascript:;" data-hs-theme-click-value="light">
								<i class="ri-sun-line header-icon"></i>
							</a>
						</div>
						<div class="header-fullscreen hidden lg:block">
							<a aria-label="anchor" href="javascript:void(0);" onclick="openFullscreen();"
								class="inline-flex flex-shrink-0 justify-center items-center gap-2 h-[2.375rem] w-[2.375rem] rounded-full font-medium bg-gray-100 hover:bg-gray-200 text-gray-500 align-middle focus:outline-none focus:ring-0 focus:ring-gray-400 focus:ring-offset-0 focus:ring-offset-white transition-all text-xs dark:bg-bgdark dark:hover:bg-black/20 dark:text-white/70 dark:hover:text-white dark:focus:ring-white/10 dark:focus:ring-offset-white/10">
								<i class="ri-fullscreen-line header-icon full-screen-open"></i>
								<i class="ri-fullscreen-exit-line header-icon full-screen-close hidden"></i>
							</a>
						</div>
						<div class="header-profile hs-dropdown ti-dropdown" data-hs-dropdown-placement="bottom-right">
							<button id="dropdown-profile" type="button"
								class="hs-dropdown-toggle ti-dropdown-toggle gap-2 p-0 flex-shrink-0 h-8 w-8 rounded-full shadow-none focus:ring-gray-400 text-xs dark:focus:ring-white/10">
								<img class="inline-block rounded-full ring-2 ring-white dark:ring-white/10"
									src="<?php echo e(asset('assets/img/users/1.jpg')); ?>" alt="Image Description">
							</button>

							<div class="hs-dropdown-menu ti-dropdown-menu border-0 w-[20rem]" aria-labelledby="dropdown-profile">
								<div class="ti-dropdown-header !bg-primary flex">
									<div class="ltr:mr-3 rtl:ml-3">
										<img class="avatar shadow-none rounded-full !ring-transparent" src="<?php echo e(asset('assets/img/users/1.jpg')); ?>"
											alt="profile-img">
									</div>
									<div>
										<p class="ti-dropdown-header-title !text-white"><?php echo e(Auth::user()->name); ?></p>
										<p class="ti-dropdown-header-content !text-white/50"><?php echo e(Auth::user()->email); ?></p>
									</div>
								</div>
								<div class="mt-2 ti-dropdown-divider">
									<a href="<?php echo e(url('profile')); ?>" class="ti-dropdown-item">
										<i class="ti ti-user-circle text-lg"></i>
										Profile
									</a>

									<!-- Logout link -->
									<a href="#" onclick="event.preventDefault(); document.getElementById('logout-form').submit();"
										class="ti-dropdown-item">
										<i class="ti ti-logout text-lg"></i>
										<?php echo e(__('Log Out')); ?>

									</a>

									<!-- Form for logout -->
									<form id="logout-form" method="POST" action="<?php echo e(route('logout')); ?>" style="display: none;">
										<?php echo csrf_field(); ?>
									</form>

								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</nav>
</header>
<?php /**PATH C:\development\www\policypilot\resources\views/backend/layouts/components/header1.blade.php ENDPATH**/ ?>