/* Hululkitab Custom Styles for PDF.js v5 */
/* Blue theme #1160a5 - matching website branding */

#editorHighlight,
  #editorFreeText,
  #editorInk,
  #editorStamp,
  #editorModeSeparator,
  #secondaryToolbarToggle {
      display: none !important;
  }

/* Hide only specified elements */
#sidebarToggle, #sidebarToggleButton,
#viewFind, #viewFindButton,
#print, #printButton,
#download, #downloadButton,
#secondaryPrint, #secondaryDownload,
#sidebarContainer {
    display: none !important;
}

/* Blue toolbar - matching website brand color #1160a5 */
#toolbarContainer {
    background: #1160a5 !important;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

/* Page number styling */
#pageNumber {
    background: white !important;
    color: black !important;
    border-radius: 5px;
}

#numPages, #pageNumberLabel {
    color: white !important;
}

/* Dropdown styling */
.dropdownToolbarButton {
    background-color: #efefef !important;
    border-radius: 5px !important;
}

/* Loading bar - blue to match theme */
#loadingBar .progress {
    background-color: #1160a5 !important;
}

#mainContainer {
    min-width: 100px;
}

/* Fullscreen button - remove ::before pseudo-element */
#fullscreen {
    cursor: pointer;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#fullscreen::before {
    display: none !important;
    content: none !important;
}

#fullscreen img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* Toolbar buttons - white icons on blue background */
.toolbarButton::before {
    filter: brightness(0) invert(1) !important;
}

/* Logo container - remove ::before */
#logoContainer {
    display: flex;
    align-items: center;
    background-color: #fff !important;
    border-radius: 4px;
    padding: 2px 5px;
    margin-left: 5px;
}

#logoContainer::before {
    display: none !important;
    content: none !important;
}

#logoContainer img {
    height: 25px;
    width: 40px;
}

/* Disable loading spinner on page scroll */
.pdfViewer .page.loadingIcon::after,
.pdfViewer .page.loading::after {
    display: none !important;
    background: none !important;
}
