.order-attachment-viewer .modal-dialog{width:calc(100% - 32px);max-width:1280px;margin:16px auto}
.order-attachment-viewer .modal-content{border:0;border-radius:0;box-shadow:0 12px 38px rgba(0,0,0,.18)}
.order-attachment-viewer .modal-header{display:flex;align-items:center;gap:12px;background:var(--app-shell-color,#222d32);color:#fff;padding:14px 18px}
.order-attachment-viewer .modal-title{flex:1;min-width:0;font-size:17px;overflow-wrap:anywhere}
.order-attachment-viewer .modal-header .close{color:#fff;opacity:1;margin:0}
.order-attachment-viewer .oap-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 16px;border-bottom:1px solid #e4e6ef}
.order-attachment-viewer .oap-toolbar button,.order-attachment-viewer .oap-toolbar a{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:6px 12px;border:1px solid #d7e1e9;border-radius:4px;background:#fff;color:#284758;font:inherit;text-decoration:none}
.order-attachment-viewer .oap-toolbar button:hover,.order-attachment-viewer .oap-toolbar a:hover{background:#edf5fa}
.order-attachment-viewer .oap-toolbar button:focus-visible,.order-attachment-viewer .oap-toolbar a:focus-visible{outline:2px solid #009cde;outline-offset:2px}
.order-attachment-viewer .oap-toolbar button:disabled{opacity:.4;cursor:default}
.order-attachment-viewer .oap-toolbar .oap-download{margin-left:auto}
.order-attachment-viewer .oap-position{white-space:nowrap;padding:0 4px;color:#526875}
.order-attachment-viewer .oap-body{position:relative;min-height:240px;height:calc(100dvh - 190px);max-height:900px;background:#edf1f5;overflow:auto;scrollbar-gutter:stable;padding:18px;text-align:center;overscroll-behavior:contain}
.order-attachment-viewer .oap-body canvas{display:block;margin:auto;background:#fff;box-shadow:0 2px 10px rgba(26,45,60,.12)}
.order-attachment-viewer .oap-image{display:block;max-width:100%;max-height:100%;object-fit:contain;margin:auto}
.order-attachment-viewer .oap-status{padding:40px 20px;color:#526875;line-height:1.6;font-size:15px}
.order-attachment-viewer .oap-status .fa{display:block;font-size:34px;margin-bottom:12px;color:#168bb7}
.order-attachment-viewer .oap-note{padding:8px 16px;color:#647989;background:#fff;border-top:1px solid #e4e6ef;text-align:left;font-size:12px}
[data-order-attachments] [id="descargaradjunto"]{cursor:pointer}
[data-order-attachments] [id="descargaradjunto"]:focus-visible{outline:2px solid #009cde;outline-offset:3px}
@media(max-width:600px){.order-attachment-viewer .modal-dialog{width:calc(100% - 12px);margin:6px auto}.order-attachment-viewer .modal-header{padding:12px}.order-attachment-viewer .modal-title{font-size:15px}.order-attachment-viewer .oap-toolbar{padding:8px;gap:5px}.order-attachment-viewer .oap-toolbar button,.order-attachment-viewer .oap-toolbar a{padding:6px 9px}.order-attachment-viewer .oap-body{height:calc(100dvh - 215px);padding:8px}}
