/*
 * BMF Envios - estilos del plugin
 * Archivo separado para evitar que cambios de diseño afecten el PHP principal.
 * Mantiene las reglas existentes del plugin original, organizadas fuera del archivo principal.
 */

:root{--bmf-black:#111;--bmf-blue:#10208f;--bmf-red:#d60000;--bmf-green:#079b1b;--bmf-soft:#f7f7f8;--bmf-line:#e8e8ec;--bmf-text:#202020}.bmf-wrap{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--bmf-text);max-width:1180px;margin:22px auto}.bmf-alert{padding:12px 14px;background:#f0fff2;border:1px solid #9ad39a;border-radius:14px;margin-bottom:15px}.bmf-form{max-width:740px}.bmf-form label{display:block;font-size:28px;margin:12px 0}.bmf-form input,.bmf-form textarea{width:100%;border:2px solid #111;border-radius:10px;font-size:20px;padding:12px}.bmf-form textarea{height:110px}.bmf-btn{border:0;border-radius:14px;padding:11px 18px;font-weight:800;cursor:pointer;background:#111;color:#fff;box-shadow:0 8px 18px rgba(0,0,0,.12);transition:all .18s ease;line-height:1}.bmf-btn:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(0,0,0,.16)}.bmf-btn:active,.bmf-btn:focus,.bmf-btn.bmf-active{background:#fff!important;color:#111!important;outline:2px solid #111;transform:translateY(0)}.bmf-btn-silver{background:linear-gradient(#fff,#e9e9e9);color:#111;border:1px solid #cfcfcf}.bmf-btn-green{background:var(--bmf-green);color:#fff}.bmf-btn-black{background:#111;color:#fff}.bmf-btn-blue{background:var(--bmf-blue);color:#fff}.bmf-btn-red{background:var(--bmf-red);color:#fff}.bmf-control{background:#fff;border:1px solid var(--bmf-line);border-radius:24px;padding:20px;box-shadow:0 18px 50px rgba(18,18,18,.06)}.bmf-filters{display:grid;grid-template-columns:minmax(190px,1fr) 170px 170px 190px 120px auto;gap:12px;align-items:end;margin-bottom:16px}.bmf-filters label{font-weight:700;font-size:13px;color:#555}.bmf-filters input,.bmf-filters select{width:100%;font-size:15px;padding:12px 14px;border:1px solid #d7d7dc;border-radius:14px;background:#fafafa}.bmf-filters input[type=date]{font-size:18px;padding:15px 16px}.bmf-counter{background:#111;color:#fff;border-radius:14px;padding:14px 16px;font-weight:900;text-align:center}.bmf-counter span{font-size:20px}.bmf-table-scroll{overflow:auto;border-radius:18px;border:1px solid var(--bmf-line)}.bmf-bulk-actions{margin:0 0 12px;display:flex;justify-content:flex-end}.bmf-table{border-collapse:separate;border-spacing:0;width:100%;background:#fff;min-width:1060px}.bmf-table th,.bmf-table td{border-bottom:1px solid var(--bmf-line);border-right:1px solid var(--bmf-line);padding:14px 12px;text-align:center;vertical-align:middle}.bmf-table th:last-child,.bmf-table td:last-child{border-right:0}.bmf-table tr:last-child td{border-bottom:0}.bmf-table th{font-size:14px;text-transform:uppercase;letter-spacing:.04em;background:#fafafa;font-weight:900}.bmf-details{display:block;text-align:left;margin-top:10px;font-size:13px;line-height:1.5;background:#f8f8fa;border-radius:12px;padding:10px}.bmf-details-open{display:block!important}.bmf-arrow{border:0;background:transparent;color:#087bd3;font-size:20px;cursor:pointer;border-radius:0;padding:0 4px;margin-top:8px;box-shadow:none}.bmf-qr canvas{margin:auto}.bmf-qr+small{display:block;text-align:center;margin-top:6px;font-weight:700}.bmf-note{display:block;margin:8px auto 0;min-width:150px;max-width:190px;height:54px;border:1px solid #ddd;border-radius:10px;padding:8px;font-size:12px}.bmf-cost,.bmf-total{border:1px solid #ddd;border-radius:10px;padding:9px;text-align:center;-moz-appearance:textfield;max-width:105px}.bmf-cost::-webkit-outer-spin-button,.bmf-cost::-webkit-inner-spin-button,.bmf-total::-webkit-outer-spin-button,.bmf-total::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.bmf-cost-saved{font-size:11px;color:#157347;display:block;margin-top:4px}.bmf-status{padding:7px 10px;border-radius:999px;font-weight:800;font-size:12px;text-transform:uppercase}.bmf-status.pendiente{background:#fff3cd;color:#7a5b00}.bmf-status.completado{background:#d1e7dd;color:#0f5132}.bmf-thumb{width:48px;height:48px;object-fit:cover;cursor:pointer;border-radius:10px}.bmf-pages{margin:16px 0 0;display:flex;gap:12px}.bmf-pages a{background:#111;color:#fff;text-decoration:none;padding:9px 14px;border-radius:12px;font-weight:700}.bmf-driver{max-width:430px;margin:0 auto;padding:18px 15px 36px;min-height:100vh;background:#fff}.bmf-driver h3{font-size:18px;margin:0 0 18px;text-align:left;font-weight:900}.bmf-driver-actions{display:grid;grid-template-columns:1fr 1fr 48px 48px;gap:10px;align-items:center;margin:14px auto 18px;max-width:360px}.bmf-driver-actions .bmf-btn{width:100%;min-height:48px;border-radius:0;font-size:20px;font-weight:600;box-shadow:none;padding:8px 10px}.bmf-driver-actions #bmf-photo-btn{grid-column:1 / 3;max-width:none;justify-self:stretch}.bmf-driver-icon{height:48px;display:flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid #111;background:#fff;color:#111;font-size:24px;box-sizing:border-box}.bmf-call-icon{grid-column:3}.bmf-wa-icon{grid-column:4;color:#128c7e}.bmf-driver-actions .bmf-btn-silver{background:#111;color:#fff;border:1px solid #111}.bmf-driver-actions .bmf-btn-green{background:#10208f;color:#fff}.bmf-driver-actions .bmf-btn-black{background:#d60000;color:#fff}.bmf-driver-actions .bmf-btn:active,.bmf-driver-actions .bmf-btn:focus,.bmf-driver-actions .bmf-btn.bmf-active{background:#fff!important;color:#111!important;outline:2px solid #111}.bmf-driver input{font-size:16px;padding:12px 14px;border:1px solid #ddd;border-radius:14px;margin:8px 0;width:100%;box-sizing:border-box}#bmf-reader{width:100%;margin:12px auto;border-radius:18px;overflow:hidden;border:1px solid var(--bmf-line)}#bmf-current-client{margin:12px 0;font-size:15px;line-height:1.45;background:#f8f8fa;border:1px solid var(--bmf-line);border-radius:18px;padding:14px;text-align:left}#bmf-delivery-box{background:#f8f8fa;border:1px solid var(--bmf-line);border-radius:18px;padding:14px;margin:14px 0}#bmf-signature{border:1px solid #ccc;border-radius:12px;display:block;background:#fff;margin:10px 0;touch-action:none;max-width:100%;height:auto}.bmf-driver-list{display:flex;flex-direction:column;gap:12px;margin-top:14px}.bmf-driver-card{border:1px solid #111;background:#fff}.bmf-driver-row{display:grid;grid-template-columns:92px 1fr;min-height:42px;border-bottom:1px solid #111}.bmf-driver-row:last-child{border-bottom:0}.bmf-driver-label{font-weight:900;display:flex;align-items:center;justify-content:center;border-right:1px solid #111;padding:8px 6px;background:#fff}.bmf-driver-value{padding:9px 10px;display:flex;align-items:center;justify-content:flex-start;text-align:left;word-break:break-word;font-size:13px}@media(max-width:760px){.bmf-wrap{margin:0 auto}.bmf-control{border-radius:0;padding:14px;border-left:0;border-right:0}.bmf-filters{grid-template-columns:1fr}.bmf-table{min-width:980px}.bmf-table th,.bmf-table td{padding:12px 9px}.bmf-driver{max-width:100%;padding-top:22px}.bmf-driver-actions .bmf-btn{height:48px}.bmf-driver-table{width:100%}}
.bmf-control-head{display:flex;align-items:center;justify-content:center;margin-bottom:18px}.bmf-filters-range{display:flex!important;flex-wrap:nowrap;align-items:end;justify-content:center;gap:10px;width:100%;margin:0}.bmf-filters-range .bmf-search{width:260px;min-width:170px;height:34px;border-radius:17px;font-size:16px;font-weight:500;padding:6px 14px}.bmf-filters-range label{font-size:12px;font-weight:700;line-height:1.1;margin:0}.bmf-filters-range input[type=date],.bmf-filters-range select{height:34px;font-size:13px;font-weight:500;border-radius:4px;padding:3px 7px}.bmf-filter-btn{height:34px;min-width:80px;border-radius:4px;font-size:16px;font-weight:500!important;padding:5px 12px;box-shadow:none}.bmf-counter-wrap strong{display:block;font-size:12px;font-weight:700;line-height:1.1}.bmf-counter{display:grid!important;grid-template-columns:28px 28px 28px 28px;gap:0;padding:0!important;background:transparent!important;border-radius:0!important}.bmf-counter span{height:34px!important;font-size:18px!important;border:1px solid #9e9e9e!important}.bmf-counter .bmf-counter-label{background:#050505!important;color:#fff!important}.bmf-bulk-actions{display:flex!important;align-items:center;gap:12px;margin:0!important}.bmf-icon-btn{width:34px;height:34px;border:0;background:transparent;color:#111;display:flex;align-items:center;justify-content:center;font-size:28px;line-height:1;cursor:pointer;padding:0;box-shadow:none}.bmf-export-icon{border:1.8px solid #111;border-radius:4px;font-size:22px;font-weight:700}.bmf-export-icon span{transform:translateY(-1px)}.bmf-delete-icon{font-size:30px!important}.bmf-driver-icon{border:0!important;background:transparent!important}.bmf-phone-svg{width:46px;height:46px;display:block;background:#000;clip-path:path('M14 7 C12 5 9 5 7 7 L5 9 C4 10 4 12 5 14 C8 21 14 28 22 31 C24 32 26 32 28 31 L31 28 C33 26 33 23 31 21 L27 18 C25 17 23 17 21 19 L20 20 C17 18 14 15 12 12 L13 11 C15 10 15 8 14 7 Z')}.bmf-wa-svg{width:50px;height:50px;display:block;background-repeat:no-repeat;background-position:center;background-size:contain;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='none' stroke='%2359d46b' stroke-width='6' d='M32 8a24 24 0 0 1 20.8 36L55 56l-12.3-3A24 24 0 1 1 32 8z'/%3E%3Cpath fill='%2359d46b' d='M23 20c-2 0-4 3-4 5 0 10 10 20 20 20 2 0 5-2 5-4l-1-5c0-1-1-2-2-2l-5-1c-1 0-2 0-3 1l-2 2c-4-2-7-5-9-9l2-2c1-1 1-2 1-3l-1-5c0-1-1-2-2-2l-5-1z' transform='translate(1 1)'/%3E%3C/svg%3E")}

.bmf-receive-photo-wrap{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:6px}.bmf-share-photo-wa{width:34px;height:34px;border:0;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}.bmf-wa-mini{width:31px;height:31px;display:block;background-repeat:no-repeat;background-position:center;background-size:contain;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='none' stroke='%2359d46b' stroke-width='6' d='M32 8a24 24 0 0 1 20.8 36L55 56l-12.3-3A24 24 0 1 1 32 8z'/%3E%3Cpath fill='%2359d46b' d='M23 20c-2 0-4 3-4 5 0 10 10 20 20 20 2 0 5-2 5-4l-1-5c0-1-1-2-2-2l-5-1c-1 0-2 0-3 1l-2 2c-4-2-7-5-9-9l2-2c1-1 1-2 1-3l-1-5c0-1-1-2-2-2l-5-1z' transform='translate(1 1)'/%3E%3C/svg%3E")}.bmf-sign-details{margin-top:7px;text-align:center}.bmf-sign-details>summary{cursor:pointer;display:inline-list-item;list-style:revert;background:transparent;border:0;padding:0;font-weight:700;color:#111}.bmf-sign-preview{margin-top:6px;background:#fff;border:1px solid #ddd;border-radius:8px;padding:6px}.bmf-sign-preview img{max-width:130px;height:auto;display:block;margin:auto}


/* v1.16.2 visual QR/status adjustments */
.bmf-table th:nth-child(2),.bmf-table td:nth-child(2){min-width:210px;width:22%;}
.bmf-table th:nth-child(3),.bmf-table td:nth-child(3){text-align:center;min-width:74px;width:74px;}
.bmf-qr-cell{text-align:center;vertical-align:middle}.bmf-qr-details{display:inline-block;text-align:center}.bmf-qr-details>summary{list-style:revert;cursor:pointer;display:list-item;width:24px;margin:0 auto;background:transparent!important;border:0!important;padding:0;color:#111}.bmf-qr-details>summary::-webkit-details-marker{display:inline-block}.bmf-qr-details>summary:before{content:none!important}.bmf-qr-details .bmf-qr{margin-top:6px}.bmf-qr-details:not([open]) .bmf-qr{display:none}.bmf-status-head{text-align:center!important}.bmf-package-icon{display:inline-block;width:34px;height:34px;position:relative;transform:rotate(0deg);vertical-align:middle}.bmf-package-icon:before{content:"";position:absolute;left:6px;top:8px;width:22px;height:22px;background:linear-gradient(135deg,#777 0 45%,#111 45% 100%);clip-path:polygon(50% 0,100% 25%,100% 78%,50% 100%,0 78%,0 25%)}.bmf-package-icon:after{content:"";position:absolute;left:11px;top:4px;width:21px;height:8px;background:#40406f;transform:skewY(-30deg)}.bmf-status-cell{text-align:center!important;vertical-align:middle}.bmf-status-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;font-size:22px;font-weight:700;color:#000;line-height:1}.bmf-status-pending{background:#ffd58c}.bmf-status-done{background:#b6d5a3}.bmf-client-details>summary{list-style:revert;cursor:pointer;display:list-item;width:24px;background:transparent!important;border:0!important;padding:0;color:#111}.bmf-client-details>summary::-webkit-details-marker{display:inline-block}.bmf-client-details>summary:before{content:none!important}

/* v1.16.5 driver QR selector */
.bmf-driver-actions-v2{grid-template-columns:1fr 54px 48px 48px!important;}
.bmf-driver-qr-btn{height:42px;border:1px solid #111;background:#fff;color:#111;border-radius:0;font-size:18px;font-weight:600;box-shadow:none;cursor:pointer;padding:0 10px;}
@media(max-width:760px){.bmf-driver-actions-v2{grid-template-columns:1fr 50px 44px 44px!important;gap:12px!important}.bmf-driver-qr-btn{height:42px;font-size:17px}}

@media print{
@page{size:4in 3in;margin:0}
html,body{width:4in!important;height:3in!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#fff!important}
body *{visibility:hidden!important}
#bmf-print-label,#bmf-print-label *{visibility:visible!important}
#bmf-print-label{position:fixed;left:0;top:0;width:4in;height:3in;padding:.14in .16in .10in .16in;box-sizing:border-box;font-family:Arial,Helvetica,sans-serif;color:#000;background:#fff;font-size:14.5px;line-height:1.16;overflow:hidden;page-break-after:avoid;page-break-before:avoid}
#bmf-print-label .bmf-label-top{display:grid;grid-template-columns:1fr 1.05in;gap:.12in;align-items:start;margin-bottom:.055in}
#bmf-print-label .bmf-label-brand{text-align:center;padding-top:.11in}
#bmf-print-label .bmf-label-title{font-weight:900;font-size:17px;line-height:1.05;margin:0 0 .05in}
#bmf-print-label .bmf-label-site{font-size:20px;line-height:1.05;margin:0 0 .05in}
#bmf-print-label .bmf-label-store-phone{font-size:14px;line-height:1.05}
#bmf-print-label .bmf-label-qr{width:1in;height:1in;justify-self:end;overflow:hidden}
#bmf-print-label .bmf-label-qr canvas,#bmf-print-label .bmf-label-qr img{width:1in!important;height:1in!important;display:block!important}
#bmf-print-label .bmf-label-sep{height:0;border-top:4px solid #000;margin:.04in 0 .07in}
#bmf-print-label .bmf-label-info{font-size:14.5px;line-height:1.14;text-align:left;word-break:normal;overflow-wrap:break-word}
#bmf-print-label .bmf-label-info b{font-weight:900}
}

.bmf-control-head{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}.bmf-control-head .bmf-filters{display:grid;grid-template-columns:300px 145px 145px 95px 135px 110px 160px;gap:14px;align-items:end;margin-bottom:0}.bmf-control-head .bmf-search{height:56px;border-radius:14px;font-size:22px;background:#f7f7f7}.bmf-control-head label{font-weight:900;color:#111;font-size:14px}.bmf-control-head input[type=date],.bmf-control-head select{height:64px;border-radius:14px;font-size:24px;background:#f7f7f7;padding:10px 14px}.bmf-filter-btn{height:56px;font-size:24px;border-radius:12px}.bmf-counter-wrap{display:flex;flex-direction:column;gap:2px}.bmf-counter-wrap strong{font-size:14px}.bmf-counter{display:grid;grid-template-columns:40px 40px 40px 40px;gap:0;padding:0;background:transparent;color:#111;border-radius:0}.bmf-counter span{display:flex;align-items:center;justify-content:center;height:56px;border:1px solid #c9c9c9;font-size:22px;background:#fff}.bmf-counter .bmf-counter-label{background:#050505;color:#fff}.bmf-bulk-actions{display:flex;align-items:center;gap:10px;justify-content:flex-start;margin:0}.bmf-delete-icon{border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer;padding:4px 8px;box-shadow:none}.bmf-delete-icon:active{transform:scale(.95)}.bmf-client-details{margin-top:5px}.bmf-client-details>summary{list-style:revert;cursor:pointer;display:list-item;width:24px;background:transparent!important;border:0!important;padding:0;color:#111}.bmf-client-details>summary::-webkit-details-marker{display:inline-block}.bmf-client-details>summary:before{content:none!important}.bmf-print{font-size:22px;padding:4px 6px;background:#fff!important;color:#111!important;box-shadow:none;border:0;cursor:pointer}.bmf-print-client{display:inline-block;margin-bottom:4px}
@media(max-width:900px){.bmf-control-head .bmf-filters{grid-template-columns:1fr 1fr;}.bmf-control-head .bmf-search{grid-column:1/-1}.bmf-filter-btn{grid-column:auto}.bmf-counter-wrap{grid-column:auto}.bmf-control-head input[type=date],.bmf-control-head select,.bmf-control-head .bmf-search,.bmf-filter-btn{height:50px;font-size:18px}.bmf-counter span{height:50px}}

.bmf-control-head .bmf-btn,.bmf-control-head button{font-weight:500!important}.bmf-control-head .bmf-filters{grid-template-columns:320px 130px 130px 72px 120px 100px}.bmf-control-head .bmf-search{height:34px;font-size:13px}.bmf-control-head input[type=date],.bmf-control-head select{height:38px;font-size:14px;padding:6px 9px}.bmf-filter-btn{height:34px;font-size:14px;padding:6px 12px;border-radius:9px}.bmf-counter span{height:34px;font-size:14px}.bmf-counter{grid-template-columns:28px 28px 28px 28px}.bmf-delete-icon{font-size:18px;padding:2px 5px}.bmf-bulk-actions .bmf-btn{font-size:14px;padding:7px 12px;border-radius:8px}
/* Driver redesign v1.16.3 */
.bmf-driver-v2{max-width:430px;padding:18px 10px 32px!important;box-sizing:border-box}.bmf-driver-v2 .bmf-driver-userbar{display:flex;align-items:center;justify-content:space-between;border:1px solid #999;border-radius:6px;background:#f7f7f7;padding:10px 18px;margin:0 0 18px;font-size:22px}.bmf-driver-v2 .bmf-driver-userbar strong{font-weight:900}.bmf-driver-pchip{display:inline-flex;align-items:center;height:34px;border:1px solid #999}.bmf-driver-pchip span{background:#000;color:#fff;font-size:24px;line-height:34px;padding:0 8px}.bmf-driver-pchip b{background:#fff;color:#000;font-size:24px;line-height:34px;padding:0 8px}.bmf-driver-select-row{display:grid;grid-template-columns:58px 1fr;gap:12px;align-items:center;margin-bottom:22px}.bmf-driver-person-icon{position:relative;width:54px;height:58px}.bmf-driver-person-icon:before{content:"";position:absolute;top:0;left:14px;width:28px;height:28px;background:#000;border-radius:50%}.bmf-driver-person-icon:after{content:"";position:absolute;bottom:0;left:4px;width:48px;height:25px;background:#000;border-radius:24px 24px 0 0}.bmf-driver-select-row select{width:100%;height:42px;border:1px solid #999;border-radius:5px;background:#f7f7f7;color:#777;text-align:center;text-align-last:center;font-size:20px;font-weight:400;padding:4px 10px}.bmf-driver-actions-v2{display:grid;grid-template-columns:1fr 1fr 48px 48px;gap:14px;align-items:center;margin-bottom:26px}.bmf-driver-actions-v2 .bmf-btn{height:42px;border-radius:0!important;box-shadow:none!important;font-size:20px;font-weight:500!important;padding:6px 10px}.bmf-driver-actions-v2 .bmf-btn-silver{background:#111;color:#fff}.bmf-driver-actions-v2 .bmf-btn-green{background:#0b58b8;color:#fff}.bmf-driver-actions-v2 .bmf-driver-icon{width:48px;height:48px;border:0!important;background:transparent!important}.bmf-driver-v2 #bmf-current-client{border:1px solid #999;border-radius:5px;background:#f7f7f7;font-size:20px;line-height:1.35;padding:14px 18px;margin:18px 0 22px}.bmf-driver-v2 #bmf-delivery-box{border:1px solid #999;border-radius:5px;background:#f8f8f8;padding:12px 14px}.bmf-driver-v2 #bmf-recibe-nombre{height:42px;border:1px solid #999;border-radius:5px;text-align:center;font-size:20px}.bmf-driver-v2 #bmf-signature{width:100%;height:130px;border:1px solid #999;border-radius:5px}.bmf-driver-save-row{display:grid;grid-template-columns:1fr 72px 1fr;gap:18px;align-items:center;margin-top:14px}.bmf-driver-save-row .bmf-btn{height:40px;border-radius:6px!important;box-shadow:none!important;font-size:20px;font-weight:500!important}.bmf-camera-btn{border:0;background:#1512c8;color:#fff;width:54px;height:44px;border-radius:6px;font-size:28px;display:flex;align-items:center;justify-content:center;justify-self:center;cursor:pointer}.bmf-package-icon{width:30px!important;height:30px!important}.bmf-status-head .bmf-package-icon{filter:none}.bmf-package-icon:before{content:"";position:absolute;inset:4px;background:#111;clip-path:polygon(50% 0,100% 25%,100% 78%,50% 100%,0 78%,0 25%)}.bmf-package-icon:after{content:"";position:absolute;left:11px;top:5px;width:16px;height:6px;background:#fff;transform:skewY(-30deg)}
@media(max-width:760px){.bmf-driver-v2{padding-left:10px!important;padding-right:10px!important}.bmf-driver-v2 .bmf-driver-userbar{font-size:21px}.bmf-driver-select-row select{font-size:19px}.bmf-driver-v2 #bmf-current-client{font-size:19px}.bmf-driver-actions-v2{gap:12px;grid-template-columns:1fr 1fr 44px 44px}.bmf-driver-actions-v2 .bmf-driver-icon{width:44px;height:44px}}

/* Driver refinement v1.16.4 */
.bmf-driver-v2{max-width:470px!important;width:100%!important;padding-left:4px!important;padding-right:4px!important;margin-left:auto!important;margin-right:auto!important}
.bmf-driver-v2 .bmf-driver-userbar{margin-left:0!important;margin-right:0!important}
.bmf-driver-select-row{grid-template-columns:48px 1fr!important;gap:8px!important;margin-bottom:20px!important}
.bmf-driver-person-icon{width:42px!important;height:42px!important;align-self:center}
.bmf-driver-person-icon:before{width:22px!important;height:22px!important;left:10px!important;top:0!important}
.bmf-driver-person-icon:after{width:38px!important;height:19px!important;left:2px!important;bottom:0!important}
.bmf-driver-select-row select{height:42px!important;font-size:20px!important}
.bmf-driver-actions-v2{grid-template-columns:minmax(125px,180px) 48px 48px!important;justify-content:space-between!important;gap:18px!important;margin-bottom:24px!important}
.bmf-driver-actions-v2 #bmf-start-scan{width:100%!important;background:#111!important;color:#fff!important}
.bmf-driver-actions-v2 .bmf-driver-icon{height:42px!important;width:42px!important;align-self:center}
.bmf-driver-v2 #bmf-current-client{margin-left:0!important;margin-right:0!important;padding:24px 24px!important;font-size:20px!important;line-height:1.36!important}
.bmf-driver-v2 #bmf-delivery-box{margin-left:0!important;margin-right:0!important;padding:12px 18px!important}
.bmf-camera-btn{background:transparent!important;color:#000!important;box-shadow:none!important;border:0!important;font-size:38px!important;width:58px!important;height:48px!important}
@media(max-width:760px){.bmf-driver-v2{max-width:none!important;width:100%!important;padding-left:3px!important;padding-right:3px!important}.bmf-driver-v2 .bmf-driver-userbar{padding:10px 14px!important}.bmf-driver-actions-v2{grid-template-columns:1fr 44px 44px!important;gap:20px!important}.bmf-driver-v2 #bmf-current-client{padding:22px 24px!important}.bmf-driver-v2 #bmf-delivery-box{padding-left:12px!important;padding-right:12px!important}.bmf-driver-save-row{gap:12px!important}.bmf-driver-v2 #bmf-recibe-nombre{font-size:18px!important}}


/* BMF Control visual redesign v1.17.0 */
.bmf-control{max-width:1575px!important;background:#fff!important;border:0!important;box-shadow:none!important;padding:18px 18px 30px!important;border-radius:0!important;color:#050505!important}
.bmf-control-head{display:flex!important;align-items:center!important;justify-content:center!important;margin:0 0 40px!important}
.bmf-control-head .bmf-filters{display:grid!important;grid-template-columns:385px 132px 132px 162px 144px 192px 128px!important;gap:10px 15px!important;align-items:end!important;margin:0!important;width:auto!important}
.bmf-control-head .bmf-search{height:52px!important;border:3px solid #0d586b!important;border-radius:15px!important;background:#fff!important;text-align:center!important;font-size:34px!important;font-weight:400!important;color:#212225!important;padding:4px 18px!important;box-shadow:none!important}
.bmf-control-head label{font-size:24px!important;font-weight:900!important;color:#050505!important;line-height:1.05!important;margin:0!important}
.bmf-control-head input[type=date],.bmf-control-head select{height:51px!important;border:3px solid #0d586b!important;border-radius:8px!important;background:#fff!important;font-size:26px!important;font-weight:400!important;color:#212225!important;padding:4px 8px!important;box-shadow:none!important}
.bmf-filter-btn{height:51px!important;border-radius:8px!important;background:#0d586b!important;color:#fff!important;font-size:31px!important;font-weight:400!important;letter-spacing:.5px!important;padding:4px 18px!important;box-shadow:none!important}
.bmf-counter-wrap{display:flex!important;flex-direction:column!important;gap:6px!important;align-self:end!important}.bmf-counter-wrap strong{font-size:24px!important;font-weight:900!important;line-height:1!important;color:#050505!important}.bmf-counter{display:grid!important;grid-template-columns:38px 38px 38px 38px!important;gap:0!important;background:transparent!important;color:#050505!important;padding:0!important;border-radius:0!important}.bmf-counter span,.bmf-counter .bmf-counter-label{height:51px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:0!important;font-size:32px!important;font-weight:500!important;background:#d5f3ef!important;color:#050505!important}.bmf-counter .bmf-counter-label{background:#0d586b!important;color:#fff!important;border-radius:6px!important}
.bmf-bulk-actions{display:flex!important;align-items:center!important;gap:26px!important;justify-content:flex-start!important;margin:0!important;height:51px!important}.bmf-icon-btn{width:52px!important;height:52px!important;border:0!important;background:transparent!important;color:#0d586b!important;font-size:0!important;padding:0!important;box-shadow:none!important;position:relative!important}.bmf-export-icon span{display:none!important}.bmf-export-icon:before{content:"";position:absolute;left:17px;top:7px;width:18px;height:29px;border-left:5px solid #0d586b;border-bottom:5px solid #0d586b;transform:rotate(-45deg)}.bmf-export-icon:after{content:"";position:absolute;left:8px;bottom:5px;width:36px;height:13px;border:5px solid #0d586b;border-top:0;border-radius:0 0 4px 4px}.bmf-delete-icon:before{content:"";position:absolute;left:13px;top:15px;width:29px;height:31px;background:#0d586b;border-radius:4px}.bmf-delete-icon:after{content:"";position:absolute;left:9px;top:8px;width:37px;height:8px;background:#0d586b;border-radius:3px;box-shadow:10px -5px 0 -2px #0d586b}
.bmf-table-scroll{border:0!important;border-radius:42px 28px 0 0!important;overflow:auto!important}.bmf-table{min-width:1370px!important;border-collapse:separate!important;border-spacing:0!important;background:#e9eef3!important}.bmf-table th,.bmf-table td{border-right:3px solid #0d586b!important;border-bottom:3px solid #0d586b!important;text-align:center!important;vertical-align:middle!important;color:#050505!important}.bmf-table th:last-child,.bmf-table td:last-child{border-right:0!important}.bmf-table th{height:100px!important;padding:0 14px!important;background:#d4eeee!important;font-size:36px!important;text-transform:none!important;letter-spacing:0!important;font-weight:400!important}.bmf-table th:nth-child(1),.bmf-table th:nth-child(2){background:#0d586b!important;color:#fff!important}.bmf-table th:nth-child(3){background:#ffd792!important}.bmf-table th:nth-child(4){background:#8bd9c2!important}.bmf-table td{height:142px!important;padding:14px 18px!important;background:#e9eef3!important;font-size:25px!important;line-height:1.2!important}.bmf-table td:nth-child(1),.bmf-table td:nth-child(2),.bmf-table td:nth-child(4){background:#d4eeee!important}.bmf-table td:nth-child(3){background:#fff5e5!important}.bmf-table thead th:first-child{border-top-left-radius:55px!important;width:72px!important}.bmf-table thead th:last-child{border-top-right-radius:28px!important}.bmf-table th:nth-child(2){width:315px!important}.bmf-table th:nth-child(3){width:225px!important}.bmf-table th:nth-child(4){width:225px!important}.bmf-table th:nth-child(5){width:230px!important}.bmf-table th:nth-child(6){width:235px!important}.bmf-table th:nth-child(7){width:90px!important}.bmf-table th:nth-child(8){width:110px!important}.bmf-table input[type=checkbox]{width:28px!important;height:28px!important;accent-color:#0d586b!important}.bmf-table td:nth-child(2){text-align:left!important}.bmf-print{font-size:39px!important;line-height:1!important;padding:0!important;margin:0 0 4px 0!important;background:transparent!important;border:0!important;color:#050505!important}.bmf-table td:nth-child(2) strong{font-size:21px!important;color:#0d586b!important;font-weight:900!important}.bmf-table td:nth-child(2) br+text,.bmf-table td:nth-child(2){color:#0d586b!important}.bmf-client-details{margin-top:5px!important}.bmf-client-details>summary,.bmf-qr-details>summary,.bmf-history>summary,.bmf-sign-details>summary{list-style:none!important;cursor:pointer!important;font-size:0!important;width:0!important;height:0!important;border-top:17px solid transparent!important;border-bottom:17px solid transparent!important;border-left:25px solid #050505!important;background:transparent!important;padding:0!important;margin-top:4px!important}.bmf-history>summary{display:inline-block!important;vertical-align:middle!important;margin-right:8px!important}.bmf-history:after{content:"Historial";font-size:23px;color:#050505;vertical-align:middle}.bmf-sign-details:after{content:"Firma";font-size:23px;color:#050505;vertical-align:middle;font-weight:400!important}.bmf-cost{width:150px!important;height:47px!important;border:3px solid #f1c564!important;border-radius:14px!important;background:#fff!important;font-size:24px!important}.bmf-note{width:192px!important;max-width:192px!important;height:67px!important;border:2px solid #fff0bf!important;border-radius:12px!important;background:#fff!important;margin:15px auto 0!important;font-size:18px!important}.bmf-total{width:150px!important;height:47px!important;border:3px solid #8bd9c2!important;border-radius:14px!important;background:#fff!important;font-size:24px!important}.bmf-status-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:54px!important;height:54px!important;border-radius:50%!important;background:#ffd085!important;color:#050505!important;font-size:30px!important;font-weight:900!important}.bmf-status-done{background:#8bd9c2!important}.bmf-truck-icon{display:inline-block;width:52px;height:36px;position:relative}.bmf-truck-icon:before{content:"🚚";font-size:42px;line-height:36px;filter:grayscale(1) contrast(1.8)}.bmf-qr-cell{text-align:center!important}.bmf-qr-details{display:inline-block!important}.bmf-qr-details>summary{margin:0 auto!important}.bmf-qr{margin-top:10px!important;background:#fff!important;padding:8px!important;border-radius:8px!important}.bmf-details{font-size:16px!important;background:#fff!important;border:1px solid #0d586b!important;color:#111!important}.bmf-pages{justify-content:center!important}.bmf-pages a{background:#0d586b!important;border-radius:10px!important}
@media(max-width:900px){.bmf-control-head .bmf-filters{grid-template-columns:1fr 1fr!important;width:100%!important}.bmf-control-head .bmf-search{grid-column:1/-1!important}.bmf-control-head .bmf-search,.bmf-control-head input[type=date],.bmf-control-head select,.bmf-filter-btn{height:48px!important;font-size:20px!important}.bmf-counter span,.bmf-counter .bmf-counter-label{height:48px!important;font-size:24px!important}.bmf-bulk-actions{height:48px!important}.bmf-table{min-width:1180px!important}.bmf-table th{font-size:26px!important;height:82px!important}.bmf-table td{font-size:20px!important}}


/* BMF size correction v1.17.1: conserva el diseño, restaura tamaños compactos */
.bmf-control{max-width:1180px!important;margin:22px auto!important;padding:20px!important;box-sizing:border-box!important}
.bmf-control-head{margin-bottom:14px!important;gap:8px!important}
.bmf-control-head .bmf-filters{grid-template-columns:minmax(230px,1fr) 118px 118px 90px 125px 112px auto!important;gap:10px!important;align-items:end!important;width:100%!important}
.bmf-control-head label{font-size:13px!important;line-height:1.1!important;margin:0 0 3px!important;font-weight:800!important}
.bmf-control-head .bmf-search{height:38px!important;font-size:18px!important;border-radius:12px!important;padding:5px 12px!important}
.bmf-control-head input[type=date],.bmf-control-head select{height:38px!important;font-size:15px!important;border-radius:8px!important;padding:5px 8px!important;line-height:1.1!important}
.bmf-filter-btn{height:38px!important;font-size:18px!important;border-radius:8px!important;padding:6px 14px!important;line-height:1!important}
.bmf-counter{grid-template-columns:30px 30px 30px 30px!important;align-items:end!important}
.bmf-counter span,.bmf-counter .bmf-counter-label{height:38px!important;font-size:18px!important;line-height:38px!important;padding:0!important}
.bmf-bulk-actions{height:38px!important;gap:10px!important;align-items:center!important;margin:0!important}
.bmf-bulk-actions .bmf-btn{font-size:0!important;width:38px!important;height:38px!important;padding:0!important;border-radius:0!important;background:transparent!important;color:#0d586b!important;box-shadow:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.bmf-bulk-actions .bmf-btn:before{font-size:30px!important;line-height:1!important}
#bmf-export-selected:before{content:"⇩"!important}
#bmf-delete-selected:before{content:"🗑"!important}
.bmf-table{min-width:1060px!important}
.bmf-table th{font-size:24px!important;height:76px!important;padding:10px 10px!important;text-transform:none!important;letter-spacing:0!important;font-weight:400!important;line-height:1.1!important}
.bmf-table td{font-size:16px!important;padding:14px 10px!important;height:auto!important;min-height:104px!important;line-height:1.25!important}
.bmf-table th:nth-child(1){width:55px!important}.bmf-table th:nth-child(2){width:300px!important}.bmf-table th:nth-child(3){width:170px!important}.bmf-table th:nth-child(4){width:170px!important}.bmf-table th:nth-child(5){width:190px!important}.bmf-table th:nth-child(6){width:190px!important}.bmf-table th:nth-child(7){width:76px!important}.bmf-table th:nth-child(8){width:76px!important}
.bmf-table input[type=checkbox]{width:18px!important;height:18px!important}
.bmf-print{font-size:25px!important;margin:0 0 4px 0!important;line-height:1!important}
.bmf-table td:nth-child(2) strong{font-size:16px!important;line-height:1.15!important}
.bmf-table td:nth-child(2){font-size:16px!important}
.bmf-client-details>summary,.bmf-qr-details>summary,.bmf-history>summary,.bmf-sign-details>summary{border-top-width:10px!important;border-bottom-width:10px!important;border-left-width:16px!important;margin-top:4px!important}
.bmf-history:after,.bmf-sign-details:after{font-size:16px!important;font-weight:400!important}
.bmf-cost,.bmf-total{width:105px!important;height:36px!important;font-size:16px!important;border-width:1px!important;border-radius:10px!important;padding:5px!important}
.bmf-note{width:150px!important;max-width:150px!important;height:52px!important;font-size:13px!important;margin-top:10px!important;border-radius:9px!important;padding:7px!important}
.bmf-status-icon{width:42px!important;height:42px!important;font-size:23px!important}
.bmf-truck-icon{width:40px!important;height:28px!important}.bmf-truck-icon:before{font-size:28px!important;line-height:28px!important}
.bmf-details{font-size:13px!important;line-height:1.35!important;padding:8px!important}
@media(max-width:900px){.bmf-control-head .bmf-filters{grid-template-columns:1fr 1fr!important}.bmf-control-head .bmf-search{grid-column:1/-1!important}.bmf-table{min-width:1060px!important}.bmf-table th{font-size:22px!important;height:70px!important}.bmf-table td{font-size:15px!important}.bmf-control-head .bmf-search,.bmf-control-head input[type=date],.bmf-control-head select,.bmf-filter-btn{height:38px!important;font-size:16px!important}.bmf-counter span,.bmf-counter .bmf-counter-label{height:38px!important;font-size:17px!important}}


/* BMF ajustes finos solicitados v1.17.2 */
.bmf-control-head .bmf-filters{
  grid-template-columns:280px 118px 118px 90px 125px 112px auto!important;
  justify-content:center!important;
  gap:10px!important;
}
.bmf-control-head label{
  margin:0 0 6px!important;
}
.bmf-counter-wrap strong{
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.1!important;
  margin:0 0 6px!important;
}
.bmf-table-scroll{
  border-radius:22px 18px 0 0!important;
}
.bmf-table thead th:first-child{
  border-top-left-radius:22px!important;
}
.bmf-table thead th:last-child{
  border-top-right-radius:18px!important;
}
#bmf-delete-selected{
  position:relative!important;
  overflow:visible!important;
}
#bmf-delete-selected:before{
  content:""!important;
  position:absolute!important;
  left:10px!important;
  top:13px!important;
  width:20px!important;
  height:22px!important;
  background:#0d586b!important;
  border-radius:2px 2px 4px 4px!important;
}
#bmf-delete-selected:after{
  content:""!important;
  position:absolute!important;
  left:7px!important;
  top:7px!important;
  width:26px!important;
  height:6px!important;
  background:#0d586b!important;
  border-radius:2px!important;
  box-shadow:7px -4px 0 -2px #0d586b!important;
}
@media(max-width:900px){
  .bmf-control-head .bmf-filters{grid-template-columns:1fr 1fr!important;justify-content:stretch!important}
}


/* BMF ajustes cabecera y esquinas v1.17.3 */
.bmf-control-head{
  margin-bottom:16px!important;
}
.bmf-control-head .bmf-filters{
  display:grid!important;
  grid-template-columns:430px 190px 190px 130px 190px 130px 96px!important;
  gap:16px!important;
  align-items:end!important;
  justify-content:center!important;
  width:max-content!important;
  max-width:100%!important;
  margin:0 auto!important;
}
.bmf-control-head .bmf-search{
  width:100%!important;
  margin:0!important;
}
.bmf-control-head label{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-end!important;
  gap:9px!important;
  margin:0!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.1!important;
}
.bmf-control-head label > input,
.bmf-control-head label > select{
  width:100%!important;
  margin:0!important;
}
.bmf-counter-wrap{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-end!important;
  gap:9px!important;
  margin:0!important;
}
.bmf-counter-wrap strong{
  display:block!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.1!important;
  margin:0!important;
}
.bmf-bulk-actions{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:flex-start!important;
  gap:16px!important;
  margin:0 0 2px 0!important;
}
.bmf-icon-btn,
#bmf-export-selected,
#bmf-delete-selected{
  width:40px!important;
  height:40px!important;
}
#bmf-delete-selected{
  position:relative!important;
  font-size:0!important;
  color:transparent!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
#bmf-delete-selected:before{
  content:""!important;
  position:absolute!important;
  left:11px!important;
  top:13px!important;
  width:18px!important;
  height:19px!important;
  border:3px solid #0d586b!important;
  border-top:none!important;
  border-radius:0 0 4px 4px!important;
  box-sizing:border-box!important;
  background:transparent!important;
}
#bmf-delete-selected:after{
  content:""!important;
  position:absolute!important;
  left:8px!important;
  top:8px!important;
  width:24px!important;
  height:4px!important;
  background:#0d586b!important;
  border-radius:2px!important;
  box-shadow:7px -5px 0 -1px #0d586b!important;
}
.bmf-table-scroll{
  border-radius:14px 14px 0 0!important;
}
.bmf-table thead th:first-child{
  border-top-left-radius:14px!important;
}
.bmf-table thead th:last-child{
  border-top-right-radius:14px!important;
}
@media(max-width:1200px){
  .bmf-control-head .bmf-filters{
    grid-template-columns:1fr 1fr!important;
    width:100%!important;
    justify-content:stretch!important;
  }
  .bmf-control-head .bmf-search{
    grid-column:1/-1!important;
  }
  .bmf-bulk-actions{
    justify-content:flex-start!important;
  }
}



/* BMF ajuste final cabecera e iconos v1.17.4 */
.bmf-control-head{
  margin-bottom:14px!important;
}
.bmf-control-head .bmf-filters{
  display:grid!important;
  grid-template-columns:minmax(290px,360px) 150px 150px 118px 150px 110px 96px!important;
  gap:12px!important;
  align-items:end!important;
  justify-content:center!important;
  width:auto!important;
  max-width:100%!important;
  margin:0 auto!important;
}
.bmf-control-head label{
  gap:8px!important;
}
.bmf-control-head .bmf-search{
  max-width:360px!important;
  min-width:290px!important;
  height:40px!important;
  font-size:18px!important;
  padding:6px 14px!important;
}
.bmf-control-head input[type=date],
.bmf-control-head select{
  height:40px!important;
  font-size:15px!important;
  padding:6px 10px!important;
}
.bmf-filter-btn{
  height:40px!important;
  min-width:118px!important;
  font-size:16px!important;
  padding:6px 16px!important;
  border-radius:10px!important;
}
.bmf-counter-wrap{
  gap:8px!important;
}
.bmf-counter-wrap strong{
  margin:0!important;
}
.bmf-counter{
  grid-template-columns:30px 30px 30px 30px!important;
}
.bmf-counter span,
.bmf-counter .bmf-counter-label{
  height:40px!important;
  font-size:16px!important;
}
.bmf-bulk-actions{
  gap:1px!important;
  align-items:center!important;
  margin:0!important;
}
#bmf-export-selected,
#bmf-delete-selected{
  width:40px!important;
  height:40px!important;
  font-size:0!important;
  color:transparent!important;
  border:0!important;
  background-color:transparent!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:30px 30px!important;
  box-shadow:none!important;
  padding:0!important;
}
#bmf-export-selected span{display:none!important;}
#bmf-export-selected:before,
#bmf-export-selected:after,
#bmf-delete-selected:before,
#bmf-delete-selected:after{
  content:none!important;
  display:none!important;
}
#bmf-export-selected{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d586b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v11'/%3E%3Cpath d='M7.5 10.5 12 15l4.5-4.5'/%3E%3Cpath d='M4 17.5V20h16v-2.5'/%3E%3C/svg%3E")!important;
}
#bmf-delete-selected{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d586b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M6.5 6l1 13h9l1-13'/%3E%3Cpath d='M10 10v6'/%3E%3Cpath d='M14 10v6'/%3E%3C/svg%3E")!important;
}
.bmf-table-scroll{
  border-radius:16px 16px 0 0!important;
}
.bmf-table thead th:first-child{
  border-top-left-radius:16px!important;
}
.bmf-table thead th:last-child{
  border-top-right-radius:16px!important;
}
@media(max-width:1200px){
  .bmf-control-head .bmf-filters{
    grid-template-columns:1fr 1fr!important;
    width:100%!important;
    justify-content:stretch!important;
  }
  .bmf-control-head .bmf-search{
    grid-column:1/-1!important;
    max-width:none!important;
    min-width:0!important;
  }
}


/* BMF v1.17.5: actualizacion en vivo, bordes finos y firma segura */
.bmf-table,
.bmf-table th,
.bmf-table td{border-width:1px!important;}
.bmf-table-scroll{border-width:1px!important;}
.bmf-control-head .bmf-search,
.bmf-control-head input[type=date],
.bmf-control-head select,
.bmf-filter-btn,
.bmf-cost,
.bmf-total,
.bmf-note{border-width:1px!important;}
.bmf-table th{border-bottom-width:2px!important;}
.bmf-live-refreshing{opacity:.96;transition:opacity .18s ease;}
.bmf-live-updated{animation:bmfLiveFlash .8s ease;}
@keyframes bmfLiveFlash{
  0%{box-shadow:0 0 0 0 rgba(13,88,107,.22)}
  55%{box-shadow:0 0 0 6px rgba(13,88,107,.08)}
  100%{box-shadow:0 0 0 0 rgba(13,88,107,0)}
}
.bmf-driver-v2 #bmf-recibe-nombre{
  background:#d9fff3!important;
  border-color:#0d586b!important;
  color:#073f4d!important;
  font-weight:700!important;
}
.bmf-signature-wrap{position:relative!important;margin-top:8px!important;}
.bmf-signature-locked #bmf-signature{
  pointer-events:none!important;
  touch-action:auto!important;
  opacity:.72!important;
}
.bmf-signature-unlocked #bmf-signature{
  pointer-events:auto!important;
  touch-action:none!important;
  opacity:1!important;
}
.bmf-signature-lock-btn{
  position:absolute!important;
  inset:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(255,255,255,.78)!important;
  border:1.5px dashed #0d586b!important;
  border-radius:7px!important;
  color:#0d586b!important;
  font-weight:800!important;
  font-size:18px!important;
  cursor:pointer!important;
  z-index:2!important;
}
.bmf-signature-unlocked .bmf-signature-lock-btn{display:none!important;}


/* BMF v1.17.6: limpiar filtros, historial/firma subrayados y guardar limpio */
.bmf-filter-action{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
  margin:0!important;
}
.bmf-clear-filters{
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  color:#0d586b!important;
  text-decoration:underline!important;
  cursor:pointer!important;
}
.bmf-filter-action .bmf-filter-btn{
  width:100%!important;
  margin:0!important;
}
.bmf-history>summary,
.bmf-sign-details>summary{
  display:inline!important;
  list-style:none!important;
  cursor:pointer!important;
  color:#111!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
  font-weight:400!important;
  border:0!important;
  margin:0!important;
  padding:0!important;
}
.bmf-history>summary::-webkit-details-marker,
.bmf-sign-details>summary::-webkit-details-marker{
  display:none!important;
}
.bmf-history>summary:before,
.bmf-sign-details>summary:before,
.bmf-history>summary:after,
.bmf-sign-details>summary:after{
  content:none!important;
  display:none!important;
}
.bmf-history:after,
.bmf-sign-details:after{
  content:none!important;
  display:none!important;
}


/* BMF v1.17.7: Historial/Firma como texto clickeable sin flecha */
.bmf-history>summary,
.bmf-sign-details>summary{
  display:inline-block!important;
  list-style:none!important;
  cursor:pointer!important;
  color:#111!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
  font-weight:400!important;
  border:0!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}
.bmf-history>summary::-webkit-details-marker,
.bmf-sign-details>summary::-webkit-details-marker{
  display:none!important;
}
.bmf-history>summary::marker,
.bmf-sign-details>summary::marker{
  content:""!important;
}
.bmf-history>summary:before,
.bmf-sign-details>summary:before,
.bmf-history>summary:after,
.bmf-sign-details>summary:after{
  content:none!important;
  display:none!important;
  border:0!important;
}
.bmf-history:before,
.bmf-sign-details:before,
.bmf-history:after,
.bmf-sign-details:after{
  content:none!important;
  display:none!important;
}


/* BMF v1.17.8: mostrar Historial/Firma subrayados, sin flecha */
.bmf-history > summary,
.bmf-sign-details > summary,
.bmf-history > summary.bmf-text-toggle,
.bmf-sign-details > summary.bmf-text-toggle{
  display:inline-block!important;
  list-style:none!important;
  -webkit-appearance:none!important;
  appearance:none!important;
  cursor:pointer!important;
  color:#111!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
  font-weight:400!important;
  font-size:inherit!important;
  line-height:1.25!important;
  border:0!important;
  margin:4px 0 0 0!important;
  padding:0!important;
  width:auto!important;
  height:auto!important;
  background:transparent!important;
}
.bmf-history > summary::-webkit-details-marker,
.bmf-sign-details > summary::-webkit-details-marker,
.bmf-history > summary::marker,
.bmf-sign-details > summary::marker{
  display:none!important;
  content:""!important;
}
.bmf-history > summary:before,
.bmf-history > summary:after,
.bmf-sign-details > summary:before,
.bmf-sign-details > summary:after{
  content:none!important;
  display:none!important;
  border:0!important;
}
.bmf-history:before,
.bmf-history:after,
.bmf-sign-details:before,
.bmf-sign-details:after{
  content:none!important;
  display:none!important;
}


/* BMF v1.17.9 control + driver final */
.bmf-filter-action{
  min-height:52px!important;
  justify-content:flex-end!important;
}
.bmf-filter-action .bmf-clear-filters{
  margin-bottom:2px!important;
}

/* Driver redesign */
.bmf-driver.bmf-driver-v2{
  max-width:560px!important;
  width:100%!important;
  margin:0 auto!important;
  min-height:100vh!important;
  background:#d8ecec!important;
  padding:26px 18px 40px!important;
  box-sizing:border-box!important;
}
.bmf-driver-v2 .bmf-driver-userbar{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  border:2px solid #222!important;
  border-radius:10px!important;
  background:#fff!important;
  padding:10px 16px!important;
  margin:0 0 26px!important;
  font-size:22px!important;
  color:#1e5566!important;
}
.bmf-driver-v2 .bmf-driver-userbar strong{font-weight:800!important;}
.bmf-driver-v2 .bmf-driver-pchip{
  display:inline-flex!important;
  align-items:center!important;
  border:1.5px solid #222!important;
  background:#fff!important;
  overflow:hidden!important;
  height:34px!important;
}
.bmf-driver-v2 .bmf-driver-pchip span{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:32px!important;height:32px!important;background:#0d586b!important;color:#fff!important;
  font-size:22px!important;line-height:1!important;padding:0!important;
}
.bmf-driver-v2 .bmf-driver-pchip b{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:34px!important;height:32px!important;background:#fff!important;color:#111!important;
  font-size:22px!important;line-height:1!important;padding:0!important;font-weight:500!important;
}
.bmf-driver-v2 .bmf-driver-person-icon{display:none!important;}
.bmf-driver-v2 .bmf-driver-select-row{
  display:block!important;
  margin:0 0 22px!important;
}
.bmf-driver-v2 #bmf-driver-client-select{
  width:100%!important;
  height:58px!important;
  border:0!important;
  border-radius:10px!important;
  background:#0d586b!important;
  color:#fff!important;
  text-align:center!important;
  text-align-last:center!important;
  font-size:22px!important;
  font-weight:500!important;
  padding:0 18px!important;
  box-shadow:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}
.bmf-driver-v2 #bmf-driver-client-select option{
  color:#111!important;
}
.bmf-driver-v2 .bmf-driver-actions-v2{
  display:grid!important;
  grid-template-columns:minmax(160px,1fr) 64px 64px 64px!important;
  gap:12px!important;
  align-items:center!important;
  margin:0 0 22px!important;
}
.bmf-driver-v2 #bmf-start-scan{
  height:62px!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#1e5566!important;
  border:1.5px solid #52707a!important;
  box-shadow:none!important;
  font-size:26px!important;
  font-weight:500!important;
}
.bmf-driver-v2 .bmf-driver-icon,
.bmf-driver-v2 .bmf-driver-qr-icon{
  width:64px!important;
  height:64px!important;
  border-radius:10px!important;
  border:0!important;
  background:#0d586b!important;
  color:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-shadow:none!important;
  padding:0!important;
  text-decoration:none!important;
}
.bmf-driver-v2 .bmf-driver-icon.is-disabled{
  background:#9da8ac!important;
  pointer-events:none!important;
}
.bmf-driver-v2 .bmf-driver-icon.is-disabled .bmf-wa-svg,
.bmf-driver-v2 .bmf-driver-icon.is-disabled .bmf-phone-svg{
  filter:grayscale(1) brightness(2)!important;
  opacity:.95!important;
}
.bmf-driver-v2 .bmf-driver-icon:not(.is-disabled){pointer-events:auto!important;}
.bmf-driver-v2 .bmf-driver-qr-icon .bmf-qr-svg{
  width:34px!important;height:34px!important;display:block!important;
  background-repeat:no-repeat!important;background-position:center!important;background-size:contain!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='square'%3E%3Cpath d='M4 4h6v6H4zM14 4h6v6h-6zM4 14h6v6H4z'/%3E%3Cpath d='M16 14v2M20 14v6M14 16h2M16 18h2M14 20h2M18 20h2'/%3E%3C/svg%3E")!important;
}
.bmf-driver-v2 .bmf-phone-svg{
  width:34px!important;height:34px!important;clip-path:none!important;background:none!important;
  background-repeat:no-repeat!important;background-position:center!important;background-size:contain!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M6.6 2.7c.5-.5 1.3-.7 2-.4l2.2 1c.8.3 1.2 1.2 1 2l-.7 2.6c1.3 2.5 3.2 4.5 5.8 5.8l2.6-.7c.8-.2 1.7.2 2 1l1 2.2c.3.7.1 1.5-.4 2-.9.9-2.2 1.3-3.4 1-8-2.1-14.3-8.4-16.4-16.4-.3-1.2.1-2.5 1-3.4z'/%3E%3C/svg%3E")!important;
}
.bmf-driver-v2 .bmf-wa-svg{
  width:38px!important;height:38px!important;
  background-size:contain!important;
}
.bmf-driver-v2 #bmf-reader{
  max-width:100%!important;
  margin:0 0 16px!important;
}
.bmf-driver-v2 #bmf-current-client{
  min-height:130px!important;
  margin:0 0 18px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  border-radius:0!important;
  color:#214f5d!important;
  font-size:17px!important;
  line-height:1.55!important;
}
.bmf-driver-v2 #bmf-current-client b{
  font-size:17px!important;
  color:#164b5c!important;
}
.bmf-driver-v2 #bmf-delivery-box{
  background:transparent!important;
  border:1.5px solid #4d7680!important;
  border-radius:10px!important;
  padding:18px!important;
  margin:0 0 14px!important;
}
.bmf-driver-v2 #bmf-recibe-nombre{
  width:100%!important;
  height:62px!important;
  margin:0 0 18px!important;
  border:1.5px solid #7f9198!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#205161!important;
  font-size:22px!important;
  font-weight:500!important;
  padding:10px 18px!important;
  box-sizing:border-box!important;
}
.bmf-driver-v2 .bmf-signature-wrap{
  margin-top:0!important;
}
.bmf-driver-v2 #bmf-signature{
  width:100%!important;
  height:165px!important;
  margin:0!important;
  border:1.5px solid #7f9198!important;
  border-radius:10px!important;
  background:#fff!important;
}
.bmf-driver-v2 .bmf-signature-lock-btn{
  border:none!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.96)!important;
  color:#205161!important;
  font-size:22px!important;
  font-weight:500!important;
}
.bmf-driver-v2 .bmf-driver-save-row{
  display:grid!important;
  grid-template-columns:1fr 88px 1fr!important;
  gap:18px!important;
  align-items:center!important;
  margin-top:14px!important;
}
.bmf-driver-v2 #bmf-clear-sign,
.bmf-driver-v2 #bmf-save-delivery{
  height:58px!important;
  border-radius:12px!important;
  box-shadow:none!important;
  font-size:24px!important;
  font-weight:500!important;
}
.bmf-driver-v2 #bmf-clear-sign{
  background:#fff!important;
  color:#205161!important;
  border:1.5px solid #4d7680!important;
}
.bmf-driver-v2 #bmf-save-delivery{
  background:#0d586b!important;
  color:#fff!important;
}
.bmf-driver-v2 .bmf-camera-btn{
  width:88px!important;
  height:58px!important;
  background:transparent!important;
  color:#000!important;
  font-size:54px!important;
}
.bmf-driver-v2 #bmf-driver-msg{
  margin:0 0 10px!important;
  color:#b00020!important;
  font-size:14px!important;
}
@media(max-width:760px){
  .bmf-driver.bmf-driver-v2{padding:24px 14px 36px!important;}
  .bmf-driver-v2 .bmf-driver-userbar{font-size:20px!important;}
  .bmf-driver-v2 .bmf-driver-actions-v2{grid-template-columns:minmax(145px,1fr) 58px 58px 58px!important;gap:10px!important;}
  .bmf-driver-v2 #bmf-start-scan{height:58px!important;font-size:24px!important;}
  .bmf-driver-v2 .bmf-driver-icon,.bmf-driver-v2 .bmf-driver-qr-icon{width:58px!important;height:58px!important;}
  .bmf-driver-v2 #bmf-driver-client-select{height:56px!important;font-size:20px!important;}
  .bmf-driver-v2 #bmf-recibe-nombre{height:58px!important;font-size:20px!important;}
}


