/* Hide Lock File button - only target specific lock file buttons */
a[href="/hidden/"],
a[href*="/hidden/"],
a[title="Lock File"],
a[title="Lock File (Admin Only)"],
.lock-file-sidebar,
.lock-file-header-button:not(.md-header__button--settings):not(.md-header__button--print) {
  display: none !important;
}

/* Hide the specific pink button at the bottom of pages */
.md-content__inner > a[class*="md-button"]:not(.md-header__button--settings):not(.md-header__button--print),
.md-footer-nav + a,
.md-typeset a[style*="background-color: #e91e63"] {
  display: none !important;
}

/* Make sure we preserve header buttons but prevent duplicates */
.md-header__button,
.md-header__button--settings,
.md-header__button--print {
  display: inline-block !important;
}

/* Fix duplicate buttons in header */
/* Hide duplicate buttons when there are multiple */
.md-header__button--settings:not(:first-of-type),
.md-header__button--print:not(:first-of-type),
.md-header__button--search:not(:first-of-type) {
  display: none !important;
}

/* Hide the hamburger menu button on laptop */
.md-header__button.md-icon[for="__drawer"] {
  display: none !important;
}

/* Hide any button with Lock File text */
a:has(> span:contains("Lock File")),
button:has(> span:contains("Lock File")),
a:contains("Lock File"),
button:contains("Lock File") {
  display: none !important;
} 