/* aljubaer.com v8.20 — PDF thumbnails and the in-page PDF reader (pdf-kit.js) */
[data-pdfthumb]{position:relative;overflow:hidden}
.pdfk-th{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top;background:#fff;animation:pdfkIn .4s ease both}
@keyframes pdfkIn{from{opacity:0}to{opacity:1}}
.pdfk-tag{position:absolute;z-index:2;top:8px;left:8px;display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:6px;background:#dc2626;color:#fff;font:700 10.5px/1.2 system-ui,sans-serif;letter-spacing:.04em;box-shadow:0 2px 6px rgba(0,0,0,.25)}
.pdfk-r{border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;background:#f3f4f6;display:flex;flex-direction:column}
.pdfk-r:fullscreen{border-radius:0}
.pdfk-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 10px;background:#fff;border-bottom:1px solid #e5e7eb;font-size:13px;font-family:inherit}
.pdfk-bar button,.pdfk-bar a{height:32px;min-width:32px;padding:0 10px;border:1px solid #d1d5db;border-radius:7px;background:#fff;color:#111827;font-weight:600;font-size:13px;font-family:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.pdfk-bar button:hover,.pdfk-bar a:hover{border-color:#2563eb;color:#2563eb}
.pdfk-pg{display:inline-flex;align-items:center;gap:5px;color:#4b5563}.pdfk-pg input{width:52px;height:32px;border:1px solid #d1d5db;border-radius:7px;text-align:center;font:inherit}
.pdfk-z{min-width:44px;text-align:center;color:#4b5563;font-variant-numeric:tabular-nums}.pdfk-sp{flex:1}
.pdfk-pages{height:78vh;min-height:480px;overflow:auto;padding:16px;display:flex;flex-direction:column;align-items:center;gap:14px;scroll-behavior:smooth}
.pdfk-r:fullscreen .pdfk-pages{height:calc(100vh - 50px)}
.pdfk-p{position:relative;max-width:none;background:#fff;box-shadow:0 2px 10px rgba(16,24,40,.15);flex:none}
.pdfk-p canvas{display:block}
.pdfk-p i{position:absolute;right:8px;bottom:6px;font:600 11px/1 system-ui,sans-serif;color:#6b7280;font-style:normal;background:rgba(255,255,255,.85);padding:2px 6px;border-radius:4px}
.pdfk-load{margin:auto;display:grid;justify-items:center;gap:10px;color:#6b7280;font-size:14px}
.pdfk-load span{width:28px;height:28px;border-radius:50%;border:3px solid #dbeafe;border-top-color:#2563eb;animation:pdfkSp 1s linear infinite}
@keyframes pdfkSp{to{transform:rotate(360deg)}}
.pdfk-fr{width:100%;height:100%;border:0;background:#fff;flex:1}
.pdfk-err{margin:auto;padding:24px;text-align:center;color:#4b5563}.pdfk-err a{color:#2563eb;font-weight:600}
@media (max-width:640px){.pdfk-pages{height:70vh;padding:10px}.pdfk-bar .pdfk-z,.pdfk-bar [data-a=fit]{display:none}}
