/*
 * Frontend theme overrides (loads last in _header.blade.php, after frontend_style.css).
 * Keep brand-sync overrides here rather than editing the minified frontend_style.css blob.
 */

/*
 * Student dashboard: main content background must track the theme --bg_color.
 * !important is required to defeat the #eff4f8!important rule (and its
 * pink->teal ghost gradient) on the same selector in frontend_style.css.
 * custom.css loads last, so equal specificity + !important wins.
 */
.dashboard_main_wrapper .dashboard_part {
    background: var(--bg_color) !important;
}

/*
 * Cart slide-in overlay: must render ABOVE the dashboard navbar (.header_iner
 * z-index:99) and sidebar (z-index:999). Source rules in frontend_style.css set
 * z-index:3 (panel) / 2 (overlay), which lose to the chrome in the root stacking
 * context. These full-path selectors match the source specificity (0,2,0);
 * custom.css loads last, so the tie breaks in favor of the override. Kept below
 * Bootstrap modals (z-index ~1055) so a modal can still overlay the cart if needed.
 */
.shoping_wrapper .shoping_cart {
    z-index: 1001;
}

.shoping_wrapper .dark_overlay {
    z-index: 1000;
}
