/**
 * Mobile bottom-bar icon color for Certificates - the requested "purple"
 * accent. The attribute selector deliberately beats vendor's own
 * .lmsc-dash__mobile-tab--active/:hover/:active rules, which all use
 * !important themselves at a single-class specificity - among competing
 * !important rules the higher-specificity one wins regardless of source
 * order, so this applies consistently whether or not Certificates
 * happens to be the currently-active tab. Scoped to the mobile bar only,
 * per the original request's own wording - ask if the sidebar's own
 * Certificates icon should match too.
 */
.lmsc-dash__mobile-tab[data-tab="certificates"] {
	color: #7c3aed !important;
}

/**
 * Per explicit request ("we do not need an option to change the layout
 * on the sidebar") - this plugin's whole premise is a customized Sidebar
 * layout, so the admin-only live Layout switcher (Sidebar/Topnav) no
 * longer makes sense to leave reachable; switching away from Sidebar
 * would just bypass every reorder this plugin makes.
 */
.lmsc-dash__layout-switcher {
	display: none !important;
}

/**
 * 1.2.0 (owner, 2026-10-12): the sidebar is one flat list (see nav-customize.js), so the section headings are hidden once
 * their links have moved out, and the Submissions link is not shown. (!important: the dashboard's own rules for these
 * elements set display.)
 */
.lmsc-dash__sidebar-nav .lmsc-dash__nav-section.sws-dn-empty,
.lmsc-dash__sidebar-nav .lmsc-dash__nav-item[data-tab="submissions"],
.lmsc-dash__mobile-tab[data-tab="submissions"] {
	display: none !important;
}

/**
 * 1.2.1 (owner, 2026-10-12): the sidebar's "My Certificates" text is purple. A lighter purple than the phone bar's #7c3aed on
 * purpose: the sidebar is near-black, where #7c3aed reads at a contrast of only 3.0 to 1; #a78bfa gives 6.2 to 1 (5.3 to 1 on
 * the open tab's highlight). The label only; the icon is left as it is. (!important: the dashboard sets the label colour,
 * including a blue one for the open tab.)
 */
.lmsc-dash__sidebar-nav .lmsc-dash__nav-item[data-tab="certificates"] .lmsc-dash__nav-label {
	color: #a78bfa !important;
}
