@font-face{font-family:Inter;src:url(/assets/Inter-VariableFont_opsz_wght-c8O0ljhh.ttf)format("truetype");font-weight:100 900;font-style:normal}@font-face{font-family:Inter;src:url(/assets/Inter-Italic-VariableFont_opsz_wght-B-9PvMw6.ttf)format("truetype");font-weight:100 900;font-style:italic}*{box-sizing:border-box;margin:0;padding:0;font-family:Inter,sans-serif}:root{--primary:#1b5e20;--background:#f2f4ee;--foreground:#1a1c19;--card:#fff;--secondary:#d5e8ce;--muted:#ecf2ea;--muted-foreground:#424940;--accent:#a5d6a7;--accent-foreground:#002107;--destructive:#ba1a1a;--border:#0000001a;--hover:#e0e6de}*{box-sizing:border-box;margin:0;padding:0}body{background:var(--background);color:var(--foreground);font-family:Arial,Helvetica,sans-serif}html,body,#root{width:100%;min-height:100%;margin:0;padding:0}.login-container{box-sizing:border-box;background:linear-gradient(135deg, var(--secondary) 0%, var(--muted) 50%, var(--background) 100%);justify-content:center;align-items:center;width:100%;min-height:100vh;padding:20px;display:flex}.login-wrapper{box-sizing:border-box;flex-direction:column;align-items:center;gap:20px;width:100%;max-width:440px;display:flex}.login-card{background:var(--card);box-sizing:border-box;border:1px solid var(--border);border-radius:20px;flex-direction:column;gap:20px;width:100%;padding:30px;display:flex;box-shadow:0 12px 32px #1b5e2014}.login-card input,.password-input,.button-container{box-sizing:border-box;width:100%;max-width:100%}.login-card input{background:var(--card);color:var(--foreground);border:1px solid #000000a7;border-radius:12px;transition:all .2s}.login-card input::placeholder{color:var(--muted-foreground)}.login-card input:hover{border-color:#00000059}.login-card input:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #1b5e2026}.button-container{justify-content:center;margin-top:10px;display:flex}.password-menssage{width:100%;color:var(--muted-foreground);text-align:left;margin-top:8px;margin-bottom:4px;font-size:14px;display:block}.server-error{width:100%;color:var(--destructive);text-align:center;box-sizing:border-box;background:#ba1a1a14;border:1px solid #ba1a1a33;border-radius:10px;margin-top:12px;padding:12px;font-size:14px}.success-message{width:100%;color:var(--primary);text-align:center;box-sizing:border-box;background:#1b5e2014;border:1px solid #1b5e2033;border-radius:10px;margin-top:12px;padding:12px}.logo{text-align:center;flex-direction:column;align-items:center;width:100%;margin-bottom:1px;display:flex}.logo-image-compact{object-fit:contain;width:70px;height:70px}.logo-image-full{object-fit:contain;width:160px;height:auto;margin-top:10px;margin-bottom:10px}.logo-subtitle{color:#555;margin-top:1px;font-size:18px}.input{border:1px solid #565656;border-radius:10px;outline:none;width:100%;padding:18px;font-size:18px;transition:all .2s}.input:focus{border-color:#1e6b25}.button{color:#fff;cursor:pointer;background:#2e7d32;border:none;border-radius:18px;width:100%;padding:16px;font-size:18px;font-weight:600;transition:all .2s}.button:hover{background:#256428}.tabs{border:1px solid #2e7d32;border-radius:30px;width:100%;margin-bottom:1px;display:flex;overflow:hidden}.tab{color:#2e7d32;cursor:pointer;background:#fff;border:none;flex:1;padding:15px;font-size:16px;font-weight:600;transition:all .25s}.tab.active{color:#fff;background:#2e7d32}.tab.active:hover{color:#2e7d32;background:#fff}.tab:not(.active):hover{color:#fff;background:#2e7d32}.password-input{width:100%;margin-bottom:14px;position:relative}.password-input input{box-sizing:border-box;border:1px solid #565656;border-radius:10px;outline:none;width:100%;height:54px;padding:16px 50px 16px 16px;font-size:18px}.toggle-password{cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;display:flex;position:absolute;top:50%;right:15px;transform:translateY(-50%)}.password-icon{width:22px;height:22px}.footer{text-align:center;width:100%;margin-top:-1rem;padding:20px 0}.footer p{color:#7a7a7a;margin:0;font-size:14px}.auth-link{text-align:center;color:#444;margin-top:1px;font-size:15px}.auth-link span{color:#2e7d32;cursor:pointer;font-weight:600;transition:color .2s}.auth-link span:hover{color:#256428;text-decoration:underline}.register-container{box-sizing:border-box;background:linear-gradient(135deg, var(--secondary) 0%, var(--muted) 50%, var(--background) 100%);justify-content:center;align-items:center;width:100%;min-height:100vh;padding:20px;display:flex}.register-wrapper{box-sizing:border-box;flex-direction:column;align-items:center;gap:20px;width:100%;max-width:440px;display:flex}.register-card{background:var(--card);box-sizing:border-box;border:1px solid var(--border);border-radius:20px;flex-direction:column;gap:20px;width:100%;padding:30px;display:flex;box-shadow:0 4px 12px #0000000d}.password-menssage{color:var(--muted-foreground);margin-top:-2rem;margin-bottom:-.5rem;margin-left:10px;font-size:15px}.error-message{color:var(--destructive);margin-top:-10px;margin-bottom:11px;font-size:14px}.confirm-dialog-overlay{z-index:3000;background:#00000059;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.confirm-dialog{background:var(--card);box-sizing:border-box;border-radius:24px;width:100%;max-width:420px;padding:28px;animation:.18s confirmDialogIn;position:relative;box-shadow:0 18px 40px #0000002e}@keyframes confirmDialogIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.confirm-dialog-icon{color:#ef6c00;background:#fff3e0;border-radius:50%;justify-content:center;align-items:center;width:46px;height:46px;margin-bottom:18px;display:flex}.confirm-dialog-success .confirm-dialog-icon{color:#15803d;background:#dcfce7}.confirm-dialog-error .confirm-dialog-icon{color:#dc2626;background:#fee2e2}.confirm-dialog-warning .confirm-dialog-icon,.confirm-dialog-confirm .confirm-dialog-icon{color:#ef6c00;background:#fff3e0}.confirm-dialog h2{color:var(--foreground);margin:0 40px 10px 0;font-size:1.3rem;font-weight:600}.confirm-dialog p{color:var(--muted-foreground);margin:0;font-size:.95rem;line-height:1.5}.confirm-dialog-close{width:36px;height:36px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;transition:all .2s;display:flex;position:absolute;top:18px;right:18px}.confirm-dialog-close:hover{background:var(--muted);color:var(--foreground)}.confirm-dialog-close:disabled{opacity:.5;cursor:not-allowed}.confirm-dialog-actions{justify-content:flex-end;gap:12px;margin-top:28px;display:flex}.confirm-dialog-actions button{cursor:pointer;border:none;border-radius:999px;padding:11px 20px;font-size:.9rem;transition:all .2s}.confirm-dialog-cancel{background:var(--muted);color:var(--foreground)}.confirm-dialog-cancel:hover{background:var(--hover)}.confirm-dialog-action-confirm{background:var(--destructive);color:#fff}.confirm-dialog-action-confirm:hover{filter:brightness(.95)}.confirm-dialog-success .confirm-dialog-action-confirm{background:#16a34a}.confirm-dialog-success .confirm-dialog-action-confirm:hover{filter:none;background:#15803d}.confirm-dialog-error .confirm-dialog-action-confirm{background:#dc2626}.confirm-dialog-error .confirm-dialog-action-confirm:hover{filter:none;background:#b91c1c}.confirm-dialog-warning .confirm-dialog-action-confirm,.confirm-dialog-confirm .confirm-dialog-action-confirm{background:var(--destructive)}.confirm-dialog-actions button:disabled{opacity:.6;cursor:not-allowed}@media (width<=768px){.confirm-dialog-overlay{align-items:flex-end;padding:0}.confirm-dialog{border-radius:24px 24px 0 0;width:100%;max-width:none;padding:24px 24px 28px}}.dashboard-container{justify-content:center;align-items:center;min-height:100%;display:flex}.dashboard-card{background:var(--card);border:1px solid var(--border);border-radius:16px;width:100%;max-width:900px;padding:32px}.stock-adjustment-overlay{z-index:2000;background:#00000059;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.stock-adjustment-modal{background:var(--card);border-radius:24px;width:100%;max-width:520px;max-height:90vh;padding:28px 28px 32px;animation:.18s modalIn;position:relative;overflow-y:auto;box-shadow:0 18px 40px #0000002e}@keyframes modalIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.stock-adjustment-modal h2{color:var(--foreground);margin:0;font-size:1.45rem;font-weight:600}.product-card-name{color:var(--muted-foreground);margin-top:8px;margin-bottom:10px;font-size:1.15rem;font-weight:600}.product-stock-ajuste{background:var(--secondary);color:var(--primary);border-radius:999px;margin-bottom:24px;padding:8px 14px;font-weight:600;display:inline-block}.adjustment-help{color:var(--muted-foreground);margin:2px 2px 0;font-size:.85rem;line-height:1.4}@media (width<=768px){.stock-adjustment-overlay{align-items:flex-end;padding:0}.stock-adjustment-modal{border-radius:24px 24px 0 0;width:100%;max-width:none;max-height:85vh;padding:24px 24px 28px;overflow-y:auto}}@keyframes bottomSheet{0%{transform:translateY(100%)}to{transform:translateY(0)}}.adjustment-help{border-radius:12px;margin-top:8px;padding:12px 14px;font-size:.9rem;font-weight:500;line-height:1.4}.adjustment-help.entry{color:#1b5e20;background:#e8f5e9}.adjustment-help.devolution{color:#1565c0;background:#e3f2fd}.adjustment-help.loss{color:#c62828;background:#ffebee}.adjustment-help.correction{color:#ef6c00;background:#fff8e1}.reason-chips,.direction-chips{flex-wrap:wrap;gap:10px;margin-top:10px;display:flex}.chip{border:1px solid var(--border);background:var(--muted);color:var(--foreground);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;gap:.5rem;padding:10px 16px;font-size:14px;font-weight:500;transition:all .2s;display:inline-flex}.chip:hover{background:var(--hover)}.chip.active{background:var(--primary);color:#fff;border-color:var(--primary)}.chip svg{flex-shrink:0;width:16px;height:16px}.stock-adjustment-modal::-webkit-scrollbar{width:8px}.stock-adjustment-modal::-webkit-scrollbar-track{margin:20px}.stock-adjustment-modal::-webkit-scrollbar-thumb{background:var(--border);border-radius:10px}.category-modal-overlay{z-index:2000;background:#00000059;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.category-modal{background:var(--card);box-sizing:border-box;border-radius:24px;width:100%;max-width:520px;max-height:90vh;padding:28px 28px 32px;animation:.18s modalIn;position:relative;overflow-y:auto;box-shadow:0 18px 40px #0000002e}.category-modal-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.category-modal-header h2{color:var(--foreground);margin:0;font-size:1.45rem;font-weight:600}.category-modal-close{width:36px;height:36px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;transition:all .2s;display:flex;position:absolute;top:18px;right:18px}.category-modal-close:hover{background:var(--muted);color:var(--foreground)}.category-modal-content{width:100%}.category-create-section{margin-bottom:26px}.category-create-section h3,.category-list-section h3{color:var(--foreground);margin:0 0 12px;font-size:1rem;font-weight:600}.category-create-section label{color:var(--foreground);margin-bottom:8px;font-size:.95rem;font-weight:500;display:block}.category-create-input{border:1px solid var(--border);background:var(--card);box-sizing:border-box;border-radius:12px;align-items:center;width:100%;transition:all .2s;display:flex;overflow:hidden}.category-create-input:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #1b5e2026}.category-create-input input{width:100%;min-width:0;height:46px;color:var(--foreground);box-sizing:border-box;background:0 0;border:none;outline:none;flex:1;padding:12px 14px;font-size:.95rem}.category-create-input input::placeholder{color:var(--muted-foreground)}.category-create-input input:disabled{opacity:.6}.category-add-button{background:var(--primary);color:#fff;cursor:pointer;border:none;flex-shrink:0;justify-content:center;align-items:center;width:46px;height:46px;transition:all .2s;display:flex}.category-add-button:hover:not(:disabled){filter:brightness(.95)}.category-add-button:disabled{opacity:.6;cursor:not-allowed}.category-modal-error{color:var(--destructive);background:#ffebee;border-radius:10px;margin-top:-10px;margin-bottom:22px;padding:10px 12px;font-size:.82rem;line-height:1.4}.category-modal-success{color:#1b5e20;background:#e8f5e9;border-radius:10px;margin-bottom:16px;padding:12px 15px;font-size:13px;font-weight:500}.category-list-section{margin-top:4px}.category-list{border:1px solid var(--border);border-radius:14px;flex-direction:column;display:flex;overflow:hidden}.category-list-item{border-bottom:1px solid var(--border);background:var(--card);box-sizing:border-box;align-items:center;gap:10px;min-height:52px;padding:8px 12px;transition:all .2s;display:flex}.category-list-item:last-child{border-bottom:none}.category-list-item:hover,.category-all-item{background:var(--muted)}.category-list-name{min-width:0;color:var(--foreground);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:.95rem;overflow:hidden}.category-all-name{font-weight:600}.category-product-count{color:var(--muted-foreground);white-space:nowrap;flex-shrink:0;font-size:.85rem}.category-actions{align-items:center;gap:4px;display:flex}.category-icon-button{width:32px;height:32px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;transition:all .2s;display:flex}.category-icon-button:hover:not(:disabled){background:var(--muted);color:var(--foreground)}.category-icon-button:disabled{opacity:.35;cursor:not-allowed}.category-delete-button:hover:not(:disabled){color:var(--destructive);background:#ffebee}.category-save-button{color:var(--primary)}.category-edit-row{align-items:center;gap:6px;width:100%;display:flex}.category-edit-row input{border:1px solid var(--border);background:var(--card);min-width:0;height:40px;color:var(--foreground);box-sizing:border-box;border-radius:12px;outline:none;flex:1;padding:10px 12px;font-size:.9rem;transition:all .2s}.category-edit-row input:focus{border-color:var(--primary);box-shadow:0 0 0 3px #1b5e2026}.category-empty{text-align:center;color:var(--muted-foreground);padding:28px 20px;font-size:.9rem}.category-loading-icon{animation:.8s linear infinite categorySpin}@keyframes categorySpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.category-modal::-webkit-scrollbar{width:8px}.category-modal::-webkit-scrollbar-track{margin:20px}.category-modal::-webkit-scrollbar-thumb{background:var(--border);border-radius:10px}@media (width<=768px){.category-modal-overlay{align-items:flex-end;padding:0}.category-modal{border-radius:24px 24px 0 0;width:100%;max-width:none;max-height:85vh;padding:24px 24px 28px;animation:.18s bottomSheet;overflow-y:auto}.category-modal-header{margin-bottom:22px}.category-modal-header h2{font-size:1.3rem}.category-list-item{min-height:50px;padding:8px 10px}.category-product-count{font-size:.8rem}}.product-table-container{width:100%;position:relative}.inventory-header{margin-bottom:16px}.inventory-title-row{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.inventory-header h1{color:#111;margin:0;font-size:22px;font-weight:600}.inventory-header p{color:#222;margin:4px 0 0;font-size:13px}.inventory-separator{color:#777;margin:0 6px}.stock-low-text{color:#e32626}.manage-categories-button{color:#333;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #d6d6d6;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;font-size:12px;font-weight:500;transition:all .2s;display:inline-flex}.manage-categories-button:hover{color:#176b25;background:#edf6e9;border-color:#b8d4b7}.product-search{box-sizing:border-box;background:#fff;border:1px solid #dedede;border-radius:22px;align-items:center;height:38px;margin-bottom:12px;padding:0 14px;display:flex}.product-search input{background:0 0;border:none;outline:none;flex:1;padding:0 10px;font-size:13px}.search-icon{color:#444;flex-shrink:0}.microphone-icon{color:#555;flex-shrink:0}.category-filters{gap:8px;margin-bottom:24px;padding-bottom:2px;display:flex;overflow-x:auto}.category-button{color:#333;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #d6d6d6;border-radius:20px;align-items:center;gap:5px;padding:7px 15px;font-size:12px;transition:all .2s;display:flex}.category-button:hover{background:#edf6e9}.category-button.active{color:#155d20;background:#d7ecd0;border-color:#2e7d32;font-weight:500}.product-table-wrapper{background:#fff;border:1px solid #e1e1e1;border-radius:22px;width:100%;overflow-x:auto}.product-table{border-collapse:collapse;background:#fff;width:100%;font-size:12px}.product-table thead{background:#f9faf6}.product-table th{text-align:left;color:#333;white-space:nowrap;border-bottom:1px solid #dedede;padding:13px 14px;font-size:11px;font-weight:500}.product-table td{color:#111;white-space:nowrap;border-bottom:1px solid #e7e7e7;padding:15px 14px}.product-table tbody tr:last-child td{border-bottom:none}.product-table tbody tr:hover{background:#fafcf8}.product-name{font-weight:500}.product-sku{color:#444;font-family:monospace;font-size:11px}.product-table-price{font-weight:500}.category-badge{color:#23702c;background:#e4f3e4;border-radius:12px;align-items:center;padding:4px 9px;font-size:10px;font-weight:500;display:inline-flex}.stock-normal{font-weight:500}.stock-badge{color:#e52b2b;background:#fff0f0;border-radius:12px;align-items:center;gap:4px;padding:4px 9px;font-size:11px;font-weight:600;display:inline-flex}.product-actions{align-items:center;gap:14px;display:flex}.action-button{cursor:pointer;color:#444;background:0 0;border:none;justify-content:center;align-items:center;padding:2px;transition:all .2s;display:flex}.action-button:hover{color:#1f6b28}.empty-products{text-align:center;color:#777!important;padding:35px!important}.product-table-loading{text-align:center;color:#555;padding:30px}.product-table-error{color:#c62828;background:#fff0f0;border-radius:10px;margin-bottom:15px;padding:12px 15px;font-size:13px}.product-table-pagination{justify-content:center;align-items:center;gap:20px;padding:20px 0;font-size:12px;display:flex}.product-table-pagination button{cursor:pointer;background:#fff;border:1px solid #d5d5d5;border-radius:8px;align-items:center;gap:5px;padding:7px 13px;display:flex}.product-table-pagination button:hover:not(:disabled){background:#edf6e9}.product-table-pagination button:disabled{opacity:.45;cursor:not-allowed}.add-product-button{color:#fff;cursor:pointer;z-index:20;background:#176b25;border:none;border-radius:17px;width:54px;height:54px;font-size:30px;font-weight:300;line-height:1;transition:all .2s;position:fixed;bottom:28px;right:28px;box-shadow:0 4px 12px #00000026}.add-product-button:hover{background:#12571d;transform:translateY(-2px)}@media (width<=900px){.product-table th,.product-table td{padding:12px 10px}}@media (width<=650px){.inventory-title-row{align-items:flex-start;gap:10px}.inventory-header h1{font-size:20px}.manage-categories-button{gap:5px;padding:7px 9px;font-size:11px}.manage-categories-button svg{width:14px;height:14px}.product-search{height:42px}.category-filters{margin-bottom:15px}.product-table-wrapper{border-radius:14px}.product-table{min-width:800px}}.custom-select{width:100%;position:relative}.custom-select-trigger{border:1px solid var(--border);background:var(--card);width:100%;height:46px;color:var(--foreground);cursor:pointer;border-radius:12px;justify-content:space-between;align-items:center;padding:12px 14px;font-size:.95rem;transition:all .2s;display:flex}.custom-select-trigger:hover{border-color:var(--primary)}.custom-select-arrow{font-size:.9rem;transition:transform .2s}.custom-select-arrow.open{transform:rotate(180deg)}.custom-select-options{z-index:3000;background:var(--card);border:1px solid var(--border);border-radius:14px;max-height:220px;padding:6px;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow-y:auto;box-shadow:0 12px 30px #00000026}.custom-select-options button{width:100%;color:var(--foreground);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:10px;padding:10px 12px;font-size:.95rem}.custom-select-options button:hover{background:var(--hover)}.custom-select-options button.selected{background:var(--muted);font-weight:600}.product-form-overlay{z-index:2000;background:#00000059;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.product-form-modal{background:var(--card);border-radius:24px;width:100%;max-width:620px;max-height:90vh;padding:28px 28px 32px;animation:.18s modalIn;position:relative;overflow-y:auto;box-shadow:0 18px 40px #0000002e}.product-form-modal h2{color:var(--foreground);margin:0 0 16px;font-size:1.45rem;font-weight:600}.product-form-subtitle{color:var(--muted-foreground);margin-top:8px;margin-bottom:24px;font-size:.95rem;line-height:1.45}.form-row{grid-template-columns:1fr 1fr;gap:16px;display:grid}.form-group{flex-direction:column;gap:8px;margin-bottom:20px;display:flex}.form-group label{color:var(--foreground);font-weight:500}.form-group input,.form-group select,.form-group textarea{border:1px solid var(--border);background:var(--card);width:100%;color:var(--foreground);box-sizing:border-box;border-radius:12px;padding:12px 14px;font-size:.95rem;transition:all .2s}.form-group textarea{resize:vertical;min-height:90px}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #1b5e2026}.field-help{color:var(--muted-foreground);margin-top:6px;font-size:.85rem;line-height:1.45}.sku-container{align-items:stretch;gap:12px;display:flex}.sku-container input{flex:1}.generate-sku-button{background:var(--secondary);color:var(--primary);cursor:pointer;white-space:nowrap;border:none;border-radius:12px;padding:0 18px;font-weight:600;transition:all .2s}.generate-sku-button:hover{background:var(--accent)}.generate-sku-button:disabled{opacity:.6;cursor:not-allowed}.input-error{color:var(--destructive);font-size:.82rem}.modal-actions{justify-content:flex-end;gap:12px;margin-top:28px;display:flex}.modal-actions button{cursor:pointer;border:none;border-radius:999px;padding:12px 22px;font-size:.95rem;transition:all .2s}.modal-actions button:first-child{background:var(--muted);color:var(--foreground)}.modal-actions button:first-child:hover{background:var(--hover)}.modal-actions button:last-child{background:var(--primary);color:#fff}.modal-actions button:last-child:hover{filter:brightness(.95)}.modal-actions button:disabled{opacity:.6;cursor:not-allowed}.product-form-modal::-webkit-scrollbar{width:8px}.product-form-modal::-webkit-scrollbar-track{margin:20px}.product-form-modal::-webkit-scrollbar-thumb{background:var(--border);border-radius:10px}.stock-info-group{margin-bottom:20px}.stock-info{border:1px solid var(--border);background:var(--muted);width:100%;color:var(--foreground);box-sizing:border-box;border-radius:12px;align-items:center;min-height:46px;padding:12px 14px;font-size:.95rem;display:flex}.form-error{color:var(--destructive);background:#d32f2f1a;border:1px solid #d32f2f4d;border-radius:12px;align-items:center;gap:10px;margin-top:20px;padding:12px 14px;font-size:.9rem;display:flex}.form-error svg{flex-shrink:0}.form-error p{margin:0}.modal-close-button{width:36px;height:36px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;transition:all .2s;display:flex;position:absolute;top:18px;right:18px}.modal-close-button:hover{background:var(--muted);color:var(--foreground)}@media (width<=768px){.product-form-overlay{align-items:flex-end;padding:0}.product-form-modal{border-radius:24px 24px 0 0;width:100%;max-width:none;max-height:85vh;padding:24px 20px 28px}.form-row{grid-template-columns:1fr;gap:0}.sku-container{flex-direction:column}.generate-sku-button{width:100%;height:46px}}.inventory-container{box-sizing:border-box;width:100%;min-height:100%}.inventory-card{box-sizing:border-box;width:100%}.sales-page{box-sizing:border-box;background:--background;width:calc(100% + 60px);min-height:calc(100% + 60px);margin:-30px}.sales-content{box-sizing:border-box;background:0 0;border:none;border-radius:0;grid-template-columns:minmax(0,1fr) 360px;gap:24px;width:100%;padding:18px 24px;display:grid}.new-sale-section{min-width:0}.section-heading{margin-bottom:16px}.section-heading h2{color:#111;margin:0 0 4px;font-size:22px;font-weight:600}.section-heading p{color:#444;margin:0;font-size:13px}.history-section{box-sizing:border-box;width:100%;padding:18px 24px}.history-header{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.history-header h2{margin:0 0 4px;font-size:22px}.history-header p{color:#555;margin:0;font-size:13px}.export-button{color:#176b27;cursor:pointer;background:#fff;border:1px solid #d5d9d3;border-radius:20px;align-items:center;gap:8px;padding:9px 14px;font-size:13px;font-weight:600;display:flex}.export-button:hover{background:#f2f7f0}.sales-history-filters{flex-wrap:wrap;align-items:flex-end;gap:12px;margin-bottom:18px;display:flex}.sales-date-field{flex-direction:column;gap:5px;display:flex}.sales-date-field label{color:var(--muted-foreground);font-size:12px;font-weight:500}.sales-date-field input{border:1px solid var(--border);background:var(--card);height:36px;color:var(--foreground);box-sizing:border-box;border-radius:9px;outline:none;padding:0 10px;font-size:13px;transition:all .2s}.sales-date-field input:focus{border-color:var(--accent);box-shadow:0 0 0 2px var(--muted)}.sales-filter-button,.sales-clear-filter-button{cursor:pointer;border-radius:20px;height:36px;padding:0 14px;font-size:13px;font-weight:600;transition:all .2s}.sales-filter-button{border:1px solid var(--primary);background:var(--primary);color:var(--card)}.sales-filter-button:hover{background:var(--accent-foreground)}.sales-clear-filter-button{border:1px solid var(--border);background:var(--card);color:var(--muted-foreground)}.sales-clear-filter-button:hover{background:var(--hover)}.export-button:disabled{opacity:.5;cursor:not-allowed}.sales-pagination,.sales-history-pagination{justify-content:center;align-items:center;gap:20px;margin-top:16px;display:flex}.sales-pagination button,.sales-history-pagination button{border:1px solid var(--border);background:var(--background);min-width:110px;height:40px;color:var(--foreground);cursor:pointer;border-radius:8px;padding:0 16px;font-size:13px;font-weight:500;transition:all .2s}.sales-pagination button:hover:not(:disabled),.sales-history-pagination button:hover:not(:disabled){background:var(--hover)}.sales-pagination button:disabled,.sales-history-pagination button:disabled{opacity:.45;cursor:not-allowed}.sales-pagination span,.sales-history-pagination span{color:var(--muted-foreground);white-space:nowrap;font-size:13px}@media (width<=1000px){.sales-content{grid-template-columns:minmax(0,1fr) 320px;gap:16px}}@media (width<=800px){.sales-content{grid-template-columns:1fr}.cart{min-height:500px}}@media (width<=768px){.sales-page{width:calc(100% + 40px);min-height:calc(100% + 100px);margin:-80px -20px -20px}}@media (width<=600px){.sales-content{padding:14px}.sales-header{padding:0 14px}.section-heading h2{font-size:19px}.sales-history-filters{flex-direction:column;align-items:stretch}.sales-date-field input,.sales-filter-button,.sales-clear-filter-button{width:100%}}.sales-tabs{background:#eef3eb;border-bottom:1px solid #dce3d8;gap:8px;height:44px;padding:0 24px;display:flex}.sales-tab{color:#222;cursor:pointer;background:0 0;border:none;padding:0 14px;font-size:14px;position:relative}.sales-tab.active{color:#08752b;font-weight:600}.sales-tab.active:after{content:"";background:#08752b;height:2px;position:absolute;bottom:-1px;left:0;right:0}.product-search{box-sizing:border-box;background:#fff;border:1px solid #dfe3de;border-radius:22px;align-items:center;width:100%;height:40px;padding:0 10px 0 14px;display:flex;box-shadow:0 1px 3px #0000000d}.product-search-icon{color:#444;flex:none;margin-right:10px}.product-search input{color:#222;background:0 0;border:none;outline:none;flex:1;width:100%;font-size:13px}.product-search input::placeholder{color:#777}.voice-button{color:#333;cursor:pointer;background:0 0;border:none;flex:0 0 30px;justify-content:center;align-items:center;width:30px;height:30px;padding:0;display:flex}.voice-button:hover{color:#176b27}.product-card{box-sizing:border-box;background:#fff;border-bottom:1px solid #e8e8e8;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:14px;width:100%;min-height:72px;padding:12px 16px;display:grid}.product-card:last-child{border-bottom:none}.product-card-icon{color:#176b27;background:#e8f5e9;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.product-card-info{flex-direction:column;justify-content:center;align-items:flex-start;gap:5px;width:100%;min-width:0;display:flex}.product-card-info h3{color:#111;white-space:nowrap;text-overflow:ellipsis;width:100%;margin:0;font-size:15px;font-weight:600;line-height:1.2;overflow:hidden}.product-card-details{align-items:center;gap:10px;width:100%;min-height:20px;display:flex}.product-price{color:#333;white-space:nowrap;margin:0;font-size:13px;display:inline-block}.product-stock{color:#176b27;white-space:nowrap;background:#e8f5e9;border-radius:10px;justify-content:center;align-items:center;margin:0;padding:4px 8px;font-size:10px;font-weight:600;line-height:1;display:inline-flex}.product-stock.low{color:#d32f2f;background:#ffebee}.product-card .add-product-button{color:#fff;cursor:pointer;z-index:2;box-sizing:border-box;background:#176b27;border:none;border-radius:50%;justify-content:center;place-self:center end;align-items:center;min-width:40px;min-height:40px;transform:none;width:40px!important;height:40px!important;margin:0!important;padding:0!important;display:flex!important;position:relative!important;inset:auto!important}.product-card .add-product-button:hover:not(:disabled){background:#12551f;transform:scale(1.05)}.product-card .add-product-button:active:not(:disabled){transform:scale(.95)}.product-card .add-product-button:disabled{color:#888;cursor:not-allowed;background:#d5d5d5;transform:none}.product-list{box-sizing:border-box;background:#fff;border:1px solid #e1e1e1;border-radius:20px;width:100%;overflow:hidden;box-shadow:0 1px 2px #0000000a}.product-list-message{color:#777;text-align:center;justify-content:center;align-items:center;min-height:150px;padding:30px;font-size:14px;display:flex}.cart{background:#fff;border:1px solid #e0e5dd;border-radius:24px;flex-direction:column;align-self:stretch;min-height:660px;display:flex;overflow:hidden}.cart-header{padding:18px 16px 12px}.cart-header h2{margin:0 0 4px;font-size:15px}.cart-header span{color:#555;font-size:12px}.cart-content{flex:1;min-height:0;overflow-y:auto}.empty-cart{text-align:center;flex-direction:column;justify-content:center;align-items:center;height:100%;min-height:400px;padding:20px;display:flex}.empty-cart-icon{color:#b5bab3;margin-bottom:16px}.empty-cart h3{color:#333;margin:0 0 5px;font-size:14px}.empty-cart p{color:#666;margin:0;font-size:12px}.cart-items{flex-direction:column;display:flex}.cart-footer{border-top:1px solid #e2e6df;padding:14px 16px 16px}.cart-total{justify-content:space-between;align-items:center;margin-bottom:14px;font-size:13px;display:flex}.cart-total strong{color:#111;font-size:17px}.register-sale-button{color:#fff;cursor:pointer;background:#116b29;border:none;border-radius:22px;width:100%;height:42px;font-size:14px;font-weight:600}.register-sale-button:hover:not(:disabled){background:#0b5720}.register-sale-button:disabled{color:#858585;cursor:not-allowed;background:#d0d2cf}.cart-item{border-bottom:1px solid #e8ebe6;flex-direction:column;gap:9px;padding:13px 15px;display:flex}.cart-item-info{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.cart-item-info h3{color:#222;margin:0;font-size:13px;font-weight:600}.cart-item-info>span{color:#555;white-space:nowrap;font-size:11px}.cart-item-actions{justify-content:space-between;align-items:center;gap:10px;display:flex}.quantity-control{border:1px solid #dfe3dc;border-radius:16px;align-items:center;gap:10px;padding:2px 5px;display:flex}.quantity-control button{color:#176b2c;cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;display:flex}.quantity-control button:hover:not(:disabled){background:#eaf5e8}.quantity-control button:disabled{color:#aaa;cursor:not-allowed}.quantity-control span{text-align:center;min-width:15px;font-size:12px}.cart-item-actions>strong{color:#111;font-size:13px}.remove-cart-item{color:#c52222;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:4px;display:flex}.remove-cart-item:hover{color:#8f1515}.sales-history{background:var(--card);border:1px solid var(--border);box-sizing:border-box;border-radius:22px;width:100%;overflow:hidden}.history-message{background:var(--card);border:1px solid var(--border);min-height:250px;color:var(--muted-foreground);border-radius:22px;justify-content:center;align-items:center;font-size:14px;display:flex}.history-sale{border-bottom:1px solid var(--border)}.history-sale:last-child{border-bottom:none}.history-sale-header{background:var(--card);text-align:left;cursor:pointer;width:100%;min-height:52px;color:var(--foreground);box-sizing:border-box;border:none;grid-template-columns:1.2fr 1fr 1fr 1fr 24px;align-items:center;gap:12px;padding:10px 16px;display:grid}.history-sale-header:hover{background:var(--muted)}.history-sale-header>span,.history-sale-header>strong{min-width:0;font-size:12px}.history-sale-header>strong{text-align:right}.items-badge{background:var(--secondary);width:fit-content;color:var(--primary);white-space:nowrap;border-radius:12px;padding:4px 8px;font-size:11px;font-weight:600}.history-sale-details{border:1px solid var(--border);background:var(--card);border-radius:14px;margin:0 14px 12px;overflow:hidden}.history-item{border-bottom:1px solid var(--border);box-sizing:border-box;grid-template-columns:1fr 60px 100px 100px;align-items:center;gap:10px;min-height:42px;padding:8px 14px;display:grid}.history-item:last-child{border-bottom:none}.history-item>div{align-items:center;gap:8px;min-width:0;display:flex}.history-item span,.history-item strong{min-width:0;color:var(--muted-foreground);font-size:11px}.history-item>strong{text-align:right;color:var(--foreground)}.history-item>div span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (width<=900px){.history-sale-header{grid-template-columns:1.2fr 1fr 90px 1fr 24px;gap:8px;padding:10px 12px}.history-item{grid-template-columns:1fr 55px 90px 90px;gap:8px;padding:8px 12px}}@media (width<=700px){.sales-history{border-radius:16px}.history-sale-header{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) auto 24px;gap:3px 10px;min-height:64px;padding:10px 14px;display:grid}.history-sale-header>span:first-child{color:var(--muted-foreground);grid-area:1/1;font-size:11px}.history-sale-header>span:nth-child(2){min-width:0;color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;grid-area:2/1;font-size:10px;overflow:hidden}.history-sale-header>strong{color:var(--foreground);white-space:nowrap;grid-area:1/2;place-self:start end;font-size:13px}.history-sale-header>.items-badge{grid-area:2/2;place-self:center end;width:fit-content;padding:3px 7px;font-size:10px}.history-sale-header>svg{grid-area:1/3/span 2;place-self:center end}.history-sale-details{border-radius:12px;margin:0 10px 10px}.history-item{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;min-height:48px;padding:8px 10px;display:grid}.history-item>div{grid-area:1/1/span 2;min-width:0}.history-item>div span{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.history-item>span:nth-child(2){text-align:right;grid-area:1/2;font-size:10px}.history-item>span:nth-child(3){display:none}.history-item>strong{text-align:right;grid-area:2/2;font-size:11px}}.prediction-container{justify-content:center;align-items:center;min-height:80vh;display:flex}.prediction-card{text-align:center}.settings-container{justify-content:center;align-items:center;min-height:80vh;display:flex}.settings-card{text-align:center}.sidebar{background:var(--muted);border-right:1px solid var(--border);flex-direction:column;justify-content:space-between;width:260px;min-height:100vh;padding:24px 18px;display:flex}.sidebar-logo{flex-direction:column;align-items:center;gap:12px;margin-bottom:40px;display:flex}.sidebar-business-name{color:var(--foreground);text-align:center;font-size:16px;font-weight:600}.sidebar-menu{flex-direction:column;flex:1;gap:10px;display:flex}.menu-item{color:var(--muted-foreground);border-radius:10px;align-items:center;gap:12px;padding:14px 16px;font-size:16px;font-weight:500;text-decoration:none;transition:all .25s;display:flex}.menu-item:hover{background:var(--hover)}.menu-item.active{background:var(--secondary);color:var(--primary);font-weight:600}.menu-icon{font-size:20px}.logout-button{cursor:pointer;background:var(--destructive);color:#fff;border:none;border-radius:10px;justify-content:center;align-items:center;gap:10px;width:100%;padding:14px;font-size:16px;font-weight:600;transition:all .25s;display:flex}.logout-button:hover{filter:brightness(.92)}.menu-toggle,.sidebar-overlay{display:none}@media (width<=768px){.menu-toggle{background:var(--primary);color:#fff;cursor:pointer;z-index:1001;border:none;border-radius:10px;justify-content:center;align-items:center;width:48px;height:48px;font-size:24px;display:flex;position:fixed;top:16px;left:16px}.sidebar{z-index:1000;transition:transform .3s;position:fixed;top:0;left:0;transform:translate(-100%)}.sidebar.open{transform:translate(0)}.sidebar-overlay{z-index:999;background:#0006;display:block;position:fixed;inset:0}}.notification-overlay{z-index:1999;background:#00000052;position:fixed;inset:0}.notification-panel{background:var(--background);border-left:1px solid var(--border);z-index:2000;flex-direction:column;width:360px;height:100vh;animation:.25s ease-out notificationPanelOpen;display:flex;position:fixed;top:0;right:0;box-shadow:-6px 0 20px #0000001f}@keyframes notificationPanelOpen{0%{transform:translate(100%)}to{transform:translate(0)}}.notification-panel-header{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:flex-start;height:92px;padding:20px;display:flex}.notification-panel-header h2{color:var(--foreground);margin:0 0 5px;font-size:18px;font-weight:600}.notification-panel-header span{color:var(--muted-foreground);font-size:13px}.notification-panel-close{width:34px;height:34px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;font-size:21px;transition:all .2s;display:flex}.notification-panel-close:hover{background:var(--hover);color:var(--foreground)}.notification-panel-list{flex:1;overflow-y:auto}.notification-stock-item{border-bottom:1px solid var(--border);align-items:flex-start;gap:12px;min-height:112px;padding:18px;transition:background .2s;display:flex}.notification-stock-item:hover{background:var(--hover)}.notification-stock-icon{color:#ef233c;background:#fff1f2;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:19px;display:flex}.notification-stock-content{flex:1;min-width:0;padding-right:4px;position:relative}.notification-stock-content strong{color:var(--foreground);white-space:nowrap;text-overflow:ellipsis;margin-bottom:3px;font-size:14px;font-weight:600;display:block;overflow:hidden}.notification-stock-category{color:var(--muted-foreground);margin-bottom:12px;font-size:12px;display:block}.notification-stock-progress{background:#e8efe8;border-radius:10px;width:100%;height:4px;overflow:hidden}.notification-stock-progress-bar{background:#ef233c;border-radius:10px;height:100%;transition:width .3s}.notification-stock-value{text-align:right;color:#ef233c;margin-top:5px;font-size:10px;display:block}.notification-mark-read{width:42px;color:var(--primary);cursor:pointer;background:0 0;border:none;flex-shrink:0;padding:0;font-size:11px;font-weight:600;line-height:14px}.notification-mark-read:hover{text-decoration:underline}.notification-mark-read:disabled{opacity:.5;cursor:not-allowed}.notification-panel-empty{height:250px;color:var(--muted-foreground);flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.notification-panel-empty svg{color:var(--primary);font-size:32px}.notification-panel-empty p{margin:0;font-size:14px}.notification-panel-footer{border-top:1px solid var(--border);background:var(--background);flex-shrink:0;padding:16px}.notification-mark-all{border:1px solid var(--primary);width:100%;height:40px;color:var(--primary);cursor:pointer;background:0 0;border-radius:20px;font-size:13px;font-weight:600;transition:all .2s}.notification-mark-all:hover{background:var(--secondary)}.notification-mark-all:disabled{opacity:.5;cursor:not-allowed}@media (width<=600px){.notification-panel{width:100%}}.topbar{background:var(--muted);border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;height:64px;padding:0 24px;display:flex}.topbar-title{align-items:center;gap:12px;display:flex}.topbar-title-text{flex-direction:column;display:flex}.business-name{font-size:18px;font-weight:600}.page-name{display:none}.topbar-actions{justify-content:center;align-items:center;display:flex}.notification-button{width:40px;height:40px;color:var(--foreground);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;padding:0;font-size:22px;transition:background .2s;display:flex;position:relative}.notification-button:hover{background:var(--hover)}.notification-badge{color:#fff;border:2px solid var(--background);background:#d32f2f;border-radius:50%;justify-content:center;align-items:center;min-width:17px;height:17px;padding:0 4px;font-size:10px;font-weight:700;line-height:1;display:flex;position:absolute;top:2px;right:1px}.topbar-menu-button{width:40px;height:40px;color:var(--foreground);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;font-size:24px;transition:background .2s;display:none}.topbar-menu-button:hover{background:var(--hover)}@media (width<=768px){.topbar{padding:0 16px}.topbar-menu-button{display:flex}.page-name{color:var(--text-secondary);margin-top:2px;font-size:13px;font-weight:500;display:block}}.layout{background:var(--background);min-height:100vh;display:flex}.layout-content{flex:1;padding:30px;overflow-y:auto}@media (width<=768px){.layout-content{padding:80px 20px 20px}}.layout{min-height:100vh;display:flex}.layout-main{flex-direction:column;flex:1;min-width:0;display:flex}.layout-content{flex:1;min-width:0}