/* BMF v1.18.0 mobile driver refinements */
.bmf-wrap.bmf-driver.bmf-driver-v2{
  max-width:none!important;
  width:100%!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.bmf-driver-v2 .bmf-driver-actions-v2{
  grid-template-columns:minmax(140px,1fr) 58px 58px 58px!important;
  gap:10px!important;
}
.bmf-driver-v2 .bmf-driver-icon,
.bmf-driver-v2 .bmf-driver-qr-icon{
  overflow:hidden!important;
}
.bmf-driver-v2 .bmf-phone-svg,
.bmf-driver-v2 .bmf-wa-svg{
  width:28px!important;
  height:28px!important;
  background-size:28px 28px!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
}
.bmf-driver-v2 .bmf-wa-svg{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff' d='M27.3 15.3c0 6.2-5 11.2-11.2 11.2-2 0-4-.5-5.7-1.5L4.5 27l1.9-5.6a11.13 11.13 0 0 1-1.9-6.1c0-6.2 5-11.2 11.2-11.2s11.6 5 11.6 11.2zm-11.5-9.4c-5.1 0-9.2 4-9.2 9.1 0 1.8.5 3.5 1.5 5l.2.3-1.1 3.2 3.3-1.1.3.2c1.5.9 3.1 1.4 4.8 1.4 5.1 0 9.2-4 9.2-9.1s-4-9-9-9zm5.4 11.7c-.3-.1-1.8-.9-2-1-.3-.1-.5-.1-.7.1-.2.3-.8 1-.9 1.1-.2.2-.3.2-.6.1-1.8-.9-2.9-1.7-4.1-3.8-.3-.4.3-.4.8-1.4.1-.2.1-.4 0-.6-.1-.1-.7-1.6-1-2.2-.2-.5-.5-.5-.7-.5h-.6c-.2 0-.6.1-.9.4-.3.3-1.2 1.1-1.2 2.7s1.2 3.1 1.4 3.3c.2.2 2.4 3.7 5.8 5.1 2.1.9 2.9 1 3.9.8.6-.1 1.8-.7 2-1.4.3-.7.3-1.4.2-1.5-.1-.1-.3-.2-.6-.3z'/%3E%3C/svg%3E")!important;
}
.bmf-driver-v2 .bmf-driver-icon.is-disabled .bmf-phone-svg,
.bmf-driver-v2 .bmf-driver-icon.is-disabled .bmf-wa-svg{
  opacity:.9!important;
  filter:none!important;
}
.bmf-driver-v2 .bmf-driver-icon.is-disabled{
  background:#9fa9ad!important;
}
.bmf-driver-v2 .bmf-driver-icon:not(.is-disabled),
.bmf-driver-v2 .bmf-driver-qr-icon{
  background:#0d586b!important;
}
.bmf-driver-v2 .bmf-driver-save-row{
  grid-template-columns:minmax(100px,1fr) 72px minmax(120px,1fr)!important;
  gap:12px!important;
}
.bmf-driver-v2 #bmf-clear-sign,
.bmf-driver-v2 #bmf-save-delivery{
  width:100%!important;
  min-width:0!important;
  padding:0 12px!important;
}
.bmf-driver-v2 .bmf-camera-btn{
  width:72px!important;
  height:54px!important;
  font-size:44px!important;
}
@media(max-width:760px){
  .bmf-wrap.bmf-driver.bmf-driver-v2{
    padding:8px 8px 20px!important;
    min-height:auto!important;
  }
  .bmf-driver-v2 .bmf-driver-userbar{
    margin:0 0 14px!important;
    padding:8px 10px!important;
    font-size:18px!important;
  }
  .bmf-driver-v2 #bmf-driver-client-select{
    height:50px!important;
    font-size:17px!important;
    border-radius:8px!important;
  }
  .bmf-driver-v2 .bmf-driver-actions-v2{
    grid-template-columns:minmax(120px,1fr) 52px 52px 52px!important;
    gap:8px!important;
    margin:0 0 14px!important;
  }
  .bmf-driver-v2 #bmf-start-scan{
    height:52px!important;
    font-size:18px!important;
    padding:0 10px!important;
  }
  .bmf-driver-v2 .bmf-driver-icon,
  .bmf-driver-v2 .bmf-driver-qr-icon{
    width:52px!important;
    height:52px!important;
    border-radius:8px!important;
  }
  .bmf-driver-v2 .bmf-phone-svg,
  .bmf-driver-v2 .bmf-wa-svg,
  .bmf-driver-v2 .bmf-driver-qr-icon .bmf-qr-svg{
    width:24px!important;
    height:24px!important;
    background-size:24px 24px!important;
  }
  .bmf-driver-v2 #bmf-current-client{
    min-height:auto!important;
    margin:0 0 10px!important;
    font-size:14px!important;
    line-height:1.4!important;
  }
  .bmf-driver-v2 #bmf-current-client b{
    font-size:14px!important;
  }
  .bmf-driver-v2 #bmf-delivery-box{
    padding:10px!important;
    margin:0 0 10px!important;
  }
  .bmf-driver-v2 #bmf-recibe-nombre{
    height:50px!important;
    margin:0 0 10px!important;
    font-size:16px!important;
    border-radius:8px!important;
  }
  .bmf-driver-v2 #bmf-signature{
    height:120px!important;
    border-radius:8px!important;
  }
  .bmf-driver-v2 .bmf-signature-lock-btn{
    font-size:16px!important;
    border-radius:8px!important;
  }
  .bmf-driver-v2 .bmf-driver-save-row{
    grid-template-columns:minmax(96px,1fr) 62px minmax(110px,1fr)!important;
    gap:10px!important;
    margin-top:10px!important;
  }
  .bmf-driver-v2 #bmf-clear-sign,
  .bmf-driver-v2 #bmf-save-delivery{
    height:48px!important;
    font-size:16px!important;
    border-radius:10px!important;
  }
  .bmf-driver-v2 .bmf-camera-btn{
    width:62px!important;
    height:48px!important;
    font-size:34px!important;
  }
}


