/* PDF görüntüleyici (App\Support\PdfGoruntuleyici, assets/js/pdf-goruntuleyici.js) */
.hb-pdf { --hb-pdf-yukseklik: 800px; box-sizing: border-box; display: flex; flex-direction: column; width: 100%; max-width: 100%; border: 1px solid rgba(0, 0, 0, .12); border-radius: 6px; overflow: hidden; background: #e9e9ec; }
.hb-pdf-cubuk { display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: #fff; border-bottom: 1px solid rgba(0, 0, 0, .1); font-size: 13px; line-height: 1.3; }
.hb-pdf-ad { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.hb-pdf-no { color: rgba(0, 0, 0, .6); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hb-pdf-cubuk a { display: inline-flex; align-items: center; gap: 4px; color: inherit; text-decoration: none; white-space: nowrap; padding: 4px 2px; }
.hb-pdf-cubuk a:hover, .hb-pdf-cubuk a:focus-visible { text-decoration: underline; }
.hb-pdf-cubuk svg { width: 16px; height: 16px; flex: none; }
.hb-pdf-sayfalar { box-sizing: border-box; height: var(--hb-pdf-yukseklik); overflow: auto; overscroll-behavior: contain; padding: 12px; display: flex; flex-direction: column; gap: 12px; -webkit-overflow-scrolling: touch; }
.hb-pdf-sayfalar:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
.hb-pdf-sayfa { width: 100%; flex: none; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .18); aspect-ratio: 1 / 1.414; }
.hb-pdf-sayfa canvas { display: block; width: 100%; height: 100%; }
.hb-pdf-bilgi { margin: auto; padding: 24px 12px; text-align: center; font-size: 14px; color: rgba(0, 0, 0, .7); }
.hb-pdf-bilgi a { color: inherit; text-decoration: underline; }
.hb-pdf:fullscreen { border: 0; border-radius: 0; }
.hb-pdf:fullscreen .hb-pdf-sayfalar { height: auto; flex: 1 1 auto; }
@media (max-width: 767px) {
    .hb-pdf-sayfalar { height: min(var(--hb-pdf-yukseklik), 75vh); padding: 8px; gap: 8px; }
    .hb-pdf-tam span, .hb-pdf-indir span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
