/* ==========================================================================
   Hybrid Mail — feature styles (source: sass/main.scss)
   Theme / Bootstrap overrides live in site.css.
   ========================================================================== */

/* ---------- Job status row tints (Jobs list, Production) ----------
   Bootstrap 5 paints table cells via --bs-table-bg, so the tint is set
   through that variable rather than a background on the <tr>. */
.col_2   { --bs-table-bg: #e7f6ec; } /* Completed / packs entered */
.col_3   { --bs-table-bg: #f2f4f7; } /* Cancelled */
.col_3_0 { --bs-table-bg: #e8f1fb; } /* Cancelled – no tariff */
.col_4   { --bs-table-bg: #fdecea; } /* Rejected / error */
.col_5   { --bs-table-bg: #fff4e5; } /* Awaiting approval */

.grey { background-color: grey; }

/* ---------- Upload: hidden helper ---------- */
.is-hidden { display: none !important; }

/* ---------- Upload: PDF preview ---------- */
.fileuploadarea { font-size: .875rem; }

.document {
    width: 670px;
    max-width: 100%;
    text-align: left;
    font-size: 14px;
}

.pdfGrid {
    height: 800px;
    max-width: 800px;
    min-width: 800px;
}

.pdfobject-container {
    width: 100%;
    max-width: 800px;
    height: 740px;
    margin: 2em 0;
}

.pdfobject {
    border: solid 5px #475467;
    border-radius: 4px;
}

#pdfobjid {
    overflow: auto;
    width: 100%;
    height: 100%;
}

/* The envelope address window guide is drawn into a preview copy of the PDF
   server-side (Services/Pdf/AddressWindowPreview.cs, configured under
   "AddressWindow" in appsettings.json), so it zooms and scrolls with the page. */