/* BMF v1.18.1 nuevo cliente modal */
.bmf-control-head .bmf-filters{
  grid-template-columns:42px minmax(250px,360px) 150px 150px 118px 150px 110px 96px!important;
}
.bmf-add-client-btn{
  width:40px!important;height:40px!important;border-radius:11px!important;border:2px solid #0d586b!important;
  background:#0d586b!important;color:#fff!important;font-size:30px!important;line-height:34px!important;font-weight:500!important;
  display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;box-shadow:none!important;padding:0!important;margin:0!important;
}
.bmf-add-client-btn:hover{background:#fff!important;color:#0d586b!important;}
.bmf-modal-backdrop{position:fixed!important;inset:0!important;background:rgba(8,31,38,.45)!important;backdrop-filter:blur(3px)!important;display:none!important;align-items:center!important;justify-content:center!important;z-index:999999!important;padding:18px!important;}
.bmf-modal-backdrop.is-open{display:flex!important;}
.bmf-modal-card{width:min(720px,96vw)!important;max-height:92vh!important;overflow:auto!important;background:#fff!important;border:2px solid #0d586b!important;border-radius:20px!important;box-shadow:0 22px 70px rgba(0,0,0,.28)!important;color:#123d49!important;}
.bmf-modal-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;padding:22px 24px 14px!important;border-bottom:1.5px solid #d8eeee!important;background:linear-gradient(180deg,#effafa 0%,#fff 100%)!important;}
.bmf-modal-kicker{display:block!important;color:#0d586b!important;font-size:12px!important;font-weight:800!important;letter-spacing:.08em!important;text-transform:uppercase!important;margin-bottom:5px!important;}
.bmf-modal-head h3{margin:0!important;font-size:26px!important;line-height:1.1!important;color:#0d586b!important;font-weight:900!important;}
.bmf-modal-close{width:38px!important;height:38px!important;border:0!important;border-radius:10px!important;background:#0d586b!important;color:#fff!important;font-size:28px!important;line-height:1!important;cursor:pointer!important;padding:0!important;}
.bmf-new-client-form{padding:22px 24px 24px!important;}
.bmf-modal-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important;}
.bmf-modal-grid label{display:flex!important;flex-direction:column!important;gap:7px!important;margin:0!important;color:#0d586b!important;font-size:14px!important;font-weight:800!important;}
.bmf-modal-grid input,.bmf-modal-grid textarea{width:100%!important;min-height:46px!important;border:1.8px solid #9bc8cf!important;border-radius:12px!important;background:#fbffff!important;color:#123d49!important;font-size:16px!important;font-weight:500!important;padding:10px 12px!important;box-sizing:border-box!important;outline:none!important;}
.bmf-modal-grid textarea{min-height:82px!important;resize:vertical!important;}
.bmf-modal-grid input:focus,.bmf-modal-grid textarea:focus{border-color:#0d586b!important;box-shadow:0 0 0 3px rgba(13,88,107,.12)!important;}
.bmf-span-2{grid-column:1/-1!important;}
.bmf-modal-actions{display:flex!important;justify-content:flex-end!important;gap:12px!important;margin-top:22px!important;}
.bmf-modal-primary,.bmf-modal-secondary{min-width:150px!important;height:46px!important;border-radius:12px!important;border:1.8px solid #0d586b!important;font-size:16px!important;font-weight:800!important;cursor:pointer!important;box-shadow:none!important;}
.bmf-modal-primary{background:#0d586b!important;color:#fff!important;}
.bmf-modal-secondary{background:#fff!important;color:#0d586b!important;}
.bmf-modal-msg{min-height:20px!important;margin-top:12px!important;color:#0d586b!important;font-weight:700!important;font-size:14px!important;}
.bmf-modal-msg.is-error{color:#b00020!important;}
@media(max-width:1200px){
  .bmf-control-head .bmf-filters{grid-template-columns:42px 1fr!important;}
  .bmf-control-head .bmf-search{grid-column:auto!important;}
}
@media(max-width:760px){
  .bmf-modal-grid{grid-template-columns:1fr!important;}
  .bmf-span-2{grid-column:auto!important;}
  .bmf-modal-card{width:96vw!important;border-radius:16px!important;}
  .bmf-modal-head,.bmf-new-client-form{padding-left:16px!important;padding-right:16px!important;}
  .bmf-modal-actions{flex-direction:column-reverse!important;}
  .bmf-modal-primary,.bmf-modal-secondary{width:100%!important;}
}


/* BMF v1.18.2 cabecera control compacta + papelera limpia */
.bmf-control{
  max-width:1240px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:16px!important;
}
.bmf-control-head{
  margin-bottom:14px!important;
}
.bmf-control-head .bmf-filters{
  display:grid!important;
  grid-template-columns:38px minmax(210px,310px) 126px 126px 96px 145px 104px 82px!important;
  gap:10px!important;
  align-items:end!important;
  justify-content:center!important;
  width:100%!important;
  max-width:1180px!important;
  margin:0 auto!important;
}
.bmf-add-client-btn{
  width:36px!important;
  height:36px!important;
  border-radius:10px!important;
  font-size:25px!important;
  line-height:30px!important;
  align-self:end!important;
}
.bmf-control-head .bmf-search{
  height:36px!important;
  min-width:0!important;
  max-width:310px!important;
  width:90%!important;
  font-size:17px!important;
  border-radius:12px!important;
  padding:5px 12px!important;
}
.bmf-control-head label{
  gap:6px!important;
  font-size:12px!important;
  line-height:1!important;
}
.bmf-control-head input[type=date],
.bmf-control-head select{
  height:36px!important;
  font-size:14px!important;
  border-radius:9px!important;
  padding:5px 14px!important;
}
.bmf-filter-action{
  min-height:36px!important;
  gap:3px!important;
  justify-content:flex-end!important;
}
.bmf-filter-action .bmf-clear-filters{
  font-size:14px!important;
  margin:0!important;
  padding-bottom:3px
}
.bmf-filter-btn{
  height:36px!important;
  min-width:96px!important;
  font-size:16px!important;
  border-radius:9px!important;
  padding:5px 12px!important;
}
.bmf-counter-wrap{
  gap:6px!important;
}
.bmf-counter-wrap strong{
  font-size:12px!important;
  line-height:1!important;
}
.bmf-counter{
  grid-template-columns:28px 28px 28px 28px!important;
}
.bmf-counter span,
.bmf-counter .bmf-counter-label{
  height:36px!important;
  font-size:15px!important;
   margin: 0 2px; 
}
.bmf-bulk-actions{
  gap:10px!important;
  align-items:end!important;
  justify-content:flex-start!important;
  margin:0!important;
}
#bmf-export-selected,
#bmf-delete-selected{
  width:34px!important;
  height:36px!important;
  background-size:25px 25px!important;
  border:0!important;
  background-color:transparent!important;
  box-shadow:none!important;
}
#bmf-delete-selected{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%230d586b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h16'/%3E%3Cpath d='M10 8V5.8c0-.7.5-1.2 1.2-1.2h5.6c.7 0 1.2.5 1.2 1.2V8'/%3E%3Cpath d='M8.2 8.5l1 14c.1.8.7 1.4 1.5 1.4h6.6c.8 0 1.4-.6 1.5-1.4l1-14'/%3E%3Cpath d='M12 12v7'/%3E%3Cpath d='M16 12v7'/%3E%3C/svg%3E")!important;
}
#bmf-delete-selected:before,
#bmf-delete-selected:after{
  content:none!important;
  display:none!important;
}
.bmf-table-scroll{
  border-radius:14px 14px 0 0!important;
}
.bmf-table th{
  height:72px!important;
  font-size:24px!important;
}
.bmf-table td{
  font-size:15px!important;
}
@media(max-width:1100px){
  .bmf-control-head .bmf-filters{
    grid-template-columns:38px minmax(190px,1fr) 118px 118px 92px 135px 104px 78px!important;
    gap:8px!important;
  }
  .bmf-control-head .bmf-search{
    max-width:none!important;
  }
}
@media(max-width:760px){
  .bmf-control{
    padding:10px!important;
  }
  .bmf-control-head .bmf-filters{
    grid-template-columns:38px 1fr!important;
    gap:8px!important;
    align-items:end!important;
  }
  .bmf-add-client-btn{
    grid-column:1!important;
  }
  .bmf-control-head .bmf-search{
    grid-column:2!important;
  }
  .bmf-control-head label,
  .bmf-filter-action,
  .bmf-counter-wrap,
  .bmf-bulk-actions{
    grid-column:1/-1!important;
  }
  .bmf-bulk-actions{
    justify-content:flex-end!important;
  }
}

/* BMF v1.18.3 modal submit fix + print rebind + filled trash icon */
#bmf-delete-selected{
  background-size:32px 32px!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='%230d586b'%3E%3Cpath d='M20 18h24l-2 39H22L20 18z'/%3E%3Cpath d='M17 12h30c2.2 0 4 1.8 4 4v3H13v-3c0-2.2 1.8-4 4-4z'/%3E%3Cpath d='M26 7h12c2.2 0 4 1.8 4 4v3H22v-3c0-2.2 1.8-4 4-4z'/%3E%3C/g%3E%3C/svg%3E")!important;
}
#bmf-delete-selected:before,
#bmf-delete-selected:after{
  content:none!important;
  display:none!important;
}

/* BMF v1.18.4 no auto-refresh + compact table header + normal trash size */
.bmf-table th{
  height:58px!important;
  padding-top:8px!important;
  padding-bottom:8px!important;
  font-size:20px!important;
  line-height:1.1!important;
}
.bmf-table thead th{
  vertical-align:middle!important;
}
.bmf-table td{
  padding-top:10px!important;
  padding-bottom:10px!important;
}
.bmf-bulk-actions{
  gap:14px!important;
}
#bmf-delete-selected{
  width:42px!important;
  height:40px!important;
  background-size:34px 34px!important;
  background-position:center!important;
  flex:0 0 42px!important;
}
#bmf-export-selected{
  width:38px!important;
  height:40px!important;
  background-size:29px 29px!important;
  flex:0 0 44px!important;
}
#bmf-delete-selected{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='%230d586b'%3E%3Cpath d='M18 18h28l-2.2 38c-.1 2.2-1.9 4-4.1 4H24.3c-2.2 0-4-1.8-4.1-4L18 18z'/%3E%3Cpath d='M14 12h36c2.2 0 4 1.8 4 4v3H10v-3c0-2.2 1.8-4 4-4z'/%3E%3Cpath d='M25 5h14c2.2 0 4 1.8 4 4v4H21V9c0-2.2 1.8-4 4-4z'/%3E%3C/g%3E%3C/svg%3E")!important;
}
@media(max-width:900px){
  .bmf-table th{
    height:54px!important;
    font-size:18px!important;
  }
}

/* BMF v1.18.5 printer/photo columns */
.bmf-table{min-width:1490px!important;}
.bmf-table th:nth-child(1){width:72px!important}
.bmf-table th:nth-child(2){width:78px!important}
.bmf-table th:nth-child(3){width:280px!important}
.bmf-table th:nth-child(4){width:220px!important}
.bmf-table th:nth-child(5){width:220px!important}
.bmf-table th:nth-child(6){width:225px!important}
.bmf-table th:nth-child(7){width:220px!important}
.bmf-table th:nth-child(8){width:110px!important}
.bmf-table th:nth-child(9){width:92px!important}
.bmf-table th:nth-child(10){width:90px!important}

.bmf-table th:nth-child(1),
.bmf-table th:nth-child(2),
.bmf-table th:nth-child(3){background:#0d586b!important;color:#fff!important}
.bmf-table th:nth-child(4){background:#ffd792!important}
.bmf-table th:nth-child(5){background:#8bd9c2!important}
.bmf-table td:nth-child(1),
.bmf-table td:nth-child(2),
.bmf-table td:nth-child(3),
.bmf-table td:nth-child(5){background:#d4eeee!important}
.bmf-table td:nth-child(4){background:#fff5e5!important}

.bmf-table thead th:first-child{border-top-left-radius:55px!important}
.bmf-table thead th:last-child{border-top-right-radius:28px!important}
.bmf-table td:nth-child(3){text-align:left!important;color:#0d586b!important}
.bmf-table td:nth-child(3) strong{font-size:21px!important;color:#0d586b!important;font-weight:900!important}

.bmf-print-head,.bmf-print-col,.bmf-photo-head,.bmf-photo-col,.bmf-status-cell,.bmf-qr-cell{text-align:center!important}
.bmf-print-col .bmf-print{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;margin:0!important;padding:0!important}
.bmf-print-glyph{
  display:block!important;width:38px!important;height:38px!important;background-repeat:no-repeat!important;background-position:center!important;background-size:contain!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23050505' d='M18 8h28v14H18z'/%3E%3Cpath fill='%23050505' d='M13 24h38c4.4 0 8 3.6 8 8v12H48V34H16v10H5V32c0-4.4 3.6-8 8-8z'/%3E%3Cpath fill='%23050505' d='M16 38h32v18H16z'/%3E%3Ccircle cx='49' cy='32' r='3' fill='%23fff'/%3E%3C/svg%3E")!important;
}
.bmf-doc-icon,.bmf-send-icon{
  display:inline-block!important;width:34px!important;height:34px!important;background-repeat:no-repeat!important;background-position:center!important;background-size:contain!important;
}
.bmf-doc-icon{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='4' d='M18 8h20l10 10v38H18z'/%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='4' d='M38 8v10h10M24 28h18M24 36h18M24 44h18'/%3E%3C/svg%3E")!important;
}
.bmf-send-icon{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath fill='%230d586b' fill-rule='evenodd' d='M18.8 8.2H16V7h3.001c.55 0 .999.446.999.996v13.008a1 1 0 0 1-.996.996H4.996A1 1 0 0 1 4 21.004V7.996A1 1 0 0 1 4.999 7H8v1.2H5.2v12.6h13.6zm-6.2-3.938V13.5h-1.2V4.262L9.313 6.349L8.464 5.5l2.829-2.828a1 1 0 0 1 1.414 0L15.536 5.5l-.849.849z'/%3E%3C/svg%3E") !important;
}
.bmf-photo-col{padding-top:10px!important;padding-bottom:10px!important}
.bmf-photo-col .bmf-share-photo-wa{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:46px!important;height:46px!important;margin:0 auto 8px!important;padding:0!important;background:transparent!important;border:0!important}
.bmf-photo-col .bmf-wa-mini{width:42px!important;height:42px!important}
.bmf-photo-col .bmf-thumb{width:56px!important;height:56px!important;border-radius:0!important;display:block!important;margin:0 auto!important;object-fit:cover!important}
.bmf-receive-photo-wrap{display:none!important}
.bmf-qr-cell .bmf-qr{margin-top:10px!important}

/* BMF v1.18.6 ajuste columnas print/photo + whatsapp negro */
.bmf-table{
  min-width:1410px!important;
}
.bmf-table th:nth-child(1){width:68px!important;}
.bmf-table th:nth-child(2){width:54px!important;}
.bmf-table th:nth-child(3){width:255px!important;}
.bmf-table th:nth-child(4){width:205px!important;}
.bmf-table th:nth-child(5){width:205px!important;}
.bmf-table th:nth-child(6){width:210px!important;}
.bmf-table th:nth-child(7){width:205px!important;}
.bmf-table th:nth-child(8){width:92px!important;}
.bmf-table th:nth-child(9){width:82px!important;}
.bmf-table th:nth-child(10){width:86px!important;}

.bmf-print-head,
.bmf-print-col{
  width:54px!important;
  min-width:54px!important;
  max-width:54px!important;
  padding-left:8px!important;
  padding-right:8px!important;
}
.bmf-print-head .bmf-doc-icon{
  width:28px!important;
  height:28px!important;
}
.bmf-print-col .bmf-print{
  width:34px!important;
  height:34px!important;
}
.bmf-print-glyph{
  width:30px!important;
  height:30px!important;
}
.bmf-client-col{
  min-width:255px!important;
}
.bmf-photo-head,
.bmf-photo-col{
  width:92px!important;
  min-width:92px!important;
  max-width:92px!important;
  padding-left:8px!important;
  padding-right:8px!important;
}
.bmf-photo-head .bmf-send-icon{
  width:28px!important;
  height:28px!important;
}
.bmf-photo-col .bmf-share-photo-wa{
  width:36px!important;
  height:36px!important;
  margin:0 auto 7px!important;
}
.bmf-photo-col .bmf-thumb{
  width:46px!important;
  height:52px!important;
}
.bmf-photo-col .bmf-wa-mini{
  width:34px!important;
  height:34px!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath fill='%230d586b' d='M19.05 4.91A9.82 9.82 0 0 0 12.04 2c-5.46 0-9.91 4.45-9.91 9.91c0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21c5.46 0 9.91-4.45 9.91-9.91c0-2.65-1.03-5.14-2.9-7.01m-7.01 15.24c-1.48 0-2.93-.4-4.2-1.15l-.3-.18l-3.12.82l.83-3.04l-.2-.31a8.26 8.26 0 0 1-1.26-4.38c0-4.54 3.7-8.24 8.24-8.24c2.2 0 4.27.86 5.82 2.42a8.18 8.18 0 0 1 2.41 5.83c.02 4.54-3.68 8.23-8.22 8.23m4.52-6.16c-.25-.12-1.47-.72-1.69-.81c-.23-.08-.39-.12-.56.12c-.17.25-.64.81-.78.97c-.14.17-.29.19-.54.06c-.25-.12-1.05-.39-1.99-1.23c-.74-.66-1.23-1.47-1.38-1.72c-.14-.25-.02-.38.11-.51c.11-.11.25-.29.37-.43s.17-.25.25-.41c.08-.17.04-.31-.02-.43s-.56-1.34-.76-1.84c-.2-.48-.41-.42-.56-.43h-.48c-.17 0-.43.06-.66.31c-.22.25-.86.85-.86 2.07s.89 2.4 1.01 2.56c.12.17 1.75 2.67 4.23 3.74c.59.26 1.05.41 1.41.52c.59.19 1.13.16 1.56.1c.48-.07 1.47-.6 1.67-1.18c.21-.58.21-1.07.14-1.18s-.22-.16-.47-.28'/%3E%3C/svg%3E") !important;
}
.bmf-table td{
  font-size:22px!important;
}
.bmf-table td:nth-child(3) strong{
  font-size:19px!important;
}
@media(max-width:1500px){
  .bmf-table{
    min-width:1340px!important;
  }
  .bmf-table th:nth-child(2),
  .bmf-print-head,
  .bmf-print-col{
    width:50px!important;
    min-width:50px!important;
    max-width:50px!important;
  }
  .bmf-table th:nth-child(8),
  .bmf-photo-head,
  .bmf-photo-col{
    width:86px!important;
    min-width:86px!important;
    max-width:86px!important;
  }
}

/* BMF v1.18.7 ajuste profesional de espacios web */
.bmf-control{
  max-width:1280px!important;
  width:100%!important;
  padding:14px 14px 18px!important;
  box-sizing:border-box!important;
}
.bmf-table-scroll{
  width:100%!important;
  overflow-x:auto!important;
  border-radius:22px 18px 0 0!important;
}
.bmf-table{
  width:100%!important;
  min-width:1160px!important;
  table-layout:fixed!important;
}
.bmf-table th,
.bmf-table td{
  box-sizing:border-box!important;
  padding-left:8px!important;
  padding-right:8px!important;
  border-right-width:2px!important;
  border-bottom-width:2px!important;
}
.bmf-table th{
  height:58px!important;
  padding-top:6px!important;
  padding-bottom:6px!important;
  font-size:20px!important;
  line-height:1.05!important;
}
.bmf-table td{
  height:96px!important;
  padding-top:8px!important;
  padding-bottom:8px!important;
  font-size:14px!important;
  line-height:1.25!important;
  overflow:hidden!important;
}
.bmf-table th:nth-child(1),
.bmf-table td:nth-child(1){
  width:48px!important;
  min-width:48px!important;
  max-width:48px!important;
}
.bmf-table th:nth-child(2),
.bmf-table td:nth-child(2),
.bmf-print-head,
.bmf-print-col{
  width:54px!important;
  min-width:54px!important;
  max-width:54px!important;
}
.bmf-table th:nth-child(3),
.bmf-table td:nth-child(3),
.bmf-client-col{
  width:230px!important;
  min-width:230px!important;
  max-width:230px!important;
}
.bmf-table th:nth-child(4),
.bmf-table td:nth-child(4){
  width:150px!important;
  min-width:150px!important;
  max-width:150px!important;
}
.bmf-table th:nth-child(5),
.bmf-table td:nth-child(5){
  width:150px!important;
  min-width:150px!important;
  max-width:150px!important;
}
.bmf-table th:nth-child(6),
.bmf-table td:nth-child(6){
  width:170px!important;
  min-width:170px!important;
  max-width:170px!important;
}
.bmf-table th:nth-child(7),
.bmf-table td:nth-child(7){
  width:170px!important;
  min-width:170px!important;
  max-width:170px!important;
}
.bmf-table th:nth-child(8),
.bmf-table td:nth-child(8),
.bmf-photo-head,
.bmf-photo-col{
  width:76px!important;
  min-width:76px!important;
  max-width:76px!important;
}
.bmf-table th:nth-child(9),
.bmf-table td:nth-child(9){
  width:64px!important;
  min-width:64px!important;
  max-width:64px!important;
}
.bmf-table th:nth-child(10),
.bmf-table td:nth-child(10){
  width:64px!important;
  min-width:64px!important;
  max-width:64px!important;
}
.bmf-table input[type=checkbox]{
  width:20px!important;
  height:20px!important;
}
.bmf-table td:nth-child(3){
  text-align:left!important;
  padding-left:16px!important;
}
.bmf-table td:nth-child(3) strong{
  font-size:15px!important;
  line-height:1.15!important;
}
.bmf-client-details>summary,
.bmf-qr-details>summary{
  border-top-width:9px!important;
  border-bottom-width:9px!important;
  border-left-width:14px!important;
  margin-top:6px!important;
}
.bmf-cost,
.bmf-total{
  width:96px!important;
  height:34px!important;
  font-size:14px!important;
  border-width:1.5px!important;
  border-radius:9px!important;
  padding:4px 6px!important;
}
.bmf-note{
  width:116px!important;
  max-width:116px!important;
  height:42px!important;
  font-size:12px!important;
  border-radius:8px!important;
  padding:5px 6px!important;
  margin-top:8px!important;
}
.bmf-history>summary,
.bmf-sign-details>summary,
.bmf-history>summary.bmf-text-toggle,
.bmf-sign-details>summary.bmf-text-toggle{
  font-size:14px!important;
}
.bmf-table small{
  font-size:12px!important;
  line-height:1.2!important;
}
.bmf-status-icon{
  width:38px!important;
  height:38px!important;
  font-size:22px!important;
}
.bmf-truck-icon{
  width:34px!important;
  height:26px!important;
}
.bmf-truck-icon:before{
  font-size:28px!important;
  line-height:26px!important;
}
.bmf-doc-icon,
.bmf-send-icon{
  width:26px!important;
  height:26px!important;
}
.bmf-print-col .bmf-print{
  width:34px!important;
  height:34px!important;
}
.bmf-print-glyph{
  width:30px!important;
  height:30px!important;
}
.bmf-photo-col .bmf-share-photo-wa{
  width:30px!important;
  height:30px!important;
  margin-bottom:5px!important;
}
.bmf-photo-col .bmf-wa-mini{
  width:28px!important;
  height:28px!important;
}
.bmf-photo-col .bmf-thumb{
  width:42px!important;
  height:42px!important;
}
.bmf-qr-details .bmf-qr canvas,
.bmf-qr-details .bmf-qr img{
  width:70px!important;
  height:70px!important;
}
.bmf-details{
  font-size:12px!important;
  line-height:1.25!important;
  max-width:210px!important;
}
@media(min-width:1400px){
  .bmf-control{
    max-width:1320px!important;
  }
  .bmf-table{
    min-width:1180px!important;
  }
}
@media(max-width:900px){
  .bmf-table{
    min-width:1120px!important;
  }
  .bmf-table th{
    height:54px!important;
    font-size:18px!important;
  }
  .bmf-table td{
    height:88px!important;
  }
}

/* BMF v1.18.8 ajustes de anchos solicitados */
.bmf-table-scroll{
  overflow-x:auto!important;
}
.bmf-table{
  width:auto!important;
  min-width:1180px!important;
  table-layout:auto!important;
}
.bmf-table th:nth-child(1),
.bmf-table td:nth-child(1){
  width:34px!important;
  min-width:34px!important;
  max-width:34px!important;
  padding-left:6px!important;
  padding-right:6px!important;
}
.bmf-table th:nth-child(2),
.bmf-table td:nth-child(2),
.bmf-print-head,
.bmf-print-col{
  width:48px!important;
  min-width:48px!important;
  max-width:48px!important;
}
.bmf-table th:nth-child(3),
.bmf-table td:nth-child(3),
.bmf-client-col{
  width:auto!important;
  min-width:270px!important;
  max-width:none!important;
}
.bmf-table th:nth-child(4),
.bmf-table td:nth-child(4){
  width:180px!important;
  min-width:180px!important;
  max-width:180px!important;
}
.bmf-table th:nth-child(5),
.bmf-table td:nth-child(5){
  width:160px!important;
  min-width:160px!important;
  max-width:160px!important;
}
.bmf-table th:nth-child(6),
.bmf-table td:nth-child(6){
  width:170px!important;
  min-width:170px!important;
  max-width:170px!important;
}
.bmf-table th:nth-child(7),
.bmf-table td:nth-child(7){
  width:170px!important;
  min-width:170px!important;
  max-width:170px!important;
}
.bmf-table th:nth-child(8),
.bmf-table td:nth-child(8),
.bmf-photo-head,
.bmf-photo-col{
  width:76px!important;
  min-width:76px!important;
  max-width:76px!important;
}
.bmf-table th:nth-child(9),
.bmf-table td:nth-child(9){
  width:64px!important;
  min-width:64px!important;
  max-width:64px!important;
}
.bmf-table th:nth-child(10),
.bmf-table td:nth-child(10){
  width:94px!important;
  min-width:94px!important;
  max-width:94px!important;
}
.bmf-table td:nth-child(3){
  padding-left:14px!important;
  padding-right:14px!important;
  white-space:normal!important;
  word-break:break-word!important;
}
.bmf-table td:nth-child(3) strong{
  display:inline-block!important;
  max-width:100%!important;
}
.bmf-table td:nth-child(4){
  padding-left:12px!important;
  padding-right:12px!important;
}
.bmf-cost{
  width:120px!important;
  max-width:120px!important;
  margin:0 auto!important;
  display:block!important;
}
.bmf-note{
  width:132px!important;
  max-width:132px!important;
  margin:8px auto 0!important;
  display:block!important;
}
.bmf-table td:nth-child(10){
  padding-left:10px!important;
  padding-right:10px!important;
}
.bmf-qr-cell .bmf-qr{
  margin-top:8px!important;
}
.bmf-qr-details .bmf-qr canvas,
.bmf-qr-details .bmf-qr img{
  width:78px!important;
  height:78px!important;
}
@media(max-width:900px){
  .bmf-table{
    min-width:1160px!important;
  }
}

/* BMF v1.18.9 columna cliente inteligente */
.bmf-table-scroll{
  overflow-x:auto!important;
  overflow-y:visible!important;
}
.bmf-table{
  width:100%!important;
  min-width:1180px!important;
  table-layout:fixed!important;
}
.bmf-table th:nth-child(1),
.bmf-table td:nth-child(1){
  width:32px!important;
  min-width:32px!important;
  max-width:32px!important;
}
.bmf-table th:nth-child(2),
.bmf-table td:nth-child(2),
.bmf-print-head,
.bmf-print-col{
  width:46px!important;
  min-width:46px!important;
  max-width:46px!important;
}
.bmf-table th:nth-child(3),
.bmf-table td:nth-child(3),
.bmf-client-col{
  width:210px!important;
  min-width:210px!important;
  max-width:210px!important;
}
.bmf-table td:nth-child(3){
  overflow:visible!important;
  position:relative!important;
  white-space:normal!important;
  word-break:break-word!important;
}
.bmf-table td:nth-child(3) strong{
  display:block!important;
  max-width:100%!important;
  line-height:1.12!important;
}
.bmf-client-details{
  position:relative!important;
  display:block!important;
  width:24px!important;
  margin-top:6px!important;
}
.bmf-client-details[open]{
  z-index:30!important;
}
.bmf-client-details .bmf-details{
  position:absolute!important;
  left:0!important;
  top:28px!important;
  width:250px!important;
  max-width:250px!important;
  min-width:250px!important;
  padding:12px 16px!important;
  border:2px solid #2c5f71!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 8px 18px rgba(0,0,0,.08)!important;
  z-index:50!important;
  white-space:normal!important;
  word-break:break-word!important;
  overflow-wrap:anywhere!important;
}
.bmf-client-details:not([open]) .bmf-details{
  display:none!important;
}
.bmf-table td:nth-child(4){
  padding-left:14px!important;
  padding-right:14px!important;
}
.bmf-cost{
  width:116px!important;
}
.bmf-note{
  width:136px!important;
  max-width:136px!important;
}
@media(max-width:900px){
  .bmf-table{
    min-width:1120px!important;
  }
  .bmf-table th:nth-child(3),
  .bmf-table td:nth-child(3),
  .bmf-client-col{
    width:190px!important;
    min-width:190px!important;
    max-width:190px!important;
  }
  .bmf-client-details .bmf-details{
    width:230px!important;
    min-width:230px!important;
    max-width:230px!important;
  }
}

/* BMF v1.19.0 ventanas flotantes extra + share order + widths */
.bmf-table th:nth-child(1),
.bmf-table td:nth-child(1){
  width:27px!important;
  min-width:27px!important;
  max-width:27px!important;
  padding-left:4px!important;
  padding-right:4px!important;
}
.bmf-table th:nth-child(2),
.bmf-table td:nth-child(2),
.bmf-print-head,
.bmf-print-col{
  width:53px!important;
  min-width:53px!important;
  max-width:53px!important;
}
.bmf-table input[type=checkbox]{
  width:18px!important;
  height:18px!important;
}

.bmf-history,
.bmf-sign-details,
.bmf-qr-details{
  position:relative!important;
  display:inline-block!important;
}
.bmf-history[open],
.bmf-sign-details[open],
.bmf-qr-details[open],
.bmf-client-details[open]{
  z-index:40!important;
}
.bmf-history .bmf-history-popup,
.bmf-sign-details .bmf-sign-preview,
.bmf-qr-details .bmf-qr,
.bmf-history > small{
  position:absolute!important;
  left:0!important;
  top:28px!important;
  width:250px!important;
  max-width:250px!important;
  min-width:250px!important;
  padding:12px 16px!important;
  border:2px solid #2c5f71!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 8px 18px rgba(0,0,0,.08)!important;
  color:#111!important;
  z-index:55!important;
  white-space:normal!important;
  word-break:break-word!important;
  overflow-wrap:anywhere!important;
}
.bmf-history:not([open]) > small,
.bmf-sign-details:not([open]) .bmf-sign-preview,
.bmf-qr-details:not([open]) .bmf-qr{
  display:none!important;
}
.bmf-history > small{
  font-size:12px!important;
  line-height:1.35!important;
}
.bmf-sign-preview img{
  max-width:216px!important;
  height:auto!important;
  display:block!important;
  margin:0 auto!important;
}
.bmf-qr-details .bmf-qr{
  text-align:center!important;
}
.bmf-qr-details .bmf-qr canvas,
.bmf-qr-details .bmf-qr img{
  width:108px!important;
  height:108px!important;
  margin:0 auto!important;
}
/* place history/firma/qr popups to the left so they don't overflow too much */
.bmf-table td:nth-child(6) .bmf-history > small,
.bmf-table td:nth-child(7) .bmf-sign-preview,
.bmf-table td:nth-child(10) .bmf-qr{
  left:auto!important;
  right:0!important;
}
.bmf-photo-col{
  padding-top:8px!important;
  padding-bottom:8px!important;
}
.bmf-photo-col .bmf-thumb{
  display:block!important;
  margin:0 auto 6px!important;
  width:44px!important;
  height:50px!important;
  object-fit:cover!important;
}
.bmf-photo-col .bmf-share-photo-wa{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:30px!important;
  height:30px!important;
  margin:0 auto!important;
}
.bmf-photo-col .bmf-wa-mini{
  width:27px!important;
  height:27px!important;
}

/* BMF v1.19.1 fix popups + adjust select/printer widths */
.bmf-table th:nth-child(1),
.bmf-table td:nth-child(1){
  width:24px!important;
  min-width:24px!important;
  max-width:24px!important;
  padding-left:3px!important;
  padding-right:3px!important;
}
.bmf-table th:nth-child(2),
.bmf-table td:nth-child(2),
.bmf-print-head,
.bmf-print-col{
  width:56px!important;
  min-width:56px!important;
  max-width:56px!important;
}
.bmf-table input[type=checkbox]{
  width:16px!important;
  height:16px!important;
}
.bmf-table td:nth-child(6),
.bmf-table td:nth-child(7),
.bmf-table td:nth-child(10),
.bmf-mensajero-col,
.bmf-receive-col,
.bmf-qr-cell{
  overflow:visible!important;
  position:relative!important;
}
.bmf-history,
.bmf-sign-details,
.bmf-qr-details{
  position:relative!important;
  display:inline-block!important;
  width:auto!important;
  max-width:100%!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
  margin:0!important;
  padding:0!important;
}
.bmf-history > summary,
.bmf-sign-details > summary,
.bmf-qr-details > summary{
  position:relative!important;
  z-index:2!important;
}
.bmf-history > small,
.bmf-sign-details .bmf-sign-preview,
.bmf-qr-details .bmf-qr{
  top:calc(100% + 8px)!important;
  left:0!important;
  right:auto!important;
  margin:0!important;
  border:2px solid #2c5f71!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 10px 22px rgba(0,0,0,.10)!important;
}
.bmf-table td:nth-child(6) .bmf-history > small,
.bmf-table td:nth-child(7) .bmf-sign-details .bmf-sign-preview,
.bmf-table td:nth-child(10) .bmf-qr-details .bmf-qr{
  left:auto!important;
  right:0!important;
}
.bmf-history:not([open]) > small,
.bmf-sign-details:not([open]) .bmf-sign-preview,
.bmf-qr-details:not([open]) .bmf-qr{
  display:none!important;
}
.bmf-history[open],
.bmf-sign-details[open],
.bmf-qr-details[open],
.bmf-client-details[open]{
  z-index:100!important;
}
.bmf-history[open] > summary,
.bmf-sign-details[open] > summary,
.bmf-qr-details[open] > summary{
  z-index:101!important;
}

/* BMF v1.19.2 cliente por nombre + anchos iguales + color bordes */
.bmf-control-head .bmf-search,
.bmf-control-head input[type=date],
.bmf-control-head select,
.bmf-filter-btn,
.bmf-add-client-btn,
.bmf-counter span{
  border-color:#6da4b4!important;
}
.bmf-table-scroll,
.bmf-table th,
.bmf-table td,
.bmf-table th:last-child,
.bmf-table td:last-child{
  border-color:#6da4b4!important;
}
.bmf-table th:nth-child(1),
.bmf-table td:nth-child(1),
.bmf-table th:nth-child(2),
.bmf-table td:nth-child(2),
.bmf-table th:nth-child(9),
.bmf-table td:nth-child(9),
.bmf-table th:nth-child(10),
.bmf-table td:nth-child(10),
.bmf-print-head,
.bmf-print-col,
.bmf-qr-cell{
  width:64px!important;
  min-width:64px!important;
  max-width:64px!important;
}
.bmf-table input[type=checkbox]{
  width:18px!important;
  height:18px!important;
}
.bmf-client-col{
  text-align:left!important;
}
.bmf-client-details{
  display:block!important;
  width:auto!important;
  margin-top:0!important;
}
.bmf-client-details > summary,
.bmf-client-details > summary.bmf-client-name-toggle{
  list-style:none!important;
  display:inline-block!important;
  width:auto!important;
  height:auto!important;
  cursor:pointer!important;
  font-size:19px!important;
  line-height:1.12!important;
  font-weight:900!important;
  color:#28586d!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
  border:0!important;
  background:transparent!important;
  padding:0!important;
  margin:0 0 4px 0!important;
}
.bmf-client-details > summary::-webkit-details-marker,
.bmf-client-details > summary::marker{
  display:none!important;
  content:""!important;
}
.bmf-client-details > summary:before,
.bmf-client-details > summary:after{
  content:none!important;
  display:none!important;
}
.bmf-client-phone{
  color:#28586d!important;
  font-size:17px!important;
  line-height:1.2!important;
}
.bmf-receive-col small{
  display:block!important;
}
.bmf-sign-details{
  display:block!important;
  margin-top:6px!important;
}
.bmf-sign-details > summary{
  display:inline-block!important;
}


/* BMF v1.19.3 ajuste final: linea 1px + seleccion estrecha + printer centrado */
.bmf-table-scroll{
  border:1px solid #6da4b4!important;
}
.bmf-table th,
.bmf-table td{
  border-right:1px solid #6da4b4!important;
  border-bottom:1px solid #6da4b4!important;
}
.bmf-table th:last-child,
.bmf-table td:last-child{
  border-right:0!important;
}
.bmf-table tr:last-child td{
  border-bottom:0!important;
}
.bmf-table th:nth-child(1),
.bmf-table td:nth-child(1){
  width:34px!important;
  min-width:34px!important;
  max-width:34px!important;
  padding-left:2px!important;
  padding-right:2px!important;
  text-align:center!important;
  vertical-align:middle!important;
}
.bmf-table th:nth-child(1) input[type=checkbox],
.bmf-table td:nth-child(1) input[type=checkbox],
#bmf-select-all,
.bmf-select-row{
  width:14px!important;
  height:14px!important;
  display:block!important;
  margin:0 auto!important;
}
.bmf-table th:nth-child(2),
.bmf-table td:nth-child(2),
.bmf-print-head,
.bmf-print-col{
  width:50px!important;
  min-width:50px!important;
  max-width:50px!important;
  padding-left:4px!important;
  padding-right:4px!important;
  text-align:center!important;
  vertical-align:middle!important;
}
.bmf-print-head .bmf-doc-icon{
  display:block!important;
  width:28px!important;
  height:28px!important;
  margin:0 auto!important;
}
.bmf-print-col .bmf-print{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:34px!important;
  height:34px!important;
  margin:0 auto!important;
  padding:0!important;
  text-align:center!important;
}
.bmf-print-glyph{
  display:block!important;
  width:30px!important;
  height:30px!important;
  margin:0 auto!important;
  background-position:center!important;
}


/* BMF v1.19.4 definitivo: divisiones 1px + primera columna realmente estrecha */
.bmf-table-scroll{
  border:1px solid #6da4b4!important;
  box-sizing:border-box!important;
}
.bmf-table{
  border-spacing:0!important;
  table-layout:auto!important;
}
.bmf-table th,
.bmf-table td{
  border-top:0!important;
  border-left:0!important;
  border-right:1px solid #6da4b4!important;
  border-bottom:1px solid #6da4b4!important;
  box-sizing:border-box!important;
}
.bmf-table th:last-child,
.bmf-table td:last-child{
  border-right:0!important;
}
.bmf-table tbody tr:last-child td{
  border-bottom:0!important;
}
.bmf-table col.bmf-col-select{
  width:26px!important;
}
.bmf-table th:nth-child(1),
.bmf-table td:nth-child(1){
  width:26px!important;
  min-width:26px!important;
  max-width:26px!important;
  padding-left:0!important;
  padding-right:0!important;
  text-align:center!important;
  vertical-align:middle!important;
  overflow:hidden!important;
  white-space:nowrap!important;
}
.bmf-table th:nth-child(1){
  padding-top:0!important;
  padding-bottom:0!important;
}
.bmf-table td:nth-child(1){
  padding-top:8px!important;
  padding-bottom:8px!important;
}
.bmf-table th:nth-child(1) input[type=checkbox],
.bmf-table td:nth-child(1) input[type=checkbox],
#bmf-select-all,
.bmf-select-row{
  width:17px!important;
  height:17px!important;
  min-width:17px!important;
  max-width:17px!important;
  display:block!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.bmf-table col.bmf-col-printer{
  width:46px!important;
}
.bmf-table th:nth-child(2),
.bmf-table td:nth-child(2),
.bmf-print-head,
.bmf-print-col{
  width:46px!important;
  min-width:46px!important;
  max-width:46px!important;
  padding-left:2px!important;
  padding-right:2px!important;
  text-align:center!important;
  vertical-align:middle!important;
}
.bmf-print-col .bmf-print,
.bmf-print-head .bmf-doc-icon,
.bmf-print-glyph{
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
  background-position:center center!important;
}



/* v1.19.5 narrower selection column, wider printer column, softer first curve, 1px grid */
.bmf-table-scroll{
  border-width:1px!important;
  border-radius:12px 12px 0 0!important;
}
.bmf-table,
.bmf-table th,
.bmf-table td{
  border-width:1px!important;
}
.bmf-table th,
.bmf-table td{
  border-right-width:1px!important;
  border-bottom-width:1px!important;
}
.bmf-table th:nth-child(1),
.bmf-table td:nth-child(1){
  width:36px!important;
  min-width:36px!important;
  max-width:36px!important;
  padding-left:4px!important;
  padding-right:4px!important;
  text-align:center!important;
}
.bmf-table th:nth-child(2),
.bmf-table td:nth-child(2),
.bmf-print-head,
.bmf-print-col{
  width:74px!important;
  min-width:74px!important;
  max-width:74px!important;
  padding-left:4px!important;
  padding-right:4px!important;
  text-align:center!important;
}
.bmf-table td:nth-child(1) input[type=checkbox],
.bmf-table th:nth-child(1) input[type=checkbox]{
  display:block!important;
  margin:0 auto!important;
}
.bmf-table thead th:first-child{
  border-top-left-radius:16px!important;
}
.bmf-table thead th:last-child{
  border-top-right-radius:12px!important;
}



/* v1.19.6 driver Registro/Entrega flow */
.bmf-driver.bmf-driver-v2{
  max-width:430px!important;
  background:#d8eeee!important;
  padding:64px 34px 40px!important;
}
.bmf-driver-v2 .bmf-driver-userbar{
  margin:0 0 46px!important;
  height:56px!important;
  padding:0 16px!important;
  border:2px solid #111!important;
  border-radius:8px!important;
  font-size:28px!important;
}
.bmf-driver-v2 .bmf-driver-pchip{height:34px!important}
.bmf-driver-v2 .bmf-driver-pchip span,
.bmf-driver-v2 .bmf-driver-pchip b{height:32px!important;font-size:22px!important}
.bmf-driver-v2 .bmf-driver-mode-row{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:36px!important;
  align-items:center!important;
  margin:0 0 38px!important;
}
.bmf-driver-v2 .bmf-driver-mode-btn{
  height:52px!important;
  border-radius:5px!important;
  border:1.4px solid #4d7680!important;
  box-shadow:none!important;
  font-size:32px!important;
  font-weight:400!important;
  cursor:pointer!important;
  line-height:1!important;
}
.bmf-driver-v2 .bmf-mode-registro{
  background:#fff!important;
  color:#1e5566!important;
}
.bmf-driver-v2 .bmf-mode-entrega{
  background:#0d586b!important;
  color:#fff!important;
  border-color:#0d586b!important;
}
.bmf-driver-v2 .bmf-driver-actions-v2{
  display:grid!important;
  grid-template-columns:1fr 58px 58px!important;
  gap:36px!important;
  align-items:center!important;
  margin:0 0 26px!important;
}
.bmf-driver-v2 .bmf-driver-select-row{
  margin:0!important;
  position:relative!important;
}
.bmf-driver-v2 .bmf-driver-select-row:before{
  content:"♡"!important;
  position:absolute!important;
  left:24px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  color:#fff!important;
  font-size:34px!important;
  line-height:1!important;
  z-index:2!important;
  pointer-events:none!important;
}
.bmf-driver-v2 #bmf-driver-client-select{
  width:100%!important;
  height:58px!important;
  border-radius:7px!important;
  background:#0d586b!important;
  color:#fff!important;
  font-size:26px!important;
  padding:0 18px 0 68px!important;
  text-align:center!important;
  text-align-last:center!important;
}
.bmf-driver-v2 .bmf-driver-icon,
.bmf-driver-v2 .bmf-driver-qr-icon{
  width:58px!important;
  height:58px!important;
  border-radius:8px!important;
  background:#0d586b!important;
}
.bmf-driver-v2 .bmf-reader-wrap{
  position:relative!important;
  margin:0 0 18px!important;
}
.bmf-driver-v2 #bmf-reader{
  max-width:100%!important;
  min-height:280px!important;
  border:1.5px solid #4d7680!important;
  border-radius:10px!important;
  overflow:hidden!important;
  background:#fff!important;
}
.bmf-driver-v2 #bmf-cancel-scan{
  position:absolute!important;
  right:8px!important;
  bottom:8px!important;
  height:42px!important;
  padding:0 18px!important;
  border:1.4px solid #4d7680!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#1e5566!important;
  font-size:18px!important;
  z-index:20!important;
}
.bmf-driver-v2 #bmf-current-client{
  min-height:138px!important;
  margin:0 0 26px!important;
  padding-left:18px!important;
  color:#214f5d!important;
  font-size:26px!important;
  line-height:1.42!important;
}
.bmf-driver-v2 #bmf-current-client b{
  font-size:26px!important;
  font-weight:800!important;
}
.bmf-driver-v2 #bmf-registro-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:124px;
  align-items:center;
  padding:0 18px;
}
.bmf-driver-v2 #bmf-registro-actions .bmf-btn{
  height:54px!important;
  border-radius:8px!important;
  box-shadow:none!important;
  font-size:28px!important;
  font-weight:400!important;
  padding:0 16px!important;
}
.bmf-driver-v2 #bmf-registro-close{
  background:#fff!important;
  color:#1e5566!important;
  border:1.4px solid #4d7680!important;
}
.bmf-driver-v2 #bmf-registro-continue{
  background:#0d586b!important;
  color:#fff!important;
  border:1.4px solid #0d586b!important;
}
.bmf-driver-v2 #bmf-delivery-box{
  margin-top:0!important;
  border:1.4px solid #4d7680!important;
  border-radius:7px!important;
  padding:12px 18px 18px!important;
}
.bmf-driver-v2 #bmf-recibe-nombre{
  height:62px!important;
  font-size:28px!important;
}
.bmf-driver-v2 .bmf-driver-save-row{
  grid-template-columns:1fr 88px 1fr!important;
  gap:34px!important;
  padding:0 10px!important;
}
.bmf-driver-v2 #bmf-clear-sign,
.bmf-driver-v2 #bmf-save-delivery{
  height:54px!important;
  font-size:30px!important;
  font-weight:400!important;
}
@media(max-width:760px){
  .bmf-driver.bmf-driver-v2{
    max-width:none!important;
    width:100%!important;
    padding:102px 70px 40px!important;
    min-height:100vh!important;
  }
  .bmf-driver-v2 .bmf-driver-userbar{
    margin-bottom:46px!important;
    font-size:28px!important;
  }
  .bmf-driver-v2 .bmf-driver-mode-row{
    gap:36px!important;
    margin-bottom:38px!important;
  }
  .bmf-driver-v2 .bmf-driver-actions-v2{
    grid-template-columns:1fr 58px 58px!important;
    gap:36px!important;
  }
  .bmf-driver-v2 #bmf-current-client{
    font-size:26px!important;
    padding-left:18px!important;
  }
  .bmf-driver-v2 #bmf-current-client b{font-size:26px!important;}
  .bmf-driver-v2 #bmf-registro-actions{
    gap:124px!important;
    padding:0 18px!important;
  }
}
@media(max-width:520px){
  .bmf-driver.bmf-driver-v2{padding-left:22px!important;padding-right:22px!important;}
  .bmf-driver-v2 .bmf-driver-mode-row{gap:24px!important;}
  .bmf-driver-v2 .bmf-driver-actions-v2{gap:22px!important;grid-template-columns:1fr 58px 58px!important;}
  .bmf-driver-v2 #bmf-current-client{font-size:22px!important;}
  .bmf-driver-v2 #bmf-current-client b{font-size:22px!important;}
  .bmf-driver-v2 #bmf-registro-actions{gap:60px!important;}
}



