:root{--color-primary:#150081;--color-primary-hover:#100060;--color-primary-soft:#f0edff;--color-white:#fff;--color-background:#f7f8fc;--color-surface:#fff;--color-surface-soft:#f4f5fa;--color-text:#161616;--color-text-secondary:#666;--color-text-muted:#929292;--color-border:#e6e7ec;--color-success:#16803c;--color-danger:#d92d20;--color-warning:#b7791f;--navbar-height:64px;--sidebar-width:220px}*{box-sizing:border-box;margin:0;padding:0}body{font-family:sans-serif}.navbar{background:var(--color-primary);color:#fff;z-index:999;width:100%;position:fixed}.sidebar{background:var(--color-primary);color:#fff}.app-content{background:var(--color-background)}.footer{color:#fff;background:#191919}.button-main{cursor:pointer;background:var(--color-white);color:#232323;text-transform:uppercase;border:none;border-radius:8px;width:100%;margin-top:1rem;padding:18px;font-size:14px;font-weight:600;transition:all .2s}.button-main:hover{color:#fff;background:#10b301;transition:all .2s}.button-main:disabled{color:#6e6e6e;opacity:.6;cursor:not-allowed;background:#ffffff1a}.button-main-blue-short{cursor:pointer;background:var(--color-primary);width:15rem;color:var(--color-white);text-transform:uppercase;border:none;border-radius:8px;margin-top:.5rem;padding:18px;font-size:14px;font-weight:600;transition:all .2s}.button-main-blue-short:hover{color:#fff;background:#10b301;transition:all .2s}.button-main-blue-short:disabled{color:#6e6e6e;opacity:.6;cursor:not-allowed;background:#ffffff1a}.button-second{cursor:pointer;color:#150081;text-transform:uppercase;background:#434343;border:none;border-radius:8px;margin-bottom:1rem;padding:16px 22px;font-size:14px;font-weight:600;transition:all .2s}.button-second:hover{color:#fff;background:#e10d0d;transition:all .2s}.button-second:disabled{color:#6e6e6e;opacity:.6;cursor:not-allowed;background:#ffffff1a}.button-cancel{cursor:pointer;color:#232323;text-transform:uppercase;background:#ffffff40;border:none;border-radius:8px;width:100%;margin-top:1rem;padding:18px;font-size:14px;font-weight:600;transition:all .2s}.button-cancel:hover{color:#fff;background:#a00;transition:all .2s}input,select,textarea{box-sizing:border-box;color:#fff;background:0 0;border:1px solid #d1d5db33;border-radius:8px;width:100%;padding:10px 12px;font-size:14px}input:focus,select:focus,textarea:focus{border-color:#5ca0e469;outline:none}table{border-collapse:collapse;width:100%;color:var(--color-primary);margin-top:1rem}th{background:var(--color-primary);color:var(--color-white);font-weight:600}th,td{border-bottom:1px solid var(--color-primary);text-align:left;padding:12px}tbody tr:hover{background:#f9fafb1f}td .button-table:first-child{margin-right:1rem}.button-table{cursor:pointer;background:var(--color-primary);color:#fdfdfd;text-transform:uppercase;border:none;border-radius:8px;margin-top:1rem;padding:10px 14px;font-size:14px;font-weight:600;transition:all .2s}.button-table:hover{color:#fff;background:#8fc506;transition:all .2s}.inventory-header h2,.movements-header h2{color:#fff;margin-bottom:1rem}.movements-header .button-second{margin-bottom:0}.suppliers-header h2,.purchases-header h2,.sales-header h2{color:#fff;margin-bottom:1rem}.form-section{flex-direction:column;gap:10px;margin-bottom:24px;display:flex}.form-section h4{color:#fff;margin:0}.form-actions{justify-content:flex-end;gap:12px;margin-top:30px;display:flex}.supplier-form,.product-form,.purchase-form{flex-direction:column;gap:10px;margin-bottom:24px;display:flex}.supplier-form,.product-form,.purchase-form h3{color:#fff;margin:0}.page-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 10px #0000000d}.badge{text-transform:capitalize;border-radius:20px;padding:4px 10px;font-size:12px;font-weight:600;display:inline-block}.badge-purchase{color:#15803d;background:#dcfce7}.badge-sale{color:#1d4ed8;background:#dbeafe}.badge-return{color:#b45309;background:#fef3c7}.badge-adjustment{color:#6d28d9;background:#ede9fe}.badge-damage{color:#dc2626;background:#fee2e2}.navbar{height:var(--navbar-height);border-bottom:1px solid #e5e7eb33;justify-content:space-between;align-items:center;min-width:0;padding:0 .75rem;display:flex}.navbar-left{flex-shrink:0;align-items:center;gap:.75rem;display:flex}.navbar-toggle{cursor:pointer;color:#fff;background:0 0;border:none;border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.navbar-toggle:hover{background:rgb(from var(--color-white) r g b / .1)}.navbar-toggle svg{width:20px;height:20px;display:block}.navbar-logo-image{object-fit:contain;width:32px;height:32px}.navbar-center{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;padding:10px 16px;font-size:1rem;font-weight:600;overflow:hidden}.navbar-right{flex-shrink:0;align-items:center;gap:.75rem;display:flex}.navbar-action{cursor:pointer;color:#fff;background:0 0;border:none;border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.navbar-action:hover{background:#4a4a4a}.navbar-action.active{background:#ffffff14}.navbar-user{white-space:nowrap;background:#ffffff0d;border-radius:10px;align-items:center;gap:.6rem;height:40px;padding:0 12px;display:flex}.navbar-user span{font-size:.9rem;font-weight:600}.button-link{color:#fff;cursor:pointer;background:0 0;border:none;padding:0;font-size:.85rem}.button-link:hover{color:#fff}.navbar-toggle svg,.navbar-action svg,.navbar-user svg{color:#fff;width:18px;height:18px;display:block}@media (width<=900px){.navbar-user span{display:none}.navbar-user{padding:0 10px}}@media (width<=400px){.navbar-center{display:none}.navbar-right{margin-left:auto}}@media (width<=600px){.navbar{padding:0 .5rem}.navbar-left{flex-shrink:0;gap:.35rem}.navbar-logo-image{width:28px;height:28px}.navbar-center{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;padding:0 .4rem;font-size:.85rem;overflow:hidden}.navbar-right{flex-shrink:0;align-items:center;gap:.25rem;min-width:0;display:flex}.navbar-right>div:first-child{display:none}.navbar-action{flex-shrink:0;width:34px;height:34px}.navbar-user{white-space:nowrap;flex-shrink:0;align-items:center;gap:.35rem;height:34px;padding:0 .45rem;display:flex}.navbar-user span{display:none}.button-link{white-space:nowrap;padding:0;font-size:.75rem;display:block}}.hardware-status{align-items:center;gap:16px;margin-right:20px;font-size:13px;display:flex}.hardware-item{color:#d1d5db;align-items:center;gap:6px;display:flex}.hardware-dot{border-radius:50%;width:10px;height:10px}.hardware-dot.online{background:#22c55e}.hardware-dot.offline{background:#ef4444}.sidebar{background:var(--color-primary);border-right:1px solid #e5e7eb0d;flex-direction:column;min-width:0;height:100%;padding:.7rem;display:flex;overflow:hidden}.sidebar-content{flex:1;min-height:0;overflow:hidden auto}.sidebar-section{flex-direction:column;gap:.5rem;display:flex}.sidebar-section:not(:last-child){margin-bottom:2rem}.sidebar-link{color:#fff;border-radius:8px;flex-shrink:0;align-items:center;gap:12px;width:100%;height:36px;padding:0 8px;text-decoration:none;display:flex;position:relative;overflow:hidden}.sidebar-link.active{background:#ffffff0f;font-weight:600}.sidebar-link.active:before{content:"";background:#fff;border-radius:2px;width:3px;height:20px;display:none;position:absolute;left:0}.sidebar-link:hover{background:#ffffff0a}.sidebar-icon{flex-shrink:0;width:20px;min-width:20px;height:20px}.sidebar-text{white-space:nowrap;opacity:1;max-width:180px;transition:opacity .15s,max-width .3s;overflow:hidden}.sidebar.collapsed{width:100%}.sidebar.collapsed .sidebar-text{opacity:0;max-width:0}.sidebar-tooltip{color:#fff;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;z-index:2000;background:#1f1f1f;border-radius:8px;padding:6px 10px;font-size:.875rem;transition:opacity .15s,visibility .15s;position:absolute;top:50%;left:calc(100% + 10px);transform:translateY(-50%)}.sidebar.collapsed .sidebar-link:hover .sidebar-tooltip{opacity:1;visibility:visible}.sidebar:not(.collapsed) .sidebar-tooltip{display:none}.sidebar-footer{background:0 0;border-radius:10px;flex-shrink:0;align-items:center;gap:.25rem;margin-top:1rem;padding:.5rem;display:flex;overflow:hidden}.sidebar-footer-logo{object-fit:contain;flex-shrink:0;width:32px;height:32px}.sidebar-footer-info{opacity:1;flex-direction:column;max-width:120px;transition:opacity .15s,max-width .3s;display:flex;overflow:hidden}.sidebar-footer-title{white-space:nowrap;font-size:.875rem;font-weight:600}.sidebar-footer-version{opacity:.7;white-space:nowrap;font-size:.75rem}.sidebar.collapsed .sidebar-footer-info{opacity:0;max-width:0}@media (width<=768px){.sidebar,.sidebar.collapsed{width:220px}.sidebar.collapsed .sidebar-text{opacity:1;max-width:180px}.sidebar.collapsed .sidebar-footer-info{opacity:1;max-width:120px}}.notifications-panel{top:var(--navbar-height);width:320px;height:calc(100vh - var(--navbar-height));z-index:1100;background:#1f1f1f;border-left:1px solid #ffffff14;transition:right .3s;position:fixed;right:-350px}.notifications-panel.open{right:0}.notifications-header{border-bottom:1px solid #ffffff14;padding:1rem;font-weight:600}.notifications-content{padding:1rem}.notifications-backdrop{z-index:1050;background:#0006;position:fixed;inset:0}.notifications-panel{z-index:1100}.notifications-backdrop{z-index:1050}.app-shell{grid-template-columns:220px minmax(0,1fr);grid-template-rows:var(--navbar-height) minmax(0, 1fr);grid-template-areas:"navbar navbar""sidebar content";width:100%;min-height:100vh;transition:grid-template-columns .3s;display:grid}.app-shell.collapsed{grid-template-columns:60px minmax(0,1fr)}.navbar{grid-area:navbar}.sidebar{grid-area:sidebar}.app-content{grid-area:content;min-width:0;min-height:0;padding:1.5rem;overflow-x:hidden}.sidebar-backdrop,.notifications-backdrop{display:none}@media (width<=768px){.app-shell,.app-shell.collapsed{grid-template-columns:1fr;grid-template-rows:var(--navbar-height) minmax(0, 1fr);grid-template-areas:"navbar""content"}.app-content{width:100%;padding:1rem}.sidebar{top:var(--navbar-height);width:220px;height:calc(100vh - var(--navbar-height));z-index:1000;transition:transform .3s;position:fixed;left:0;transform:translate(-100%)}.sidebar.open{transform:translate(0)}.sidebar-backdrop{inset:0;top:var(--navbar-height);z-index:999;background:#00000073;display:block;position:fixed}}.login-page{background:var(--color-primary);justify-content:center;align-items:center;width:100vw;height:100vh;display:flex}.login-form{background:var(--color-primary);border:none;border-radius:12px;flex-direction:column;gap:16px;width:360px;padding:32px;display:flex}.logo-login{justify-content:center;align-items:center;margin-bottom:1rem;display:flex}.logo-login img{width:8rem;height:auto}.status-login{color:#fff;font-size:1rem}.page-layout{flex-direction:column;gap:24px;height:100%;display:flex}.page-header{justify-content:space-between;align-items:flex-end;margin-bottom:8px;display:flex}.page-title{color:var(--color-primary);margin:0;font-size:28px;font-weight:700}.page-description{color:#1c1c1c;margin-top:6px;font-size:14px}.page-content{flex-direction:column;gap:20px;display:flex}.page-content h2{color:var(--color-primary)}.pos-page-content{margin-top:1rem}.pos-page-content>*{margin-top:0}.pos-subnav{background:var(--color-primary);scrollbar-width:thin;border:1px solid #ffffff14;border-radius:10px;align-items:center;gap:.35rem;width:100%;min-width:0;padding:.35rem;display:flex;overflow:auto hidden}.pos-subnav button{color:#bdbdbd;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-radius:8px;flex:none;min-height:38px;padding:.55rem .9rem;font-size:.9rem;font-weight:500;transition:background .2s,color .2s}.pos-subnav button:hover{color:#fff;background:#ffffff0f}.pos-subnav button.active{color:#fff;background:#ffffff1a}@media (width<=900px){.pos-subnav{gap:.25rem;padding:.3rem}.pos-subnav button{min-height:36px;padding:.5rem .75rem;font-size:.85rem}}@media (width<=600px){.pos-subnav{scrollbar-width:none;border-radius:8px;overflow-x:auto}.pos-subnav::-webkit-scrollbar{display:none}.pos-subnav button{min-height:40px;padding:.55rem .8rem;font-size:.85rem}}.slide-panel{top:var(--navbar-height);width:400px;height:calc(100vh - var(--navbar-height));background:var(--color-primary);z-index:1200;border-left:1px solid #e5e7eb1a;flex-direction:column;transition:right .3s;display:flex;position:fixed;right:-420px}.slide-panel.open{right:0}.slide-panel-backdrop{z-index:1190;background:#0006;position:fixed;inset:0}.slide-panel-header{border-bottom:1px solid #e5e7eb1a;justify-content:space-between;align-items:center;padding:20px;display:flex}.slide-panel-header h3{color:#fff;margin:0;font-size:20px}.slide-panel-header button{color:#fff;cursor:pointer;background:0 0;border:none;font-size:22px}.slide-panel-content{flex:1;padding:1rem;overflow-y:auto}.sale-options{color:#fff;flex-direction:column;gap:.5rem;margin-bottom:24px;display:flex}.sale-options div:first-child{padding-bottom:1rem}.sale-options span{color:#fff;flex-direction:column;display:flex}.sale-options h4{color:#fff;flex-direction:column;padding-top:1rem;padding-bottom:1rem;display:flex}.sale-items-ticket{color:#fff;padding-bottom:.5rem;display:flex}.day-session{color:#fff;background:var(--color-primary);border:1px solid #dcdcdc12;border-radius:8px;justify-content:space-between;align-items:center;margin-bottom:.5rem;padding:16px;display:flex}.day-session-left{flex-direction:column;flex:1;gap:8px;display:flex}.day-session-left h3{margin:0 0 12px}.day-session-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 1px;font-size:14px;display:grid}.day-session-summary span{white-space:nowrap}@media (width<=900px){.day-session-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}}@media (width<=600px){.day-session-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;font-size:12px}}.day-session-form{color:#fff;flex-direction:column;gap:16px;display:flex}.day-session-form label{flex-direction:column;gap:6px;display:flex}.button-corte{cursor:pointer;color:#232323;text-transform:uppercase;background:#fff;border:none;border-radius:8px;margin-top:1rem;padding:18px;font-size:14px;font-weight:600;transition:all .2s}.button-corte:hover{color:#fff;background:#10b301;transition:all .2s}.button-corte:disabled{color:#6e6e6e;opacity:.6;cursor:not-allowed;background:#ffffff1a}.product-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1rem;display:grid}.product-card{background:rgb(from var(--color-white) r g b / .15);cursor:pointer;border:1px solid #ffffff14;border-radius:12px;flex-direction:column;justify-content:center;gap:.5rem;min-width:0;min-height:150px;padding:2rem;display:flex}.product-card h4{color:#fff;text-transform:uppercase;white-space:nowrap;text-overflow:ellipsis;margin:0;overflow:hidden}.product-card span{color:#fff;text-transform:uppercase}@media (width<=900px){.product-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.75rem}.product-card{min-height:130px;padding:1.5rem}}@media (width<=600px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.product-card{min-height:110px;padding:1rem}.product-card h4,.product-card span{font-size:.9rem}}.main-window{flex-direction:column;gap:1rem;width:100%;min-width:0;height:100%;min-height:0;display:flex}.main-window-body{flex:1;grid-template-columns:minmax(0,1fr) 520px;gap:1rem;min-width:0;min-height:0;display:grid}.main-window-products,.main-window-cart{background:var(--color-primary);border:1px solid #ffffff14;border-radius:12px;min-width:0;min-height:0;padding:1rem;overflow-y:auto}.cart{color:#fff;flex-direction:column;min-width:0;height:100%;display:flex}.cart-empty{color:#7c7c7c;text-align:center;padding:30px}.cart-item{border-bottom:1px solid #e5e7eb1a;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;display:flex}.cart-item-info{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.cart-item-name{text-transform:uppercase;white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.cart-item-details{color:#999;white-space:nowrap;text-overflow:ellipsis;font-size:15px;overflow:hidden}.cart-item-right{flex-shrink:0;align-items:center;gap:12px;display:flex}.cart-item-total{text-align:right;min-width:70px;font-weight:700}.cart-remove{color:#ec5a5a;background:0 0;border:none;border-radius:50%;flex-shrink:0;width:32px;height:32px;padding:0}.cart-remove:hover{background:#fecaca47}.cart-footer{margin-top:auto;padding-top:20px}.cart-total{justify-content:space-between;gap:1rem;font-size:18px;font-weight:700;display:flex}.sale-completed h2{padding-bottom:1rem}.sale-share{text-align:left;flex-direction:column;display:flex}.sale-share button{background:var(--color-white);border:none;border-radius:.75rem;flex-direction:column;margin-top:.5rem;padding:1rem 1.5rem;display:flex}.sale-share input{padding:.8rem}.button-danger{color:#fff;background:#dc2626}.button-danger:hover{background:#b91c1c}@media (width<=1100px){.main-window-body{grid-template-columns:minmax(0,1fr) 400px}}@media (width<=900px){.main-window-body{grid-template-columns:1fr}.main-window-products{min-height:400px}.main-window-cart{min-height:300px}}@media (width<=600px){.main-window,.main-window-body{gap:.75rem}.main-window-products,.main-window-cart{border-radius:10px;padding:.75rem}.main-window-products{min-height:350px}.main-window-cart{min-height:280px}}
