/* Custom Branding and Rebranding CSS for Frappe / ERPNext */

/* 1. Hide Help Dropdown in Navbar */
li.dropdown-help,
.dropdown-help,
[data-toggle="dropdown-help"] {
    display: none !important;
}

/* 2. Hide Footers containing Frappe/ERPNext links on the Website and Login Page */
.footer-powered,
.footer-bottom-line,
.brand-line,
footer.web-footer .footer-bottom,
footer.web-footer .brand-line {
    display: none !important;
}

/* 3. Hide standard promotional and referral banners */
.frappe-cloud-banner,
.refer-earn-banner,
.sidebar-promotions,
.promo-banner {
    display: none !important;
}

/* 4. Navbar logo configuration to ensure your custom logo fits perfectly */
.navbar .navbar-brand img,
.navbar-home img.app-logo {
    max-height: 28px !important;
    width: auto !important;
    object-fit: contain;
}

/* 5. Custom styles to refine the Desk layout */
.navbar {
    background-color: var(--navbar-bg, #ffffff) !important;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
}