/* v1.19.7 compact mobile driver layout */
.bmf-driver.bmf-driver-v2{
  max-width:430px!important;
  padding:22px 22px 28px!important;
}
.bmf-driver-v2 .bmf-driver-userbar{
  height:48px!important;
  margin:0 0 28px!important;
  padding:0 14px!important;
  font-size:24px!important;
  border-radius:8px!important;
}
.bmf-driver-v2 .bmf-driver-pchip{
  height:30px!important;
}
.bmf-driver-v2 .bmf-driver-pchip span,
.bmf-driver-v2 .bmf-driver-pchip b{
  height:28px!important;
  width:30px!important;
  font-size:20px!important;
}
.bmf-driver-v2 .bmf-driver-mode-row{
  gap:26px!important;
  margin:0 0 26px!important;
}
.bmf-driver-v2 .bmf-driver-mode-btn{
  height:44px!important;
  font-size:24px!important;
  border-radius:6px!important;
}
.bmf-driver-v2 .bmf-driver-actions-v2{
  grid-template-columns:1fr 48px 48px!important;
  gap:24px!important;
  margin:0 0 22px!important;
}
.bmf-driver-v2 #bmf-driver-client-select{
  height:50px!important;
  font-size:21px!important;
  padding-left:56px!important;
  border-radius:7px!important;
}
.bmf-driver-v2 .bmf-driver-select-row:before{
  left:18px!important;
  font-size:30px!important;
}
.bmf-driver-v2 .bmf-driver-icon,
.bmf-driver-v2 .bmf-driver-qr-icon{
  width:48px!important;
  height:50px!important;
  border-radius:8px!important;
}
.bmf-driver-v2 .bmf-phone-svg,
.bmf-driver-v2 .bmf-wa-svg{
  width:27px!important;
  height:27px!important;
  background-size:27px 27px!important;
}
.bmf-driver-v2 #bmf-current-client{
  min-height:105px!important;
  margin:0 0 18px!important;
  padding-left:14px!important;
  font-size:22px!important;
  line-height:1.32!important;
}
.bmf-driver-v2 #bmf-current-client b{
  font-size:22px!important;
}
.bmf-driver-v2 #bmf-delivery-box{
  padding:12px 14px 14px!important;
  margin:0 0 10px!important;
}
.bmf-driver-v2 #bmf-recibe-nombre{
  height:52px!important;
  margin:0 0 12px!important;
  font-size:24px!important;
  padding:8px 14px!important;
}
.bmf-driver-v2 #bmf-signature{
  height:128px!important;
  border-radius:8px!important;
}
.bmf-driver-v2 .bmf-signature-lock-btn{
  font-size:20px!important;
}
.bmf-driver-v2 .bmf-driver-save-row{
  grid-template-columns:96px 54px 110px!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding:0!important;
  margin-top:12px!important;
}
.bmf-driver-v2 #bmf-clear-sign,
.bmf-driver-v2 #bmf-save-delivery{
  height:46px!important;
  width:100%!important;
  min-width:0!important;
  padding:0 10px!important;
  font-size:22px!important;
  line-height:1!important;
  white-space:nowrap!important;
  border-radius:9px!important;
}
.bmf-driver-v2 .bmf-camera-btn{
  width:54px!important;
  height:46px!important;
  font-size:32px!important;
  line-height:1!important;
  padding:0!important;
}
.bmf-driver-v2 #bmf-registro-actions{
  gap:34px!important;
  padding:0 14px!important;
}
.bmf-driver-v2 #bmf-registro-actions .bmf-btn{
  height:44px!important;
  font-size:22px!important;
  white-space:nowrap!important;
}
.bmf-driver-v2 #bmf-reader{
  min-height:240px!important;
}
@media(max-width:760px){
  .bmf-driver.bmf-driver-v2{
    padding:24px 26px 28px!important;
    min-height:100vh!important;
  }
  .bmf-driver-v2 .bmf-driver-userbar{
    height:48px!important;
    margin-bottom:28px!important;
    font-size:24px!important;
  }
  .bmf-driver-v2 .bmf-driver-mode-row{
    gap:26px!important;
    margin-bottom:26px!important;
  }
  .bmf-driver-v2 .bmf-driver-mode-btn{
    height:44px!important;
    font-size:24px!important;
  }
  .bmf-driver-v2 .bmf-driver-actions-v2{
    grid-template-columns:1fr 48px 48px!important;
    gap:24px!important;
  }
  .bmf-driver-v2 #bmf-current-client{
    font-size:22px!important;
    min-height:105px!important;
    margin-bottom:18px!important;
  }
  .bmf-driver-v2 #bmf-current-client b{
    font-size:22px!important;
  }
  .bmf-driver-v2 #bmf-registro-actions{
    gap:34px!important;
  }
}
@media(max-width:390px){
  .bmf-driver.bmf-driver-v2{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  .bmf-driver-v2 .bmf-driver-mode-row{
    gap:18px!important;
  }
  .bmf-driver-v2 .bmf-driver-actions-v2{
    gap:18px!important;
  }
  .bmf-driver-v2 #bmf-current-client,
  .bmf-driver-v2 #bmf-current-client b{
    font-size:20px!important;
  }
  .bmf-driver-v2 .bmf-driver-save-row{
    grid-template-columns:86px 50px 100px!important;
  }
  .bmf-driver-v2 #bmf-clear-sign,
  .bmf-driver-v2 #bmf-save-delivery{
    font-size:20px!important;
  }
}



