.page-heading{justify-content:space-between;align-items:flex-end;gap:20px;padding:25px 40px 0;display:flex}.page-heading h1{letter-spacing:-1px;color:#17233d;font-size:38px;font-weight:700;line-height:1.2}.page-heading p{color:#697180;margin-top:7px;font-size:19px}.add-category-btn{color:#fff;white-space:nowrap;background:#ed2b26;border-radius:16px;justify-content:center;align-items:center;gap:9px;height:58px;padding:0 23px;font-size:15px;font-weight:600;display:flex;box-shadow:0 7px 15px #ed2b262e}.add-category-btn svg{stroke:#fff;fill:none;stroke-width:2.5px;stroke-linecap:round;width:22px;height:22px}.search-section{gap:12px;margin:30px 40px 0;display:flex}.search-box{background:#fff;border:1px solid #e4e6eb;border-radius:17px;flex:1;align-items:center;height:65px;padding:0 20px;display:flex;box-shadow:0 3px 12px #1b26370b}.category-count{justify-content:space-between;align-items:center;margin:30px 40px 0;display:flex}.category-count h2{color:#17233d;font-size:24px;font-weight:700}.category-count span{color:#858c98;font-size:14px}.category-list{margin-top:16px;padding:0 40px}.category-card{background:#fff;border:1px solid #e7e8ec;border-radius:19px;align-items:center;width:100%;min-height:132px;margin-bottom:12px;padding:18px 20px;display:flex;position:relative;box-shadow:0 3px 12px #1c25360b}.category-icon{background:#e4f6e8;border-radius:25px;flex-shrink:0;justify-content:center;align-items:center;width:94px;height:94px;display:flex}.category-icon svg{fill:none;stroke:#07952d;stroke-width:2.3px;stroke-linecap:round;stroke-linejoin:round;width:50px;height:50px}.category-card:nth-child(2) .category-icon{background:#fde8e7}.category-card:nth-child(2) .category-icon svg{stroke:#d92824}.category-card:nth-child(3) .category-icon{background:#e4edff}.category-card:nth-child(3) .category-icon svg{stroke:#2468d8}.category-card:nth-child(4) .category-icon{background:#fff0dd}.category-card:nth-child(4) .category-icon svg{stroke:#ed8b00}.category-card:nth-child(5) .category-icon{background:#eee6ff}.category-card:nth-child(5) .category-icon svg{stroke:#6736ca}.category-card:nth-child(6) .category-icon{background:#e9f4f4}.category-card:nth-child(6) .category-icon svg{stroke:#138b8b}.category-details{flex:1;min-width:0;margin-left:22px}.category-name{color:#17233d;padding-right:90px;font-size:22px;font-weight:700;line-height:1.25}.category-description{color:#747b88;margin-top:5px;font-size:14px}.category-meta{align-items:center;gap:15px;margin-top:10px;display:flex}.product-count{color:#596172;align-items:center;gap:6px;font-size:13px;display:flex}.product-count svg{fill:none;stroke:#7b8390;stroke-width:2px;width:19px;height:19px}.status{border-radius:14px;align-items:center;height:25px;padding:0 10px;font-size:10px;font-weight:600;display:flex}.status.active{color:#07952d;background:#e4f6e8}.status.inactive{color:#dc2924;background:#fde6e5}.category-actions{gap:7px;display:flex;position:absolute;top:19px;right:19px}.category-modal{background:#fff;border-radius:30px 30px 0 0;width:min(100%,828px);padding:30px 40px 45px;animation:.25s modalUp;box-shadow:0 -10px 40px #00000026}@keyframes modalUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}textarea.form-input{resize:none;height:100px;padding-top:15px}@media (width<=700px){.app{padding-bottom:110px}.top-header{height:130px;padding:30px 24px 0}.back-btn{width:40px;height:40px;margin-top:38px}.back-btn svg{width:30px;height:30px}.brand{width:165px;top:51px}.notification{transform-origin:100% 0;margin-top:34px;transform:scale(.82)}.page-heading{align-items:flex-start;padding:20px 20px 0}.page-heading h1{font-size:28px}.page-heading p{margin-top:4px;font-size:12px}.add-category-btn{border-radius:13px;height:48px;padding:0 14px;font-size:11px}.add-category-btn svg{width:18px;height:18px}.search-section{margin:22px 20px 0}.search-box{border-radius:14px;height:53px;padding:0 14px}.search-icon{width:22px;height:22px}.search-box input{padding-left:9px;font-size:13px}.category-count{margin:24px 20px 0}.category-count h2{font-size:19px}.category-count span{font-size:11px}.category-list{margin-top:12px;padding:0 20px}.category-card{border-radius:14px;min-height:105px;margin-bottom:9px;padding:13px}.category-icon{border-radius:19px;width:73px;height:73px}.category-icon svg{width:38px;height:38px}.category-details{margin-left:15px}.category-name{padding-right:75px;font-size:16px}.category-description{margin-top:3px;font-size:10px}.category-meta{gap:7px;margin-top:6px}.product-count{gap:3px;font-size:9px}.product-count svg{width:14px;height:14px}.status{height:20px;padding:0 7px;font-size:7px}.category-actions{gap:5px;top:13px;right:13px}.action-btn{border-radius:8px;width:30px;height:30px}.action-btn svg{width:15px;height:15px}.category-modal{border-radius:25px 25px 0 0;padding:22px 20px 30px}.modal-header h2{font-size:22px}.form-group label{font-size:12px}.form-input{border-radius:12px;height:52px;font-size:13px}textarea.form-input{height:85px}.modal-btn{height:52px;font-size:13px}.bottom-nav{height:105px;padding-top:12px}.nav-icon{height:42px}.nav-icon svg{width:33px;height:33px}.nav-label{font-size:12px}.home-indicator{width:130px;height:5px;bottom:5px}}@media (width<=420px){.page-heading h1{font-size:25px}.page-heading p{font-size:10px}.add-category-btn{height:44px;padding:0 11px;font-size:10px}.category-name{font-size:14px}.category-description{font-size:8px}}.add-product-btn{color:#fff;white-space:nowrap;background:#ed2b26;border-radius:16px;justify-content:center;align-items:center;gap:9px;height:58px;padding:0 23px;font-size:15px;font-weight:600;display:flex;box-shadow:0 7px 15px #ed2b262e}.add-product-btn svg{stroke:#fff;fill:none;stroke-width:2.5px;stroke-linecap:round;width:22px;height:22px}.product-count-heading{justify-content:space-between;align-items:center;margin:30px 40px 0;display:flex}.product-count-heading h2{color:#17233d;font-size:24px;font-weight:700}.product-count-heading span{color:#858c98;font-size:14px}.product-list{margin-top:16px;padding:0 40px}.product-card{background:#fff;border:1px solid #e7e8ec;border-radius:19px;align-items:center;width:100%;min-height:132px;margin-bottom:12px;padding:18px 20px;display:flex;position:relative;box-shadow:0 3px 12px #1c25360b}.product-icon{background:#e4edff;border-radius:25px;flex-shrink:0;justify-content:center;align-items:center;width:94px;height:94px;display:flex}.product-icon svg{fill:none;stroke:#2468d8;stroke-width:2.3px;stroke-linecap:round;stroke-linejoin:round;width:50px;height:50px}.product-card:nth-child(2) .product-icon{background:#fde8e7}.product-card:nth-child(2) .product-icon svg{stroke:#d92824}.product-card:nth-child(3) .product-icon{background:#e4f6e8}.product-card:nth-child(3) .product-icon svg{stroke:#07952d}.product-card:nth-child(4) .product-icon{background:#fff0dd}.product-card:nth-child(4) .product-icon svg{stroke:#ed8b00}.product-card:nth-child(5) .product-icon{background:#eee6ff}.product-card:nth-child(5) .product-icon svg{stroke:#6736ca}.product-details{flex:1;min-width:0;margin-left:22px}.product-name{color:#17233d;padding-right:100px;font-size:22px;font-weight:700;line-height:1.25}.product-category{color:#747b88;align-items:center;gap:7px;margin-top:7px;font-size:14px;display:flex}.product-category svg{fill:none;stroke:#7c8491;stroke-width:2px;width:17px;height:17px}.product-actions{gap:7px;display:flex;position:absolute;top:19px;right:19px}.product-modal{background:#fff;border-radius:30px 30px 0 0;width:min(100%,828px);padding:30px 40px 45px;animation:.25s modalUp;box-shadow:0 -10px 40px #00000026}.form-group{margin-bottom:21px}select.form-input{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23747b88' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-position:right 17px center;background-repeat:no-repeat;padding-right:45px}@media (width<=700px){.add-product-btn{border-radius:13px;height:48px;padding:0 14px;font-size:11px}.add-product-btn svg{width:18px;height:18px}.search-section{margin:22px 20px 0}.search-box{border-radius:14px;height:53px;padding:0 14px}.search-icon{width:22px;height:22px}.search-box input{padding-left:9px;font-size:13px}.product-count-heading{margin:24px 20px 0}.product-count-heading h2{font-size:19px}.product-count-heading span{font-size:11px}.product-list{margin-top:12px;padding:0 20px}.product-card{border-radius:14px;min-height:105px;margin-bottom:9px;padding:13px}.product-icon{border-radius:19px;width:73px;height:73px}.product-icon svg{width:38px;height:38px}.product-details{margin-left:15px}.product-name{padding-right:75px;font-size:16px}.product-category{gap:4px;margin-top:5px;font-size:10px}.product-category svg{width:14px;height:14px}.product-actions{gap:5px;top:13px;right:13px}.action-btn{border-radius:8px;width:30px;height:30px}.action-btn svg{width:15px;height:15px}.product-modal{border-radius:25px 25px 0 0;padding:22px 20px 30px}.modal-header h2{font-size:22px}.form-group label{font-size:12px}.form-input{border-radius:12px;height:52px;font-size:13px}.modal-btn{height:52px;font-size:13px}}@media (width<=420px){.add-product-btn{height:44px;padding:0 11px;font-size:10px}.product-name{font-size:14px}.product-category{font-size:8px}}.add-purchase-btn{color:#fff;white-space:nowrap;background:#ed2b26;border-radius:16px;justify-content:center;align-items:center;gap:9px;height:58px;padding:0 23px;font-size:15px;font-weight:600;display:flex;box-shadow:0 7px 15px #ed2b262e}.add-purchase-btn svg{stroke:#fff;fill:none;stroke-width:2.5px;stroke-linecap:round;width:22px;height:22px}.purchase-count-heading{justify-content:space-between;align-items:center;margin:30px 40px 0;display:flex}.purchase-count-heading h2{color:#17233d;font-size:24px;font-weight:700}.purchase-count-heading span{color:#858c98;font-size:14px}.purchase-list{margin-top:16px;padding:0 40px}.purchase-card{background:#fff;border:1px solid #e7e8ec;border-radius:19px;align-items:center;width:100%;min-height:145px;margin-bottom:12px;padding:18px 20px;display:flex;position:relative;box-shadow:0 3px 12px #1c25360b}.purchase-icon{background:#e4f6e8;border-radius:25px;flex-shrink:0;justify-content:center;align-items:center;width:94px;height:94px;display:flex}.purchase-icon svg{fill:none;stroke:#07952d;stroke-width:2.3px;stroke-linecap:round;stroke-linejoin:round;width:50px;height:50px}.purchase-card:nth-child(2) .purchase-icon{background:#e4edff}.purchase-card:nth-child(2) .purchase-icon svg{stroke:#2468d8}.purchase-card:nth-child(3) .purchase-icon{background:#fff0dd}.purchase-card:nth-child(3) .purchase-icon svg{stroke:#ed8b00}.purchase-card:nth-child(4) .purchase-icon{background:#eee6ff}.purchase-card:nth-child(4) .purchase-icon svg{stroke:#6736ca}.purchase-details{flex:1;min-width:0;margin-left:22px}.purchase-product{color:#17233d;padding-right:100px;font-size:22px;font-weight:700;line-height:1.25}.purchase-category{color:#7a818d;margin-top:6px;font-size:13px}.purchase-info{align-items:center;gap:20px;margin-top:12px;display:flex}.purchase-actions{gap:7px;display:flex;position:absolute;top:19px;right:19px}.purchase-modal{background:#fff;border-radius:30px 30px 0 0;width:min(100%,828px);padding:30px 40px 45px;animation:.25s modalUp;box-shadow:0 -10px 40px #00000026}.product-option{cursor:pointer;color:#30394b;align-items:center;min-height:48px;padding:0 15px;font-size:14px;transition:all .15s;display:flex}@media (width<=700px){.add-purchase-btn{border-radius:13px;height:48px;padding:0 14px;font-size:11px}.add-purchase-btn svg{width:18px;height:18px}.search-section{margin:22px 20px 0}.search-box{border-radius:14px;height:53px;padding:0 14px}.search-icon{width:22px;height:22px}.search-box input{padding-left:9px;font-size:13px}.purchase-count-heading{margin:24px 20px 0}.purchase-count-heading h2{font-size:19px}.purchase-count-heading span{font-size:11px}.purchase-list{margin-top:12px;padding:0 20px}.purchase-card{border-radius:14px;min-height:116px;margin-bottom:9px;padding:13px}.purchase-icon{border-radius:19px;width:73px;height:73px}.purchase-icon svg{width:38px;height:38px}.purchase-details{margin-left:15px}.purchase-product{padding-right:70px;font-size:16px}.purchase-category{margin-top:4px;font-size:9px}.purchase-info{gap:12px;margin-top:7px}.info-label{font-size:7px}.info-value{font-size:12px}.purchase-actions{gap:5px;top:13px;right:13px}.action-btn{border-radius:8px;width:30px;height:30px}.action-btn svg{width:15px;height:15px}.purchase-modal{border-radius:25px 25px 0 0;padding:22px 20px 30px}.modal-header h2{font-size:22px}.form-group label{font-size:12px}.form-input,.product-select-box{border-radius:12px;height:52px;font-size:13px}.selected-product{font-size:13px}.form-row{gap:10px}.modal-btn{height:52px;font-size:13px}}@media (width<=420px){.add-purchase-btn{height:44px;padding:0 11px;font-size:10px}.purchase-product{font-size:14px}.purchase-category{font-size:8px}}.add-sale-btn{color:#fff;white-space:nowrap;background:#ed2b26;border-radius:16px;justify-content:center;align-items:center;gap:9px;height:58px;padding:0 23px;font-size:15px;font-weight:600;display:flex;box-shadow:0 7px 15px #ed2b262e}.add-sale-btn svg{stroke:#fff;fill:none;stroke-width:2.5px;stroke-linecap:round;width:22px;height:22px}.search-section{margin:30px 40px 0}.search-box{background:#fff;border:1px solid #e4e6eb;border-radius:17px;align-items:center;width:100%;height:65px;padding:0 20px;display:flex;box-shadow:0 3px 12px #1b26370b}.search-icon svg{fill:none;stroke:#7c8491;stroke-width:2.2px;width:100%;height:100%}.search-box input{color:#17233d;background:0 0;border:0;outline:0;width:100%;height:100%;padding-left:13px;font-size:17px}.sale-count-heading{justify-content:space-between;align-items:center;margin:30px 40px 0;display:flex}.sale-count-heading h2{color:#17233d;font-size:24px;font-weight:700}.sale-count-heading span{color:#858c98;font-size:14px}.sale-list{margin-top:16px;padding:0 40px}.sale-card{background:#fff;border:1px solid #e7e8ec;border-radius:19px;align-items:center;width:100%;min-height:145px;margin-bottom:12px;padding:18px 20px;display:flex;position:relative;box-shadow:0 3px 12px #1c25360b}.sale-icon{background:#fde8e7;border-radius:25px;flex-shrink:0;justify-content:center;align-items:center;width:94px;height:94px;display:flex}.sale-icon svg{fill:none;stroke:#dc2924;stroke-width:2.3px;stroke-linecap:round;stroke-linejoin:round;width:50px;height:50px}.sale-card:nth-child(2) .sale-icon{background:#e4edff}.sale-card:nth-child(2) .sale-icon svg{stroke:#2468d8}.sale-card:nth-child(3) .sale-icon{background:#fff0dd}.sale-card:nth-child(3) .sale-icon svg{stroke:#ed8b00}.sale-card:nth-child(4) .sale-icon{background:#eee6ff}.sale-card:nth-child(4) .sale-icon svg{stroke:#6736ca}.sale-details{flex:1;min-width:0;margin-left:22px}.sale-product{color:#17233d;padding-right:100px;font-size:22px;font-weight:700;line-height:1.25}.sale-category{color:#7a818d;margin-top:6px;font-size:13px}.sale-info{align-items:center;gap:20px;margin-top:12px;display:flex}.info-item{flex-direction:column;gap:2px;display:flex}.info-label{color:#9299a4;text-transform:uppercase;letter-spacing:.4px;font-size:10px;font-weight:500}.info-value{color:#17233d;font-size:16px;font-weight:700}.sale-actions{gap:7px;display:flex;position:absolute;top:19px;right:19px}.action-btn{border-radius:11px;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.action-btn svg{fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.edit-btn{background:#eaf1ff}.edit-btn svg{stroke:#2468d8}.delete-btn{background:#fde9e8}.delete-btn svg{stroke:#dc2924}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:500;background:#0f172a73;justify-content:center;align-items:flex-end;display:none;position:fixed;inset:0}.modal-overlay.show{display:flex}.sale-modal{background:#fff;border-radius:30px 30px 0 0;width:min(100%,828px);padding:30px 40px 45px;animation:.25s modalUp;box-shadow:0 -10px 40px #00000026}.modal-handle{background:#d9dce1;border-radius:10px;width:48px;height:5px;margin:0 auto 25px}.modal-header{justify-content:space-between;align-items:center;margin-bottom:25px;display:flex}.modal-header h2{color:#17233d;font-size:27px;font-weight:700}.close-modal{background:#f2f3f5;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.close-modal svg{stroke:#596172;fill:none;stroke-width:2.3px;width:20px;height:20px}.form-group{margin-bottom:21px;position:relative}.form-group label{color:#30394b;margin-bottom:8px;font-size:14px;font-weight:600;display:block}.form-input{color:#17233d;background:#fff;border:1px solid #dfe2e7;border-radius:14px;outline:none;width:100%;height:59px;padding:0 17px;font-size:15px;transition:all .2s}.form-input:focus{border-color:#ed2b26;box-shadow:0 0 0 3px #ed2b2614}.product-select{position:relative}.product-select-box{cursor:pointer;background:#fff;border:1px solid #dfe2e7;border-radius:14px;justify-content:space-between;align-items:center;width:100%;height:59px;padding:0 17px;display:flex}.selected-product{color:#9299a4;white-space:nowrap;text-overflow:ellipsis;font-size:15px;overflow:hidden}.selected-product.has-value{color:#17233d;font-weight:500}.select-arrow{flex-shrink:0;width:20px;height:20px}.select-arrow svg{fill:none;stroke:#747b88;stroke-width:2px;width:100%;height:100%}.product-dropdown{z-index:30;background:#fff;border:1px solid #e0e3e8;border-radius:14px;width:100%;display:none;position:absolute;top:68px;left:0;overflow:hidden;box-shadow:0 10px 30px #18233721}.product-dropdown.show{display:block}.dropdown-search{border-bottom:1px solid #eceef1;padding:10px}.dropdown-search input{color:#17233d;border:1px solid #e1e4e9;border-radius:10px;outline:none;width:100%;height:45px;padding:0 12px;font-size:13px}.dropdown-search input:focus{border-color:#ed2b26}.product-options{max-height:245px;overflow-y:auto}.product-option{cursor:pointer;color:#30394b;justify-content:space-between;align-items:center;min-height:58px;padding:8px 15px;font-size:14px;transition:all .15s;display:flex}.product-option:hover{color:#ed2b26;background:#f9eeee}.option-stock{color:#078a2a;white-space:nowrap;background:#e6f6e9;border-radius:7px;padding:5px 9px;font-size:10px;font-weight:600}.option-stock.low{color:#d67c00;background:#fff1dc}.option-stock.out{color:#d92722;background:#fde8e7}.no-product{text-align:center;color:#8b929d;padding:20px;font-size:13px}.available-stock-box{background:#f3f8f4;border:1px solid #dceee0;border-radius:15px;justify-content:space-between;align-items:center;width:100%;min-height:82px;margin-bottom:21px;padding:14px 17px;display:flex}.available-stock-left{flex-direction:column;gap:3px;display:flex}.available-stock-label{color:#748078;text-transform:uppercase;letter-spacing:.5px;font-size:11px;font-weight:500}.available-stock-product{color:#34423a;font-size:14px;font-weight:600}.available-stock-number{color:#078a2a;font-size:28px;font-weight:700}.available-stock-number.low{color:#d67c00}.available-stock-number.out{color:#d92722}.form-row{grid-template-columns:1fr 1fr;gap:15px;display:grid}.input-prefix{position:relative}.input-prefix span{color:#747b88;z-index:2;font-size:16px;font-weight:600;position:absolute;top:50%;left:17px;transform:translateY(-50%)}.input-prefix .form-input{padding-left:35px}.stock-error{color:#d92722;background:#fde8e7;border-radius:9px;margin-top:-10px;margin-bottom:18px;padding:9px 12px;font-size:12px;font-weight:500;display:none}.stock-error.show{display:block}.modal-buttons{gap:12px;margin-top:25px;display:flex}.modal-btn{border-radius:15px;flex:1;height:58px;font-size:15px;font-weight:600}.cancel-btn{color:#5e6674;background:#f0f1f3}.save-btn{color:#fff;background:#ed2b26;box-shadow:0 7px 15px #ed2b2629}.delete-modal{text-align:center}.delete-icon{background:#fde8e7;border-radius:50%;justify-content:center;align-items:center;width:72px;height:72px;margin:0 auto 18px;display:flex}.delete-icon svg{fill:none;stroke:#dc2924;stroke-width:2px;width:35px;height:35px}.delete-modal h2{color:#17233d;font-size:25px;font-weight:700}.delete-modal p{color:#707786;margin-top:8px;font-size:14px;line-height:1.6}.delete-buttons{gap:12px;margin-top:25px;display:flex}.delete-confirm{color:#fff;background:#dc2924}@media (width<=700px){.add-sale-btn{border-radius:13px;height:48px;padding:0 14px;font-size:11px}.add-sale-btn svg{width:18px;height:18px}.search-section{margin:22px 20px 0}.search-box{border-radius:14px;height:53px;padding:0 14px}.search-icon{width:22px;height:22px}.search-box input{padding-left:9px;font-size:13px}.sale-count-heading{margin:24px 20px 0}.sale-count-heading h2{font-size:19px}.sale-count-heading span{font-size:11px}.sale-list{margin-top:12px;padding:0 20px}.sale-card{border-radius:14px;min-height:116px;margin-bottom:9px;padding:13px}.sale-icon{border-radius:19px;width:73px;height:73px}.sale-icon svg{width:38px;height:38px}.sale-details{margin-left:15px}.sale-product{padding-right:70px;font-size:16px}.sale-category{margin-top:4px;font-size:9px}.sale-info{gap:12px;margin-top:7px}.info-label{font-size:7px}.info-value{font-size:12px}.sale-actions{gap:5px;top:13px;right:13px}.action-btn{border-radius:8px;width:30px;height:30px}.action-btn svg{width:15px;height:15px}.sale-modal{border-radius:25px 25px 0 0;padding:22px 20px 30px}.modal-header h2{font-size:22px}.form-group label{font-size:12px}.form-input,.product-select-box{border-radius:12px;height:52px;font-size:13px}.selected-product{font-size:13px}.form-row{gap:10px}.available-stock-box{min-height:70px;padding:11px 14px}.available-stock-label{font-size:9px}.available-stock-product{font-size:11px}.available-stock-number{font-size:23px}.modal-btn{height:52px;font-size:13px}}@media (width<=420px){.add-sale-btn{height:44px;padding:0 11px;font-size:10px}.sale-product{font-size:14px}.sale-category{font-size:8px}}.back-btn{justify-content:center;align-items:center;width:52px;height:52px;margin-top:61px;display:flex}.back-btn svg{stroke:#17233d;stroke-width:2.5px;fill:none;width:38px;height:38px}.stock-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:30px 40px 0;display:grid}.summary-card{box-sizing:border-box;border-radius:18px;flex-direction:column;justify-content:space-between;min-width:0;height:125px;padding:18px 15px;display:flex}.summary-card.total{background:#fde8e7}.summary-card.sale{background:#eef4ff}.summary-card.available{background:#e5f7e9}.summary-card.low{background:#fff0dc}.summary-label{color:#596172;font-size:14px;font-weight:500;line-height:1.25}.summary-number{color:#17233d;font-size:29px;font-weight:700;line-height:1}.summary-bottom{justify-content:space-between;align-items:center;gap:8px;display:flex}.summary-icon{flex-shrink:0;width:30px;height:30px}.summary-icon svg{width:100%;height:100%}.search-area{align-items:center;gap:12px;margin:31px 40px 0;display:flex}.search-box{box-sizing:border-box;background:#fff;border:1px solid #e4e6eb;border-radius:17px;flex:1;align-items:center;min-width:0;height:65px;padding:0 20px;display:flex;box-shadow:0 3px 12px #1b26370b}.search-icon{flex-shrink:0;width:27px;height:27px}.search-icon svg{stroke:#7c8491;fill:none;stroke-width:2.2px;width:100%;height:100%}.search-box input{color:#17233d;background:0 0;border:none;outline:none;width:100%;min-width:0;height:100%;padding-left:13px;font-size:17px}.search-box input::placeholder{color:#9399a4}.filter-btn{cursor:pointer;background:#ed2b26;border:none;border-radius:17px;flex-shrink:0;justify-content:center;align-items:center;width:65px;height:65px;display:flex}.filter-btn svg{stroke:#fff;fill:none;stroke-width:2px;width:29px;height:29px}.filter-tabs{scrollbar-width:none;align-items:center;gap:10px;margin:22px 40px 0;display:flex;overflow-x:auto}.filter-tabs::-webkit-scrollbar{display:none}.filter-tab{color:#697180;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #e2e4e9;border-radius:22px;flex-shrink:0;height:44px;padding:0 19px;font-size:14px;font-weight:500}.filter-tab.active{color:#fff;background:#ed2b26;border-color:#ed2b26}.list-heading{justify-content:space-between;align-items:center;gap:15px;margin:31px 40px 15px;display:flex}.list-heading h2{color:#17233d;margin:0;font-size:24px;font-weight:700;line-height:1.2}.sort-btn{color:#666e7d;white-space:nowrap;cursor:pointer;background:0 0;border:none;align-items:center;gap:7px;font-size:14px;font-weight:500;display:flex}.sort-btn svg{stroke:#666e7d;fill:none;width:19px;height:19px}.stock-list{padding:0 40px}.stock-card{box-sizing:border-box;background:#fff;border:1px solid #e7e8ec;border-radius:19px;align-items:center;gap:20px;width:100%;min-height:142px;margin-bottom:12px;padding:20px;display:flex;position:relative;box-shadow:0 3px 12px #1c25360b}.product-image{background:#f4f5f7;border-radius:17px;flex:0 0 98px;justify-content:center;align-items:center;width:98px;height:98px;display:flex;overflow:hidden}.product-image img{object-fit:contain;width:82%;height:82%}.product-placeholder{width:50px;height:50px}.product-placeholder svg{stroke:#c8ccd3;fill:none;stroke-width:1.8px;width:100%;height:100%}.product-details{flex-direction:column;flex:1;min-width:0;display:flex}.product-name{color:#17233d;word-break:break-word;padding-right:5px;font-size:20px;font-weight:700;line-height:1.25}.product-category{color:#8a919d;white-space:nowrap;text-overflow:ellipsis;margin-top:4px;font-size:12px;font-weight:500;line-height:1.3;overflow:hidden}.stock-metrics{flex-wrap:wrap;align-items:center;gap:20px;margin-top:12px;display:flex}.stock-metric{align-items:center;gap:6px;min-width:max-content;display:flex}.metric-label{color:#8a919d;font-size:11px;font-weight:500;line-height:1.2}.metric-value{color:#17233d;font-size:13px;font-weight:700;line-height:1.2}.metric-value.available-value{color:#07952d}.product-purchase{text-align:right;box-sizing:border-box;flex-direction:column;flex:0 0 145px;align-items:flex-end;width:145px;padding-right:38px;display:flex}.purchase-label{color:#8a919d;font-size:11px;font-weight:500;line-height:1.2}.purchase-rate{color:#17233d;white-space:nowrap;margin-top:4px;font-size:16px;font-weight:700;line-height:1.2}.purchase-total-label{color:#8a919d;margin-top:10px;font-size:11px;font-weight:500;line-height:1.2}.purchase-total{color:#17233d;white-space:nowrap;margin-top:4px;font-size:14px;font-weight:700;line-height:1.2}.more-btn{cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;width:28px;height:40px;padding:0;display:flex;position:absolute;top:50%;right:16px;transform:translateY(-50%)}.more-btn svg{fill:#858c98;width:21px;height:21px}.stock-error{color:#d92824;background:#fde8e7;border-radius:10px;margin:20px 40px 0;padding:12px 15px;font-size:14px}.stock-loading,.stock-empty{text-align:center;color:#8a919d;padding:35px 20px;font-size:14px}.purchase-summary{box-sizing:border-box;background:#f8f9fb;border-radius:16px;grid-template-columns:repeat(4,1fr);gap:15px;margin:25px 40px 30px;padding:20px;display:grid}.purchase-summary-item{flex-direction:column;gap:5px;display:flex}.purchase-summary-item span{color:#8a919d;font-size:11px}.purchase-summary-item strong{color:#17233d;font-size:17px}@media (width<=900px){.stock-card{gap:14px;padding:16px}.product-image{flex-basis:85px;width:85px;height:85px}.product-purchase{flex-basis:120px;width:120px;padding-right:32px}.stock-metrics{gap:10px 14px}.metric-label{font-size:10px}.metric-value{font-size:12px}}@media (width<=700px){.stock-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:22px 20px 0}.summary-card{border-radius:13px;height:92px;padding:12px 10px}.summary-label{font-size:9px;line-height:1.25}.summary-number{font-size:21px}.summary-icon{width:22px;height:22px}.search-area{gap:8px;margin:22px 20px 0}.search-box{border-radius:14px;height:53px;padding:0 14px}.search-icon{width:22px;height:22px}.search-box input{padding-left:9px;font-size:13px}.filter-btn{border-radius:14px;width:53px;height:53px}.filter-btn svg{width:24px;height:24px}.filter-tabs{gap:7px;margin:16px 20px 0}.filter-tab{border-radius:19px;height:37px;padding:0 14px;font-size:11px}.list-heading{margin:24px 20px 12px}.list-heading h2{font-size:19px}.sort-btn{font-size:11px}.sort-btn svg{width:16px;height:16px}.stock-list{padding:0 20px}.stock-card{border-radius:14px;grid-template-rows:auto auto;grid-template-columns:68px minmax(0,1fr);align-items:start;gap:8px 12px;width:100%;min-height:0;margin-bottom:10px;padding:12px;display:grid}.product-image{border-radius:12px;flex:none;grid-area:1/1/span 2;width:68px;height:68px}.product-placeholder{width:38px;height:38px}.product-details{grid-area:1/2;min-width:0;margin:0;padding-right:34px}.product-name{white-space:normal;word-break:break-word;padding-right:0;font-size:14px;line-height:1.25}.product-category{margin-top:3px;font-size:8px;line-height:1.2}.stock-metrics{flex-wrap:wrap;align-items:center;gap:5px 10px;margin-top:7px;display:flex}.stock-metric{gap:3px}.metric-label{font-size:8px}.metric-value{font-size:9px}.product-purchase{text-align:left;grid-area:2/2;grid-template-columns:auto auto;align-items:center;gap:2px 5px;width:100%;min-width:0;padding:0 34px 0 0;display:grid}.purchase-label{grid-area:1/1;font-size:8px}.purchase-rate{text-align:left;grid-area:1/2;margin:0;font-size:10px}.purchase-total-label{grid-area:2/1;margin:0;font-size:8px}.purchase-total{text-align:left;grid-area:2/2;margin:0;font-size:10px}.more-btn{width:25px;height:25px;top:20px;right:8px;transform:none}.more-btn svg{width:17px;height:17px}.purchase-summary{border-radius:13px;grid-template-columns:repeat(2,1fr);gap:15px;margin:20px 20px 25px;padding:15px}.purchase-summary-item span{font-size:9px}.purchase-summary-item strong{font-size:14px}.stock-error{margin:15px 20px 0;font-size:12px}}@media (width<=420px){.stock-summary{gap:7px;margin-left:20px;margin-right:20px}.summary-card{height:90px;padding:11px 9px}.summary-label{font-size:8px}.summary-number{font-size:19px}.summary-icon{width:20px;height:20px}.stock-card{grid-template-columns:62px minmax(0,1fr);column-gap:10px;padding:11px}.product-image{width:62px;height:62px}.product-placeholder{width:34px;height:34px}.product-name{font-size:13px}.product-category{font-size:7px}.stock-metrics{gap:4px 8px}.metric-label{font-size:7px}.metric-value{font-size:8px}.product-purchase{padding-right:30px}.purchase-label,.purchase-total-label{font-size:7px}.purchase-rate,.purchase-total{font-size:9px}.more-btn{top:16px;right:6px}}@media (width<=700px){.stock-page{padding-bottom:125px}.purchase-summary{margin-bottom:20px}}.users-page{box-sizing:border-box;width:100%;padding:32px}.users-page .page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px;display:flex}.users-page .page-heading h1{color:#151515;margin:0 0 7px;font-size:28px;font-weight:700}.users-page .page-heading p{color:#777;margin:0;font-size:14px}.add-user-btn{color:#fff;cursor:pointer;background:#d92824;border:0;border-radius:9px;align-items:center;gap:8px;height:44px;padding:0 18px;font-size:13px;font-weight:600;transition:all .2s;display:flex}.add-user-btn svg{width:17px;height:17px}.add-user-btn svg path{stroke:currentColor;stroke-width:2px;stroke-linecap:round}.add-user-btn:hover{background:#bd201d}.users-toolbar{justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px;display:flex}.users-toolbar .search-box{box-sizing:border-box;background:#fff;border:1px solid #e2e2e2;border-radius:9px;align-items:center;width:100%;max-width:430px;height:44px;display:flex}.users-toolbar .search-icon{flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.users-toolbar .search-icon svg{width:19px;height:19px}.users-toolbar .search-icon circle,.users-toolbar .search-icon path{stroke:#999;stroke-width:1.7px}.users-toolbar .search-box input{color:#222;background:0 0;border:0;outline:0;width:100%;height:100%;padding:0 12px 0 0;font-family:inherit;font-size:13px}.users-toolbar .search-box input::placeholder{color:#aaa}.role-filter{background:#f5f5f5;border-radius:9px;align-items:center;gap:5px;padding:4px;display:flex}.role-filter button{color:#777;cursor:pointer;background:0 0;border:0;border-radius:7px;height:34px;padding:0 14px;font-family:inherit;font-size:12px;font-weight:600}.role-filter button.active{color:#d92824;background:#fff;box-shadow:0 1px 4px #0000000f}.user-list-error{color:#c82020;background:#fff2f2;border:1px solid #ffd1d1;border-radius:9px;margin-bottom:20px;padding:13px 16px;font-size:13px}.users-list-heading{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.users-list-heading h2{color:#222;margin:0;font-size:17px;font-weight:700}.users-list-heading span{color:#888;font-size:12px}.users-list{flex-direction:column;gap:10px;display:flex}.user-card{box-sizing:border-box;background:#fff;border:1px solid #eee;border-radius:12px;align-items:center;gap:17px;min-height:88px;padding:16px 18px;transition:border-color .2s,box-shadow .2s;display:flex}.user-card:hover{border-color:#e3e3e3;box-shadow:0 5px 20px #0000000a}.user-icon{background:#fff2f2;border-radius:11px;flex:0 0 48px;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.user-icon svg{width:27px;height:27px}.user-icon circle,.user-icon path{stroke:#d92824;stroke-width:2px}.user-details{flex:1;min-width:0}.user-name{color:#222;margin-bottom:4px;font-size:14px;font-weight:700}.user-email{color:#888;text-overflow:ellipsis;white-space:nowrap;margin-bottom:8px;font-size:12px;overflow:hidden}.user-meta{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.user-role{border-radius:5px;padding:4px 9px;font-size:10px;font-weight:700}.user-role.admin{color:#d92824;background:#fff0f0}.user-role.manager{color:#b66b00;background:#fff7e9}.user-role.staff{color:#2672a9;background:#edf6ff}.permission-count{color:#777;font-size:11px}.user-status{border-radius:5px;padding:4px 9px;font-size:10px;font-weight:700}.user-status.active{color:#168139;background:#effaf2}.user-status.inactive{color:#777;background:#f1f1f1}.user-created{flex-direction:column;gap:4px;width:110px;display:flex}.user-created span{color:#999;font-size:10px}.user-created strong{color:#555;font-size:11px;font-weight:600}.user-actions{align-items:center;gap:7px;display:flex}.user-actions .action-btn{cursor:pointer;background:0 0;border-radius:7px;justify-content:center;align-items:center;width:34px;height:34px;transition:all .2s;display:flex}.user-actions .action-btn svg{width:17px;height:17px}.user-actions .edit-btn{color:#555;border:1px solid #e4e4e4}.user-actions .edit-btn:hover{color:#d92824;background:#fff5f5;border-color:#d92824}.user-actions .delete-btn{color:#d92824;border:1px solid #f0d6d6}.user-actions .delete-btn:hover{background:#fff0f0}.user-actions .action-btn path{stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round}.users-empty{text-align:center;background:#fff;border:1px dashed #ddd;border-radius:12px;padding:60px 20px}.users-empty h3{color:#333;margin:0 0 7px;font-size:15px}.users-empty p{color:#999;margin:0;font-size:12px}.user-modal-overlay{z-index:9999;background:#00000073;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.user-delete-modal{box-sizing:border-box;text-align:center;background:#fff;border-radius:15px;width:100%;max-width:390px;padding:28px;box-shadow:0 20px 60px #0000002e}.user-delete-icon{background:#fff0f0;border-radius:50%;justify-content:center;align-items:center;width:54px;height:54px;margin:0 auto 16px;display:flex}.user-delete-icon svg{width:25px;height:25px}.user-delete-icon path{stroke:#d92824;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round}.user-delete-modal h2{color:#222;margin:0 0 9px;font-size:18px}.user-delete-modal p{color:#777;margin:0;font-size:12px;line-height:1.7}.user-delete-modal p strong{color:#333}.user-delete-buttons{gap:10px;margin-top:24px;display:flex}.cancel-delete-btn,.confirm-delete-btn{cursor:pointer;border-radius:8px;flex:1;height:43px;font-family:inherit;font-size:12px;font-weight:600}.cancel-delete-btn{color:#555;background:#fff;border:1px solid #ddd}.cancel-delete-btn:hover{background:#f7f7f7}.confirm-delete-btn{color:#fff;background:#d92824;border:0}.confirm-delete-btn:hover{background:#bd201d}.cancel-delete-btn:disabled,.confirm-delete-btn:disabled{opacity:.6;cursor:not-allowed}@media (width<=850px){.users-page{padding:24px}.users-toolbar{flex-direction:column;align-items:stretch}.users-toolbar .search-box{max-width:none}.role-filter{width:fit-content}.user-created{display:none}}@media (width<=600px){.users-page{padding:17px}.users-page .page-heading{flex-direction:column;align-items:flex-start}.add-user-btn{justify-content:center;width:100%}.role-filter{width:100%;overflow-x:auto}.role-filter button{white-space:nowrap;flex:1}.user-card{align-items:flex-start;padding:14px;position:relative}.user-icon{flex-basis:42px;width:42px;height:42px}.user-actions{position:absolute;top:12px;right:12px}.user-details{padding-right:70px}.user-email{max-width:190px}}.create-user-page{box-sizing:border-box;width:100%;padding:32px}.create-user-page .page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px;display:flex}.create-user-page .page-heading h1{color:#151515;margin:0 0 7px;font-size:28px;font-weight:700;line-height:1.2}.create-user-page .page-heading p{color:#777;margin:0;font-size:14px;line-height:1.5}.back-user-btn{color:#333;cursor:pointer;background:#fff;border:1px solid #e4e4e4;border-radius:10px;height:44px;padding:0 18px;font-size:13px;font-weight:600;transition:all .2s}.back-user-btn:hover{color:#d92824;border-color:#d92824}.user-alert{box-sizing:border-box;border-radius:10px;width:100%;margin-bottom:20px;padding:13px 16px;font-size:13px;font-weight:500}.error-alert{color:#c82020;background:#fff1f1;border:1px solid #ffd0d0}.success-alert{color:#168139;background:#effaf2;border:1px solid #c9ecd2}.create-user-form{width:100%}.user-form-card{box-sizing:border-box;background:#fff;border:1px solid #eee;border-radius:14px;width:100%;margin-bottom:22px;padding:26px}.form-card-header{margin-bottom:24px}.form-card-header h2{color:#191919;margin:0 0 6px;font-size:18px;font-weight:700;line-height:1.3}.form-card-header p{color:#888;margin:0;font-size:13px;line-height:1.5}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 22px;display:grid}.form-group{flex-direction:column;gap:8px;display:flex}.form-group label{color:#333;font-size:13px;font-weight:600}.form-group input,.form-group select{box-sizing:border-box;color:#222;background:#fff;border:1px solid #ddd;border-radius:9px;outline:none;width:100%;height:46px;padding:0 14px;font-family:inherit;font-size:13px;transition:border-color .2s,box-shadow .2s}.form-group input::placeholder{color:#aaa}.form-group input:hover,.form-group select:hover{border-color:#cfcfcf}.form-group input:focus,.form-group select:focus{border-color:#d92824;box-shadow:0 0 0 3px #d9282414}.permissions-card{padding-bottom:28px}.permission-header{justify-content:space-between;align-items:center;gap:20px;display:flex}.select-all-btn{color:#d92824;cursor:pointer;background:#fff5f5;border:1px solid #d92824;border-radius:8px;height:38px;padding:0 15px;font-family:inherit;font-size:12px;font-weight:600;transition:all .2s}.select-all-btn:hover{color:#fff;background:#d92824}.permission-group-title{color:#252525;background:#fafafa;border-bottom:1px solid #eee;padding:13px 15px;font-size:13px;font-weight:700}.permission-items{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 12px 10px;display:grid}.custom-checkbox{box-sizing:border-box;background:#fff;border:1.5px solid #cfcfcf;border-radius:4px;flex:0 0 17px;width:17px;height:17px;transition:all .2s;position:relative}.permission-item input:checked+.custom-checkbox{background:#d92824;border-color:#d92824}.permission-item input:checked+.custom-checkbox:after{content:"";border-bottom:2px solid #fff;border-right:2px solid #fff;width:5px;height:9px;position:absolute;top:2px;left:5px;transform:rotate(45deg)}.permission-item:hover .custom-checkbox{border-color:#d92824}.permission-label{color:#555;font-size:12px;line-height:1.4}.permission-item:hover .permission-label{color:#222}.form-actions{justify-content:flex-end;align-items:center;gap:12px;padding-bottom:20px;display:flex}.cancel-user-btn{color:#555;cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:9px;height:44px;padding:0 22px;font-family:inherit;font-size:13px;font-weight:600;transition:all .2s}.cancel-user-btn:hover{background:#f8f8f8;border-color:#bbb}.create-user-btn{color:#fff;cursor:pointer;background:#d92824;border:none;border-radius:9px;height:44px;padding:0 24px;font-family:inherit;font-size:13px;font-weight:600;transition:background .2s,transform .2s,opacity .2s}.create-user-btn:hover{background:#bd201d}.create-user-btn:active{transform:translateY(1px)}.create-user-btn:disabled{opacity:.6;cursor:not-allowed}@media (width<=900px){.create-user-page{padding:24px}.permission-groups{grid-template-columns:1fr}}@media (width<=650px){.create-user-page{padding:18px}.create-user-page .page-heading{flex-direction:column;align-items:flex-start;margin-bottom:22px}.create-user-page .page-heading h1{font-size:24px}.back-user-btn{width:100%}.user-form-card{border-radius:12px;padding:20px}.form-grid{grid-template-columns:1fr;gap:17px}.permission-header{flex-direction:column;align-items:flex-start}.select-all-btn{width:100%}.permission-items{grid-template-columns:1fr}.form-actions{flex-direction:column-reverse;width:100%}.cancel-user-btn,.create-user-btn{width:100%}}@media (width<=420px){.create-user-page{padding:14px}.user-form-card{padding:16px}.form-card-header h2{font-size:16px}.permission-label{font-size:11.5px}}.edit-user-page{box-sizing:border-box;width:100%;padding:32px}.edit-user-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px;display:flex}.edit-user-heading h1{color:#151515;margin:0 0 7px;font-size:28px;font-weight:700;line-height:1.2}.edit-user-heading p{color:#777;margin:0;font-size:14px;line-height:1.5}.back-btn{color:#333;cursor:pointer;background:#fff;border:1px solid #e4e4e4;border-radius:9px;align-items:center;gap:8px;height:40px;margin-bottom:14px;padding:0 15px;font-family:inherit;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex}.back-btn:hover{color:#d92824;border-color:#d92824}.back-btn svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:17px;height:17px}.edit-user-error{box-sizing:border-box;color:#c82020;background:#fff1f1;border:1px solid #ffd0d0;border-radius:10px;width:100%;margin-bottom:20px;padding:13px 16px;font-size:13px;font-weight:500}.edit-user-success{box-sizing:border-box;color:#168139;background:#effaf2;border:1px solid #c9ecd2;border-radius:10px;width:100%;margin-bottom:20px;padding:13px 16px;font-size:13px;font-weight:500}.edit-user-form{width:100%}.edit-user-card{box-sizing:border-box;background:#fff;border:1px solid #eee;border-radius:14px;width:100%;margin-bottom:22px;padding:26px}.edit-card-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.edit-card-heading h2{color:#191919;margin:0 0 6px;font-size:18px;font-weight:700;line-height:1.3}.edit-card-heading p{color:#888;margin:0;font-size:13px;line-height:1.5}.edit-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 22px;display:grid}.edit-form-group{flex-direction:column;gap:8px;display:flex}.edit-form-group label{color:#333;font-size:13px;font-weight:600}.edit-form-group input,.edit-form-group select{box-sizing:border-box;color:#222;background:#fff;border:1px solid #ddd;border-radius:9px;outline:none;width:100%;height:46px;padding:0 14px;font-family:inherit;font-size:13px;transition:border-color .2s,box-shadow .2s}.edit-form-group input::placeholder{color:#aaa}.edit-form-group input:hover,.edit-form-group select:hover{border-color:#cfcfcf}.edit-form-group input:focus,.edit-form-group select:focus{border-color:#d92824;box-shadow:0 0 0 3px #d9282414}.edit-form-group small{color:#999;margin-top:-2px;font-size:11px;line-height:1.4}.active-toggle{box-sizing:border-box;cursor:pointer;background:#fafafa;border:1px solid #eee;border-radius:10px;align-items:center;gap:13px;width:100%;padding:15px 16px;transition:all .2s;display:flex}.active-toggle:hover{background:snow;border-color:#d92824}.active-toggle input{opacity:0;width:0;height:0;position:absolute}.toggle-slider{background:#d6d6d6;border-radius:30px;flex:0 0 44px;width:44px;height:24px;transition:all .2s;position:relative}.toggle-slider:before{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:all .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #00000026}.active-toggle input:checked+.toggle-slider{background:#d92824}.active-toggle input:checked+.toggle-slider:before{transform:translate(20px)}.toggle-content{flex-direction:column;gap:3px;display:flex}.toggle-content strong{color:#333;font-size:13px;font-weight:600}.toggle-content small{color:#888;font-size:12px}.permission-heading{align-items:center}.permission-actions{align-items:center;gap:8px;display:flex}.permission-actions button{color:#d92824;cursor:pointer;background:#fff5f5;border:1px solid #d92824;border-radius:8px;height:36px;padding:0 13px;font-family:inherit;font-size:12px;font-weight:600;transition:all .2s}.permission-actions button:hover{color:#fff;background:#d92824}.permission-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.permission-group{background:#fff;border:1px solid #eee;border-radius:11px;overflow:hidden}.permission-group-header{background:#fafafa;border-bottom:1px solid #eee;justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;display:flex}.permission-group-header h3{color:#252525;margin:0;font-size:13px;font-weight:700}.permission-group-header button{color:#d92824;cursor:pointer;background:#fff5f5;border:1px solid #d92824;border-radius:7px;height:30px;padding:0 10px;font-family:inherit;font-size:11px;font-weight:600;transition:all .2s}.permission-group-header button:hover{color:#fff;background:#d92824}.permission-list{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 12px 10px;display:grid}.permission-item{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:9px;min-height:38px;padding:4px;display:flex;position:relative}.permission-item input{opacity:0;pointer-events:none;position:absolute}.permission-check{box-sizing:border-box;background:#fff;border:1.5px solid #cfcfcf;border-radius:4px;flex:0 0 17px;width:17px;height:17px;transition:all .2s;position:relative}.permission-item input:checked+.permission-check{background:#d92824;border-color:#d92824}.permission-item input:checked+.permission-check:after{content:"";border-bottom:2px solid #fff;border-right:2px solid #fff;width:5px;height:9px;position:absolute;top:2px;left:5px;transform:rotate(45deg)}.permission-item:hover .permission-check{border-color:#d92824}.permission-item>span:last-child{color:#555;font-size:12px;line-height:1.4}.permission-item:hover>span:last-child{color:#222}.edit-user-buttons{justify-content:flex-end;align-items:center;gap:12px;padding-bottom:20px;display:flex}.edit-cancel-btn{color:#555;cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:9px;height:44px;padding:0 22px;font-family:inherit;font-size:13px;font-weight:600;transition:all .2s}.edit-cancel-btn:hover{background:#f8f8f8;border-color:#bbb}.edit-cancel-btn:disabled{opacity:.6;cursor:not-allowed}.edit-save-btn{color:#fff;cursor:pointer;background:#d92824;border:none;border-radius:9px;height:44px;padding:0 24px;font-family:inherit;font-size:13px;font-weight:600;transition:background .2s,transform .2s,opacity .2s}.edit-save-btn:hover{background:#bd201d}.edit-save-btn:active{transform:translateY(1px)}.edit-save-btn:disabled{opacity:.6;cursor:not-allowed}.edit-user-loading{color:#777;justify-content:center;align-items:center;min-height:400px;font-size:14px;display:flex}@media (width<=900px){.edit-user-page{padding:24px}.permission-groups{grid-template-columns:1fr}}@media (width<=650px){.edit-user-page{padding:18px}.edit-user-heading{flex-direction:column;align-items:flex-start;margin-bottom:22px}.edit-user-heading h1{font-size:24px}.back-btn{justify-content:center;width:100%}.edit-user-card{border-radius:12px;padding:20px}.edit-form-grid{grid-template-columns:1fr;gap:17px}.edit-card-heading{flex-direction:column;align-items:flex-start}.permission-heading{gap:15px}.permission-actions{width:100%}.permission-actions button{flex:1}.permission-list{grid-template-columns:1fr}.edit-user-buttons{flex-direction:column-reverse;width:100%}.edit-cancel-btn,.edit-save-btn{width:100%}}@media (width<=420px){.edit-user-page{padding:14px}.edit-user-card{padding:16px}.edit-card-heading h2{font-size:16px}.permission-item>span:last-child{font-size:11.5px}}*{box-sizing:border-box;margin:0;padding:0;font-family:Orbitron,sans-serif}body{color:#222;background:#fff;font-family:Orbitron,sans-serif;font-size:16px;overflow-x:hidden}button{background:0 0;border:none;font-family:inherit}.login-page{box-sizing:border-box;background-image:url(../assets/images/login-bg.png);background-position:50%;background-repeat:no-repeat;background-size:cover;justify-content:center;align-items:center;width:100%;min-height:100vh;padding:35px 20px;font-family:Poppins,Inter,Arial,sans-serif;display:flex;position:relative;overflow:hidden}.login-dots,.login-wave,.login-red-shape{display:none}.login-card{z-index:5;box-sizing:border-box;-webkit-backdrop-filter:blur(4px);background:#fffffff5;border:1px solid #ffffffd9;border-radius:28px;width:100%;max-width:620px;padding:45px 48px 42px;position:relative;box-shadow:0 22px 60px #19284b1f}.login-logo-wrapper{justify-content:center;align-items:center;width:100%;margin-bottom:28px;display:flex}.login-logo{object-fit:contain;width:330px;max-width:75%;height:auto;display:block}.login-heading{text-align:center;margin-bottom:30px}.login-heading h1{color:#172b4d;letter-spacing:-.7px;margin:0 0 8px;font-size:34px;font-weight:700;line-height:1.2}.login-heading p{color:#667085;margin:0;font-size:17px;font-weight:400;line-height:1.5}.login-error{box-sizing:border-box;color:#d51f1f;text-align:center;background:#fff0f0;border:1px solid #ffd0d0;border-radius:9px;width:100%;margin-bottom:18px;padding:11px 15px;font-size:13px}.login-form{width:100%}.form-group{width:100%;margin-bottom:21px}.form-group label{color:#102449;margin-bottom:8px;font-size:16px;font-weight:600;line-height:1.4;display:block}.input-wrapper{width:100%;position:relative}.input-wrapper input{box-sizing:border-box;color:#18263f;background:#fff;border:1.5px solid #d9dee8;border-radius:12px;outline:none;width:100%;height:62px;padding:0 50px 0 60px;font-family:inherit;font-size:15px;font-weight:400;transition:border-color .2s,box-shadow .2s}.input-wrapper input::placeholder{color:#68748a;opacity:1}.input-wrapper input:focus{border-color:#df1616;box-shadow:0 0 0 3px #df16160f}.input-icon{color:#626c7f;pointer-events:none;width:25px;height:25px;position:absolute;top:50%;left:20px;transform:translateY(-50%)}.password-toggle{color:#5e687c;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;width:28px;height:28px;padding:0;display:flex;position:absolute;top:50%;right:16px;transform:translateY(-50%)}.password-toggle svg{width:23px;height:23px}.login-options{justify-content:space-between;align-items:center;width:100%;margin-top:2px;margin-bottom:23px;display:flex}.remember-option{color:#102449;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:9px;font-size:14px;display:flex;position:relative}.remember-option input{opacity:0;pointer-events:none;position:absolute}.custom-checkbox{box-sizing:border-box;background:#fff;border:1.6px solid #8791a2;border-radius:4px;flex-shrink:0;width:21px;height:21px;position:relative}.remember-option input:checked+.custom-checkbox{background:#df1515;border-color:#df1515}.remember-option input:checked+.custom-checkbox:after{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:5px;height:10px;position:absolute;top:3px;left:6px;transform:rotate(45deg)}.forgot-password{color:#e01414;cursor:pointer;background:0 0;border:none;padding:0;font-family:inherit;font-size:14px}.login-submit{color:#fff;cursor:pointer;background:linear-gradient(90deg,#df0b0b 0%,#d90a0a 100%);border:none;border-radius:11px;justify-content:center;align-items:center;gap:12px;width:100%;height:63px;font-family:inherit;font-size:17px;font-weight:600;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 7px 18px #d80f0f24}.login-submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 22px #d80f0f33}.login-submit:disabled{opacity:.7;cursor:not-allowed}.login-button-icon{width:24px;height:24px}.login-divider{align-items:center;gap:15px;width:100%;margin:24px 0;display:flex}.login-divider span{background:#e1e5eb;flex:1;height:1px}.login-divider strong{color:#737d91;font-size:14px;font-weight:500}.otp-button{color:#111827;cursor:pointer;background:#fff;border:1.5px solid #d9dee8;border-radius:11px;justify-content:center;align-items:center;gap:12px;width:100%;height:61px;font-family:inherit;font-size:16px;font-weight:500;transition:border-color .2s,background .2s;display:flex}.otp-button:hover{background:snow;border-color:#df1717}.otp-button svg{width:24px;height:24px}.login-contact{color:#667085;justify-content:center;align-items:center;gap:5px;margin-top:27px;font-size:14px;line-height:1.5;display:flex}.login-contact button{color:#df1515;cursor:pointer;background:0 0;border:none;padding:0;font-family:inherit;font-size:14px}@media (width<=900px){.login-page{padding:30px 18px}.login-card{max-width:570px;padding:40px 38px 38px}.login-logo{width:300px}.login-heading h1{font-size:31px}.login-heading p{font-size:16px}}@media (width<=600px){.login-page{background-position:50%;background-size:cover;min-height:100vh;padding:20px 12px}.login-card{border-radius:22px;width:100%;max-width:420px;padding:30px 21px 28px}.login-logo-wrapper{margin-bottom:25px}.login-logo{width:130px;max-width:90%}.login-heading{margin-bottom:25px}.login-heading h1{letter-spacing:-.4px;font-size:20px}.login-heading p{font-size:13px}.form-group{margin-bottom:18px}.form-group label{margin-bottom:7px;font-size:14px}.input-wrapper input{border-radius:10px;height:41px;padding:0 45px 0 53px;font-size:14px}.input-icon{width:22px;height:22px;left:17px}.password-toggle{right:12px}.password-toggle svg{width:21px;height:21px}.login-options{margin-bottom:20px}.remember-option,.forgot-password{font-size:13px}.login-submit{border-radius:10px;height:45px;font-size:16px}.login-button-icon{width:22px;height:22px}.login-divider{margin:21px 0}.otp-button{border-radius:10px;height:45px;font-size:15px}.otp-button svg{width:22px;height:22px}.login-contact{flex-wrap:wrap;margin-top:23px;font-size:12px}.login-contact button{font-size:12px}}.unauthorized-page{background:#f8f9fb;justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.unauthorized-card{text-align:center;background:#fff;border-radius:24px;width:100%;max-width:420px;padding:45px 30px;box-shadow:0 15px 45px #00000014}.unauthorized-icon{color:#e52b26;background:#fde8e7;border-radius:50%;justify-content:center;align-items:center;width:75px;height:75px;margin:0 auto 20px;font-size:38px;font-weight:700;display:flex}.unauthorized-card h1{color:#17233d;margin:0 0 10px;font-size:28px}.unauthorized-card p{color:#747b88;margin:0 0 25px;font-size:14px;line-height:1.7}.unauthorized-card button{color:#fff;cursor:pointer;background:#e52b26;border:none;border-radius:12px;padding:13px 25px;font-size:14px;font-weight:600}.unauthorized-card button:hover{background:#c9211d}.app{background:#fff;width:100%;max-width:828px;min-height:100vh;margin:0 auto;padding-bottom:155px;position:relative;overflow-x:hidden}.top-header{justify-content:space-between;align-items:flex-start;height:185px;padding:48px 48px 0;display:flex;position:relative}.menu-btn{cursor:pointer;flex-direction:column;justify-content:center;gap:8px;width:52px;height:52px;margin-top:61px;display:flex}.menu-btn span{background:#17233d;border-radius:10px;width:38px;height:4px;display:block}.brand{object-fit:contain;width:225px;height:auto;position:absolute;top:78px;left:50%;transform:translate(-50%)}.notification{cursor:pointer;width:54px;height:60px;margin-top:55px;position:relative}.bell{width:40px;height:40px;position:absolute;top:7px;left:4px}.notification-count{color:#fff;background:#ef2925;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;font-size:17px;font-weight:600;display:flex;position:absolute;top:0;right:-2px}.welcome{justify-content:space-between;align-items:flex-start;gap:25px;padding:26px 40px 0;display:flex}.welcome-content h1{color:#17233d;letter-spacing:-1.1px;margin-bottom:12px;font-size:40px;font-weight:700;line-height:1.2}.welcome-content p{color:#596172;white-space:nowrap;font-size:21px;font-weight:400;line-height:1.45}.date-card{background:#fff;border:1px solid #e7e8ec;border-radius:18px;align-items:center;gap:15px;width:205px;min-width:205px;height:80px;margin-top:4px;padding:0 17px;display:flex;box-shadow:0 5px 18px #1e2a4114}.calendar-icon{flex-shrink:0;width:34px;height:34px}.date-text{flex-direction:column;line-height:1.25;display:flex}.date-text strong{color:#444c5b;white-space:nowrap;font-size:17px;font-weight:500}.date-text span{color:#707786;margin-top:3px;font-size:16px}.overview{color:#fff;background:linear-gradient(135deg,#ef2b25 0%,#ed302b 50%,#ee322c 100%);border-radius:22px;height:335px;margin:38px 40px 0;position:relative;overflow:hidden;box-shadow:0 8px 18px #e627221a}.overview:after{content:"";pointer-events:none;border:2px solid #ffffff21;border-radius:50%;height:120px;position:absolute;bottom:42px;left:-50px;right:-50px;transform:rotate(4deg)}.overview-title{z-index:2;font-size:23px;font-weight:600;position:absolute;top:35px;left:30px}.overview-chart{z-index:2;width:42px;height:42px;position:absolute;top:35px;right:30px}.overview-items{z-index:3;grid-template-columns:1fr 1fr 1fr;height:190px;display:grid;position:absolute;bottom:31px;left:35px;right:35px}.overview-item{flex-direction:column;align-items:center;display:flex;position:relative}.overview-item:not(:last-child):after{content:"";background:#ffffff94;width:2px;height:83px;position:absolute;top:105px;right:0}.overview-icon{background:#fff;border-radius:50%;justify-content:center;align-items:center;width:88px;height:88px;margin-bottom:27px;display:flex}.overview-icon svg{stroke:#df2824;width:47px;height:47px}.overview-number{margin-bottom:12px;font-size:38px;font-weight:700;line-height:1}.overview-label{font-size:20px;font-weight:400}.quick-menu{padding:42px 40px 0}.quick-card{cursor:pointer;background:#fff;border:1px solid #e8e9ed;border-radius:20px;align-items:center;width:100%;height:167px;margin-bottom:11px;padding:0 31px;transition:transform .2s,box-shadow .2s;display:flex;position:relative;box-shadow:0 3px 12px #1c25360d}.quick-card:active{transform:scale(.985)}.quick-icon{border-radius:28px;flex-shrink:0;justify-content:center;align-items:center;width:104px;height:104px;display:flex}.quick-icon svg{width:53px;height:53px}.stock-icon{background:#fde8e7}.stock-icon svg{stroke:#cf2924}.category-icon{background:#e3f6e8}.category-icon svg{stroke:#009b2d}.product-icon{background:#e4edff}.product-icon svg{stroke:#2468d8}.purchase-icon{background:#fff0dd}.purchase-icon svg{stroke:#ed8b00}.sale-icon{background:#eee6ff}.sale-icon svg{stroke:#6736ca}.quick-content{margin-left:36px;padding-right:65px}.quick-content h2{color:#17233d;letter-spacing:-.5px;margin-bottom:10px;font-size:29px;font-weight:700;line-height:1.2}.quick-content p{color:#5d6472;white-space:nowrap;font-size:20px;line-height:1.3}.arrow{width:24px;height:24px;position:absolute;top:50%;right:52px;transform:translateY(-50%)}.arrow svg{stroke:#2c3442;stroke-width:2.5px;fill:none;width:100%;height:100%}.bottom-nav{z-index:100;background:#fffffffa;border-top:1px solid #eceef1;justify-content:space-around;align-items:flex-start;width:min(100%,828px);height:168px;padding-top:28px;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 -5px 20px #00000009}.nav-item{text-align:center;color:#9096a2;cursor:pointer;flex-direction:column;align-items:center;width:20%;display:flex}.nav-icon{justify-content:center;align-items:center;height:58px;margin-bottom:4px;display:flex}.nav-icon svg{stroke:#9299a7;width:47px;height:47px}.nav-item.active{color:#ed2925}.nav-item.active .nav-icon svg{stroke:#ed2925;fill:#ed2925}.nav-label{font-size:18px;font-weight:400;line-height:1.2}.home-indicator{z-index:110;background:#263143;border-radius:10px;width:292px;height:9px;position:fixed;bottom:10px;left:50%;transform:translate(-50%)}@media (width<=700px){.app{max-width:100%}.top-header{height:130px;padding:30px 24px 0}.menu-btn{width:40px;margin-top:7px}.menu-btn span{width:30px;height:3px}.brand{width:137px;top:28px}.notification{transform-origin:100% 0;margin-top:7px;transform:scale(.82)}.welcome{gap:10px;padding:20px 20px 0}.welcome-content h1{font-size:28px}.welcome-content p{white-space:normal;font-size:14px}.date-card{border-radius:13px;gap:8px;width:148px;min-width:148px;height:62px;padding:0 10px}.calendar-icon{width:25px;height:25px}.date-text strong{font-size:12px}.date-text span{font-size:11px}.overview{border-radius:17px;height:250px;margin:25px 20px 0}.overview-title{font-size:17px;top:22px;left:20px}.overview-chart{top:21px;right:20px;transform:scale(.7)}.overview-items{height:145px;bottom:20px;left:10px;right:10px}.overview-icon{width:54px;height:54px;margin-bottom:14px}.overview-icon svg{width:33px;height:33px}.overview-number{margin-bottom:7px;font-size:28px}.overview-label{font-size:13px}.overview-item:not(:last-child):after{height:46px;top:72px}.quick-menu{padding:25px 20px 0}.quick-card{border-radius:15px;height:112px;margin-bottom:9px;padding:0 20px}.quick-icon{border-radius:20px;width:73px;height:73px}.quick-icon svg{width:38px;height:38px}.quick-content{margin-left:22px;padding-right:35px}.quick-content h2{margin-bottom:6px;font-size:21px}.quick-content p{white-space:normal;font-size:13px}.arrow{width:20px;height:20px;right:25px}.bottom-nav{height:105px;padding-top:12px}.nav-icon{height:42px}.nav-icon svg{width:28px;height:28px}.nav-label{font-size:11px}.home-indicator{width:130px;height:5px;bottom:5px}.app{padding-bottom:105px}}@media (width<=420px){.welcome-content h1{font-size:18px}.welcome-content p{font-size:12px}.date-card{width:132px;min-width:132px}.overview{height:225px}.overview-number{font-size:20px}.overview-label{font-size:11px}.quick-card{height:100px}.quick-icon{width:64px;height:64px}.quick-content{margin-left:15px}.quick-content h2{font-size:18px}.quick-content p{font-size:11px}}.sidebar-overlay{opacity:0;visibility:hidden;z-index:1998;background:#0f172a59;transition:opacity .25s,visibility .25s;position:fixed;inset:0}.sidebar-overlay.show{opacity:1;visibility:visible}.side-drawer{z-index:1999;background:#fff;flex-direction:column;width:310px;max-width:86vw;transition:transform .3s cubic-bezier(.4,0,.2,1);display:flex;position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-105%);box-shadow:8px 0 30px #17233d1f}.side-drawer.open{transform:translate(0)}.drawer-header{border-bottom:1px solid #eef0f3;justify-content:space-between;align-items:flex-start;padding:25px 20px 20px;display:flex}.drawer-profile{align-items:center;gap:13px;min-width:0;display:flex}.drawer-avatar{color:#fff;background:#ed2b26;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:52px;height:52px;font-size:21px;font-weight:700;display:flex}.drawer-user-info{min-width:0}.drawer-user-info h3{color:#17233d;white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:16px;font-weight:700;overflow:hidden}.drawer-user-info p{color:#8a919d;white-space:nowrap;text-overflow:ellipsis;margin:4px 0 0;font-size:11px;overflow:hidden}.drawer-role{color:#ed2b26;text-transform:capitalize;background:#fde8e7;border-radius:10px;margin-top:6px;padding:3px 8px;font-size:9px;font-weight:600;display:inline-flex}.drawer-close{cursor:pointer;background:#f5f6f8;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.drawer-close svg{stroke:#596172;width:19px;height:19px}.drawer-menu{scrollbar-width:none;flex:1;padding:15px 12px;overflow-y:auto}.drawer-menu::-webkit-scrollbar{display:none}.drawer-item{color:#596172;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:12px;align-items:center;gap:13px;width:100%;height:52px;margin-bottom:5px;padding:0 14px;font-size:14px;font-weight:500;transition:background .2s,color .2s;display:flex}.drawer-item:hover{background:#f7f8fa}.drawer-item.active{color:#ed2b26;background:#fde8e7;font-weight:600}.drawer-item-icon{flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;display:flex}.drawer-item-icon svg{stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.drawer-footer{border-top:1px solid #eef0f3;padding:12px}.drawer-logout{color:#ed2b26;cursor:pointer;background:#fde8e7;border:none;border-radius:12px;align-items:center;gap:13px;width:100%;height:52px;padding:0 14px;font-size:14px;font-weight:600;transition:background .2s;display:flex}.drawer-logout:hover{background:#fbd8d6}@media (width<=700px){.side-drawer{width:300px;max-width:84vw}.drawer-header{padding:20px 16px 17px}.drawer-avatar{width:47px;height:47px;font-size:19px}.drawer-user-info h3{font-size:15px}.drawer-user-info p{font-size:10px}.drawer-item{border-radius:11px;height:50px;font-size:13px}.drawer-logout{height:50px;font-size:13px}}.menu-btn{cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:none;border-radius:14px;justify-content:center;align-items:center;width:48px;height:48px;padding:0;transition:background .25s,transform .2s;display:flex}.menu-btn:hover{background:#f5f6f8}.menu-btn:active{transform:scale(.94)}.menu-svg{width:28px;height:28px;overflow:visible}.menu-line{stroke:#17233d;stroke-width:2.5px;stroke-linecap:round;transition:transform .3s cubic-bezier(.4,0,.2,1),opacity .2s}.menu-btn.menu-open .menu-line-top{transform-origin:50%;transform:translateY(7px)rotate(45deg)}.menu-btn.menu-open .menu-line-middle{opacity:0;transform:translate(5px)scaleX(0)}.menu-btn.menu-open .menu-line-bottom{transform-origin:50%;transform:translateY(-7px)rotate(-45deg)}
