/* Navigation Container */
#nav_left {
	width: 100%;
}

/* Mobile Dropdown */
.imrp-nav-dropdown {
	width: 100%;
	padding: 0.7em 2.5em 0.7em 1em;
	font-size: 0.95em;
	background: #232323;
	color: #e0e0e0 !important;
	border: 1px solid #333;
	border-radius: 3px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
	transition: all 0.15s;
	background-image: url("data:image/svg+xml;utf8,<svg fill='%23e0e0e0' height='16' viewBox='0 0 20 20' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M5.516 7.548a1 1 0 0 1 1.415 0L10 10.617l3.07-3.07a1 1 0 1 1 1.415 1.415l-3.777 3.778a1 1 0 0 1-1.415 0L5.516 8.963a1 1 0 0 1 0-1.415z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 0.75em center;
	background-size: 1em;
}

.imrp-nav-dropdown:hover {
	border-color: #444;
	background-color: #2a2a2a;
}

.imrp-nav-dropdown:focus {
	outline: none;
	border-color: #064780;
	box-shadow: 0 0 0 2px rgba(6, 71, 128, 0.1);
}

.imrp-nav-dropdown optgroup {
	background: #1a1a1a;
	color: #888;
	font-weight: 600;
	font-size: 0.85em;
	padding: 0.5em;
}

.imrp-nav-dropdown option {
	background: #232323;
	color: #e0e0e0 !important;
	padding: 0.5em;
}

/* Desktop Menu */
.nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.nav-list a {
	text-decoration: none;
	color: inherit;
	display: block;
}

/* Section Headers */
.imrp-nav-section-header {
	display: flex;
	align-items: center;
	gap: 0.5em;
	padding: 0.9em 1em 0.6em;
	margin-top: 1em;
	color: #888;
	font-size: 0.78em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-bottom: 1px solid #2a2a2a;
}

.imrp-nav-section-header:first-child {
	margin-top: 0;
}

.imrp-nav-section-header svg {
	width: 0.9em;
	height: 0.9em;
	opacity: 0.7;
}

/* Menu Items */
.imrp-nav-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.65em 1em;
	color: #e0e0e0 !important;
	font-size: 0.95em;
	transition: all 0.15s;
	cursor: pointer;
	position: relative;
	border-left: 3px solid transparent;
}

.imrp-nav-item:hover {
	background: #2a2a2a !important;
	color: #fff !important;
	border-left-color: #444 !important;
}

.imrp-nav-item.imrp-nav-active {
	background: rgba(6, 71, 128, 0.15) !important;
	color: #fff !important;
	font-weight: 500 !important;
	border-left-color: #064780 !important;
}

.imrp-nav-item.imrp-nav-active:hover {
	background: rgba(6, 71, 128, 0.2) !important;
}

/* Highlight Badge */
.imrp-nav-badge {
	background: #333;
	color: #aaa;
	padding: 0.2em 0.5em;
	border-radius: 3px;
	font-size: 0.85em;
	font-weight: 600;
	white-space: nowrap;
}

.imrp-nav-item:hover .imrp-nav-badge {
	background: #3a3a3a;
	color: #ccc;
}

.imrp-nav-item.imrp-nav-active .imrp-nav-badge {
	background: rgba(255, 255, 255, 0.2);
	color: #fff !important;
}

/* Responsive */
@media (max-width: 768px) {
	.nav-list {
		display: none;
	}

	.imrp-nav-dropdown {
		display: block;
		margin-bottom: 1em;
	}
}

@media (min-width: 769px) {
	.imrp-nav-dropdown {
		display: none;
	}
}

/* Light Mode */
body.lightmode .imrp-nav-dropdown {
	background: #fff;
	color: #232323;
	border-color: #ddd;
	background-image: url("data:image/svg+xml;utf8,<svg fill='%23232323' height='16' viewBox='0 0 20 20' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M5.516 7.548a1 1 0 0 1 1.415 0L10 10.617l3.07-3.07a1 1 0 1 1 1.415 1.415l-3.777 3.778a1 1 0 0 1-1.415 0L5.516 8.963a1 1 0 0 1 0-1.415z'/></svg>");
}

body.lightmode .imrp-nav-dropdown:hover {
	border-color: #ccc;
	background-color: #f8f8f8;
}

body.lightmode .imrp-nav-dropdown optgroup {
	background: #f0f0f0;
	color: #666;
}

body.lightmode .imrp-nav-dropdown option {
	background: #fff;
	color: #232323;
}

body.lightmode .imrp-nav-section-header {
	color: #666 !important;
	border-bottom-color: #e0e0e0;
}

body.lightmode .imrp-nav-item {
	color: #232323 !important;
}

body.lightmode .imrp-nav-item:hover {
	background: #f0f0f0 !important;
	color: #000 !important;
	border-left-color: #ccc !important;
}

body.lightmode .imrp-nav-item.imrp-nav-active {
	background: rgba(6, 71, 128, 0.08) !important;
	color: #064780 !important;
	border-left-color: #064780 !important;
}

body.lightmode .imrp-nav-item.imrp-nav-active:hover {
	background: rgba(6, 71, 128, 0.12) !important;
}

body.lightmode .imrp-nav-badge {
	background: #e0e0e0;
	color: #666 !important;
}

body.lightmode .imrp-nav-item:hover .imrp-nav-badge {
	background: #d0d0d0;
	color: #444 !important;
}

body.lightmode .imrp-nav-item.imrp-nav-active .imrp-nav-badge {
	background: rgba(6, 71, 128, 0.2) !important;
	color: #064780 !important;
	font-weight: 600;
}