/* v1.19.8 driver mobile size correction */
.bmf-driver.bmf-driver-v2{
  max-width:390px!important;
  padding:18px 18px 24px!important;
}
.bmf-driver-v2 .bmf-driver-userbar{
  height:42px!important;
  margin:0 0 22px!important;
  padding:0 12px!important;
  font-size:21px!important;
  border-width:1.2px!important;
  border-radius:7px!important;
}
.bmf-driver-v2 .bmf-driver-pchip{
  height:28px!important;
}
.bmf-driver-v2 .bmf-driver-pchip span,
.bmf-driver-v2 .bmf-driver-pchip b{
  width:28px!important;
  height:26px!important;
  font-size:18px!important;
}
.bmf-driver-v2 .bmf-driver-mode-row{
  grid-template-columns:1fr 1fr!important;
  gap:18px!important;
  margin:0 0 22px!important;
}
.bmf-driver-v2 .bmf-driver-mode-btn,
.bmf-driver-v2 #bmf-start-scan,
.bmf-driver-v2 #bmf-start-entrega{
  width:100%!important;
  height:42px!important;
  min-height:42px!important;
  padding:0!important;
  font-size:21px!important;
  line-height:1!important;
  border-radius:6px!important;
  box-sizing:border-box!important;
}
.bmf-driver-v2 .bmf-driver-actions-v2{
  grid-template-columns:minmax(190px,1fr) 2px 46px!important;
  gap:28px!important;
  margin:0 0 18px!important;
}
.bmf-driver-v2 .bmf-driver-select-row{
  width:100%!important;
}
.bmf-driver-v2 .bmf-driver-select-row:before{
  content:""!important;
  left:16px!important;
  width:28px!important;
  height:28px!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:28px 28px!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7.5' r='3.5'/%3E%3Cpath d='M4.5 21c.8-4.4 3.4-6.6 7.5-6.6s6.7 2.2 7.5 6.6'/%3E%3C/svg%3E")!important;
}
.bmf-driver-v2 #bmf-driver-client-select{
  height:48px!important;
  min-height:48px!important;
  width:100%!important;
  font-size:20px!important;
  padding:0 12px 0 56px!important;
  border-radius:7px!important;
  text-align:left!important;
  text-align-last:left!important;
}
.bmf-driver-v2 .bmf-driver-icon,
.bmf-driver-v2 .bmf-driver-qr-icon{
  width:46px!important;
  height:48px!important;
  min-width:46px!important;
  min-height:48px!important;
  border-radius:7px!important;
}
.bmf-driver-v2 .bmf-phone-svg,
.bmf-driver-v2 .bmf-wa-svg{
  width:25px!important;
  height:25px!important;
  background-size:25px 25px!important;
}
.bmf-driver-v2 #bmf-current-client{
  min-height:95px!important;
  margin:0 0 14px!important;
  padding-left:8px!important;
  font-size:19px!important;
  line-height:1.32!important;
}
.bmf-driver-v2 #bmf-current-client b{
  font-size:19px!important;
}
.bmf-driver-v2 #bmf-delivery-box{
  padding:10px 12px 12px!important;
}
.bmf-driver-v2 #bmf-recibe-nombre{
  height:46px!important;
  font-size:21px!important;
  padding:6px 12px!important;
}
.bmf-driver-v2 #bmf-signature{
  height:112px!important;
}
.bmf-driver-v2 .bmf-signature-lock-btn{
  font-size:18px!important;
}
.bmf-driver-v2 .bmf-driver-save-row{
  grid-template-columns:86px 48px 96px!important;
  gap:8px!important;
}
.bmf-driver-v2 #bmf-clear-sign,
.bmf-driver-v2 #bmf-save-delivery{
  height:42px!important;
  font-size:19px!important;
}
.bmf-driver-v2 .bmf-camera-btn{
  width:48px!important;
  height:42px!important;
  font-size:28px!important;
}
.bmf-driver-v2 #bmf-registro-actions{
  gap:28px!important;
  padding:0 8px!important;
}
.bmf-driver-v2 #bmf-registro-actions .bmf-btn{
  height:40px!important;
  font-size:19px!important;
}
@media(max-width:760px){
  .bmf-driver.bmf-driver-v2{
    max-width:none!important;
    width:100%!important;
    padding:18px 32px 24px!important;
    min-height:100vh!important;
  }
  .bmf-driver-v2 .bmf-driver-userbar{
    height:42px!important;
    margin-bottom:22px!important;
    font-size:21px!important;
  }
  .bmf-driver-v2 .bmf-driver-mode-row{
    gap:18px!important;
    margin-bottom:22px!important;
  }
  .bmf-driver-v2 .bmf-driver-mode-btn,
  .bmf-driver-v2 #bmf-start-scan,
  .bmf-driver-v2 #bmf-start-entrega{
    height:42px!important;
    min-height:42px!important;
    font-size:21px!important;
  }
  .bmf-driver-v2 .bmf-driver-actions-v2{
    grid-template-columns:minmax(190px,1fr) 2px 46px!important;
    gap:28px!important;
  }
  .bmf-driver-v2 #bmf-current-client,
  .bmf-driver-v2 #bmf-current-client b{
    font-size:19px!important;
  }
}
@media(max-width:430px){
  .bmf-driver.bmf-driver-v2{
    padding-left:22px!important;
    padding-right:22px!important;
  }
  .bmf-driver-v2 .bmf-driver-actions-v2{
    grid-template-columns:minmax(170px,1fr) 44px 44px!important;
    gap:14px!important;
  }
  .bmf-driver-v2 .bmf-driver-icon,
  .bmf-driver-v2 .bmf-driver-qr-icon{
    width:44px!important;
    height:46px!important;
  }
}


