.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#e6f7ff 0%,#f5f5f5 100%);padding:24px;background-size:cover;background-position:center;background-repeat:no-repeat}.dark-theme .auth-container{background:linear-gradient(135deg,#0b1220 0%,#0f172a 100%)}.auth-card{width:100%;max-width:420px;box-shadow:0 8px 24px #0000001f;border-radius:12px}.auth-card .ant-btn{height:40px!important;line-height:40px!important;min-width:96px;padding:0 16px!important;font-size:14px}.auth-header{text-align:center;margin-bottom:16px}.offline-alert{margin-bottom:16px}.auth-info{margin-top:16px;text-align:center}.demo-credentials{background:#fafafa;border:1px dashed #d9d9d9;border-radius:8px;padding:8px 12px;margin-top:8px}.offline-note{display:inline-flex;align-items:center;gap:6px;margin-top:8px}.react-grid-layout{position:relative;transition:height .2s ease}.react-grid-item{transition:all .2s ease;transition-property:left,top,width,height}.react-grid-item img{pointer-events:none;-webkit-user-select:none;user-select:none}.react-grid-item.cssTransforms{transition-property:transform,width,height}.react-grid-item.resizing{transition:none;z-index:1;will-change:width,height}.react-grid-item.react-draggable-dragging{transition:none;z-index:3;will-change:transform}.react-grid-item.dropping{visibility:hidden}.react-grid-item.react-grid-placeholder{background:red;opacity:.2;transition-duration:.1s;z-index:2;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.react-grid-item.react-grid-placeholder.placeholder-resizing{transition:none}.react-grid-item>.react-resizable-handle{position:absolute;width:20px;height:20px}.react-grid-item>.react-resizable-handle:after{content:"";position:absolute;right:3px;bottom:3px;width:5px;height:5px;border-right:2px solid rgba(0,0,0,.4);border-bottom:2px solid rgba(0,0,0,.4)}.react-resizable-hide>.react-resizable-handle{display:none}.react-grid-item>.react-resizable-handle.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-grid-item>.react-resizable-handle.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-w,.react-grid-item>.react-resizable-handle.react-resizable-handle-e{top:50%;margin-top:-10px;cursor:ew-resize}.react-grid-item>.react-resizable-handle.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-n,.react-grid-item>.react-resizable-handle.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-grid-item>.react-resizable-handle.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}.react-resizable{position:relative}.react-resizable-handle{position:absolute;width:20px;height:20px;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+);background-position:bottom right;padding:0 3px 3px 0}.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-resizable-handle-w,.react-resizable-handle-e{top:50%;margin-top:-10px;cursor:ew-resize}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}.App{min-height:100vh;background-color:#f5f5f5}.ant-layout{background:#f5f5f5}.dark-theme{background-color:#0f172a}.dark-theme .ant-layout{background:#0f172a!important}.dark-theme .ant-layout-sider{background:#111827!important}.dark-theme .ant-layout-header{background:transparent!important;border-bottom-color:#94a3b833!important}.dark-theme .ant-layout-header .ant-space,.dark-theme .ant-layout-header .ant-btn,.dark-theme .ant-layout-header span,.dark-theme .ant-layout-header .ant-avatar,.dark-theme .ant-layout-header .anticon{color:#e5e7eb!important}.dark-theme .ant-card,.dark-theme .ant-modal-content,.dark-theme .ant-dropdown-menu,.dark-theme .ant-table,.dark-theme .ant-statistic{background:#0b1220!important}.dark-theme .ant-card-head,.dark-theme .ant-table-thead>tr>th{background:#0f1a2e!important}.dark-theme .ant-typography,.dark-theme .ant-card-head-title,.dark-theme .ant-table,.dark-theme .ant-table-cell,.dark-theme label,.dark-theme .ant-form-item-label>label{color:#cbd5e1!important}.dark-theme .ant-menu-dark,.dark-theme .ant-menu-dark .ant-menu-sub{background:#111827}.dark-theme .ant-menu-dark .ant-menu-title-content{color:#cfe3ff!important}.dark-theme .ant-menu-dark .ant-menu-item:hover,.dark-theme .ant-menu-dark .ant-menu-submenu-title:hover{background:rgba(59,130,246,.15)!important}.dark-theme .ant-menu-dark .ant-menu-item-selected{background:rgba(59,130,246,.25)!important;border-right:3px solid #60a5fa}.dark-theme .ant-btn-primary:hover{box-shadow:0 4px 8px #2563eb59!important}.dark-theme .ant-table{background:#0b1220!important;color:#fff!important}.dark-theme .ant-table-container,.dark-theme .ant-table-content,.dark-theme .ant-table-body,.dark-theme .ant-table-placeholder,.dark-theme .ant-table-expanded-row-fixed{background-color:#0b1220!important}.dark-theme .ant-table-tbody>tr{background-color:#0b1220!important}.dark-theme .ant-table-tbody>tr>td{background-color:#0b1220!important;color:#fff!important;border-bottom:1px solid #1e293b!important}.dark-theme .ant-table .ant-table-tbody>tr>td.ant-table-cell{background-color:#0b1220!important}.dark-theme .ant-table .ant-table-tbody>tr>td>.ant-table-cell-content{background-color:transparent!important}.dark-theme .ant-table .ant-table-tbody>tr>td.ant-table-cell-fix-left,.dark-theme .ant-table .ant-table-tbody>tr>td.ant-table-cell-fix-right{background-color:#0b1220!important}.dark-theme .ant-table-tbody>tr.ant-table-row:hover>td{background:rgba(30,58,138,.5)!important}.dark-theme .ant-table-tbody>tr:nth-child(2n),.dark-theme .ant-table-tbody>tr.ant-table-row:nth-child(2n){background-color:#0f172a!important}.dark-theme .ant-table-tbody>tr:nth-child(2n)>td,.dark-theme .ant-table-tbody>tr.ant-table-row:nth-child(2n)>td,.dark-theme .ant-table .ant-table-tbody>tr:nth-child(2n)>td.ant-table-cell{background-color:#0f172a!important}.dark-theme .ant-table .ant-table-tbody>tr:nth-child(2n)>td.ant-table-cell-fix-left,.dark-theme .ant-table .ant-table-tbody>tr:nth-child(2n)>td.ant-table-cell-fix-right{background-color:#0f172a!important}.dark-theme .ant-table-striped .ant-table-tbody>tr.ant-table-row:nth-child(2n)>td{background-color:#0f172a!important}.dark-theme .ant-table-summary{background-color:#0b1220!important}.dark-theme .ant-table-summary>tr>td{background-color:#0b1220!important;color:#fff!important}.dark-theme .ant-table-wrapper .ant-table-container .ant-table-content table tbody tr,.dark-theme .ant-table-wrapper .ant-table-container .ant-table-content table tbody tr td,.dark-theme .ant-table-wrapper .ant-table-container .ant-table-body table tbody tr td,.dark-theme .ant-table-wrapper .ant-table-container .ant-table-body table tbody tr{background-color:inherit!important}.dark-theme .ant-table-tbody>tr:hover>td,.dark-theme .ant-table-tbody>tr.ant-table-row:hover>td,.dark-theme .ant-table-row:hover{background-color:#388bfd1a!important}.dark-theme .ant-table-tbody>tr.ant-table-row-selected>td{background-color:#58a6ff29!important}.dark-theme .ant-empty-description,.dark-theme .ant-empty img{filter:brightness(.9)}.dark-theme .ant-table-thead>tr>th{background:#1e293b!important;color:#fff!important;border-bottom:1px solid #334155!important;padding:6px 8px!important;white-space:nowrap!important;line-height:1.2!important}.dark-theme .ant-table-column-sorter-up.active,.dark-theme .ant-table-column-sorter-down.active{color:#60a5fa!important}.dark-theme .ant-table-filter-trigger{color:#94a3b8!important}.dark-theme .ant-table-filter-trigger:hover{color:#60a5fa!important}.dark-theme .ant-table-pagination .ant-pagination-item a,.dark-theme .ant-pagination-item-ellipsis,.dark-theme .ant-pagination-prev .ant-pagination-item-link,.dark-theme .ant-pagination-next .ant-pagination-item-link{color:#cbd5e1!important}.dark-theme .ant-pagination-item-active{background:#1e40af!important;border-color:#3b82f6!important}.dark-theme .ant-pagination-item-active a{color:#fff!important}.dark-theme .ant-pagination-item:hover,.dark-theme .ant-pagination-prev:hover .ant-pagination-item-link,.dark-theme .ant-pagination-next:hover .ant-pagination-item-link{border-color:#3b82f6!important;color:#3b82f6!important}.dark-theme ::-webkit-scrollbar-track{background:#0f172a}.dark-theme ::-webkit-scrollbar-thumb{background:#334155}.dark-theme ::-webkit-scrollbar-thumb:hover{background:#475569}.react-grid-layout{position:relative}.react-grid-item{z-index:1;overflow:visible}.react-grid-item>div{height:100%}.ant-card{display:flex;flex-direction:column;height:100%;overflow:hidden}.ant-card-body{flex:1 1 auto;min-height:0;overflow:auto}.ant-layout-header{box-shadow:0 1px 4px #00152914}.ant-table-wrapper{border:5px solid #f0f0f0;border-radius:8px}.dark-theme .ant-table-wrapper{border-color:#94a3b840}.dark-theme .ant-table-wrapper[class*=css-dev-only-do-not-override]{background-color:#0b1220!important}.dark-theme .ant-card .ant-table-wrapper[class*=css-dev-only-do-not-override]{background-color:#161b22!important}.dark-theme .ant-table-wrapper[class*=css-dev-only-do-not-override] .ant-table-tbody>tr>td,.dark-theme .ant-table-wrapper[class*=css-dev-only-do-not-override] .ant-table .ant-table-tbody>tr>td.ant-table-cell{background-color:#0b1220!important;color:#fff!important}.dark-theme .ant-table-wrapper[class*=css-dev-only-do-not-override] .ant-table-tbody>tr:nth-child(2n)>td,.dark-theme .ant-table-wrapper[class*=css-dev-only-do-not-override] .ant-table .ant-table-tbody>tr:nth-child(2n)>td.ant-table-cell{background-color:#0f172a!important}.dark-theme .ant-table-ping-left .ant-table-cell-fix-left-last:after,.dark-theme .ant-table-ping-left .ant-table-cell-fix-left-first:after{box-shadow:none!important;background:linear-gradient(to right,rgba(13,17,23,.9),rgba(13,17,23,0))!important}.dark-theme .ant-table-ping-right .ant-table-cell-fix-right-first:after,.dark-theme .ant-table-ping-right .ant-table-cell-fix-right-last:after{box-shadow:none!important;background:linear-gradient(to left,rgba(13,17,23,.9),rgba(13,17,23,0))!important}.dark-theme .ant-modal .ant-table,.dark-theme .ant-modal .ant-table-container,.dark-theme .ant-modal .ant-table-content,.dark-theme .ant-modal .ant-table-body,.dark-theme .ant-modal .ant-table-placeholder,.dark-theme .ant-modal .ant-table-expanded-row-fixed{background-color:#0b1220!important}.dark-theme .ant-modal .ant-table-tbody>tr>td,.dark-theme .ant-modal .ant-table .ant-table-tbody>tr>td.ant-table-cell{background-color:#0b1220!important;color:#fff!important}.dark-theme .ant-modal .ant-table-tbody>tr:nth-child(2n)>td,.dark-theme .ant-modal .ant-table .ant-table-tbody>tr:nth-child(2n)>td.ant-table-cell{background-color:#0f172a!important}.dark-theme .ant-table-cell-scrollbar,.dark-theme .ant-modal .ant-table-cell-scrollbar{background-color:#0b1220!important}.dark-theme .ant-modal-confirm .ant-modal-confirm-title,.dark-theme .ant-modal-confirm .ant-modal-confirm-content{color:#cbd5e1!important}.dark-theme .ant-table-header,.dark-theme .ant-table-sticky-holder,.dark-theme .ant-modal .ant-table-header,.dark-theme .ant-modal .ant-table-sticky-holder{background-color:#1e293b!important}.dark-theme .ant-table-pagination,.dark-theme .ant-pagination{background-color:#0b1220!important}.dark-theme .ant-pagination-item,.dark-theme .ant-pagination-prev .ant-pagination-item-link,.dark-theme .ant-pagination-next .ant-pagination-item-link{background-color:#161b22!important;border-color:#30363d!important}.dark-theme .ant-pagination-item a{color:#c9d1d9!important}.dark-theme .ant-pagination-item-active{border-color:#58a6ff!important}.warehouse-grid .react-grid-item,.warehouse-grid .ant-card{overflow:hidden}.warehouse-grid .ant-card-body{overflow:auto}.ant-table-wrapper{max-width:100%;overflow:hidden}.dark-theme .ant-table.ant-table .ant-table-tbody>tr.ant-table-row>td.ant-table-cell{background-color:#0b1220!important}.dark-theme .ant-table.ant-table .ant-table-tbody>tr.ant-table-row:nth-child(2n)>td.ant-table-cell{background-color:#0f172a!important}.dark-theme .ant-table.ant-table .ant-table-tbody>tr.ant-table-row-level-0>td.ant-table-cell{background-color:#0b1220!important}.dark-theme .ant-table.ant-table .ant-table-tbody>tr.ant-table-row-level-0:nth-child(2n)>td.ant-table-cell{background-color:#0f172a!important}.dark-theme .ant-table-fixed-header .ant-table-body>table>tbody>tr>td{background-color:#0b1220!important}.dark-theme .ant-table-fixed-header .ant-table-body>table>tbody>tr:nth-child(2n)>td{background-color:#0f172a!important}.dark-theme .ant-modal .ant-table.ant-table .ant-table-tbody>tr.ant-table-row>td.ant-table-cell{background-color:#0b1220!important}.dark-theme .ant-modal .ant-table.ant-table .ant-table-tbody>tr.ant-table-row:nth-child(2n)>td.ant-table-cell{background-color:#0f172a!important}.dark-theme .ant-modal .ant-table-fixed-header .ant-table-body>table>tbody>tr>td{background-color:#0b1220!important}.dark-theme .ant-modal .ant-table-fixed-header .ant-table-body>table>tbody>tr:nth-child(2n)>td{background-color:#0f172a!important}.ant-card .ant-table-wrapper{overflow:auto}.ant-table{width:100%}.ant-table .ant-table-cell{word-break:break-word}.ant-layout-sider{box-shadow:2px 0 6px #00152914}.ant-menu-item-selected{background-color:#e6f7ff!important;border-right:3px solid #1890ff}.ant-menu-item:hover{background-color:#f0f9ff}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:#f1f1f1}@media (max-width: 768px){.ant-layout-sider{position:fixed!important;height:100vh;z-index:999}.ant-layout-content{margin-left:0!important}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.ant-card{transition:all .3s ease}.ant-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.dark-theme .ant-card:hover{box-shadow:0 6px 16px #020617b3}.ant-btn-primary{border-radius:6px;font-weight:500}.ant-btn-primary:hover{transform:translateY(-1px);box-shadow:0 4px 8px #1890ff4d}.ant-form-item-label>label{font-weight:500}.ant-input,.ant-select-selector{border-radius:6px}.ant-input:focus,.ant-select-focused .ant-select-selector{box-shadow:0 0 0 2px #1890ff33}.ant-table-thead>tr>th{background:#fafafa;font-weight:600;padding:6px 8px;white-space:nowrap;line-height:1.2}.ant-table-tbody>tr:hover>td{background:#f5f5f5}.ant-modal-content{border-radius:8px}.ant-modal-header{border-radius:8px 8px 0 0}.ant-notification{border-radius:8px}.ant-tag{border-radius:12px;font-weight:500}.ant-progress-text{font-weight:600}.text-center{text-align:center}.text-right{text-align:right}.text-left{text-align:left}.mb-16{margin-bottom:16px}.mb-24{margin-bottom:24px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.full-width{width:100%}.flex-center{display:flex;justify-content:center;align-items:center}.flex-between{display:flex;justify-content:space-between;align-items:center}.flex-column{display:flex;flex-direction:column}.no-margin{margin:0}.no-padding{padding:0}.ant-btn{height:32px!important;line-height:32px!important;min-width:80px;padding:0 12px!important;font-size:14px;border-radius:6px}.ant-btn .anticon{line-height:32px;font-size:14px}.ant-btn>span{line-height:32px}@tailwind base;@tailwind components;@tailwind utilities;body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.dark-theme .ant-table .ant-table-thead>tr>th{background:#1e293b!important;color:#fff!important}.dark-theme .ant-table .ant-table-tbody>tr{background-color:#0b1220!important}.dark-theme .ant-table .ant-table-tbody>tr:nth-child(2n){background-color:#0f172a!important}.dark-theme .ant-table .ant-table-tbody>tr>td{background-color:inherit!important;color:#fff!important}.dark-theme .ant-table .ant-table-cell-scrollbar{background-color:#0b1220!important}.dark-theme .ant-table .ant-table-tbody>tr>td:hover{background:#0f172a!important}.dark-theme .ant-table .ant-table-tbody>tr:hover>td{background:#0f172a!important}#root{min-height:100vh}.ant-table{border-radius:8px;overflow:hidden;font-size:14px}.light-theme .ant-table .ant-table-thead>tr>th{background:#fafafa;font-weight:600;white-space:nowrap;padding:10px 12px}.light-theme .ant-table .ant-table-thead>tr>th .ant-table-column-sorters{padding:4px 0}.light-theme .ant-table .ant-table-thead>tr>th .ant-table-filter-trigger{color:#1890ff;margin-left:4px}.light-theme .ant-table .ant-table-thead>tr>th .ant-table-filter-trigger:hover{color:#40a9ff}.light-theme .ant-table .ant-table-tbody>tr>td{padding:10px 12px;transition:background .3s}.light-theme .ant-table .ant-table-tbody>tr{transition:all .3s}.light-theme .ant-table .ant-table-tbody>tr:hover>td{background:#f5f5f5}.light-theme .ant-table .ant-table-tbody>tr:nth-child(2n){background-color:#f9f9f9}.light-theme .ant-table .ant-pagination{margin:16px 0 0;padding:8px 16px;display:flex;justify-content:flex-end}.ant-table .ant-table-tbody>tr>td:first-child,.ant-table .ant-table-thead>tr>th:first-child{padding-left:16px}.ant-table .ant-table-tbody>tr>td:last-child,.ant-table .ant-table-thead>tr>th:last-child{padding-right:16px}.ant-table-wrapper{width:100%;max-width:100%;overflow-x:auto}.ant-table{table-layout:fixed;width:100%}.ant-table .ant-table-cell{white-space:normal;word-break:break-word}.ant-table .ant-table-cell .ant-table-cell-ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ant-menu-dark{background:#001529}.ant-layout-sider{box-shadow:2px 0 8px #00000026}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#a8a8a8}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fade-in{animation:fadeIn .3s ease-in}.currency-positive{color:#52c41a;font-weight:500}.currency-negative{color:#f5222d;font-weight:500}.status-badge{padding:2px 8px;border-radius:12px;font-size:12px;font-weight:500}.status-active{background:#f6ffed;border:1px solid #b7eb8f;color:#52c41a}.status-inactive{background:#fff2f0;border:1px solid #ffccc7;color:#ff4d4f}.status-pending{background:#fffbe6;border:1px solid #ffe58f;color:#faad14}
