/* The site's one PDF reader.
   Kept in this file (it was written into every page): the browser fetches it once and keeps it, and the
   pages are that much lighter. Loaded by resources/views/web/partials/pdf-reader.blade.php. */
.evx-pdfr { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 12px; background: rgba(60, 20, 28, .45); }
.evx-pdfr.is-open { display: flex; }
.evx-pdfr-box { width: min(1000px, 100%); max-height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 18px 50px rgba(15, 23, 42, .28); }
.evx-pdfr-head { display: flex; align-items: center; gap: 8px; padding: 0 0 10px 2px; }
.evx-pdfr-title { flex: 1 1 auto; min-width: 0; text-align: left; font-size: 16px; font-weight: 600; line-height: 34px; color: #a50e25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evx-pdfr-pages { flex: none; font-size: 12.5px; color: #6b7280; white-space: nowrap; margin-right: 4px; }
.evx-pdfr-btn { flex: none; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid #e5e7eb; background: #fff; color: #a50e25; font-size: 14px; cursor: pointer; padding: 0; text-decoration: none; }
.evx-pdfr-btn:hover, .evx-pdfr-btn:focus { background: #fff0f2; border-color: #ffd5db; color: #a50e25; }
.evx-pdfr-btn.is-red { border-color: #ffd5db; background: #fff0f2; color: #d2122f; }
.evx-pdfr-btn.is-red:hover, .evx-pdfr-btn.is-red:focus { background: #fd1d3d; border-color: #fd1d3d; color: #fff; }
.evx-pdfr-close { font-size: 24px; line-height: 1; }
.evx-pdfr-view { flex: 1 1 auto; height: min(80vh, 900px); overflow: auto; border: 1px solid #e5e7eb; border-radius: 8px; background: #f3f4f6; padding: 8px; text-align: center; -webkit-overflow-scrolling: touch; }
.evx-pdfr-view iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.evx-pdfr-page { margin: 0 auto 10px; background: #fff; box-shadow: 0 1px 4px rgba(15, 23, 42, .12); line-height: 0; }
.evx-pdfr-page:last-child { margin-bottom: 0; }
.evx-pdfr-page canvas { display: block; max-width: none; }
.evx-pdfr-img { max-width: 100%; height: auto; background: #fff; }
.evx-pdfr-wait { padding: 60px 10px; font-size: 14px; color: #6b7280; line-height: 1.4; }
body.evx-pdfr-on { overflow: hidden; }
@media (max-width: 575.98px) { .evx-pdfr { padding: 6px; } .evx-pdfr-box { padding: 8px; } .evx-pdfr-pages, .evx-pdfr-btn[data-zoom="0"] { display: none; } .evx-pdfr-title { font-size: 14px; } }
