.desktop-header {
		display: block;
	}
	.imrp-mobile-header {
		display: none;
	}

	/* Profile Dropdown */
	.imrp-profile-dropdown {
		position: relative;
		display: inline-block;
	}
	.imrp-profile-dropdown > a.topnav-link {
		margin-right: 0 !important;
	}

	/* Notification Badge */
	.imrp-notification-badge {
		position: relative;
		background: #e74c3c;
		color: white;
		border-radius: 10px;
		padding: 2px 6px;
		font-size: 0.7em;
		font-weight: 600;
		min-width: 16px;
		text-align: center;
		line-height: 1.2;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
		margin-left: 6px;
		display: inline-block;
	}

	.imrp-notifications-trigger {
		position: relative;
	}

	.imrp-notifications-trigger .imrp-notification-badge {
		position: absolute;
		top: -8px;
		right: 2px;
		margin-left: 0;
		height: 14px;
		padding: 0;
		font-size: 0.65em;
		line-height: 14px;
		border-radius: 3px;
	}

	.imrp-profile-dropdown-menu {
		position: absolute;
		top: 100%;
		right: 0;
		width: 200px;
		background: #232323;
		border: 1px solid #333;
		border-radius: 3px;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
		z-index: 1000;
		opacity: 0;
		visibility: hidden;
		transition: all 0.15s ease;
		margin-top: 4px;
	}

	.imrp-notifications-dropdown {
		position: relative;
		display: inline-block;
	}

	.imrp-notifications-dropdown > a.topnav-link {
		margin-right: 0 !important;
	}

	.imrp-notifications-dropdown .imrp-profile-dropdown-menu {
		right: 0;
		left: auto;
		width: 300px;
		max-width: 90vw;
	}

	.imrp-notifications-dropdown .imrp-profile-dropdown-menu.has-notifications {
		width: 350px;
		max-width: 90vw;
	}

	@media(max-width: 768px) {
		.imrp-notifications-dropdown .imrp-profile-dropdown-menu,
		.imrp-notifications-dropdown .imrp-profile-dropdown-menu.has-notifications {
			width: 280px;
			max-width: calc(100vw - 20px);
		}
	}

	.imrp-profile-dropdown-menu::before {
		content: '';
		position: absolute;
		top: -6px;
		right: 20px;
		width: 12px;
		height: 12px;
		background: #232323;
		border: 1px solid #333;
		border-bottom: none;
		border-right: none;
		transform: rotate(45deg);
		z-index: 1001;
	}

	.imrp-notifications-dropdown .imrp-profile-dropdown-menu::before {
		right: 12px;
		left: auto;
	}

	.imrp-profile-dropdown:hover .imrp-profile-dropdown-menu,
	.imrp-notifications-trigger.active + .imrp-profile-dropdown-menu {
		opacity: 1;
		visibility: visible;
	}

	/* Notifications Section */
	.imrp-dropdown-notifications {
		padding: 0;
		border-bottom: 1px solid #333;
	}

	.imrp-dropdown-notifications-header {
		padding: 0 0.8em 0.3em;
		color: #888;
		font-size: 0.8em;
		font-weight: 500;
		letter-spacing: 0.02em;
		text-transform: uppercase;
	}

	.imrp-notification-item {
		display: flex;
		align-items: flex-start;
		padding: 0.5em 0.8em;
		border-bottom: 1px solid rgba(255, 255, 255, 0.05);
		gap: 0.6em;
		transition: background 0.15s;
	}

	.imrp-notification-item:last-child {
		border-bottom: none;
	}

	.imrp-notification-item:hover {
		background: rgba(255, 255, 255, 0.02);
	}

	.imrp-notification-content {
		flex: 1;
		min-width: 0;
	}

	.imrp-notification-text {
		color: #888;
		font-size: 0.75em;
		line-height: 1.25;
		margin-bottom: 0.25em;
	}

	.imrp-notification-button {
		background: #064780;
		color: white;
		border: none;
		padding: 3px 6px;
		border-radius: 3px;
		font-size: 0.7em;
		cursor: pointer;
		transition: background 0.15s;
	}

	.imrp-notification-button:hover {
		background: #0856a0;
	}

	.imrp-notification-dismiss {
		color: #666;
		background: none;
		border: none;
		font-size: 1.2em;
		cursor: pointer;
		padding: 0;
		width: 20px;
		height: 20px;
		display: flex;
		align-items: center;
		justify-content: center;
		transition: color 0.15s;
	}

	.imrp-notification-dismiss:hover {
		color: #888;
	}

	/* Links Section */
	.imrp-dropdown-links {
		padding: 0;
	}

	.imrp-dropdown-link {
		display: block;
		padding: 0.4em 0.8em;
		color: #e0e0e0;
		text-decoration: none;
		font-size: 0.85em;
		font-weight: 500;
		transition: background 0.15s;
	}

	.imrp-dropdown-link:hover {
		background: rgba(255, 255, 255, 0.05);
		color: #fff;
	}

	.imrp-dropdown-logout {
		color: #888;
		font-size: 0.8em;
		border-top: 1px solid #333;
	}

	.imrp-dropdown-logout:hover {
		color: #e74c3c;
		background: rgba(231, 76, 60, 0.05);
	}

	/* Admin Panel Link */
	.imrp-dropdown-admin {
		/* color: #064780; */
		font-weight: 600;
	}

	.imrp-dropdown-admin:hover {
		background: rgba(255, 255, 255, 0.05);
		/* color: #0856a0; */
	}

	/* Light mode */
	body.lightmode .imrp-profile-dropdown-menu {
		background: #fff;
		border: 1px solid #e0e0e0;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	}

	body.lightmode .imrp-dropdown-notifications {
		border-bottom: 1px solid #e0e0e0;
	}

	body.lightmode .imrp-dropdown-notifications-header {
		color: #666;
	}

	body.lightmode .imrp-notification-item {
		border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	}

	body.lightmode .imrp-notification-item:hover {
		background: rgba(0, 0, 0, 0.02);
	}

	body.lightmode .imrp-notification-text {
		color: #232323;
	}

	body.lightmode .imrp-notification-dismiss {
		color: #999;
	}

	body.lightmode .imrp-notification-dismiss:hover {
		color: #666;
	}

	body.lightmode .imrp-dropdown-link {
		color: #232323;
	}

	body.lightmode .imrp-dropdown-link:hover {
		background: rgba(0, 0, 0, 0.05);
		color: #000;
	}

	body.lightmode .imrp-dropdown-logout {
		color: #666;
		border-top: 1px solid #e0e0e0;
	}

	body.lightmode .imrp-dropdown-admin {
		color: #064780;
	}

	body.lightmode .imrp-dropdown-admin:hover {
		background: rgba(0, 0, 0, 0.05);
		color: #0856a0;
	}

	@media(max-width: 768px) {
		.desktop-header {
			display: none !important;
		}
		.imrp-mobile-header {
			display: block !important;
		}
		.imrp-mobile-header-inner {
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 0.5em 1em;
			background: var(--color-bg, #181818);
		}
		.imrp-mobile-logo {
			height: 20px;
			width: auto;
		}
		.imrp-mobile-logo img {
			height: 100%;
			width: auto;
		}
		.imrp-mobile-hamburger {
			width: 32px;
			height: 32px;
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;
			cursor: pointer;
			gap: 5px;
		}
		.imrp-mobile-hamburger span {
			display: block;
			width: 28px;
			height: 3px;
			background: var(--color-fg, #fff);
			border-radius: 2px;
			transition: all 0.2s;
		}
		.lightmode .imrp-mobile-hamburger span {
			background: #222;
		}
		.imrp-mobile-nav {
			display: none;
			position: absolute;
			top: 48px;
			left: 0;
			width: 100vw;
			background: var(--color-bg, #181818);
			box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
			z-index: 1000;
			padding: 0.5em 0;
			font-size: 0.8em;
			font-weight: 600;
			box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
		}
		.imrp-mobile-nav.open {
			display: block;
		}
		.imrp-mobile-link {
			display: flex;
			align-items: center;
			padding: 1em 1.5em;
			font-size: 1.1em;
			color: var(--color-fg, #fff);
			text-decoration: none;
			border-bottom: 1px solid rgba(255, 255, 255, 0.07);
			gap: 0.7em;
		}
		.imrp-mobile-link:last-child {
			border-bottom: none;
		}
		body.lightmode .imrp-mobile-header-inner,
		body.lightmode .imrp-mobile-nav {
			background: #fff;
		}
		body.lightmode .imrp-mobile-link {
			color: #222;
			border-bottom: 1px solid #eee;
		}
		body.imrp-mobile-nav-open {
			overflow: hidden;
		}

		/* Mobile profile dropdown */
		.imrp-mobile-profile-dropdown {
			position: relative;
		}

		.imrp-mobile-dropdown-menu {
			display: none;
			background: var(--color-bg, #181818);
			border-top: 1px solid rgba(255, 255, 255, 0.07);
			padding: 0.5em 0;
			background: #111;
			font-size: 0.85em;
		}

		.imrp-mobile-dropdown-menu.open {
			display: block;
		}

		.imrp-mobile-dropdown-section {
			border-bottom: 1px solid rgba(255, 255, 255, 0.07);
			margin-bottom: 0.5em;
			padding-bottom: 0.5em;
		}

		.imrp-mobile-dropdown-section:last-child {
			border-bottom: none;
			margin-bottom: 0;
			padding-bottom: 0;
		}

		.imrp-mobile-dropdown-header {
			padding: 0.5em 1.5em;
			color: #888;
			font-size: 0.8em;
			font-weight: 500;
			letter-spacing: 0.02em;
			text-transform: uppercase;
		}

		.imrp-mobile-notification {
			padding: 0.8em 1.5em;
			border-bottom: 1px solid rgba(255, 255, 255, 0.03);
			font-size: 1.2em;
		}

		.imrp-mobile-notification:last-child {
			border-bottom: none;
		}

		.imrp-mobile-notification-text {
			color: #e0e0e0;
			font-size: 0.8em;
			line-height: 1.3;
			margin-bottom: 0.5em;
		}

		.imrp-mobile-notification-actions {
			display: flex;
			gap: 0.5em;
		}

		.imrp-mobile-notification-button {
			background: #064780;
			color: white;
			border: none;
			padding: 6px 12px;
			border-radius: 3px;
			font-size: 0.8em;
			cursor: pointer;
		}

		.imrp-mobile-notification-dismiss {
			background: #333;
			color: #888;
			border: none;
			padding: 6px 12px;
			border-radius: 3px;
			font-size: 0.8em;
			cursor: pointer;
		}

		body.lightmode .imrp-mobile-dropdown-menu {
			background: #fff;
		}

		body.lightmode .imrp-mobile-dropdown-section {
			border-bottom: 1px solid #eee;
		}

		body.lightmode .imrp-mobile-dropdown-header {
			color: #666;
		}

		body.lightmode .imrp-mobile-notification {
			border-bottom: 1px solid rgba(0, 0, 0, 0.03);
		}

		body.lightmode .imrp-mobile-notification-text {
			color: #232323;
		}

		body.lightmode .imrp-mobile-notification-dismiss {
			background: #f0f0f0;
			color: #666;
		}
	}

	a.topnav-link {
		display: flex;
		align-items: center;
		color: white;
		text-decoration: none;
		font-weight: 700;
		font-size: 1em;
		margin: 25px 0;
		text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
		white-space: nowrap
	}

	a.topnav-button {
		background: rgba(255, 255, 255, 0.2);
		border: 1px solid rgba(255, 255, 255, 0.2);
		padding: 6px 12px;
		border-radius: 3px;
		color: white;
		transition: all 0.2s;
		color: white;
	}

	a.topnav-link svg {
		margin-right: 8px
	}

	a.topnav-link:not(:last-child) {
		margin-right: 35px
	}

	a.topnav-link:hover,
	a.active.topnav-link {
		color: var(--blue)
	}

	/* Dropdown overlay */
	.imrp-dropdown-overlay {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(0, 0, 0, 0.3);
		backdrop-filter: blur(2px);
		z-index: 999;
		opacity: 0;
		visibility: hidden;
		transition: all 0.15s ease;
		pointer-events: none;
	}

	.imrp-dropdown-overlay.active {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	a.topnav-button:hover,
	a.topnav-button:focus {
		background: rgba(255, 255, 255, 0.2);
		border: 1px solid rgba(255, 255, 255, 0.2);
		color: white;
	}
