File: D:/web/hyperflight/apps/inxpress/prev/2025-11-04c/static/css/site.css
/* Copy your tuned CSS here; this is just a safe baseline */
body { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
.container { max-width: 1200px; margin: 16px auto; padding: 0 12px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 6px 8px; border-bottom: 1px solid #ddd; }
.table th { text-align: left; }
.table td.num, .table th.num { text-align: right; white-space: nowrap; }
.table-striped tbody tr:nth-child(odd) { background: #f8f9fa; }
.table-sm th, .table-sm td { padding: 4px 6px; }
.filter-form { margin: 8px 0 12px 0; display: flex; gap: 12px; align-items: center; }
.table-wrap { overflow-x: auto; }
.table.fixed th, .table.fixed td { white-space: nowrap; }
th, td { vertical-align: top; }
.muted { color:#6c757d; font-size:0.95rem; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.num.right { text-align: right; }
.w50{width:50px}.w60{width:60px}.w70{width:70px}.w80{width:80px}.w90{width:90px}
.w100{width:100px}.w110{width:110px}.w130{width:130px}.w160{width:160px}.w220{width:220px}
.truncate { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
tfoot td { background:#f5f7f9; font-weight:600; }
.strong { font-weight:600; }
/* Numeric alignment & tabular figures */
.text-end { font-variant-numeric: tabular-nums; }
/* Tighter table */
.table td, .table th { white-space: nowrap; }
/* Optional: sticky header for long pages */
.table-responsive thead th { position: sticky; top: 0; z-index: 2; }
.flag-img { margin-right:.35rem; vertical-align:-2px; }
.route-cc { display:inline-flex; align-items:center; gap:.25rem; }
.sep { margin: 0 .35rem; color:#6c757d; }
.cc { letter-spacing:.04em; font-variant-caps: all-small-caps; }
body { -webkit-font-smoothing: antialiased; }
.card { border-radius: 1rem; }
/* Keep charges compact and aligned */
.modal .modal-charges td { vertical-align: middle; }
.modal .modal-charges tbody tr + tr td { border-top: 1px solid rgba(0,0,0,.06); }
.text-tiny { font-size: .8rem; line-height: 1.1; }
/* scrolling region for the table */
.table-sticky-wrap {
max-height: 70vh; /* tweak to taste */
overflow: auto;
}
/* sticky header */
.table-sticky-wrap thead th {
position: sticky;
top: 0;
z-index: 2; /* above rows */
background: var(--bs-table-bg, #fff);
}
/* sticky footer */
.table-sticky-wrap tfoot th,
.table-sticky-wrap tfoot td {
position: sticky;
bottom: 0;
z-index: 1;
background: var(--bs-tertiary-bg, #f8f9fa);
box-shadow: 0 -1px 0 rgba(0,0,0,.05); /* subtle divider */
}
/* helps when first column has controls; keeps header cell above body */
.table-sticky-wrap thead th:first-child {
z-index: 3;
}
/* optional: keep header/footer text from wrapping oddly */
.table-sticky-wrap thead th,
.table-sticky-wrap tfoot th,
.table-sticky-wrap tfoot td {
white-space: nowrap;
}
/* subtle highlight band for key money columns */
.table-sticky-wrap .col-money {
background-color: rgba(255, 243, 205, 0.7); /* soft yellow (Bootstrap warning tint) */
}
/* when combined with sticky header/footer, keep it consistent */
.table-sticky-wrap thead .col-money,
.table-sticky-wrap tfoot .col-money {
background-color: rgba(255, 243, 205, 0.95);
}
/* Charge / Net / Cost band */
.table-sticky-wrap .col-money {
background-color: rgba(255, 243, 205, 0.7); /* soft yellow */
}
.table-sticky-wrap thead .col-money,
.table-sticky-wrap tfoot .col-money {
background-color: rgba(255, 243, 205, 0.95);
}
/* Cost Δ band */
.table-sticky-wrap .col-costdelta {
background-color: rgba(209, 231, 255, 0.7); /* light blue */
}
.table-sticky-wrap thead .col-costdelta,
.table-sticky-wrap tfoot .col-costdelta {
background-color: rgba(209, 231, 255, 0.95);
}
/* Calc Δ band */
.table-sticky-wrap .col-calcdelta {
background-color: rgba(212, 237, 218, 0.7); /* light green */
}
.table-sticky-wrap thead .col-calcdelta,
.table-sticky-wrap tfoot .col-calcdelta {
background-color: rgba(212, 237, 218, 0.95);
}
/* ORDER ITEMS MODAL LAYOUT */
#orderItemsModal .modal-dialog {
max-width: 1200px; /* wide, but not full-screen */
margin: 0 auto; /* horizontal centering */
display: flex;
align-items: center; /* vertical centering */
min-height: 100vh; /* center relative to viewport */
}
#orderItemsModal .order-items-modal {
background-color: #fff7e0; /* soft warm bg */
border: 2px solid #ff9800; /* orange border */
box-shadow: 0 0.75rem 2rem rgba(0,0,0,.5);
}
#orderItemsModal .modal-header {
background-color: #ff9800;
color: #fff;
}
#orderItemsModal .modal-title {
font-weight: 600;
}
/* Options text: smaller, wrap, limited width */
#orderItemsModal .options-cell {
font-size: 0.75rem; /* smaller text */
max-width: 260px; /* limit column width */
white-space: normal; /* allow wrapping */
word-wrap: break-word;
overflow-wrap: break-word;
}
/* Center the main order modal vertically & horizontally */
#orderModal .modal-dialog {
max-width: 800px; /* a bit narrower than items modal */
margin: 0 auto; /* horizontal centering */
display: flex;
align-items: center; /* vertical centering */
min-height: 100vh; /* centre within viewport */
}
/* MAIN ORDER MODAL: medium width, centred */
#orderModal .modal-dialog {
max-width: 900px; /* adjust if you want narrower/wider */
margin: 0 auto;
display: flex;
align-items: center;
min-height: 100vh;
}
/* ORDER ITEMS MODAL: wider, centred */
#orderItemsModal .modal-dialog {
max-width: 1200px; /* clearly wider than 900px */
margin: 0 auto;
display: flex;
align-items: center;
min-height: 100vh;
}
/* visual styling to make items modal stand out */
#orderItemsModal .order-items-modal {
background-color: #fff7e0; /* soft warm background */
border: 2px solid #ff9800; /* orange border */
box-shadow: 0 0.75rem 2rem rgba(0,0,0,.5);
}
#orderItemsModal .modal-header {
background-color: #ff9800;
color: #fff;
}
#orderItemsModal .modal-title {
font-weight: 600;
}
/* Options text: smaller and wrapped */
#orderItemsModal .options-cell {
font-size: 0.75rem;
max-width: 260px;
white-space: normal;
word-wrap: break-word;
overflow-wrap: break-word;
}
/* NEW: Product name – slightly wider, wrap nicely */
#orderItemsModal .product-name-cell {
max-width: 320px; /* tweak to taste: 280–360px */
white-space: normal; /* allow wrapping */
word-wrap: break-word;
overflow-wrap: break-word;
}
/* Product modal: similar prominence to order items */
#productModal .modal-dialog {
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center;
min-height: 100vh;
}
#productModal .product-modal {
background-color: #e8f4ff; /* light blue */
border: 2px solid #0d6efd;
box-shadow: 0 0.75rem 2rem rgba(0,0,0,.5);
}
#productModal .modal-header {
background-color: #0d6efd;
color: #fff;
}
#productModal .modal-title {
font-weight: 600;
}
#shipmentModal .modal-dialog {
max-width: 800px; /* tweak to taste */
margin: 0 auto;
display: flex;
align-items: center; /* vertical centering */
min-height: 100vh; /* centre in viewport */
}
/* Layout of PDF modal */
#pdfModal .modal-dialog {
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center;
min-height: 100vh;
}
#pdfModal .pdf-modal {
background-color: #f5f5f5;
border: 2px solid #6c757d;
box-shadow: 0 0.75rem 2rem rgba(0,0,0,.5);
}
#pdfModal .modal-header {
background-color: #6c757d;
color: #fff;
}
#pdfModal .modal-title {
font-weight: 600;
}
/* Zoomable frame wrapper */
.pdf-frame-container {
height: 80vh;
overflow: auto;
background-color: #fff;
}
.pdf-frame-inner {
transform-origin: top left;
}
/* Make the ref text high-contrast and readable */
#pdfModal #pdfRefWrapper {
color: #f8f9fa; /* header text colour (near white) */
font-size: 0.9rem;
}
#pdfModal #pdfRefText {
color: #ffc107; /* amber/yellow on dark grey */
font-weight: 600;
font-family: "Consolas", "Courier New", monospace;
}
/* Make "Copied" look like a small badge with good contrast */
#pdfModal #pdfRefCopied {
color: #155724; /* dark green text */
background-color: #d4edda; /* light green background */
border-radius: 0.25rem;
padding: 0 0.3rem;
}