/**
 * Menu Icon Styles for 3D Scan & Show Plugin
 *
 * Styles for the admin menu SVG icon
 * Override WordPress default behavior that strips SVG colors
 */

/* Menu icon container */
#adminmenu #toplevel_page_3d-scan-and-show .wp-menu-image {
	background-image: none !important;
}

/* SVG icon styling - preserve original green color */
#adminmenu #toplevel_page_3d-scan-and-show .wp-menu-image svg {
	width: 20px;
	height: 20px;
	padding: 7px 0 0 0;
	display: block;
	margin: 0 auto;
}

/* Override WordPress's fill:currentColor to keep our green */
#adminmenu #toplevel_page_3d-scan-and-show .wp-menu-image svg path {
	fill: #10b981 !important;
}

/* Keep green color on hover and active states */
#adminmenu #toplevel_page_3d-scan-and-show:hover .wp-menu-image svg path,
#adminmenu #toplevel_page_3d-scan-and-show.current .wp-menu-image svg path,
#adminmenu
	#toplevel_page_3d-scan-and-show.wp-has-current-submenu
	.wp-menu-image
	svg
	path {
	fill: #10b981 !important;
}

/* Submenu item highlighting for hash-based routing */
#adminmenu #toplevel_page_3d-scan-and-show .wp-submenu li.current a {
	color: #fff !important;
	font-weight: 600;
}

#adminmenu #toplevel_page_3d-scan-and-show .wp-submenu li a.current {
	color: #fff !important;
	font-weight: 600;
}
