@font-face{font-family:Poppins;src:url("Poppins-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:Poppins;src:url("Poppins-Medium.ttf") format("truetype");font-weight:500;font-style:normal;font-display:swap;}
@font-face{font-family:Poppins;src:url("Poppins-SemiBold.ttf") format("truetype");font-weight:600;font-style:normal;font-display:swap;}
@font-face{font-family:Poppins;src:url("Poppins-Bold.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap;}
@font-face{font-family:Poppins;src:url("Poppins-ExtraBold.ttf") format("truetype");font-weight:800;font-style:normal;font-display:swap;}
@font-face{font-family:Poppins;src:url("Poppins-Black.ttf") format("truetype");font-weight:900;font-style:normal;font-display:swap;}
:root{--tx-blue-dark:#052754;--tx-electric:#087aff;--tx-purple:#ff7600;--tx-bg:#f2f5fa;--tx-black:#061d50;--tx-white:#fff;--tx-muted:#6b7e9f;--bs-primary:#087aff;--bs-primary-rgb:8,122,255;--bs-link-color:#006eff;--bs-body-color:#061d50;--bs-body-bg:#f2f5fa}
body{background:#f2f5fa;color:#061d50}
.admin-sidebar{background:#052754!important;color:white!important;border-right:0!important}.admin-sidebar nav button{border-radius:9px!important;color:white!important}.admin-sidebar nav button.active{background:#087aff!important;box-shadow:inset 3px 0 #ff7600!important}.admin-sidebar nav button:hover{background:#123f77!important}.sidebar-profile{background:#052754!important;border-bottom:2px solid #ff7600!important}.admin-top{background:linear-gradient(115deg,#072f66,#032352 66%,#052b60)!important;color:white!important;border:0!important;box-shadow:none!important}.admin-top h1,.admin-top button,.admin-top .admin-user{color:white!important}.admin-content{background:#f2f5fa!important}.admin-content>.module-heading,.admin-content>.page-title{color:#006eff;border-bottom:2px solid #ff7600}.admin-content .card,.admin-content .panel{border-radius:14px;border-color:#e3ecf8;background:#fff}.tx-primary,.driver-primary{background:#087aff!important;color:#fff!important;border-color:#087aff!important;border-radius:10px!important}.tx-secondary{background:#eef5ff;color:#006eff;border-color:#d9e8ff}.form-control,.form-select{background:white;color:#061d50;border-color:#d9e5f5;border-radius:9px}.form-control:focus,.form-select:focus{border-color:#087aff;box-shadow:0 0 0 .2rem #087aff22}.login-shell{background:linear-gradient(125deg,#052754,#084c98)!important}.login-card{background:#fff!important;border-radius:18px!important;border-bottom:3px solid #ff7600!important}.login-logo{max-width:230px!important;height:auto!important;max-height:85px!important;object-fit:contain}.login-card h1{color:#006eff!important}.driver-header,.driver-top{background:linear-gradient(115deg,#072f66,#032352)!important;color:white!important}.driver-footer{background:#fff!important;color:#006eff!important;border-top:2px solid #ff7600!important}.driver-header-brand img{width:auto;max-width:180px;object-fit:contain}.tx-chat-page-head,.commerce-chat-head,.master-chat-head{background:#052754!important;color:white!important}.tx-message-form-page{border-top-color:#e3ecf8;background:#f4f8ff}.tx-bubble.outgoing,.tx-bubble.mine{background:#eaf3ff;color:#061d50}.tx-chat-messages{background-color:#f4f8ff}.tx-send-button{background:#087aff!important;color:#fff}.tx-menu-dot,.tx-unread-badge{background:#ff7600!important}.tx-product-modal-badges{color:#052754}.identity-login-logo{display:block;position:absolute;top:7vh;left:50%;transform:translateX(-50%);width:210px;height:auto}.login{position:relative;background:linear-gradient(125deg,#052754,#084c98)}.login>form{background:#fff;border-bottom:3px solid #ff7600;border-radius:18px;color:#061d50}.login>form h1{color:#006eff}.login>form button.primary{background:#087aff;color:white}
/* POS uses its existing per-commerce custom properties; only defaults adopt V7. */
body:not([data-sales-screen])>.commerce-brand{background:#052754}.form-control,.form-select{min-height:42px;border:1px solid #d7e4f3;border-radius:10px;font-family:Poppins,Arial,sans-serif}
@media(max-width:1100px){html body footer.v7-portal-shell{display:none!important}}

/* Modal components shared by all portal identity styles. */
:root{--tx-modal-header:#087aff;--tx-modal-accent:#ff7600;--tx-modal-ink:#052754;--tx-modal-radius:18px;--tx-modal-height:calc(100dvh - 24px)}
html body [data-tx-modal-root]{font-family:Poppins,Arial,sans-serif;box-sizing:border-box}
html body [data-tx-modal-card]{
 box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
 min-width:0!important;min-height:0!important;max-width:100%!important;
 max-height:var(--tx-modal-height)!important;margin:0!important;padding:0!important;gap:0!important;
 border:0!important;border-radius:var(--tx-modal-radius)!important;overflow:hidden!important;
 background:#fff!important;color:var(--tx-modal-ink)!important;box-shadow:0 18px 55px #00285833;
}
html body [data-tx-modal-root] [data-tx-modal-header]{
 height:auto!important;max-height:none!important;overflow:visible!important;flex-wrap:nowrap!important;
 box-sizing:border-box!important;display:flex!important;align-items:center!important;
 justify-content:space-between!important;gap:12px!important;flex:0 0 auto!important;
 width:100%!important;min-width:0!important;min-height:60px;padding:16px 20px!important;
 margin:0!important;background:var(--tx-modal-header)!important;color:#fff!important;
 border:0!important;border-bottom:3px solid var(--tx-modal-accent)!important;text-align:left!important;
}
html body [data-tx-modal-root] [data-tx-modal-header] [data-tx-modal-title]{
 height:auto!important;max-height:none!important;overflow:visible!important;scrollbar-width:none!important;
 min-width:0!important;max-width:100%;flex:1 1 auto!important;margin:0!important;
 color:#fff!important;font:700 20px/1.3 Poppins,Arial,sans-serif!important;
 white-space:normal!important;overflow-wrap:anywhere!important;
}
html body [data-tx-modal-root] [data-tx-modal-header] :is(h1,h2,h3,h4,h5,small,label){color:#fff!important}
html body [data-tx-modal-root] [data-tx-modal-header] :is(.btn-close,[aria-label="Cerrar"],[data-layer-close],[data-close-share],#closeDialog){
 flex:0 0 auto!important;margin:0!important;max-width:36px;min-width:32px;min-height:32px;
 border:0;border-radius:8px;color:#fff;background-color:transparent;box-shadow:none;
}
html body [data-tx-modal-root] [data-tx-modal-header] .btn-close{filter:invert(1) grayscale(1) brightness(2)!important;opacity:1!important}
html body [data-tx-modal-root] [data-tx-modal-body]{
 box-sizing:border-box!important;min-width:0!important;min-height:0!important;max-width:100%!important;
 flex:1 1 auto!important;padding:20px!important;overflow-y:auto!important;overflow-x:hidden!important;
 overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#fff!important;color:var(--tx-modal-ink)!important;
 overflow-wrap:anywhere;
}
html body [data-tx-modal-root] [data-tx-modal-footer]{
 box-sizing:border-box!important;display:flex;align-items:center;justify-content:flex-end;
 flex:0 0 auto;flex-wrap:wrap;gap:10px;min-width:0!important;max-width:100%!important;
 margin:0!important;padding:14px 20px!important;background:#fff!important;border-top:1px solid #e8edf4;color:var(--tx-modal-ink);
}
html body [data-tx-modal-card]>form{display:flex;flex-direction:column;min-width:0;min-height:0;max-height:100%;overflow:hidden}
html body [data-tx-modal-body] :is(input,select,textarea,.input-group){min-width:0;max-width:100%;box-sizing:border-box}
html body [data-tx-modal-body] :is(img,video,canvas,iframe){max-width:100%}
html body [data-tx-modal-body] .table-responsive{max-width:100%;overflow-x:auto}
html body dialog[data-tx-modal-root]:not([data-tx-modal-kind="media"]){padding:0!important;border:0!important;border-radius:var(--tx-modal-radius)!important;max-width:calc(100vw - 24px)!important;max-height:var(--tx-modal-height)!important;background:#fff;color:var(--tx-modal-ink);overflow:hidden!important;outline:0!important}
html body dialog[data-tx-modal-root]:not([open]){display:none!important}
html body dialog[data-tx-modal-root]::backdrop{background:rgba(5,17,35,.58)}
html body .modal[data-tx-modal-root]{z-index:2147482400!important}
html body .modal-backdrop{z-index:2147482300!important;background:#051123!important}
html body .modal-backdrop.show{opacity:.58!important}
html body .modal[data-tx-modal-root] .modal-dialog:not(.modal-fullscreen){max-height:var(--tx-modal-height)!important;max-width:calc(100vw - 24px)!important}
html body .modal[data-tx-modal-root] .modal-dialog-centered{min-height:var(--tx-modal-height)!important;margin:12px auto!important}
html body .modal[data-tx-modal-root] .modal-fullscreen{height:100dvh!important;max-height:100dvh!important;width:100vw!important;max-width:100vw!important;min-height:100dvh!important;margin:0!important}
html body .modal-fullscreen [data-tx-modal-card]{height:100dvh!important;max-height:100dvh!important;border-radius:0!important}
html body dialog.order-fullscreen[data-tx-modal-root]{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}
html body dialog.order-fullscreen [data-tx-modal-card]{max-height:100dvh!important;border-radius:0!important}
html body .tx-system-modal-card[data-tx-modal-card]{max-width:min(460px,calc(100vw - 24px))!important}
html body .tx-verify-backdrop{
 position:fixed!important;inset:0!important;display:flex;align-items:center;justify-content:center;
 z-index:2147482700!important;padding:12px!important;box-sizing:border-box;background:rgba(5,17,35,.58);
}
html body .tx-verify-backdrop[hidden]{display:none!important}
html body .tx-verify-dialog[data-tx-modal-card]{width:min(520px,100%)!important;max-height:var(--tx-modal-height)!important}
html body .tx-verify-dialog .tx-verify-steps{flex:0 0 auto}
body.tx-verify-open{overflow:hidden!important}
html body [data-tx-modal-root].tx-keyboard-modal{--tx-modal-height:var(--tx-k-height)}
@media(max-width:575.98px){
 html body [data-tx-modal-root] [data-tx-modal-header]{
 height:auto!important;max-height:none!important;overflow:visible!important;flex-wrap:nowrap!important;padding:14px 16px!important;min-height:56px}
 html body [data-tx-modal-root] [data-tx-modal-header] [data-tx-modal-title]{
 height:auto!important;max-height:none!important;overflow:visible!important;scrollbar-width:none!important;font-size:18px!important}
 html body [data-tx-modal-root] [data-tx-modal-body]{padding:18px 16px!important}
 html body [data-tx-modal-root] [data-tx-modal-footer]{padding:12px 16px!important}
 html body [data-tx-modal-footer]>.btn{min-width:0;white-space:normal}
}

/* The title is text, not a nested scrolling region. */
html body [data-tx-modal-header] [data-tx-modal-title]::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}

/* Keep wheel/touch/keyboard scrolling without drawing tracks inside dialogs. */
html body [data-tx-modal-root],html body [data-tx-modal-card],html body [data-tx-modal-body]{scrollbar-width:none!important;-ms-overflow-style:none!important}
html body [data-tx-modal-root]::-webkit-scrollbar,html body [data-tx-modal-card]::-webkit-scrollbar,html body [data-tx-modal-body]::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}

/* El cuerpo conserva desplazamiento sin riel visible. */
html body [data-tx-modal-root] [data-tx-modal-body]{scrollbar-width:none!important;-ms-overflow-style:none!important}
html body [data-tx-modal-root] [data-tx-modal-body]::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