/* BMF filtro por estado v1.19.9 */
.bmf-counter .bmf-status-filter-link{ text-decoration:none!important; cursor:pointer!important; }
.bmf-counter .bmf-status-filter-link:hover,
.bmf-counter .bmf-status-filter-link.is-active{ outline:2px solid #055810!important; outline-offset:2px!important; }
.bmf-status-cell .bmf-status-icon{ text-decoration:none!important; cursor:pointer!important; }
.bmf-status-cell .bmf-status-icon:hover{ transform:scale(1.06)!important; }


/* BMF v1.20.0: mensajero mas estrecho + filtro automatico */
.bmf-control-head .bmf-filters{
  grid-template-columns:minmax(290px,360px) 150px 150px 118px 110px 110px 96px!important;
}
.bmf-mensajero-filter-label{
  max-width:110px!important;
  width:110px!important;
}
.bmf-mensajero-filter-label select,
#bmf-mensajero-select{
  max-width:110px!important;
  width:110px!important;
  padding-left:10px!important;
  padding-right:6px!important;
}
@media(max-width:1200px){
  .bmf-control-head .bmf-filters{grid-template-columns:1fr 1fr!important;}
  .bmf-mensajero-filter-label,
  .bmf-mensajero-filter-label select,
  #bmf-mensajero-select{width:100%!important;max-width:none!important;}
}


