html, body { height: 100%; margin: 0; overflow: hidden; }
#pdfCanvasContainer.pdfjs-viewer { position: fixed; top: 30px; right: 0; bottom: 0; left: 0; overflow: auto; background: #252525; text-align: center; }
.pdfjs-toolbar { position: fixed; top: 30px; right: 0; left: 0; z-index: 5; height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 8px; overflow-x: auto; background: #323639; color: #fff; font: 14px Arial, sans-serif; white-space: nowrap; }
.pdfjs-toolbar-group { display: flex; align-items: center; gap: 4px; }
.pdfjs-toolbar-group:first-child::before { content: ""; display: inline-block; width: 12px; height: 12px; margin: 0 8px 2px 2px; border: 2px solid #fff; border-radius: 50%; box-sizing: border-box; }
.pdfjs-toolbar-group:first-child::after { content: ""; display: block; width: 7px; height: 2px; margin: 17px 0 0 -14px; background: #fff; transform: rotate(45deg); transform-origin: left center; }
.pdfjs-toolbar-group.center { margin: 0 auto; }
.pdfjs-toolbar button, .pdfjs-toolbar a { height: 28px; min-width: 28px; padding: 0 6px; border: 0; background: transparent; color: #fff; cursor: pointer; text-decoration: none; }
.pdfjs-toolbar button:hover, .pdfjs-toolbar a:hover { background: #4b5053; }
.pdfjs-toolbar input { width: 36px; height: 26px; border: 1px solid #666; background: #222; color: #fff; text-align: center; }
.pdfjs-toolbar select { height: 28px; min-width: 150px; border: 0; background: #454a4d; color: #fff; }
.pdfjs-page-status { min-width: 42px; }
.pdfjs-toolbar button[data-action="previous"], .pdfjs-toolbar button[data-action="next"] { min-width: 22px; padding: 0 2px; font-size: 16px; }
.pdfjs-toolbar button[data-action="zoom-out"], .pdfjs-toolbar button[data-action="zoom-in"] { min-width: 30px; padding: 0; border: 1px solid #666; background: #414547; font-size: 20px; line-height: 26px; }
.pdfjs-toolbar button[data-action="print"] { min-width: 34px; color: #fff; font-size: 20px; opacity: 1; }
.pdfjs-toolbar button[data-action="print"]:hover { background: #555b5e; }
.pdfjs-page { display: block; margin: 0 auto 18px; background: #fff; box-shadow: 0 1px 8px #111; }
.pdfjs-pages { padding: 52px 20px 20px; }
@media (max-width: 700px) { .pdfjs-toolbar { gap: 2px; padding: 0 4px; } .pdfjs-toolbar button, .pdfjs-toolbar a { padding: 0 4px; } .pdfjs-toolbar select { min-width: 110px; } .pdfjs-toolbar-group.center { margin: 0; } .pdfjs-pages { padding-right: 8px; padding-left: 8px; } }
