body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}*{box-sizing:border-box;margin:0;padding:0}body{background:linear-gradient(135deg,#667eea,#764ba2);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;min-height:100vh}.app-container{min-height:100vh;padding:2rem 1rem}.app-content{margin:0 auto;max-width:1200px}.header{color:#fff;margin-bottom:2rem;text-align:center}.header h1{font-size:2.5rem;font-weight:700;margin-bottom:.5rem}.header p{font-size:1.1rem;opacity:.9}.message{align-items:center;border-radius:8px;display:flex;font-weight:500;gap:.5rem;margin:0 auto 1.5rem;max-width:400px;padding:1rem}.success-message{background-color:#d1fae5;border:1px solid #a7f3d0;color:#065f46}.error-message{background-color:#fee2e2;border:1px solid #fca5a5;color:#991b1b}.form-card,.search-filter-card,.table-card{background:#fff;border-radius:12px;box-shadow:0 10px 25px #0000001a;margin-bottom:2rem;overflow:hidden}.form-header{border-bottom:1px solid #e5e7eb;padding:1.5rem}.form-header h2{color:#1f2937;font-size:1.5rem;font-weight:600;margin-bottom:.25rem}.form-header p{color:#6b7280}.product-form{padding:1.5rem}.form-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr;margin-bottom:1.5rem}@media (min-width:768px){.form-grid{grid-template-columns:repeat(3,1fr)}}.form-group{display:flex;flex-direction:column}.form-group label{color:#374151;font-size:.875rem;font-weight:500;margin-bottom:.5rem}.form-group input{border:1px solid #d1d5db;border-radius:6px;font-size:1rem;padding:.75rem;transition:all .2s}.form-group input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.form-group input:disabled{background-color:#f9fafb;cursor:not-allowed}.form-buttons{display:flex;flex-wrap:wrap;gap:.75rem}.search-filter-card{padding:1.5rem}.search-filter-content{display:flex;flex-direction:column;gap:1.5rem}@media (min-width:768px){.search-filter-content{align-items:end;flex-direction:row}}.search-section{flex:1 1}.search-section label{color:#374151;display:block;font-size:.875rem;font-weight:500;margin-bottom:.5rem}.search-input-wrapper{position:relative}.search-input{border:1px solid #d1d5db;border-radius:6px;font-size:1rem;padding:.75rem 2.5rem .75rem .75rem;transition:all .2s;width:100%}.search-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.clear-search-btn{background:none;border:none;cursor:pointer;font-size:.875rem;opacity:.6;position:absolute;right:.75rem;top:50%;transform:translateY(-50%);transition:opacity .2s}.clear-search-btn:hover{opacity:1}.sort-controls{display:flex;flex-wrap:wrap;gap:1rem}@media (min-width:768px){.sort-controls{flex-wrap:nowrap}}.sort-group{display:flex;flex-direction:column;min-width:150px}.sort-group label{color:#374151;font-size:.875rem;font-weight:500;margin-bottom:.5rem}.sort-select{background-color:#fff;border:1px solid #d1d5db;border-radius:6px;cursor:pointer;font-size:1rem;padding:.75rem;transition:all .2s}.sort-select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.search-results-info{background-color:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;color:#1e40af;margin-top:1rem;padding:.75rem}.search-results-info .total-count{font-size:.875rem;margin-left:.5rem}.btn{align-items:center;border:none;border-radius:6px;cursor:pointer;display:flex;font-size:.875rem;font-weight:600;gap:.5rem;padding:.75rem 1.5rem;transition:all .2s}.btn:disabled{cursor:not-allowed;opacity:.5}.btn-primary{background-color:#3b82f6;color:#fff}.btn-primary:hover:not(:disabled){background-color:#2563eb}.btn-secondary{background-color:#6b7280;color:#fff}.btn-secondary:hover:not(:disabled){background-color:#4b5563}.btn-edit{background-color:#f59e0b;color:#fff;font-size:.75rem;padding:.5rem .75rem}.btn-edit:hover:not(:disabled){background-color:#d97706}.btn-delete{background-color:#ef4444;color:#fff;font-size:.75rem;padding:.5rem .75rem}.btn-delete:hover:not(:disabled){background-color:#dc2626}.clear-search-button{margin-top:1rem}.spinner{animation:spin 1s linear infinite;border:2px solid #0000;border-radius:50%;border-top-color:currentcolor;height:1rem;width:1rem}@keyframes spin{to{transform:rotate(1turn)}}.table-header{align-items:center;background:linear-gradient(135deg,#3b82f6,#6366f1);color:#fff;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;padding:1.5rem}.table-header h2{font-size:1.5rem;font-weight:700;margin-bottom:.25rem}.table-header p{font-size:.875rem;opacity:.9}.totals-section{display:flex;flex-wrap:wrap;gap:1rem}.total-badge{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border-radius:8px;min-width:120px;padding:1rem;text-align:center}.filtered-total{background:#ffffff4d}.total-amount{display:block;font-size:1.25rem;font-weight:700}.total-badge p{font-size:.75rem;margin-top:.25rem;opacity:.9}.table-content{padding:1.5rem}.empty-state{padding:3rem 1rem;text-align:center}.empty-icon{font-size:4rem;margin-bottom:1rem}.empty-state h3{color:#1f2937;font-size:1.25rem;font-weight:600;margin-bottom:.5rem}.empty-state p{color:#6b7280;margin-bottom:1rem}.table-wrapper{overflow-x:auto}.products-table{border-collapse:collapse;width:100%}.products-table th{border-bottom:2px solid #e5e7eb;color:#374151;font-weight:600;padding:1rem;position:relative;text-align:left}.sortable-header{cursor:pointer;transition:background-color .2s;-webkit-user-select:none;user-select:none}.sortable-header:hover{background-color:#f9fafb}.header-content{align-items:center;display:flex;gap:.25rem}.price-header .header-content,.qty-header .header-content,.total-header .header-content{justify-content:flex-end}.actions-header{text-align:center}.products-table td{border-bottom:1px solid #f3f4f6;padding:1rem}.products-table tr:hover{background-color:#f9fafb}.product-name{color:#1f2937;font-weight:500}.price,.quantity,.total-price{font-weight:500;text-align:right}.total-price{color:#059669;font-weight:600}.search-highlight{background-color:#fef08a;border-radius:2px;padding:0 2px}.action-buttons{display:flex;gap:.5rem;justify-content:center}@media (max-width:768px){.app-container{padding:1rem .5rem}.header h1{font-size:2rem}.table-header{flex-direction:column;text-align:center}.totals-section{justify-content:center}.form-buttons{flex-direction:column}.btn{justify-content:center}.search-filter-content{gap:1rem}.sort-controls{flex-direction:column}.sort-group{min-width:auto}.action-buttons{flex-direction:column;gap:.25rem}.products-table{font-size:.875rem}.products-table td,.products-table th{padding:.5rem}}@media (max-width:480px){.header h1{font-size:1.75rem}.total-badge{min-width:100px;padding:.75rem}.total-amount{font-size:1rem}}
/*# sourceMappingURL=main.845aec2e.css.map*/