/* BMF v1.20.1: cabecera control organizada por areas, evita que un cambio de ancho rompa toda la fila */
.bmf-control-head .bmf-filters{
  display:grid!important;
  grid-template-columns:42px minmax(220px,300px) 120px 120px 96px 104px 96px 82px!important;
  grid-template-areas:"add search desde hasta action messenger counter bulk"!important;
  gap:10px!important;
  align-items:end!important;
  justify-content:center!important;
  width:100%!important;
  max-width:1090px!important;
  margin:0 auto!important;
}
.bmf-control-head .bmf-add-client-btn{grid-area:add!important;justify-self:center!important;align-self:end!important;}
.bmf-control-head .bmf-search{grid-area:search!important;width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;}
.bmf-control-head .bmf-filters > label:first-of-type{grid-area:desde!important;}
.bmf-control-head .bmf-filters > label:nth-of-type(2){grid-area:hasta!important;}
.bmf-control-head .bmf-filter-action{grid-area:action!important;width:100%!important;min-width:0!important;}
.bmf-control-head .bmf-mensajero-filter-label{grid-area:messenger!important;width:104px!important;max-width:104px!important;min-width:0!important;}
.bmf-control-head .bmf-counter-wrap{grid-area:counter!important;width:96px!important;max-width:96px!important;min-width:0!important;}
.bmf-control-head .bmf-bulk-actions{grid-area:bulk!important;justify-self:end!important;align-self:end!important;width:auto!important;min-width:0!important;}
.bmf-control-head label{display:flex!important;flex-direction:column!important;min-width:0!important;}
.bmf-control-head label > input,
.bmf-control-head label > select{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;}
.bmf-control-head #bmf-mensajero-select{width:104px!important;max-width:104px!important;min-width:0!important;}
.bmf-control-head .bmf-filter-btn{width:96px!important;min-width:96px!important;max-width:96px!important;}
.bmf-control-head .bmf-counter{grid-template-columns:24px 24px 24px 24px!important;width:96px!important;}
.bmf-control-head .bmf-counter span,
.bmf-control-head .bmf-counter a{box-sizing:border-box!important;}
@media(max-width:1200px){
  .bmf-control-head .bmf-filters{
    grid-template-columns:42px minmax(180px,1fr) 112px 112px 92px!important;
    grid-template-areas:
      "add search search search bulk"
      ". desde hasta action counter"
      ". messenger messenger messenger messenger"!important;
    max-width:760px!important;
  }
  .bmf-control-head .bmf-mensajero-filter-label,
  .bmf-control-head #bmf-mensajero-select{width:100%!important;max-width:none!important;}
}
@media(max-width:760px){
  .bmf-control-head .bmf-filters{
    grid-template-columns:42px 1fr 82px!important;
    grid-template-areas:
      "add search bulk"
      "desde hasta action"
      "messenger messenger counter"!important;
    gap:8px!important;
    max-width:100%!important;
  }
  .bmf-control-head .bmf-filter-btn{width:82px!important;min-width:82px!important;max-width:82px!important;font-size:14px!important;}
  .bmf-control-head .bmf-counter-wrap{width:96px!important;max-width:96px!important;justify-self:end!important;}
}

