/* =========================================
   SIDEBAR OVERRIDES (FINAL)
   Dunkel, ruhig, einfarbig
========================================= */

.sidebar,
.sidebar-content,
.sidebar-content.js-simplebar,
.sidebar .simplebar-content-wrapper,
.sidebar .simplebar-mask,
.sidebar .simplebar-offset {
	background: #1f2937 !important;
}

.sidebar {
	border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
	box-shadow: none !important;
}

.sidebar .sidebar-brand {
	background: transparent !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	color: #e5e7eb !important;
}

.sidebar .sidebar-brand:hover,
.sidebar .sidebar-brand:focus {
	background: rgba(255, 255, 255, 0.04) !important;
	color: #f3f4f6 !important;
}

.sidebar .brand-text {
	color: #e5e7eb !important;
}

.sidebar .sidebar-logo {
	filter: none !important;
}

.sidebar .sidebar-header {
	color: #9ca3af !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.sidebar .sidebar-link {
	color: #e5e7eb !important;
	background: transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	border-left: 3px solid transparent !important;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
}

.sidebar .sidebar-link:hover,
.sidebar .sidebar-link:focus {
	color: #f3f4f6 !important;
	background: rgba(255, 255, 255, 0.06) !important;
	border-left-color: transparent !important;
}

.sidebar .sidebar-item.active > .sidebar-link,
.sidebar .sidebar-link.active,
.sidebar .sidebar-link[aria-expanded="true"] {
	color: #ffffff !important;
	background: rgba(255, 255, 255, 0.08) !important;
	border-left-color: #d4a24c !important;
	box-shadow: none !important;
}

.sidebar .sidebar-link i,
.sidebar .sidebar-link svg,
.sidebar .sidebar-link [data-lucide] {
	color: #9ca3af !important;
	stroke: #9ca3af !important;
}

.sidebar .sidebar-link:hover i,
.sidebar .sidebar-link:hover svg,
.sidebar .sidebar-link:hover [data-lucide],
.sidebar .sidebar-link:focus i,
.sidebar .sidebar-link:focus svg,
.sidebar .sidebar-link:focus [data-lucide],
.sidebar .sidebar-item.active > .sidebar-link i,
.sidebar .sidebar-item.active > .sidebar-link svg,
.sidebar .sidebar-item.active > .sidebar-link [data-lucide],
.sidebar .sidebar-link[aria-expanded="true"] i,
.sidebar .sidebar-link[aria-expanded="true"] svg,
.sidebar .sidebar-link[aria-expanded="true"] [data-lucide] {
	color: #f3f4f6 !important;
	stroke: #f3f4f6 !important;
}

.sidebar .sidebar-dropdown {
	background: transparent !important;
}

.sidebar .sidebar-dropdown .sidebar-link {
	color: #d1d5db !important;
	background: transparent !important;
	border-left: 3px solid transparent !important;
}

.sidebar .sidebar-dropdown .sidebar-link:hover,
.sidebar .sidebar-dropdown .sidebar-link:focus {
	color: #f3f4f6 !important;
	background: rgba(255, 255, 255, 0.05) !important;
	border-left-color: transparent !important;
}

.sidebar .sidebar-dropdown .sidebar-item.active > .sidebar-link,
.sidebar .sidebar-dropdown .sidebar-link.active {
	color: #ffffff !important;
	background: rgba(255, 255, 255, 0.07) !important;
	border-left-color: #d4a24c !important;
}

.sidebar .badge,
.sidebar .badge-sidebar-primary {
	background: rgba(255, 255, 255, 0.10) !important;
	color: #e5e7eb !important;
	border: 1px solid rgba(255, 255, 255, 0.10) !important;
}

.sidebar-compact .sidebar-dropdown,
[data-sidebar-behavior="compact"] .sidebar-dropdown {
	background: #1f2937 !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22) !important;
	border-radius: 0.75rem !important;
}

.sidebar-compact .sidebar-dropdown .sidebar-link,
[data-sidebar-behavior="compact"] .sidebar-dropdown .sidebar-link {
	color: #d1d5db !important;
	background: transparent !important;
}

.sidebar-compact .sidebar-dropdown .sidebar-link:hover,
.sidebar-compact .sidebar-dropdown .sidebar-link:focus,
[data-sidebar-behavior="compact"] .sidebar-dropdown .sidebar-link:hover,
[data-sidebar-behavior="compact"] .sidebar-dropdown .sidebar-link:focus {
	color: #f3f4f6 !important;
	background: rgba(255, 255, 255, 0.06) !important;
}

.sidebar ::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

.sidebar ::-webkit-scrollbar-track {
	background: transparent;
}

.sidebar ::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.14);
	border-radius: 999px;
}

.sidebar ::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.22);
}

/* =========================================
   TOP NAV QUICK MENU
   Optik wie Sidebar-Dropdown
========================================= */

.quickmenu-dropdown,
.navbar .quickmenu-dropdown.dropdown-mega,
.navbar .quickmenu-dropdown.sidebar-dropdown {
	background: #1f2937 !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22) !important;
	border-radius: 0.75rem !important;
	padding: 0.75rem !important;
	min-width: 760px;
}

.quickmenu-dropdown .dropdown-mega-list,
.quickmenu-dropdown .quickmenu-section {
	min-width: 240px;
	padding: 0.25rem 0.5rem;
}

.quickmenu-dropdown .dropdown-header,
.quickmenu-dropdown .sidebar-header {
	color: #9ca3af !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.5rem 0.75rem 0.65rem 0.75rem;
	margin-bottom: 0.25rem;
	background: transparent !important;
	border: 0 !important;
}

.quickmenu-dropdown .dropdown-item,
.quickmenu-dropdown .sidebar-link {
	display: block;
	color: #d1d5db !important;
	background: transparent !important;
	border-radius: 0 !important;
	border-left: 3px solid transparent !important;
	padding: 0.7rem 0.75rem !important;
	text-decoration: none !important;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
}

.quickmenu-dropdown .dropdown-item:hover,
.quickmenu-dropdown .dropdown-item:focus,
.quickmenu-dropdown .sidebar-link:hover,
.quickmenu-dropdown .sidebar-link:focus {
	color: #f3f4f6 !important;
	background: rgba(255, 255, 255, 0.06) !important;
	border-left-color: transparent !important;
}

.quickmenu-dropdown .dropdown-item.active,
.quickmenu-dropdown .sidebar-link.active,
.quickmenu-dropdown .dropdown-item[aria-current="page"],
.quickmenu-dropdown .sidebar-link[aria-expanded="true"] {
	color: #ffffff !important;
	background: rgba(255, 255, 255, 0.08) !important;
	border-left-color: #d4a24c !important;
	box-shadow: none !important;
}

@media (max-width: 991.98px) {
	.quickmenu-dropdown,
	.navbar .quickmenu-dropdown.dropdown-mega,
	.navbar .quickmenu-dropdown.sidebar-dropdown {
		min-width: 320px;
		max-width: calc(100vw - 2rem);
	}

	.quickmenu-dropdown .d-md-flex {
		display: block !important;
	}

	.quickmenu-dropdown .dropdown-mega-list,
	.quickmenu-dropdown .quickmenu-section {
		min-width: 100%;
		padding: 0.25rem 0;
	}
}