body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f7fafc;color:#2d3748;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}:root{--primary:#667eea;--primary-dark:#5568d3;--secondary:#764ba2;--success:#48bb78;--danger:#f56565;--warning:#ed8936;--info:#4299e1;--gray-50:#f7fafc;--gray-100:#edf2f7;--gray-200:#e2e8f0;--gray-300:#cbd5e0;--gray-400:#a0aec0;--gray-500:#718096;--gray-600:#4a5568;--gray-700:#2d3748;--gray-800:#1a202c;--gray-900:#171923}.btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:14px;font-weight:600;gap:8px;padding:10px 20px;transition:all .3s ease}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);background:linear-gradient(135deg,var(--primary) 0,var(--secondary) 100%);color:#fff}.btn-primary:hover{box-shadow:0 4px 12px #667eea66;transform:translateY(-2px)}.btn-success{background:#48bb78;background:var(--success);color:#fff}.btn-danger{background:#f56565;background:var(--danger);color:#fff}.btn-secondary{background:#e2e8f0;background:var(--gray-200);color:#2d3748;color:var(--gray-700)}.card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:24px;transition:all .3s ease}.card:hover{box-shadow:0 4px 12px #0000001a}.card-title{color:#1a202c;color:var(--gray-800);font-size:18px;font-weight:700;margin-bottom:16px}.form-group{margin-bottom:20px}.form-label{color:#2d3748;color:var(--gray-700);display:block;font-size:14px;font-weight:600;margin-bottom:8px}.form-input,.form-select{background:#f7fafc;background:var(--gray-50);border:2px solid #e2e8f0;border:2px solid var(--gray-200);border-radius:8px;font-size:14px;padding:10px 14px;transition:all .3s ease;width:100%}.form-input:focus,.form-select:focus{background:#fff;border-color:#667eea;border-color:var(--primary);box-shadow:0 0 0 3px #667eea1a;outline:none}.table{background:#fff;border-collapse:collapse;border-radius:12px;overflow:hidden;width:100%}.table thead{background:#f7fafc;background:var(--gray-50)}.table th{color:#4a5568;color:var(--gray-600);font-size:13px;font-weight:700;letter-spacing:.5px;padding:16px;text-align:left;text-transform:uppercase}.table td{border-top:1px solid #e2e8f0;border-top:1px solid var(--gray-200);color:#2d3748;color:var(--gray-700);font-size:14px;padding:16px}.table tbody tr:hover{background:#f7fafc;background:var(--gray-50)}.badge{border-radius:12px;display:inline-block;font-size:12px;font-weight:600;padding:4px 12px}.badge-success{background:#c6f6d5;color:#22543d}.badge-warning{background:#feebc8;color:#7c2d12}.badge-info{background:#bee3f8;color:#1e40af}.badge-danger{background:#fed7d7;color:#742a2a}.modal-overlay{align-items:center;animation:fadeIn .3s ease;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.modal{animation:slideUp .3s ease;background:#fff;border-radius:16px;max-height:90vh;max-width:500px;overflow-y:auto;padding:32px;width:90%}.modal-header{color:#1a202c;color:var(--gray-800);font-size:24px;font-weight:700;margin-bottom:24px}.modal-footer{justify-end:flex-end;display:flex;gap:12px;margin-top:24px}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}*{box-sizing:border-box;margin:0;padding:0}.login-wrapper{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;justify-content:center;min-height:100vh;padding:20px}.login-card{animation:slideUp .5s ease-out;background:#fff;border-radius:20px;box-shadow:0 20px 60px #0000004d;max-width:420px;padding:48px 40px;width:100%}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.login-card h2{color:#1a202c;font-size:32px;font-weight:700;margin-bottom:8px;text-align:center}.login-card p{color:#718096;font-size:16px;margin-bottom:32px;text-align:center}.login-card input{background:#f7fafc;border:2px solid #e2e8f0;border-radius:12px;font-size:16px;margin-bottom:20px;padding:14px 18px;transition:all .3s ease;width:100%}.login-card input:focus{background:#fff;border-color:#667eea;box-shadow:0 0 0 4px #667eea1a;outline:none}.login-card input::placeholder{color:#a0aec0}.login-card button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:12px;box-shadow:0 4px 15px #667eea66;color:#fff;cursor:pointer;font-size:16px;font-weight:600;padding:14px;transition:all .3s ease;width:100%}.login-card button:hover{box-shadow:0 6px 20px #667eea80;transform:translateY(-2px)}.login-card button:active{transform:translateY(0)}.error{animation:shake .5s ease;background:#fee2e2;border-left:4px solid #dc2626;border-radius:10px;color:#991b1b;font-size:14px;margin-bottom:20px;padding:12px 16px}@keyframes shake{0%,to{transform:translateX(0)}10%,30%,50%,70%,90%{transform:translateX(-5px)}20%,40%,60%,80%{transform:translateX(5px)}}@media (max-width:480px){.login-card{padding:32px 24px}.login-card h2{font-size:28px}}.dashboard-layout{display:flex;min-height:100vh}.sidebar{background:linear-gradient(180deg,#667eea,#764ba2);color:#fff;display:flex;flex-direction:column;height:100vh;overflow-y:auto;position:fixed;width:260px}.sidebar-header{border-bottom:1px solid #ffffff1a;padding:32px 24px}.sidebar-header h2{font-size:24px;margin-bottom:4px}.sidebar-header p{font-size:14px;opacity:.8}.sidebar-nav{flex:1 1;padding:24px 12px}.nav-item{align-items:center;border-radius:8px;color:#fff;display:flex;font-size:15px;gap:12px;margin-bottom:8px;padding:12px 16px;text-decoration:none;transition:all .3s ease}.nav-item:hover{background:#ffffff1a}.nav-item.active{background:#fff3;font-weight:600}.nav-icon{font-size:20px}.sidebar-footer{border-top:1px solid #ffffff1a;padding:24px}.user-info{gap:12px;margin-bottom:16px}.user-avatar,.user-info{align-items:center;display:flex}.user-avatar{background:#fff3;border-radius:50%;font-size:18px;font-weight:700;height:40px;justify-content:center;width:40px}.user-name{font-size:14px;font-weight:600}.user-role{font-size:12px;opacity:.8;text-transform:capitalize}.btn-logout{background:#fff3;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:10px;transition:all .3s ease;width:100%}.btn-logout:hover{background:#ffffff4d}.main-content{background:#f7fafc;flex:1 1;margin-left:260px}.content-wrapper{max-width:1400px;padding:32px}@media (max-width:768px){.sidebar{width:80px}.main-content{margin-left:80px}.nav-label,.sidebar-header p,.user-name,.user-role{display:none}.sidebar-header h2{font-size:28px}}.page-title{color:var(--gray-800);font-size:32px;font-weight:700;margin-bottom:32px}.stats-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:32px}.stat-card{align-items:center;background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;display:flex;gap:16px;padding:24px;transition:all .3s ease}.stat-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.stat-icon{align-items:center;border-radius:12px;display:flex;font-size:28px;height:56px;justify-content:center;width:56px}.stat-content{flex:1 1}.stat-label{color:var(--gray-500);font-size:14px;margin-bottom:4px}.stat-value{color:var(--gray-800);font-size:32px;font-weight:700}.dashboard-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(400px,1fr))}.activity-list{display:flex;flex-direction:column;gap:12px}.activity-item{background:var(--gray-50);gap:12px;padding:12px}.activity-icon,.activity-item{align-items:center;border-radius:8px;display:flex}.activity-icon{background:#fff;font-size:20px;height:40px;justify-content:center;width:40px}.activity-content{flex:1 1}.activity-name{color:var(--gray-800);font-size:14px;font-weight:600;margin-bottom:2px}.activity-meta{color:var(--gray-500);font-size:12px}@media (max-width:768px){.dashboard-grid,.stats-grid{grid-template-columns:1fr}}.modal-large{max-width:700px}.formula-row{grid-gap:12px;display:grid;gap:12px;grid-template-columns:2fr 1fr auto;margin-bottom:12px}@media (max-width:768px){.page-header{align-items:flex-start;flex-direction:column;gap:16px}.table{display:block;overflow-x:auto}.formula-row{grid-template-columns:1fr}.page-header{align-items:flex-start;flex-direction:column;gap:16px}.table{display:block;overflow-x:auto}}.cost-preview-card{background:#f7fafc;border-left:4px solid var(--primary);border-radius:8px;margin:16px 0;padding:16px}.cost-preview-card h4{color:var(--gray-700);font-size:16px;margin:0 0 12px}.cost-breakdown{margin-bottom:12px}.cost-item{color:var(--gray-600);display:flex;font-size:14px;justify-content:space-between;padding:6px 0}.material-name{font-weight:600}.material-calculation{font-family:monospace}.total-cost{border-top:2px solid var(--gray-300);font-size:16px;margin-top:12px;padding-top:12px}.total-cost div{padding:4px 0}.total-cost strong{color:var(--primary)}@media (max-width:768px){.page-header{align-items:flex-start;flex-direction:column;gap:16px}.table{display:block;overflow-x:auto}.cost-item{flex-direction:column;gap:4px}}.page-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:32px}.btn-sm{font-size:12px;padding:6px 12px}.filter-card{margin-bottom:24px}.filter-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:16px}.filter-summary{border-top:1px solid var(--gray-200);color:var(--gray-600);font-size:14px;font-weight:600;padding-top:12px}.summary-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:24px}.summary-card{background:#fff;border-radius:12px;box-shadow:0 2px 4px #0000001a;padding:20px}.summary-value{color:var(--primary);font-size:32px;font-weight:700}.summary-value.cost{color:var(--danger)}.summary-value.profit{color:var(--success)}.summary-label{color:var(--gray-600);font-size:14px;margin-bottom:8px}.profit-display{background:#c6f6d5;border-radius:12px;margin-top:20px;padding:20px}.profit-display h3{color:#22543d;font-size:18px;margin:0 0 12px}.profit-details{display:flex;flex-direction:column;gap:8px}.profit-details div{color:#22543d;font-size:14px}.profit-amount{color:#22543d!important;font-size:24px!important;font-weight:700!important;margin-top:8px}.product-search-container{position:relative}.product-search-dropdown{background:#fff;border:1px solid var(--gray-300);border-radius:8px;box-shadow:0 4px 12px #00000026;left:0;margin-top:4px;max-height:300px;overflow-y:auto;position:absolute;right:0;top:100%;z-index:1000}.product-search-item{border-bottom:1px solid var(--gray-100);cursor:pointer;padding:12px 16px;transition:background .2s}.product-search-item:last-child{border-bottom:none}.product-search-item:hover{background:var(--gray-100)}.product-search-name{color:var(--gray-800);font-weight:600;margin-bottom:4px}.product-search-details{color:var(--gray-500);font-size:12px}.product-search-empty{color:var(--gray-500);padding:16px;text-align:center}.selected-product-info{background:#ebf8ff;border-radius:6px;color:#2b6cb0;font-size:13px;margin-top:8px;padding:8px 12px}@media (max-width:768px){.page-header{align-items:flex-start;flex-direction:column;gap:16px}.table{display:block;overflow-x:auto}.summary-grid{grid-template-columns:1fr}}.inventory-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));margin-bottom:24px}.inventory-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:20px;transition:all .2s}.inventory-card:hover{box-shadow:0 4px 6px -1px #0000001a;transform:translateY(-2px)}.inventory-type{color:#6b7280;font-size:12px;font-weight:600;margin-bottom:8px;text-transform:uppercase}.inventory-name{color:#111827;font-size:18px;font-weight:600;margin-bottom:12px}.inventory-details{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.inventory-detail-row{display:flex;font-size:14px;justify-content:space-between}.inventory-detail-label{color:#6b7280}.inventory-detail-value{color:#111827;font-weight:600}.low-stock{background-color:#fef3c7;border-color:#fbbf24}.out-of-stock{background-color:#fee2e2;border-color:#ef4444}.inventory-tabs{display:flex;gap:8px;margin-bottom:20px}.tab-btn{background:#fff;border:2px solid #e2e8f0;border-radius:8px;color:#4a5568;cursor:pointer;font-size:14px;font-weight:600;padding:12px 24px;transition:all .2s}.tab-btn.active,.tab-btn:hover{border-color:#4299e1;color:#2b6cb0}.tab-btn.active{background:#ebf8ff}.current-stock-info{background:#f7fafc;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:16px;padding:16px}.current-stock-info p{color:#4a5568;margin:4px 0}.adjustment-preview{background:#ebf8ff;border:1px solid #bee3f8;border-radius:8px;margin-top:16px;padding:16px}.adjustment-preview p{color:#2c5282;margin:8px 0 0}.badge-primary{background:#4299e1}.badge-warning{background:#ed8936;color:#fff}.customers-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));margin-bottom:24px}.customer-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:20px;transition:all .2s}.customer-card:hover{box-shadow:0 4px 6px -1px #0000001a;transform:translateY(-2px)}.customer-name{color:#111827;font-size:18px;font-weight:600;margin-bottom:8px}.customer-type{border-radius:4px;display:inline-block;font-size:12px;font-weight:600;margin-bottom:12px;padding:4px 12px;text-transform:uppercase}.customer-details{color:#6b7280;display:flex;flex-direction:column;font-size:14px;gap:6px;margin-bottom:16px}.customer-actions{display:flex;gap:8px}.expense-total{color:#e53e3e}.expense-amount{color:#e53e3e;font-weight:600}.expense-description{color:#718096;font-size:12px;font-weight:400;margin-top:4px}.category-summary{margin-bottom:24px}.category-summary h3{color:#2d3748;font-size:16px;margin:0 0 16px}.category-bars{gap:12px}.category-bar-item,.category-bars{display:flex;flex-direction:column}.category-bar-item{gap:6px}.category-bar-label{align-items:center;display:flex;justify-content:space-between}.category-amount{color:#2d3748;font-weight:600}.category-bar-track{background:#e2e8f0;border-radius:4px;height:8px;overflow:hidden}.category-bar-fill{border-radius:4px;height:100%;transition:width .3s ease}.category-bar-fill.badge-danger{background:#e53e3e}.category-bar-fill.badge-warning{background:#dd6b20}.category-bar-fill.badge-info{background:#3182ce}.category-bar-fill.badge-primary{background:#805ad5}.category-bar-fill.badge-success{background:#38a169}.category-bar-fill.badge-purple{background:#9f7aea}.category-bar-fill.badge-orange{background:#ed8936}.category-bar-fill.badge-teal{background:#319795}.category-bar-fill.badge-secondary{background:#718096}.badge-purple{background:#9f7aea}.badge-orange{background:#ed8936;color:#fff}.badge-teal{background:#319795}.form-row{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr 1fr}@media (max-width:600px){.form-row{grid-template-columns:1fr}}.pos-container{grid-gap:24px;display:grid;gap:24px;grid-template-columns:1fr 400px;height:calc(100vh - 100px)}.pos-products{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;display:flex;flex-direction:column;overflow:hidden}.pos-search{border-bottom:1px solid #e2e8f0;padding:16px}.pos-search-input{font-size:18px;padding:14px 16px}.pos-product-grid{grid-gap:12px;display:grid;flex:1 1;gap:12px;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));overflow-y:auto;padding:16px}.pos-product-card{background:#f7fafc;border:2px solid #e2e8f0;border-radius:10px;cursor:pointer;padding:16px;text-align:center;transition:all .2s}.pos-product-card:hover{border-color:#4299e1;box-shadow:0 4px 12px #4299e133;transform:translateY(-2px)}.pos-product-card.out-of-stock{cursor:not-allowed;opacity:.5}.pos-product-card.out-of-stock:hover{border-color:#e2e8f0;box-shadow:none;transform:none}.pos-product-name{color:#2d3748;font-size:14px;font-weight:600;line-height:1.3;margin-bottom:8px}.pos-product-price{color:#38a169;font-size:18px;font-weight:700;margin-bottom:4px}.pos-product-stock{color:#718096;font-size:12px}.pos-product-brand{color:#805ad5;font-size:11px;margin-top:4px;text-transform:uppercase}.pos-no-products{color:#718096;grid-column:1/-1;padding:48px;text-align:center}.pos-cart{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;display:flex;flex-direction:column;overflow:hidden}.pos-cart-header{align-items:center;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:16px}.pos-cart-header h2{font-size:18px;margin:0}.pos-cart-items{flex:1 1;min-height:200px;overflow-y:auto;padding:12px}.pos-cart-empty{color:#a0aec0;padding:48px 16px;text-align:center}.pos-cart-empty p{margin:8px 0}.text-muted{font-size:14px}.pos-cart-item{align-items:center;background:#f7fafc;border-radius:8px;display:flex;justify-content:space-between;margin-bottom:8px;padding:12px}.pos-cart-item-name{color:#2d3748;font-size:14px;font-weight:600;margin-bottom:4px}.pos-cart-item-price{align-items:center;color:#718096;display:flex;font-size:13px;gap:4px}.pos-price-input{border:1px solid #e2e8f0;border-radius:4px;font-size:13px;padding:4px 6px;width:70px}.pos-cart-item-actions{align-items:center;display:flex;gap:8px}.pos-qty-btn{background:#4299e1;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;height:28px;width:28px}.pos-qty-btn:hover{background:#3182ce}.pos-qty-value{font-weight:600;min-width:24px;text-align:center}.pos-remove-btn{background:#e53e3e;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:600;height:28px;margin-left:8px;width:28px}.pos-remove-btn:hover{background:#c53030}.pos-customer-info{border-top:1px solid #e2e8f0;display:flex;flex-direction:column;gap:8px;padding:12px 16px}.pos-customer-header{align-items:center;color:#4a5568;display:flex;font-size:13px;font-weight:600;justify-content:space-between}.pos-customer-header .btn-sm{font-size:11px;padding:4px 10px}.pos-customer-info .form-input,.pos-customer-info .form-select{font-size:14px;padding:10px 12px}.pos-payment-method{border-top:1px solid #e2e8f0;padding:12px 16px}.pos-payment-method .form-label{font-size:13px;margin-bottom:8px}.pos-payment-options{grid-gap:8px;display:grid;gap:8px;grid-template-columns:repeat(4,1fr)}.pos-payment-btn{background:#fff;border:2px solid #e2e8f0;border-radius:8px;cursor:pointer;font-size:12px;font-weight:600;padding:10px;transition:all .2s}.pos-payment-btn:hover{border-color:#4299e1}.pos-payment-btn.active{background:#ebf8ff;border-color:#4299e1;color:#2b6cb0}.pos-cart-summary{background:#f7fafc;border-top:1px solid #e2e8f0;padding:16px}.pos-summary-row{color:#4a5568;display:flex;justify-content:space-between;margin-bottom:8px}.pos-summary-row.pos-total{border-top:1px dashed #cbd5e0;color:#2d3748;font-size:20px;font-weight:700;margin-bottom:0;margin-top:8px;padding-top:8px}.pos-checkout-btn{font-size:18px;font-weight:700;margin:16px;padding:16px}.pos-checkout-btn:disabled{background:#a0aec0;cursor:not-allowed}.receipt-modal{max-width:400px}.receipt{padding:24px}.receipt-header{margin-bottom:24px;text-align:center}.receipt-header h2{color:#38a169;margin:0 0 8px}.receipt-header p{color:#718096;font-size:14px;margin:0}.receipt-items{margin-bottom:16px}.receipt-item{border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:8px 0}.receipt-item-name{color:#2d3748}.receipt-item-price{font-weight:600}.receipt-divider{border-top:2px dashed #cbd5e0;margin:16px 0}.receipt-total{color:#2d3748;font-size:20px;font-weight:700;margin-bottom:12px}.receipt-payment,.receipt-total{display:flex;justify-content:space-between}.receipt-payment{color:#718096;margin-bottom:16px}.receipt-customer{background:#f7fafc;border-radius:8px;margin-bottom:16px;padding:12px}.receipt-customer p{color:#4a5568;font-size:14px;margin:4px 0}.receipt-footer{color:#718096;font-style:italic;margin-bottom:24px;text-align:center}.receipt-actions{display:flex;gap:12px}.receipt-actions .btn{flex:1 1}@media print{.pos-container,.receipt-actions,.sidebar{display:none!important}.modal-overlay{background:none;position:static}.receipt-modal{box-shadow:none;max-width:100%}}@media (max-width:900px){.pos-container{grid-template-columns:1fr;height:auto}.pos-cart{order:-1}.pos-product-grid{max-height:400px}}.pending-badge{background:#f59e0b;border-radius:12px;color:#fff;font-size:14px;font-weight:500;margin-left:12px;padding:4px 10px}.filter-tabs{display:flex;flex-wrap:wrap;gap:8px}.filter-tab{background:#fff;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;font-size:14px;padding:8px 16px;transition:all .2s}.filter-tab:hover{background:#f3f4f6}.filter-tab.active{background:#4f46e5;border-color:#4f46e5;color:#fff}.reason-cell{max-width:250px;white-space:pre-wrap;word-break:break-word}.action-buttons{display:flex;gap:8px}.reviewed-info{color:#6b7280;font-size:12px;font-style:italic}.badge-purple{background:#7c3aed;color:#fff}.badge-teal{background:#14b8a6;color:#fff}.badge-primary{background:#3b82f6;color:#fff}
/*# sourceMappingURL=main.940ebf0f.css.map*/