/* Replace the default dashicon with our custom icon */
#adminmenu #toplevel_page_path-pilot .wp-menu-image:before {
    font-family: "path-pilot-icons" !important;
    content: "\e900"; /* The code for our icon */
    font-size: 20px;
}

/* Style the upgrade link in the menu to stand out */
.path-pilot-upgrade-link {
    color: #ffffff !important;
    background-color: #e02e2e; /* Red accent color */
    padding: 3px 12px;
    border-radius: 3px;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    transition: all 0.2s ease;
}

.path-pilot-upgrade-link:hover {
    background-color: #c12323; /* Darker red on hover */
}

/* Remove default WP admin submenu background hover effect */
#adminmenu .wp-submenu a[href="<?php echo esc_attr(admin_url('admin.php?page=path-pilot-upgrade')); ?>"]:hover,
#adminmenu .wp-submenu a[href="<?php echo esc_attr(admin_url('admin.php?page=path-pilot-upgrade')); ?>"]:focus {
    background-color: transparent;
}

/* For when the item is active/current */
#adminmenu .wp-submenu a.current[href="<?php echo esc_attr(admin_url('admin.php?page=path-pilot-upgrade')); ?>"] {
    background-color: transparent;
}