/* Shared customer attachment thumbnails: production, search and packing lists. */
.production-customer-attachments{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px;margin:10px 0 12px;max-width:100%;font-size:12px}
.production-customer-attachment-card{display:flex!important;align-items:center;gap:10px;flex:0 1 300px;min-width:0;max-width:100%;padding:8px;border:1px solid #ccdceb;border-radius:8px;background:#f7fbff;color:#294e73!important;text-decoration:none!important;line-height:1.4;box-sizing:border-box}
.production-customer-attachment-card:hover{background:#edf6ff;border-color:#91b4d3}
.production-customer-attachment-card:focus-visible{outline:3px solid #8ab9e3;outline-offset:2px}
.production-customer-attachment-card img{display:block;width:88px;height:88px;max-width:100%;flex:0 0 88px;object-fit:contain;background:#fff;border:1px solid #e0e7ef;border-radius:5px}
.production-customer-attachment-card img[hidden],.production-attachment-fallback[hidden]{display:none!important}
.production-attachment-caption{display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere}
.production-attachment-caption strong{font-size:12px;color:#294e73}
.production-attachment-caption>span{font-size:11px;color:#526b83;overflow-wrap:anywhere}
.production-attachment-caption>.production-attachment-source{font-size:10px;line-height:1.4;color:#356783;background:#e6f0f8;border-radius:4px;padding:2px 5px;width:fit-content}
.production-attachment-fallback,.production-attachment-file-icon{display:flex;align-items:center;justify-content:center;flex:0 0 88px;width:88px;min-height:72px;text-align:center;border-radius:5px;background:#e9f1f8;color:#365f83;font-size:11px}
.production-attachment-file-icon i{font-size:30px}
.production-order-attachment-action{display:flex!important;align-items:center;justify-content:center;gap:6px;width:100%;min-width:0;box-sizing:border-box;white-space:normal!important;line-height:1.4!important;padding:7px 8px!important;border:1px solid #cadced!important;border-radius:6px;background:#edf6ff!important;color:#285e8a!important;font-size:11px!important;font-weight:600!important;text-align:center;overflow-wrap:anywhere}
.production-primary-actions>.production-order-attachment-action{grid-column:1 / -1!important}
.production-order-attachment-action:hover{background:#dfeeff!important;border-color:#93b7d6!important}
.production-attachment-warning{display:flex;flex-direction:column;gap:3px;max-width:100%;margin:9px 0;padding:9px 11px;border:1px solid #e4cc96;border-left:3px solid #ba8a29;border-radius:6px;background:#fff6df;color:#74541c;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:600px){.production-customer-attachment-card{flex-basis:100%;width:100%}.production-customer-attachment-card img{width:76px;height:76px;flex-basis:76px}.production-attachment-fallback,.production-attachment-file-icon{width:76px;flex-basis:76px}.production-customer-attachments{gap:8px}.production-order-attachment-action{min-height:40px;font-size:12px!important}}

/* The same print-data action is also used by classic packing lists. */
.mooder-print-data-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#eef2ff;color:#4338ca;border:1px solid #c7d2fe;border-radius:6px;padding:6px 10px;font-weight:600;white-space:normal;line-height:1.4}
.mooder-print-data-button:hover,.mooder-print-data-button:focus{background:#e0e7ff;color:#3730a3;border-color:#a5b4fc}
