#toplevel_page_bookwell > ul.wp-submenu,
.toplevel_page_bookwell > ul.wp-submenu {
    background-color: #0f1d40 !important;
}

#toplevel_page_bookwell .wp-submenu a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c3c4c7;
}

#toplevel_page_bookwell .wp-submenu li.current a,
#toplevel_page_bookwell .wp-submenu a:hover,
#toplevel_page_bookwell .wp-submenu a:focus {
    color: #fff;
}

#toplevel_page_bookwell .wp-submenu a::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.85;
}

/* Slightly larger icons where artwork has more inset padding */
#toplevel_page_bookwell .wp-submenu a[href*="page=bookwell-service-extras"]::before,
#toplevel_page_bookwell .wp-submenu a[href*="page=bookwell-extra-rules"]::before,
#toplevel_page_bookwell .wp-submenu a[href*="page=bookwell-addons"]::before,
#toplevel_page_bookwell .wp-submenu a[href*="page=bookwell-shortcode-generator"]::before,
#toplevel_page_bookwell .wp-submenu a:has(.fs-submenu-item.account)::before,
#toplevel_page_bookwell .wp-submenu a[href*="page=bookwell-account"]::before,
#toplevel_page_bookwell .wp-submenu a:has(.fs-submenu-item.pricing)::before,
#toplevel_page_bookwell .wp-submenu a[href*="page=bookwell-pricing"]::before,
#toplevel_page_bookwell .wp-submenu a.bookwellab-admin-menu-support::before,
#toplevel_page_bookwell .wp-submenu a[href*="page=bookwell-pro-support"]::before {
    width: 20px;
    height: 20px;
    min-width: 20px;
    background-size: 20px 20px;
}

#toplevel_page_bookwell .wp-submenu li.current a::before,
#toplevel_page_bookwell .wp-submenu a:hover::before {
    opacity: 1;
}

#toplevel_page_bookwell .wp-submenu a.wp-first-item[href*="page=bookwell"]::before {
    background-image: url("../images/admin-menu/dashboard.svg");
}

#toplevel_page_bookwell .wp-submenu a[href*="page=bookwell-calendar"]::before {
    background-image: url("../images/admin-menu/calendar.svg");
}

#toplevel_page_bookwell .wp-submenu a[href*="page=bookwell-appointments"]::before {
    background-image: url("../images/admin-menu/appointments.svg");
}

#toplevel_page_bookwell .wp-submenu a[href*="page=bookwell-customers"]::before {
    background-image: url("../images/admin-menu/customers.svg");
}

#toplevel_page_bookwell .wp-submenu a[href*="page=bookwell-services"]::before {
    background-image: url("../images/admin-menu/services.svg");
}

#toplevel_page_bookwell .wp-submenu a[href*="page=bookwell-service-extras"]::before,
#toplevel_page_bookwell .wp-submenu a[href*="page=bookwell-extra-rules"]::before {
    background-image: url("../images/admin-menu/extras.svg");
}

#toplevel_page_bookwell .wp-submenu a[href*="page=bookwell-staff"]::before {
    background-image: url("../images/admin-menu/staff.svg");
}

#toplevel_page_bookwell .wp-submenu a[href*="page=bookwell-notifications"]::before {
    background-image: url("../images/admin-menu/notifications.svg");
}

#toplevel_page_bookwell .wp-submenu a[href*="page=bookwell-form-fields"]::before {
    background-image: url("../images/admin-menu/form-fields.svg");
}

#toplevel_page_bookwell .wp-submenu a[href*="page=bookwell-settings"]::before {
    background-image: url("../images/admin-menu/settings.svg");
}

#toplevel_page_bookwell .wp-submenu a[href*="page=bookwell-addons"]::before {
    background-image: url("../images/admin-menu/addons.svg");
}

#toplevel_page_bookwell .wp-submenu a[href*="page=bookwell-shortcode-generator"]::before {
    background-image: url("../images/admin-menu/shortcode.svg");
}

/* Pro / Freemius submenu items */
#toplevel_page_bookwell .wp-submenu a:has(.fs-submenu-item.account)::before,
#toplevel_page_bookwell .wp-submenu a[href*="page=bookwell-account"]::before {
    background-image: url("../images/admin-menu/account.svg");
}

#toplevel_page_bookwell .wp-submenu a:has(.fs-submenu-item.pricing)::before,
#toplevel_page_bookwell .wp-submenu a[href*="page=bookwell-pricing"]::before {
    background-image: url("../images/admin-menu/pricing.svg");
}

#toplevel_page_bookwell .wp-submenu a.bookwellab-admin-menu-support::before,
#toplevel_page_bookwell .wp-submenu a[href*="page=bookwell-pro-support"]::before {
    background-image: url("../images/admin-menu/support.svg");
}