/* BMF ajuste final: separación iconos y contador P/E proporcionado */
.bmf-control-head .bmf-filters{
  grid-template-columns:42px minmax(220px,300px) 120px 120px 96px 104px 108px 108px!important;
  max-width:1120px!important;
}
.bmf-control-head .bmf-counter-wrap{
  width:108px!important;
  max-width:108px!important;
}
.bmf-control-head .bmf-counter{
  grid-template-columns:24px 24px 32px 24px!important;
  width:108px!important;
}
.bmf-control-head .bmf-counter a:nth-child(3){
  margin-left:8px!important;
}
.bmf-control-head .bmf-bulk-actions{
  gap:14px!important;
  padding-left:14px!important;
  justify-self:start!important;
  width:108px!important;
}
#bmf-export-selected{
  margin-left:6px!important;
  margin-right:4px!important;
  flex:0 0 36px!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  max-width:36px!important;
  background-size:26px 26px!important;
}
#bmf-delete-selected{
  flex:0 0 36px!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  max-width:36px!important;
  padding:0!important;
  background-size:28px 28px!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  font-size:0!important;
  line-height:1!important;
  border-radius:8px!important;
}
#bmf-delete-selected:before,
#bmf-delete-selected:after{
  content:none!important;
  display:none!important;
}
@media(max-width:1200px){
  .bmf-control-head .bmf-filters{
    grid-template-columns:42px minmax(180px,1fr) 112px 112px 92px!important;
    max-width:760px!important;
  }
  .bmf-control-head .bmf-bulk-actions{
    justify-self:end!important;
    width:auto!important;
    padding-left:0!important;
  }
  #bmf-export-selected{margin-left:0!important;}
}
@media(max-width:760px){
  .bmf-control-head .bmf-counter-wrap{
    width:108px!important;
    max-width:108px!important;
  }
  .bmf-control-head .bmf-bulk-actions{
    width:auto!important;
    gap:12px!important;
  }
}


/* =========================================================
   BMF FIX 2.10.3 - Ajuste real de contador P/E e iconos
   Se aplica al final para ganar sobre reglas anteriores.
   ========================================================= */
.bmf-control-head .bmf-filters.bmf-filters-range{
  grid-template-columns:42px minmax(220px,300px) 120px 120px 96px 104px 126px 128px!important;
  column-gap:16px!important;
  row-gap:10px!important;
  align-items:end!important;
  max-width:1160px!important;
}

.bmf-control-head .bmf-counter-wrap{
  width:126px!important;
  max-width:126px!important;
  min-width:126px!important;
  justify-self:start!important;
}

.bmf-control-head #bmf-mensajero-counter.bmf-counter{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:0!important;
  width:126px!important;
  max-width:126px!important;
  min-width:126px!important;
  background:transparent!important;
  padding:0!important;
}

.bmf-control-head #bmf-mensajero-counter.bmf-counter > a,
.bmf-control-head #bmf-mensajero-counter.bmf-counter > span{
  flex:0 0 26px!important;
  width:26px!important;
  min-width:26px!important;
  max-width:26px!important;
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  margin:0 3px!important;
  padding:0!important;
  line-height:1!important;
}

/* Espacio entre el número de Pendiente y la E de Entregado */
.bmf-control-head #bmf-mensajero-counter.bmf-counter > span:nth-child(2){
  margin-right:14px!important;
}

.bmf-control-head #bmf-mensajero-counter.bmf-counter > a:nth-child(3){
  margin-left:0!important;
}

/* Separación fuerte entre contador y acciones */
.bmf-control-head .bmf-bulk-actions{
  width:128px!important;
  min-width:128px!important;
  max-width:128px!important;
  justify-self:start!important;
  display:flex!important;
  align-items:end!important;
  justify-content:flex-start!important;
  gap:18px!important;
  padding-left:22px!important;
  margin-left:0!important;
  box-sizing:border-box!important;
}

.bmf-control-head #bmf-export-selected.bmf-icon-btn,
.bmf-control-head #bmf-delete-selected.bmf-icon-btn{
  flex:0 0 36px!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  max-width:36px!important;
  min-height:36px!important;
  max-height:36px!important;
  box-sizing:border-box!important;
  padding:0!important;
  margin:0!important;
  border-radius:7px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  line-height:1!important;
  transform:none!important;
}

.bmf-control-head #bmf-export-selected.bmf-icon-btn{
  margin-left:0!important;
  border:1px solid #0d586b!important;
  font-size:22px!important;
}

.bmf-control-head #bmf-export-selected.bmf-icon-btn > span{
  display:block!important;
  line-height:1!important;
  transform:translateY(-1px)!important;
}

/* Evita que el emoji de papelera se estire. Usamos SVG proporcional. */
.bmf-control-head #bmf-delete-selected.bmf-icon-btn{
  font-size:0!important;
  color:transparent!important;
  text-indent:-9999px!important;
  border:0!important;
  background-color:transparent!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath fill='%230d586b' d='M19 4h-3.5l-1-1h-5l-1 1H5v2h14M6 19a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7H6z'/%3E%3C/svg%3E") !important;
  background-size:34px 34px!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
}
.bmf-control-head #bmf-delete-selected.bmf-icon-btn:before,
.bmf-control-head #bmf-delete-selected.bmf-icon-btn:after{
  content:none!important;
  display:none!important;
}

@media(max-width:1200px){
  .bmf-control-head .bmf-filters.bmf-filters-range{
    grid-template-columns:42px minmax(180px,1fr) 112px 112px 92px!important;
    column-gap:12px!important;
    max-width:780px!important;
  }
  .bmf-control-head .bmf-counter-wrap{
    width:126px!important;
    max-width:126px!important;
    min-width:126px!important;
  }
  .bmf-control-head .bmf-bulk-actions{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    padding-left:18px!important;
    gap:16px!important;
    justify-self:end!important;
  }
}

@media(max-width:760px){
  .bmf-control-head .bmf-filters.bmf-filters-range{
    grid-template-columns:42px 1fr 96px!important;
    column-gap:8px!important;
  }
  .bmf-control-head .bmf-counter-wrap{
    width:126px!important;
    max-width:126px!important;
    min-width:126px!important;
  }
  .bmf-control-head .bmf-bulk-actions{
    padding-left:8px!important;
    gap:12px!important;
  }
}

/* BMF 2.10.8 - Driver: iconos llamada/WhatsApp sin fondo y con borde, sin tocar el select */
.bmf-driver-v2 .bmf-driver-actions-v2{
  grid-template-columns:minmax(190px,1fr) 46px 46px!important;
  column-gap:18px!important;
  row-gap:0!important;
  align-items:center!important;
}
.bmf-driver-v2 .bmf-driver-icon,
.bmf-driver-v2 .bmf-driver-icon.bmf-call-icon,
.bmf-driver-v2 .bmf-driver-icon.bmf-wa-icon{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  min-height:46px!important;
  border:1.5px solid #0d586b!important;
  background:transparent!important;
  background-color:transparent!important;
  border-radius:8px!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
}
.bmf-driver-v2 .bmf-driver-icon + .bmf-driver-icon{
  margin-left:2px!important;
}
.bmf-driver-v2 .bmf-driver-icon.is-disabled{
  background:transparent!important;
  border-color:#7ba5ad!important;
  opacity:.55!important;
}
.bmf-driver-v2 .bmf-phone-svg,
.bmf-driver-v2 .bmf-wa-svg{
  width:25px!important;
  height:25px!important;
  background-size:25px 25px!important;
}
@media(max-width:430px){
  .bmf-driver-v2 .bmf-driver-actions-v2{
    grid-template-columns:minmax(170px,1fr) 44px 44px!important;
    column-gap:16px!important;
  }
  .bmf-driver-v2 .bmf-driver-icon,
  .bmf-driver-v2 .bmf-driver-icon.bmf-call-icon,
  .bmf-driver-v2 .bmf-driver-icon.bmf-wa-icon{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
  }
}


/* BMF 2.10.9 - Cierre flotante en ventanas de cliente/historial y estados de iconos driver */
.bmf-client-details .bmf-details,
.bmf-history > small,
.bmf-sign-details .bmf-sign-preview,
.bmf-qr-details .bmf-qr{
  position:absolute!important;
  padding-top:40px!important;
}
.bmf-floating-close{
  position:absolute!important;
  top:8px!important;
  right:8px!important;
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  border:1.5px solid #0d586b!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#0d586b!important;
  font-size:20px!important;
  font-weight:800!important;
  line-height:20px!important;
  padding:0!important;
  cursor:pointer!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-shadow:0 2px 6px rgba(0,0,0,.08)!important;
  z-index:5!important;
}
.bmf-driver-v2 .bmf-driver-actions-v2{
  grid-template-columns:minmax(190px,1fr) 46px 46px!important;
  column-gap:22px!important;
}
.bmf-driver-v2 .bmf-driver-icon,
.bmf-driver-v2 .bmf-driver-icon.bmf-call-icon,
.bmf-driver-v2 .bmf-driver-icon.bmf-wa-icon{
  color:#0d586b!important;
  border:1.5px solid #0d586b!important;
  background:transparent!important;
  background-color:transparent!important;
  opacity:1!important;
}
.bmf-driver-v2 .bmf-driver-icon.is-disabled,
.bmf-driver-v2 .bmf-driver-icon.bmf-call-icon.is-disabled,
.bmf-driver-v2 .bmf-driver-icon.bmf-wa-icon.is-disabled{
  color:#8b9599!important;
  border-color:#8b9599!important;
  background:transparent!important;
  opacity:1!important;
}
.bmf-driver-v2 .bmf-phone-svg,
.bmf-driver-v2 .bmf-wa-svg{
  width:25px!important;
  height:25px!important;
  display:block!important;
  background-color:currentColor!important;
  background-image:none!important;
  background-repeat:no-repeat!important;
  background-size:contain!important;
  filter:none!important;
  opacity:1!important;
}
.bmf-driver-v2 .bmf-phone-svg{
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.61 21 3 13.39 3 4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.24.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") center/contain no-repeat!important;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.61 21 3 13.39 3 4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.24.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") center/contain no-repeat!important;
}
.bmf-driver-v2 .bmf-wa-svg{
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 6C17.64 6 6 17.64 6 32c0 4.58 1.19 8.88 3.27 12.62L6 58l13.7-3.21A25.87 25.87 0 0 0 32 58c14.36 0 26-11.64 26-26S46.36 6 32 6zm0 47c-3.92 0-7.59-1.08-10.73-2.95l-.77-.46-8.12 1.9 1.93-7.93-.5-.82A20.9 20.9 0 0 1 11 32c0-11.58 9.42-21 21-21s21 9.42 21 21-9.42 21-21 21zm12.1-15.74c-.66-.33-3.9-1.92-4.5-2.14-.6-.22-1.04-.33-1.48.33-.44.66-1.7 2.14-2.08 2.58-.38.44-.77.5-1.43.17-.66-.33-2.78-1.03-5.3-3.28-1.96-1.75-3.28-3.91-3.66-4.57-.38-.66-.04-1.02.29-1.35.3-.3.66-.77.99-1.15.33-.38.44-.66.66-1.1.22-.44.11-.82-.06-1.15-.17-.33-1.48-3.57-2.03-4.89-.53-1.28-1.08-1.1-1.48-1.12h-1.26c-.44 0-1.15.16-1.75.82-.6.66-2.3 2.25-2.3 5.49s2.36 6.36 2.69 6.8c.33.44 4.64 7.09 11.24 9.94 1.57.68 2.8 1.09 3.75 1.39 1.58.5 3.01.43 4.14.26 1.26-.19 3.9-1.59 4.45-3.13.55-1.54.55-2.86.38-3.13-.16-.27-.6-.44-1.26-.77z'/%3E%3C/svg%3E") center/contain no-repeat!important;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 6C17.64 6 6 17.64 6 32c0 4.58 1.19 8.88 3.27 12.62L6 58l13.7-3.21A25.87 25.87 0 0 0 32 58c14.36 0 26-11.64 26-26S46.36 6 32 6zm0 47c-3.92 0-7.59-1.08-10.73-2.95l-.77-.46-8.12 1.9 1.93-7.93-.5-.82A20.9 20.9 0 0 1 11 32c0-11.58 9.42-21 21-21s21 9.42 21 21-9.42 21-21 21zm12.1-15.74c-.66-.33-3.9-1.92-4.5-2.14-.6-.22-1.04-.33-1.48.33-.44.66-1.7 2.14-2.08 2.58-.38.44-.77.5-1.43.17-.66-.33-2.78-1.03-5.3-3.28-1.96-1.75-3.28-3.91-3.66-4.57-.38-.66-.04-1.02.29-1.35.3-.3.66-.77.99-1.15.33-.38.44-.66.66-1.1.22-.44.11-.82-.06-1.15-.17-.33-1.48-3.57-2.03-4.89-.53-1.28-1.08-1.1-1.48-1.12h-1.26c-.44 0-1.15.16-1.75.82-.6.66-2.3 2.25-2.3 5.49s2.36 6.36 2.69 6.8c.33.44 4.64 7.09 11.24 9.94 1.57.68 2.8 1.09 3.75 1.39 1.58.5 3.01.43 4.14.26 1.26-.19 3.9-1.59 4.45-3.13.55-1.54.55-2.86.38-3.13-.16-.27-.6-.44-1.26-.77z'/%3E%3C/svg%3E") center/contain no-repeat!important;
}
@media(max-width:430px){
  .bmf-driver-v2 .bmf-driver-actions-v2{column-gap:18px!important;}
}


/* BMF 2.10.10 - Cerrar textual, mensajeros y ajuste de iconos driver */
.bmf-floating-close{
  width:auto!important;
  min-width:62px!important;
  height:27px!important;
  padding:0 10px!important;
  border-radius:14px!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  letter-spacing:.1px!important;
}
.bmf-client-details .bmf-details,
.bmf-history > small,
.bmf-sign-details .bmf-sign-preview,
.bmf-qr-details .bmf-qr{
  padding-top:42px!important;
}
.bmf-control-head .bmf-mensajero-filter-label{
  font-size:0!important;
}
.bmf-control-head #bmf-mensajero-select{
  font-size:13px!important;
  font-weight:700!important;
  color:#0d586b!important;
}
.bmf-driver-v2 .bmf-driver-actions-v2{
  grid-template-columns:minmax(190px,1fr) 46px 46px!important;
  column-gap:10px!important;
}
.bmf-driver-v2 .bmf-driver-icon + .bmf-driver-icon{
  margin-left:4px!important;
}
@media(max-width:430px){
  .bmf-driver-v2 .bmf-driver-actions-v2{
    grid-template-columns:minmax(170px,1fr) 44px 44px!important;
    column-gap:8px!important;
  }
}


/* BMF 2.10.11 - Ajustes ventana flotante y selector mensajeros */
.bmf-client-details .bmf-details,
.bmf-history > small,
.bmf-sign-details .bmf-sign-preview,
.bmf-qr-details .bmf-qr{
  padding-top:20px!important;
}
.bmf-floating-close{
  position:absolute!important;
  top:4px!important;
  width:auto!important;
  min-width:0!important;
  height:17px!important;
  min-height:17px!important;
  padding:0 5px!important;
  border-radius:14px!important;
  font-size:11px!important;
  line-height:15px!important;
}
.bmf-control-head .bmf-mensajero-filter-label{
  position:relative!important;
  display:block!important;
}
.bmf-control-head .bmf-mensajero-filter-label:after{
  content:"‹"!important;
  position:absolute!important;
  right:10px!important;
  top:50%!important;
  transform:translateY(-50%) rotate(-90deg)!important;
  color:#fff!important;
  font-size:24px!important;
  font-weight:900!important;
  line-height:1!important;
  pointer-events:none!important;
}
.bmf-control-head #bmf-mensajero-select{
  background:#0d586b!important;
  color:#fff!important;
  border-color:#0d586b!important;
  font-weight:800!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  -moz-appearance:none!important;
  padding-right:30px!important;
}
.bmf-control-head #bmf-mensajero-select option{
  background:#fff!important;
  color:#111!important;
}


/* BMF 2.10.13 - limpiar nombre de quien recibe en /driver/ */
.bmf-driver-v2 .bmf-recibe-field{
  position:relative!important;
  width:100%!important;
  margin:8px 0!important;
}
.bmf-driver-v2 .bmf-recibe-field #bmf-recibe-nombre{
  margin:0!important;
  padding-left:46px!important;
  padding-right:14px!important;
  box-sizing:border-box!important;
}
.bmf-driver-v2 .bmf-clear-recibe{
  position:absolute!important;
  left:8px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:30px!important;
  height:30px!important;
  border:0!important;
  background:transparent!important;
  color:#555!important;
  font-size:28px!important;
  line-height:28px!important;
  padding:0!important;
  display:none!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
  z-index:3!important;
  box-shadow:none!important;
}
.bmf-driver-v2 .bmf-clear-recibe.is-visible{
  display:flex!important;
}
.bmf-driver-v2 .bmf-clear-recibe:active,
.bmf-driver-v2 .bmf-clear-recibe:focus{
  color:#0d586b!important;
  outline:none!important;
}
