@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap";*,:before,:after{box-sizing:border-box;margin:0;padding:0}:root{--primary:#1677ff;--primary-dark:#0958d9;--sidebar-bg:#001529;--sidebar-width:220px;--header-height:56px;--border-radius:12px;--shadow:0 4px 12px #0000000d;--shadow-md:0 8px 24px #00000014;--shadow-lg:0 16px 48px #0000001f;--glass:#fffc;--bg-canvas:#f8fafc}body{background:var(--bg-canvas);color:#1e293b;-webkit-font-smoothing:antialiased;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;overflow-x:hidden}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:#f0f2f5}::-webkit-scrollbar-thumb{background:#d9d9d9;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#bfbfbf}.app-layout{min-height:100vh}.app-sidebar{z-index:100;height:100vh;top:0;left:0;overflow:auto;box-shadow:2px 0 8px #00000026;position:fixed!important}.app-sidebar-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:98;background:#0f172a73;position:fixed;inset:0}.sidebar-logo{cursor:pointer;-webkit-user-select:none;user-select:none;background:#ffffff0d;border-bottom:1px solid #ffffff14;align-items:center;gap:10px;height:56px;padding:0 20px;display:flex}.sidebar-logo-icon{color:#fff;background:linear-gradient(135deg,#1677ff,#0958d9);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:16px;font-weight:700;display:flex}.sidebar-logo-text{color:#fff;letter-spacing:.3px;white-space:nowrap;font-size:15px;font-weight:700;overflow:hidden}.app-header{z-index:99;justify-content:space-between;align-items:center;display:flex;top:0;right:0;height:var(--header-height)!important;line-height:var(--header-height)!important;background:#fff!important;padding:0 24px!important;position:fixed!important;box-shadow:0 1px 4px #00000014!important}.header-left{align-items:center;gap:12px;display:flex}.header-right{align-items:center;gap:16px;display:flex}.header-user{cursor:pointer;border-radius:6px;align-items:center;gap:8px;padding:4px 8px;transition:background .2s;display:flex}.header-user:hover{background:#f5f5f5}.app-content{overflow:initial}.page-inner{min-height:calc(100vh - var(--header-height));margin-top:var(--header-height);padding:24px}.login-page{background:linear-gradient(135deg,#001529 0%,#002855 50%,#003680 100%);min-height:100vh;display:flex;position:relative;overflow:hidden}.login-page:before{content:"";background:#1677ff14;border-radius:50%;width:600px;height:600px;position:absolute;top:-200px;right:-200px}.login-page:after{content:"";background:#1677ff0d;border-radius:50%;width:400px;height:400px;position:absolute;bottom:-100px;left:-100px}.login-left{z-index:1;flex-direction:column;flex:1;justify-content:center;padding:60px;display:flex;position:relative}.login-brand{align-items:center;gap:14px;margin-bottom:48px;display:flex}.login-brand-icon{color:#fff;background:linear-gradient(135deg,#1677ff,#0958d9);border-radius:12px;justify-content:center;align-items:center;width:48px;height:48px;font-size:24px;font-weight:700;display:flex}.login-brand-name{color:#fff;font-size:24px;font-weight:700}.login-tagline{color:#ffffff80;font-size:13px}.login-headline{color:#fff;margin-bottom:16px;font-size:42px;font-weight:700;line-height:1.2}.login-sub{color:#fff9;max-width:400px;font-size:16px}.login-features{flex-direction:column;gap:12px;margin-top:40px;display:flex}.login-feature-item{color:#ffffffbf;align-items:center;gap:10px;font-size:14px;display:flex}.login-feature-dot{background:#1677ff;border-radius:50%;flex-shrink:0;width:6px;height:6px}.login-right{z-index:1;justify-content:center;align-items:center;width:480px;padding:40px;display:flex;position:relative}.login-card{background:#fff;border-radius:16px;width:100%;padding:40px;box-shadow:0 24px 64px #0000004d}.login-card-title{color:#141414;margin-bottom:6px;font-size:26px;font-weight:700}.login-card-sub{color:#8c8c8c;margin-bottom:32px;font-size:14px}.pos-layout{height:calc(100vh - var(--header-height));background:#f0f2f5;gap:0;display:flex;overflow:hidden}.pos-left{background:#f0f2f5;flex-direction:column;flex:1;display:flex;overflow:hidden}.pos-right{background:#fff;border-left:1px solid #f0f0f0;flex-direction:column;width:380px;display:flex;box-shadow:-4px 0 16px #0000000f}.pos-search-bar{background:#fff;border-bottom:1px solid #f0f0f0;gap:8px;padding:12px 16px;display:flex}.pos-products-grid{flex:1;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));align-content:start;gap:10px;padding:12px 16px;display:grid;overflow-y:auto}.pos-product-card{cursor:pointer;-webkit-user-select:none;user-select:none;background:#fff;border:2px solid #0000;border-radius:10px;flex-direction:column;gap:6px;padding:12px;transition:all .18s;display:flex;box-shadow:0 1px 4px #0000000f}.pos-product-card:hover{border-color:#1677ff;transform:translateY(-2px);box-shadow:0 4px 12px #1677ff33}.pos-product-card:active{transform:translateY(0)}.pos-product-card.sin-stock{opacity:.5;cursor:not-allowed}.pos-product-icon{background:linear-gradient(135deg,#e6f4ff,#bae0ff);border-radius:8px;justify-content:center;align-items:center;width:40px;height:40px;margin-bottom:2px;font-size:18px;display:flex}.pos-product-name{color:#141414;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;font-weight:600;line-height:1.3;display:-webkit-box;overflow:hidden}.pos-product-price{color:#1677ff;font-size:13px;font-weight:700}.pos-product-stock{color:#8c8c8c;font-size:10px}.carrito-header{border-bottom:1px solid #f0f0f0;padding:14px 16px 10px}.carrito-cliente{background:#fafafa;border-bottom:1px solid #f0f0f0;padding:10px 16px}.carrito-items{flex:1;padding:8px 12px;overflow-y:auto}.carrito-item-col{background:#fff;border:1px solid #f0f0f0;border-radius:10px;flex-direction:column;gap:6px;margin-bottom:8px;padding:10px;display:flex}.carrito-item-top{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.carrito-item-meta{justify-content:space-between;align-items:center;gap:8px;display:flex}.carrito-item-row{align-items:center;gap:8px;display:flex}.carrito-item{border-bottom:1px solid #fafafa;align-items:center;gap:8px;padding:8px 14px;transition:background .15s;display:flex}.carrito-item:hover{background:#fafafa}.carrito-item-info{flex:1;min-width:0}.carrito-item-name{color:#141414;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:500;overflow:hidden}.carrito-item-price{color:#8c8c8c;font-size:11px}.carrito-total-section{background:#fafafa;border-top:1px solid #f0f0f0;padding:12px 16px}.total-row{color:#595959;justify-content:space-between;align-items:center;padding:3px 0;font-size:13px;display:flex}.total-row.main{color:#141414;padding:8px 0 0;font-size:20px;font-weight:700}.carrito-actions{border-top:1px solid #f0f0f0;gap:8px;padding:12px 16px;display:flex}.page-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.page-title{color:#141414;font-size:22px;font-weight:700}.page-sub{color:#8c8c8c;margin-top:2px;font-size:13px}.stat-card{border-radius:var(--border-radius);box-shadow:var(--shadow);background:#fff;border:1px solid #00000008;height:100%;padding:0;transition:all .3s cubic-bezier(.4,0,.2,1);overflow:hidden}.stat-card:hover{box-shadow:var(--shadow-md);border-color:#1677ff1a;transform:translateY(-4px)}.stat-card-inner{flex-direction:column;justify-content:space-between;height:100%;padding:24px;display:flex}.stat-header{justify-content:space-between;align-items:flex-start;margin-bottom:20px;display:flex}.stat-icon{border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:24px;display:flex;box-shadow:0 4px 10px #0000000d}.stat-info{flex:1}.stat-label{color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px;font-size:13px;font-weight:500}.stat-value{color:#0f172a;font-size:28px;font-weight:800;line-height:1}.stat-footer{border-top:1px solid #00000005;align-items:center;gap:8px;margin-top:16px;padding-top:16px;display:flex}.dashboard-card{border-radius:var(--border-radius);box-shadow:var(--shadow);border:1px solid #00000008;overflow:hidden}.dashboard-card .ant-card-head{border-bottom:1px solid #00000008;min-height:56px;padding:0 24px}.dashboard-card .ant-card-head-title{color:#1e293b;font-weight:700}.dashboard-card .ant-card-body{padding:24px}.caja-tabs .ant-tabs-nav{margin-bottom:16px!important}.caja-status-card{box-shadow:var(--shadow);background:linear-gradient(#fff 0%,#f8fbff 100%);border:1px solid #d6e4ff;border-radius:16px}.caja-status-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.caja-summary-grid .ant-statistic{background:#ffffffeb;border:1px solid #edf2f7;border-radius:12px;height:100%;padding:14px}.caja-turno-actions{width:100%;margin-top:20px}.caja-turno-actions .ant-btn{height:42px}.caja-toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px;display:flex}.caja-detail-grid .ant-statistic{background:#fafcff;border:1px solid #eef2f6;border-radius:12px;height:100%;padding:12px}.caja-status-open{background:linear-gradient(135deg,#f6ffed,#d9f7be);border:1px solid #b7eb8f;border-radius:12px;padding:20px 24px}.caja-status-closed{background:linear-gradient(135deg,#fff7e6,#ffe7ba);border:1px solid #ffd591;border-radius:12px;padding:20px 24px}.badge-stock-ok{color:#52c41a}.badge-stock-low{color:#faad14}.badge-stock-zero{color:#ff4d4f}.ant-layout-sider-children{flex-direction:column;display:flex}.ant-menu-dark .ant-menu-item-selected{background:#1677ff33!important}.ant-menu-dark .ant-menu-item-selected:before{content:"";background:#1677ff;border-radius:0 2px 2px 0;width:3px;position:absolute;top:4px;bottom:4px;left:0}.ant-tabs-nav{margin-bottom:0!important}.scanner-active-pulse{animation:.5s infinite alternate scanner-pulse}@keyframes scanner-pulse{0%{opacity:1;transform:scale(1)}to{opacity:.7;transform:scale(1.05)}}.pos-shortcuts-bar{color:#64748b;background:#fff;border-top:1px solid #f0f0f0;align-items:center;gap:16px;padding:12px 20px;font-size:12px;display:flex}.ant-table-wrapper{width:100%}.ant-table-content{overflow-x:auto}.text-nowrap,.ant-table-thead>tr>th,.ant-table-tbody>tr>td{white-space:nowrap}.ant-modal .ant-modal-content{border-radius:16px}.fullscreen-kardex-modal{max-width:100vw;margin:0;padding-bottom:0}.fullscreen-kardex-modal .ant-modal-content{border-radius:0;flex-direction:column;min-height:100vh;display:flex}.fullscreen-kardex-modal .ant-modal-header{padding-bottom:12px}.fullscreen-kardex-modal .ant-modal-body{flex:1;min-height:0;padding-top:0}.ant-form-item{margin-bottom:16px}@media (width<=1200px){.pos-right{width:340px}.dashboard-card .ant-card-body{padding:18px}.caja-status-head{flex-direction:column}}@media (width<=992px){:root{--header-height:60px}.app-header{padding:0 14px!important}.page-inner{padding:18px}.login-page{flex-direction:column}.login-left{padding:32px 24px 16px}.login-headline{font-size:34px}.login-right{width:100%;padding:20px 24px 32px}.login-card{max-width:560px;padding:28px 24px}.pos-layout{height:auto;min-height:calc(100vh - var(--header-height));flex-direction:column}.pos-left{min-height:52vh}.pos-right{width:100%;box-shadow:none;border-top:1px solid #f0f0f0;border-left:none}.pos-products-grid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr));padding:12px}.page-header{align-items:flex-start;gap:12px}}@media (width<=768px){.app-sidebar{z-index:100;max-width:84vw;width:280px!important}.header-right{gap:10px}.header-user{padding:2px 4px}.header-user-meta{display:none!important}.page-inner{padding:14px}.page-header{flex-direction:column;margin-bottom:16px}.page-header>div:last-child,.page-header .ant-space,.page-header .ant-btn{width:100%}.page-header .ant-space{flex-wrap:wrap;display:flex;gap:8px!important}.page-header .ant-space .ant-btn{flex:auto;min-width:0}.page-title{font-size:20px;line-height:1.2}.page-sub{font-size:12px;line-height:1.45}.dashboard-card .ant-card-head{min-height:48px;padding:0 14px}.dashboard-card .ant-card-body{padding:14px}.stat-card-inner{padding:18px}.stat-value{font-size:24px}.ant-card{border-radius:14px}.ant-card-body{padding:14px}.ant-tabs-tab{padding:8px 10px!important}.ant-descriptions-bordered .ant-descriptions-item-label,.ant-descriptions-bordered .ant-descriptions-item-content{padding:10px 12px}.ant-modal{max-width:calc(100vw - 20px);margin:10px auto}.ant-modal .ant-modal-content{padding:18px 14px}.ant-modal .ant-modal-header{margin-bottom:12px}.ant-modal .ant-modal-footer{flex-wrap:wrap;gap:8px;display:flex}.ant-modal .ant-modal-footer .ant-btn{flex:140px;margin-inline-start:0!important}.ant-table{font-size:12px}.ant-table-cell{padding:10px 8px!important}.caja-toolbar{align-items:stretch}.caja-toolbar .ant-picker,.caja-toolbar .ant-btn{width:100%}.caja-summary-grid .ant-col{display:flex}.caja-summary-grid .ant-statistic,.caja-detail-grid .ant-statistic{width:100%}.ant-pagination{flex-wrap:wrap;justify-content:center}.pos-search-bar{padding:10px 12px}.pos-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.pos-product-card{min-height:118px;padding:10px}.pos-product-icon{width:34px;height:34px}.carrito-header,.carrito-cliente,.carrito-total-section,.carrito-actions{padding-left:12px;padding-right:12px}.carrito-items{padding:8px 10px}.carrito-item-col{padding:10px 8px}.carrito-item-meta{flex-direction:column;align-items:stretch;gap:8px}.pos-shortcuts-bar{flex-wrap:wrap;gap:8px;padding:10px 12px;line-height:1.5}.login-brand{margin-bottom:26px}.login-headline{font-size:28px}.login-sub{font-size:14px}}@media (width<=576px){.sidebar-logo{padding:0 16px}.app-header{padding:0 10px!important}.page-inner{padding:10px}.page-title{font-size:18px}.dashboard-card .ant-card-head-title{font-size:14px}.ant-statistic-content{font-size:20px!important}.ant-statistic-content-value{font-size:inherit}.ant-btn-lg{height:42px;padding-inline:14px}.ant-input-lg,.ant-input-number-lg,.ant-select-lg .ant-select-selector{min-height:42px!important}.pos-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-product-name{font-size:11px}.pos-product-price{font-size:12px}.carrito-actions .ant-btn{height:54px!important;font-size:18px!important}.login-left{padding:24px 16px 8px}.login-right{padding:16px}.login-card{border-radius:14px;padding:22px 16px}.caja-status-head .ant-btn,.caja-turno-actions .ant-btn{width:100%}}
