/* Truelimbs ERP v5.7 — existing-shipment item picker */
.tl57-add-modal{position:fixed;inset:0;z-index:10140;display:none;align-items:center;justify-content:center;padding:20px;background:#05141fc2;backdrop-filter:blur(2px)}
.tl57-add-modal.on{display:flex}
.tl57-add-dialog{width:min(1120px,97vw);max-height:94vh;overflow:auto;border-radius:14px;background:#fff;color:#17212b;font-family:Arial,sans-serif;box-shadow:0 28px 90px #0006}
.tl57-add-dialog header{display:flex;justify-content:space-between;gap:18px;padding:20px 24px;background:#0b2f4a;color:#fff}
.tl57-add-dialog header small{font-size:10px;letter-spacing:.1em;color:#b4d7e1}
.tl57-add-dialog h2{margin:6px 0;font-size:23px}
.tl57-add-dialog header p{margin:0;font-size:12px;color:#c9dce4}
.tl57-add-dialog header>button{align-self:flex-start;background:transparent;border:1px solid #ffffff50;color:#fff;border-radius:7px;width:34px;height:34px;font-size:25px;cursor:pointer}
.tl57-add-content{padding:18px 24px}
.tl57-add-info,.tl57-add-warning{padding:12px 14px;margin:0 0 13px;border:1px solid #c5dfe8;border-radius:8px;background:#f1f9fc;font-size:12px;line-height:1.5}
.tl57-add-warning{background:#fffbeb;border-color:#ebd79e;color:#735a13}
#tl57AddSearch{width:100%;padding:10px 12px;margin-bottom:12px;border:1px solid #cbd8e3;border-radius:7px;font:13px Arial}
.tl57-add-table{overflow:auto;max-height:45vh}
.tl57-add-table table{width:100%;border-collapse:collapse;font-size:12px}
.tl57-add-table th{position:sticky;top:0;padding:10px;background:#0b2f4a;color:#fff;text-align:left;white-space:nowrap}
.tl57-add-table td{padding:11px 9px;border-bottom:1px solid #dce6ed;vertical-align:top;background:#fff}
.tl57-add-table tr:nth-child(even) td{background:#f8fbfd}
.tl57-add-table td span,.tl57-add-table td small{display:block;margin-top:4px}
.tl57-add-table td small{color:#667085;font-size:10px}
.tl57-add-table td:nth-child(2){min-width:230px;max-width:390px}
.tl57-add-table input[type=number]{width:100px;padding:8px;border:1px solid #cbd8e3;border-radius:6px;font-size:12px}
.tl57-add-table input[readonly]{background:#eef3f7;color:#5c6d7a}
.tl57-add-table input[type=checkbox]{width:17px;height:17px;accent-color:#2b88a3}
.tl57-add-table .tl57-add-empty{text-align:center;padding:25px;color:#667085;line-height:1.6}
.tl57-add-note{display:grid;gap:7px;margin-top:14px;font-size:12px;font-weight:700;color:#52616e}
.tl57-add-note textarea{min-height:64px;padding:10px;border:1px solid #cbd8e3;border-radius:7px;font:12px Arial}
.tl57-add-dialog footer{position:sticky;bottom:0;display:flex;align-items:center;gap:9px;padding:15px 24px;border-top:1px solid #dce6ed;background:#f7fafc}
#tl57AddSummary{flex:1;color:#52616e;font-size:12px}
#tl57AddError{margin-top:12px;padding:12px;border:1px solid #efb3b0;border-radius:7px;background:#fff3f2;color:#a42521;font-size:12px;line-height:1.5}
.tl57-add-button:disabled{opacity:.5;cursor:not-allowed}
.tl57-add-record-note{padding:12px 22px;background:#fffbeb;border-bottom:1px solid #e8d798;color:#735a13;font-size:12px;line-height:1.5}
@media(max-width:650px){.tl57-add-modal{padding:6px}.tl57-add-content,.tl57-add-dialog header{padding:14px}.tl57-add-dialog footer{padding:12px;flex-wrap:wrap}#tl57AddSummary{flex-basis:100%}.tl57-add-dialog footer button{flex:1}.tl57-add-dialog h2{font-size:20px}}
