*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f8fafc;color:#1e293b;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.warehouse-selection{margin-top:.5rem}.warehouse-checkboxes{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;max-height:200px;overflow-y:auto;padding:.5rem}.warehouse-checkbox{align-items:center;border-radius:4px;cursor:pointer;display:flex;gap:.5rem;margin-bottom:.25rem;padding:.5rem;transition:background-color .2s ease}.warehouse-checkbox:hover{background:#e2e8f0}.warehouse-checkbox input[type=checkbox]{cursor:pointer;height:16px;width:16px}.warehouse-checkbox span{color:#4a5568;flex:1 1;font-size:.9rem}.warehouse-checkbox:last-child{margin-bottom:0}.selected-product-card{align-items:center;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:16px;box-shadow:0 4px 20px #00000014;display:flex;gap:1.5rem;margin-bottom:1.5rem;overflow:hidden;padding:1.5rem;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1)}.selected-product-card:before{background:linear-gradient(90deg,var(--accent-color),var(--accent-hover));content:"";height:3px;left:0;position:absolute;right:0;top:0}.selected-product-card:hover{border-color:var(--accent-color);box-shadow:0 8px 32px #0000001f;transform:translateY(-2px)}.product-image{align-items:center;background:var(--bg-tertiary);border:2px solid var(--border-color);border-radius:12px;box-shadow:0 4px 12px #0000001a;display:flex;flex-shrink:0;height:100px;justify-content:center;overflow:hidden;width:100px}.product-image img{height:100%;object-fit:cover;transition:transform .3s ease;width:100%}.selected-product-card:hover .product-image img{transform:scale(1.05)}.product-details{flex:1 1;min-width:0}.product-details h4{color:var(--text-primary);font-size:1.25rem;font-weight:700;line-height:1.3;margin:0 0 .75rem}.product-sku{background:var(--bg-tertiary);border-radius:20px;color:var(--text-muted);display:inline-block;font-size:.9rem;font-weight:500;margin:0 0 .5rem;padding:.25rem .75rem}.product-price{color:var(--text-secondary);font-size:1rem;font-weight:600;margin:0}.product-quantity{align-items:center;display:flex;flex-direction:column;gap:.75rem;min-width:140px}.product-quantity label{color:var(--text-secondary);font-size:.9rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.quantity-controls{align-items:center;background:var(--bg-secondary);border:2px solid var(--border-color);border-radius:12px;box-shadow:inset 0 2px 4px #0000000d;display:flex;gap:.5rem;padding:.5rem}.quantity-btn{align-items:center;background:var(--accent-color);border:none;border-radius:8px;box-shadow:0 2px 8px #00000026;color:#fff;cursor:pointer;display:flex;font-size:1.1rem;font-weight:700;height:36px;justify-content:center;transition:all .2s cubic-bezier(.4,0,.2,1);width:36px}.quantity-btn:hover{background:var(--accent-hover);box-shadow:0 4px 12px #0003;transform:translateY(-1px)}.quantity-btn:active{transform:translateY(0)}.quantity-input{background:#0000;border:none;border-radius:6px;color:var(--text-primary);font-size:1.1rem;font-weight:700;height:36px;text-align:center;width:60px}.quantity-input:focus{background:var(--bg-primary);box-shadow:0 0 0 2px var(--accent-color);outline:none}.total-price{color:var(--accent-color);font-size:1.2rem;font-weight:700;margin:0;text-shadow:0 1px 2px #0000001a}.remove-product-btn{align-items:center;background:linear-gradient(135deg,#ef4444,#dc2626);border:none;border-radius:12px;box-shadow:0 4px 12px #ef44444d;color:#fff;cursor:pointer;display:flex;flex-shrink:0;font-size:1.3rem;height:44px;justify-content:center;transition:all .2s cubic-bezier(.4,0,.2,1);width:44px}.remove-product-btn:hover{background:linear-gradient(135deg,#dc2626,#b91c1c);box-shadow:0 6px 16px #ef444466;transform:translateY(-2px)}.remove-product-btn:active{transform:translateY(0)}.product-selection{border-top:2px solid var(--border-color);margin-top:2.5rem;padding-top:2rem}.product-selection h4{color:var(--text-primary);font-size:1.4rem;font-weight:700;margin:0 0 1.5rem;position:relative;text-align:center}.product-selection h4:after{background:linear-gradient(90deg,var(--accent-color),var(--accent-hover));border-radius:2px;bottom:-.5rem;content:"";height:3px;left:50%;position:absolute;transform:translateX(-50%);width:60px}.product-grid{grid-gap:1.5rem;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:16px;box-shadow:inset 0 2px 8px #0000000d;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));max-height:450px;overflow-y:auto;padding:1rem}.product-grid::-webkit-scrollbar{width:8px}.product-grid::-webkit-scrollbar-track{background:var(--bg-tertiary);border-radius:4px}.product-grid::-webkit-scrollbar-thumb{background:var(--accent-color);border-radius:4px}.product-grid::-webkit-scrollbar-thumb:hover{background:var(--accent-hover)}.product-card{background:var(--bg-primary);border:2px solid var(--border-color);border-radius:16px;box-shadow:0 4px 16px #00000014;cursor:pointer;overflow:hidden;padding:1.25rem;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1)}.product-card:before{background:linear-gradient(90deg,var(--accent-color),var(--accent-hover));content:"";height:3px;left:0;position:absolute;right:0;top:0;transform:scaleX(0);transition:transform .3s ease}.product-card:hover{border-color:var(--accent-color);box-shadow:0 12px 32px #00000026;transform:translateY(-6px)}.product-card:hover:before{transform:scaleX(1)}.product-card.selected{background:linear-gradient(135deg,var(--success-color) 0,#059669 100%);border-color:var(--success-color);box-shadow:0 8px 24px #10b9814d;color:#fff;transform:translateY(-4px)}.product-card.selected:before{background:linear-gradient(90deg,#fff,#f0fdf4);transform:scaleX(1)}.product-card.selected .product-card-info h5,.product-card.selected .product-card-info p{color:#fff}.product-card-image{background:var(--bg-tertiary);border:1px solid var(--border-color);border-radius:12px;box-shadow:0 4px 12px #0000001a;height:140px;margin-bottom:1rem;overflow:hidden;position:relative;width:100%}.product-card-image img{height:100%;object-fit:cover;transition:transform .3s ease;width:100%}.product-card:hover .product-card-image img{transform:scale(1.08)}.selected-badge{align-items:center;animation:pulse 2s infinite;background:var(--success-color);border-radius:50%;box-shadow:0 4px 12px #10b98166;color:#fff;display:flex;font-size:.9rem;font-weight:700;height:28px;justify-content:center;position:absolute;right:.75rem;top:.75rem;width:28px}.product-card-info h5{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:var(--text-primary);display:-webkit-box;font-size:1.1rem;font-weight:700;line-height:1.4;margin:0 0 .75rem;min-height:2.8rem;overflow:hidden}.product-card-info .product-sku{background:var(--bg-tertiary);border-radius:20px;color:var(--text-muted);display:inline-block;font-size:.85rem;font-weight:500;margin:0 0 .75rem;padding:.25rem .75rem}.product-card-info .product-price{color:var(--accent-color);font-size:1.3rem;font-weight:800;margin:0;text-shadow:0 1px 2px #0000001a}.loading-products,.no-products{color:var(--text-muted);font-size:1.1rem;font-style:italic;grid-column:1/-1;padding:3rem 2rem;text-align:center}@media (max-width:768px){.selected-product-card{align-items:flex-start;flex-direction:column;gap:1rem;padding:1.25rem}.product-image{height:80px;width:80px}.product-quantity{align-items:center;align-self:stretch;flex-direction:row;justify-content:space-between;min-width:auto}.quantity-controls{flex-direction:row;gap:.5rem}.product-grid{gap:1rem;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));padding:.75rem}.product-card{padding:1rem}.product-card-image{height:120px}.product-card-info h5{font-size:1rem;min-height:2.4rem}.product-card-info .product-price{font-size:1.2rem}}@media (max-width:480px){.selected-product-card{gap:.75rem;padding:1rem}.product-image{height:70px;width:70px}.product-details h4{font-size:1.1rem}.product-quantity{align-items:flex-start;flex-direction:column;gap:.5rem}.quantity-controls{flex-direction:row;gap:.25rem}.quantity-btn{font-size:1rem;height:32px;width:32px}.quantity-input{font-size:1rem;height:32px;width:50px}.remove-product-btn{font-size:1.1rem;height:36px;width:36px}.product-grid{gap:.75rem;grid-template-columns:1fr;padding:.5rem}.product-card{padding:.75rem}.product-card-image{height:100px}.product-card-info h5{font-size:.95rem;min-height:2.2rem}.product-card-info .product-price{font-size:1.1rem}.product-selection h4{font-size:1.2rem}}.theme-toggle-btn{align-items:center;background:none;border:none;border-radius:8px;cursor:pointer;display:flex;font-size:1.5rem;height:40px;justify-content:center;margin-right:1rem;padding:.5rem;transition:all .3s ease;width:40px}.theme-toggle-btn:hover{background:#0000001a;transform:scale(1.1)}[data-theme=dark]{--bg-primary:#1a1a1a;--bg-secondary:#2d2d2d;--bg-tertiary:#3a3a3a;--text-primary:#fff;--text-secondary:#b0b0b0;--text-muted:#888;--border-color:#404040;--shadow-color:#0000004d;--accent-color:#667eea;--accent-hover:#5a6fd8;--success-color:#10b981;--warning-color:#f59e0b;--error-color:#ef4444}[data-theme=light]{--bg-primary:#fff;--bg-secondary:#f8fafc;--bg-tertiary:#f1f5f9;--text-primary:#1e293b;--text-secondary:#64748b;--text-muted:#94a3b8;--border-color:#e2e8f0;--shadow-color:#0000001a;--accent-color:#667eea;--accent-hover:#5a6fd8;--success-color:#10b981;--warning-color:#f59e0b;--error-color:#ef4444}.App{display:flex;flex-direction:column;min-height:100vh;transition:all .3s ease}.App,.header{background:var(--bg-primary);color:var(--text-primary)}.header{border-bottom:1px solid var(--border-color);box-shadow:0 2px 10px var(--shadow-color);padding:1rem 0;position:relative;z-index:100}.header-content{flex-wrap:wrap;justify-content:space-around;margin:0 auto 0 280px;max-width:1400px;padding:0 2rem;position:relative;z-index:1}.header-content,.header-left{align-items:center;display:flex;gap:1rem}.sidebar-toggle{background:none;border:none;border-radius:8px;color:#64748b;cursor:pointer;display:none;font-size:1.5rem;padding:.5rem;transition:all .2s ease}.sidebar-toggle:hover{background:#f1f5f9;color:#1e293b}.header-center{display:flex;flex:1 1;justify-content:flex-start}.welcome-message{text-align:left}.welcome-message h2{color:#1e293b;font-size:1.5rem;font-weight:600;margin:0 0 .25rem}.welcome-message p{color:#64748b;font-size:.9rem;margin:0}.header-right{gap:1rem;margin-right:1rem}.header-controls,.header-right{align-items:center;display:flex}.header-controls{gap:.75rem}.date-range{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:flex;gap:.5rem;padding:.5rem .75rem}.date-range span{color:#64748b;font-size:.9rem}.calendar-btn{background:none;border:none;border-radius:4px;cursor:pointer;font-size:1rem;padding:.25rem;transition:background-color .2s ease}.calendar-btn:hover{background:#e2e8f0}.export-btn,.filter-btn,.period-select{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;color:#64748b;cursor:pointer;font-size:.9rem;padding:.5rem .75rem}.export-btn,.filter-btn{transition:all .2s ease}.export-btn:hover,.filter-btn:hover{background:#e2e8f0;color:#1e293b}.user-profile{border-radius:8px;gap:.75rem;padding:.5rem;transition:all .2s ease}.user-avatar,.user-profile{align-items:center;display:flex}.user-avatar{background:linear-gradient(135deg,var(--accent-color) 0,#764ba2 100%);border-radius:50%;color:#fff;font-size:1.1rem;font-weight:600;height:40px;justify-content:center;width:40px}.user-details{display:flex;flex-direction:column}.user-name{color:var(--text-primary);font-size:.9rem;font-weight:600}.user-role{color:var(--text-secondary);font-size:.8rem}.sidebar{background:var(--bg-primary);border-right:1px solid var(--border-color);box-shadow:2px 0 10px #0000001a;display:flex;flex-direction:column;height:100vh;opacity:1;transition:transform .3s ease;visibility:visible;width:280px;z-index:1000}.sidebar,.sidebar-overlay{left:0;position:fixed;top:0}.sidebar-overlay{background:#00000080;cursor:pointer;height:100%;opacity:0;transition:all .3s ease;visibility:hidden;width:100%;z-index:9998}.sidebar-overlay.active{opacity:1;visibility:visible}@media (max-width:1024px){body.sidebar-open{overflow:hidden}}.sidebar.closed,.sidebar.open{transform:translateX(0)}.sidebar-header{align-items:center;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;padding:1.5rem}.sidebar-header h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;color:#1e293b;font-size:1.5rem;font-weight:700;margin:0}.sidebar-close{background:none;border:none;border-radius:8px;color:#64748b;cursor:pointer;font-size:1.5rem;padding:.5rem;transition:all .2s ease}.sidebar-close:hover{background:#f1f5f9;color:#1e293b}.sidebar-nav{flex:1 1;overflow-y:auto;padding:1rem 0}.sidebar-nav-item{align-items:center;background:none;border:none;color:var(--text-primary);cursor:pointer;display:flex;gap:.75rem;opacity:1;padding:.75rem 1.5rem;position:relative;text-align:left;transition:all .2s ease;width:100%}.sidebar-nav-item:hover{background:var(--bg-secondary);color:var(--text-primary)}.sidebar-nav-item.active{background:linear-gradient(135deg,var(--accent-color) 0,#764ba2 100%);color:#fff}.sidebar-nav-item.active:before{background:#1e293b;bottom:0;content:"";left:0;position:absolute;top:0;width:4px}.nav-icon{font-size:1.2rem;text-align:center;width:24px}.nav-text{color:inherit;flex:1 1;font-size:.9rem;font-weight:500;opacity:1}.nav-badge{background:#ef4444;border-radius:12px;color:#fff;font-size:.75rem;font-weight:600;min-width:20px;padding:.25rem .5rem;text-align:center}.sidebar-footer{border-top:1px solid #e2e8f0;padding:1rem 1.5rem}.sidebar-nav-item.logout-button{color:#ef4444}.sidebar-nav-item.logout-button:hover{background:#fef2f2;color:#dc2626}.main{background:var(--bg-secondary);min-height:calc(100vh - 80px);opacity:1;padding:2rem;position:relative;transition:margin-left .3s ease;transition:all .3s ease;visibility:visible;z-index:1}.main,.main.sidebar-closed,.main.sidebar-open{margin-left:280px}.user-info{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border-radius:20px;font-size:.9rem;opacity:.95;padding:.5rem 1rem}.nav{display:flex;flex-wrap:wrap;gap:.75rem}.nav-button{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff26;border:1px solid #ffffff40;border-radius:12px;color:#fff;cursor:pointer;display:flex;font-size:.9rem;font-weight:600;gap:.5rem;padding:.875rem 1.75rem;position:relative;transition:all .4s cubic-bezier(.4,0,.2,1)}.nav-button:hover{background:#ffffff40;box-shadow:0 8px 25px #0003;transform:translateY(-3px)}.nav-button.active{background:#ffffff59;border-color:#ffffff80;box-shadow:0 4px 15px #00000026}.nav-button.logout-button{background:#ef444433;border-color:#ef44444d}.nav-button.logout-button:hover{background:#ef44444d}.badge{align-items:center;background:linear-gradient(135deg,#ef4444,#dc2626);border-radius:50%;box-shadow:0 2px 8px #ef444466;color:#fff;display:flex;font-size:.75rem;font-weight:700;height:22px;justify-content:center;width:22px}.main{flex:1 1;margin:0 auto;max-width:1400px;padding:2.5rem;width:100%}.login-section{align-items:center;display:flex;justify-content:center;min-height:60vh}.login-card{background:#fff;border:1px solid #e2e8f0cc;border-radius:20px;box-shadow:0 20px 40px #0000001a;max-width:500px;overflow:hidden;padding:3rem;position:relative;text-align:center;width:100%}.login-card:before{content:"";height:4px;left:0;position:absolute;right:0;top:0}.login-card h2,.login-card:before{background:linear-gradient(135deg,#667eea,#764ba2)}.login-card h2{-webkit-text-fill-color:#0000;-webkit-background-clip:text;background-clip:text;color:#1e293b;font-size:2rem;font-weight:800;margin-bottom:1rem}.login-card p{color:#64748b;font-size:1.1rem;line-height:1.6;margin-bottom:2rem}.demo-credentials{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0cc;border-radius:12px;margin-bottom:2rem;padding:1.5rem}.demo-credentials h3{color:#1e293b;font-size:1.125rem;font-weight:700;margin-bottom:1rem}.demo-credentials p{color:#64748b;font-size:1rem;margin-bottom:.5rem}.demo-credentials strong{color:#1e293b;font-weight:600}.login-form{margin-bottom:2rem}.form-group{margin-bottom:1.5rem}.form-group label{color:#374151;font-size:.9rem;font-weight:600;margin-bottom:.5rem}.form-group input{background:#fff;border:2px solid #e5e7eb;border-radius:8px;box-sizing:border-box;padding:.875rem 1rem}.form-group input:focus{box-shadow:0 0 0 3px #667eea1a}.login-button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:12px;box-shadow:0 4px 15px #667eea4d;color:#fff;cursor:pointer;font-size:1.125rem;font-weight:700;padding:1rem 2.5rem;transition:all .4s cubic-bezier(.4,0,.2,1);width:100%}.login-button:hover:not(:disabled){box-shadow:0 8px 25px #667eea80;transform:translateY(-3px)}.login-button:disabled{cursor:not-allowed;opacity:.6;transform:none}.modal-overlay{align-items:center;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:10000}.modal-content{animation:modalSlideIn .3s ease-out;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-height:80vh;max-width:500px;overflow-y:auto;padding:0;position:relative;width:90%;z-index:10001}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-bottom:1px solid #e5e7eb;border-radius:16px 16px 0 0;color:#fff;display:flex;justify-content:space-between;padding:1.5rem 2rem;position:relative}.modal-header h3{flex:1 1;font-size:1.25rem;font-weight:600;margin:0 2rem 0 0;text-align:center}.modal-close{align-items:center;background:none;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:1.5rem;height:2rem;justify-content:center;padding:.5rem;position:absolute;right:1rem;top:50%;transform:translateY(-50%);transition:background-color .2s;width:2rem}.modal-close:hover{background:#fff3}.modal-body{padding:2rem}.modal-actions{border-top:1px solid #e5e7eb;display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem;padding-top:1rem}.modal-body textarea{background:#fff;border:2px solid #e5e7eb;border-radius:8px;box-sizing:border-box;font-family:inherit;font-size:1rem;min-height:80px;padding:.875rem 1rem;resize:vertical;transition:all .3s ease;width:100%}.modal-body textarea:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.order-item-row{background:#f7fafc;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:1rem;padding:1rem}.item-row{align-items:center;display:flex;flex-wrap:wrap;gap:1rem}.item-row select{flex:1 1;min-width:200px}.item-row input[type=number]{text-align:center;width:80px}.unit-price{color:#4a5568;font-size:.9rem;font-weight:600;min-width:100px}.remove-item-btn{align-items:center;background:#fed7d7;border:none;border-radius:50%;color:#c53030;cursor:pointer;display:flex;font-size:1.2rem;font-weight:700;height:30px;justify-content:center;transition:all .3s ease;width:30px}.remove-item-btn:hover{background:#feb2b2;transform:scale(1.1)}.add-item-btn{align-items:center;background:#c6f6d5;border:none;border-radius:8px;color:#2f855a;cursor:pointer;display:flex;font-weight:600;gap:.5rem;margin-top:1rem;padding:.75rem 1.5rem;transition:all .3s ease}.add-item-btn:hover{background:#9ae6b4;transform:translateY(-1px)}.dashboard-section{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;box-shadow:0 2px 8px var(--shadow-color);margin-bottom:2rem;min-height:100vh;padding:2rem;width:100%}.dashboard-section h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;color:#1e293b;font-size:2.25rem;font-weight:800;margin-bottom:2.5rem;text-align:center}.recent-orders{margin-top:3rem}.recent-orders h3{color:#1e293b;font-size:1.5rem;font-weight:700;margin-bottom:1.5rem;text-align:center}.no-orders{background:#fff;border:1px solid #e2e8f0cc;border-radius:16px;box-shadow:0 4px 20px #00000014;padding:3rem;text-align:center}.no-orders p{color:#64748b;font-size:1.1rem;margin:0}.customers-section{width:100%}.customers-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.customer-card{background:#fff;border:1px solid #e2e8f0cc;border-radius:16px;box-shadow:0 8px 32px #00000014;overflow:hidden;padding:2rem;position:relative;transition:all .4s cubic-bezier(.4,0,.2,1)}.customer-card:before{background:linear-gradient(90deg,var(--accent-color),var(--accent-hover));content:"";height:4px;left:0;position:absolute;right:0;top:0}.customer-card:hover{border-color:var(--accent-color);box-shadow:0 12px 40px #0000001f;transform:translateY(-4px)}.customer-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:1.5rem}.customer-header h3{color:var(--text-primary);font-size:1.4rem;font-weight:700;line-height:1.3;margin:0}.customer-status{border-radius:20px;font-size:.8rem;font-weight:600;letter-spacing:.5px;padding:.4rem 1rem;text-transform:uppercase}.customer-status.active{background:var(--success-color);color:#fff}.customer-details{margin-bottom:2rem}.customer-details p{color:var(--text-secondary);font-size:.95rem;line-height:1.5;margin:0 0 .75rem}.customer-details strong{color:var(--text-primary);font-weight:600}.customer-actions{display:flex;gap:1rem}.customer-actions .action-button{border:none;border-radius:10px;cursor:pointer;flex:1 1;font-size:.9rem;font-weight:600;padding:.75rem 1.5rem;transition:all .2s ease}.customer-actions .action-button.edit{background:var(--accent-color);color:#fff}.customer-actions .action-button.edit:hover{background:var(--accent-hover);box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.customer-actions .action-button.delete{background:var(--error-color);color:#fff}.customer-actions .action-button.delete:hover{background:#dc2626;box-shadow:0 4px 12px #ef44444d;transform:translateY(-2px)}.loading-customers{color:var(--text-muted);font-size:1.1rem;font-style:italic}.loading-customers,.no-customers{grid-column:1/-1;padding:3rem;text-align:center}.no-customers{background:#fff;border:1px solid #e2e8f0cc;border-radius:16px;box-shadow:0 4px 20px #00000014}.no-customers p{color:#64748b;font-size:1.1rem;margin:0}.products-section{width:100%}.products-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.no-products{background:#fff;border:1px solid #e2e8f0cc;border-radius:16px;box-shadow:0 4px 20px #00000014;grid-column:1/-1;padding:3rem;text-align:center}.no-products p{color:#64748b;font-size:1.1rem;margin:0}.warehouses-section{width:100%}.warehouses-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.no-warehouses{background:#fff;border:1px solid #e2e8f0cc;border-radius:16px;box-shadow:0 4px 20px #00000014;grid-column:1/-1;padding:3rem;text-align:center}.no-warehouses p{color:#64748b;font-size:1.1rem;margin:0}.warehouse-card{background:#fff;border:1px solid #e2e8f0cc;border-radius:16px;box-shadow:0 8px 32px #00000014;overflow:hidden;padding:2rem;position:relative;transition:all .4s cubic-bezier(.4,0,.2,1)}.warehouse-card:before{background:linear-gradient(135deg,#667eea,#764ba2);content:"";height:4px;left:0;position:absolute;right:0;top:0}.warehouse-card:hover{box-shadow:0 12px 40px #0000001f;transform:translateY(-4px)}.warehouse-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1.5rem}.warehouse-header h3{color:#1e293b;font-size:1.5rem;font-weight:700;margin:0}.warehouse-details{display:flex;flex-direction:column;gap:.75rem}.warehouse-details p{color:#64748b;font-size:.95rem;line-height:1.5;margin:0}.warehouse-details strong{color:#1e293b;font-weight:600}.orders-section{width:100%}.section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:2.5rem}.section-header h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;color:#1e293b;font-size:2.25rem;font-weight:800}.add-button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:12px;box-shadow:0 4px 15px #667eea4d;color:#fff;cursor:pointer;font-size:1rem;font-weight:700;padding:1rem 2rem;transition:all .4s cubic-bezier(.4,0,.2,1)}.add-button:hover{box-shadow:0 8px 25px #667eea80;transform:translateY(-3px)}.orders-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fill,minmax(380px,1fr))}.order-card{border:1px solid #e2e8f0cc;border-radius:16px;box-shadow:0 8px 32px #00000014;overflow:hidden;padding:2rem;position:relative;transition:all .4s cubic-bezier(.4,0,.2,1)}.order-card:before{background:linear-gradient(135deg,#667eea,#764ba2);content:"";height:4px;left:0;position:absolute;right:0;top:0}.order-card:hover{box-shadow:0 20px 40px #00000026;transform:translateY(-8px)}.order-header{margin-bottom:1.5rem}.order-header h3{color:#1e293b;font-size:1.25rem;font-weight:700}.status-badge{border-radius:25px;box-shadow:0 2px 8px #0000001a;font-size:.875rem;font-weight:700;padding:.5rem 1rem}.order-details p{color:#64748b;font-size:.9rem;line-height:1.6;margin-bottom:.75rem}.order-details strong{color:#1e293b}.order-actions{gap:.75rem}.action-button{border-radius:8px;box-shadow:0 2px 8px #0000001a;flex:1 1;font-size:.9rem;font-weight:600;padding:.75rem 1.25rem;transition:all .3s ease}.action-button.edit{background:linear-gradient(135deg,#3b82f6,#2563eb)}.action-button.edit:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-2px)}.action-button.delete{background:linear-gradient(135deg,#ef4444,#dc2626)}.action-button.delete:hover{background:linear-gradient(135deg,#dc2626,#b91c1c);transform:translateY(-2px)}.analytics-section h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;color:#1e293b;font-size:2.25rem;font-weight:800;margin-bottom:2.5rem;text-align:center}.stats-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-bottom:2rem}.stat-card{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;box-shadow:0 2px 8px var(--shadow-color);overflow:hidden;padding:1.5rem;position:relative;transition:all .3s ease}.stat-card:hover{box-shadow:0 4px 16px var(--shadow-color);transform:translateY(-2px)}.stat-card h3{color:var(--text-secondary);font-size:.9rem;font-weight:500;letter-spacing:.5px;margin:0 0 .5rem;text-transform:uppercase}.stat-value{color:var(--text-primary);font-size:2rem;font-weight:700;margin:.5rem 0}.stat-icon{align-items:center;border-radius:12px;color:#fff;display:flex;font-size:1.5rem;height:48px;justify-content:center;width:48px}.stat-icon.orange{background:linear-gradient(135deg,#f97316,#ea580c)}.stat-icon.purple{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.stat-icon.blue{background:linear-gradient(135deg,#3b82f6,#2563eb)}.stat-icon.green{background:linear-gradient(135deg,#10b981,#059669)}.stat-trend{align-items:center;display:flex;font-size:.8rem;font-weight:500;gap:.25rem;margin-top:.5rem}.stat-trend.up{color:#10b981}.stat-trend.down{color:#ef4444}.stat-trend.neutral{color:#6b7280}.charts-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));margin-bottom:2rem}.chart-container{background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 4px 20px #00000014;padding:1.5rem}.chart-container.full-width{grid-column:1/-1}.chart-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1.5rem}.chart-header h3{color:#1e293b;font-size:1.1rem;font-weight:600;margin:0}.chart-menu{background:none;border:none;border-radius:4px;color:#64748b;cursor:pointer;font-size:1.2rem;padding:.25rem;transition:color .2s ease}.chart-menu:hover{color:#1e293b}.tables-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(500px,1fr))}.table-container{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;box-shadow:0 2px 8px var(--shadow-color);padding:1.5rem}.table-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1.5rem}.table-header h3{color:#1e293b;font-size:1.1rem;font-weight:600;margin:0}.modern-table{border-collapse:collapse;color:var(--text-primary);width:100%}.modern-table th{background:var(--bg-secondary);color:var(--text-secondary);font-size:.9rem;font-weight:600;letter-spacing:.5px;text-align:left;text-transform:uppercase}.modern-table td,.modern-table th{border-bottom:1px solid var(--border-color);padding:1rem}.modern-table td{color:var(--text-primary)}.modern-table tr:hover{background:var(--bg-secondary)}.status-badge{border-radius:20px;font-size:.8rem;letter-spacing:.5px}.status-badge.pending{background:#fef3c7;color:#d97706}.status-badge.approved{background:#d1fae5;color:#059669}.status-badge.rejected{background:#fee2e2;color:#dc2626}.notifications-section h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;color:#1e293b;font-size:2.25rem;font-weight:800;margin-bottom:2.5rem;text-align:center}.notifications-list{display:flex;flex-direction:column;gap:1.5rem}.notification-item{background:#fff;border:1px solid #e2e8f0cc;border-radius:16px;box-shadow:0 8px 32px #00000014;overflow:hidden;padding:2rem;position:relative;transition:all .4s cubic-bezier(.4,0,.2,1)}.notification-item:before{background:linear-gradient(135deg,#3b82f6,#2563eb);content:"";height:100%;left:0;position:absolute;top:0;width:4px}.notification-item.unread{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-left:4px solid #3b82f6}.notification-item.read{opacity:.8}.notification-item:hover{box-shadow:0 12px 32px #0000001f;transform:translateY(-4px)}.notification-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.notification-header h4{color:#1e293b;font-size:1.125rem;font-weight:700;margin:0}.notification-time{background:#64748b1a;border-radius:12px;color:#64748b;font-size:.875rem;padding:.25rem .75rem}.notification-item p{color:#64748b;line-height:1.6;margin:0}.notification-badge{animation:pulse 2s infinite;background:linear-gradient(135deg,#ef4444,#dc2626);border-radius:12px;color:#fff;font-size:.75rem;font-weight:700;padding:.25rem .75rem;position:absolute;right:1rem;top:1rem}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.settings-section h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;color:#1e293b;font-size:2.25rem;font-weight:800;margin-bottom:2.5rem;text-align:center}.settings-form{background:#fff;border:1px solid #e2e8f0cc;border-radius:16px;box-shadow:0 8px 32px #00000014;margin:0 auto;max-width:600px;padding:2.5rem}.form-group{margin-bottom:2rem}.form-group label{color:#1e293b;display:block;font-size:1rem;font-weight:700;margin-bottom:.75rem}.form-group input{background:#f8fafc;border:2px solid #e2e8f0;border-radius:12px;font-size:1rem;padding:1rem;transition:all .3s ease;width:100%}.form-group input:focus{background:#fff;border-color:#667eea;box-shadow:0 0 0 4px #667eea1a;outline:none}.save-button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:12px;box-shadow:0 4px 15px #667eea4d;color:#fff;cursor:pointer;font-size:1.125rem;font-weight:700;padding:1rem 2.5rem;transition:all .4s cubic-bezier(.4,0,.2,1);width:100%}.save-button:hover{box-shadow:0 8px 25px #667eea80;transform:translateY(-3px)}@media (max-width:1024px){.sidebar{max-width:320px;transform:translateX(-100%);width:100%}.sidebar.open{transform:translateX(0)}.sidebar.closed{transform:translateX(-100%)}.header-content,.main,.main.sidebar-closed,.main.sidebar-open{margin-left:0}.sidebar-toggle{display:block}.charts-grid{grid-template-columns:repeat(auto-fit,minmax(400px,1fr))}.sidebar-nav-item{padding:1rem 1.5rem}.nav-icon{font-size:1.3rem}.nav-text{font-size:.95rem}}@media (max-width:768px){.sidebar{transform:translateX(-100%);width:100%}.sidebar.open{transform:translateX(0)}.sidebar.closed{transform:translateX(-100%)}.main{padding:1rem}.main,.main.sidebar-closed,.main.sidebar-open{margin-left:0}.header-content{flex-direction:column;gap:1.5rem;margin-left:0;padding:0 1rem;text-align:center}.header h1{font-size:2rem}.nav{flex-wrap:wrap;justify-content:center}.section-header{align-items:stretch;flex-direction:column;gap:1.5rem}.orders-grid{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.settings-form{max-width:100%;padding:2rem}.order-actions{flex-direction:column}.action-button{width:100%}.analytics-section h2,.dashboard-section h2,.notifications-section h2,.section-header h2,.settings-section h2{font-size:1.875rem}.login-card{margin:1rem;padding:2rem}.sidebar-toggle{display:block}.user-profile{align-items:center;flex-direction:column;gap:.5rem}.user-details{text-align:center}.header-controls{flex-direction:column;gap:1rem;width:100%}.date-range{justify-content:center;width:100%}.period-select{width:100%}.sidebar{max-width:280px}.sidebar-nav-item{border-radius:8px;margin:.25rem .5rem}.sidebar-nav-item:hover{background:var(--bg-secondary)}.sidebar-nav-item.active{margin:.25rem .5rem}}@media (max-width:480px){.header{padding:1rem 0}.header h1{font-size:1.75rem}.nav-button{font-size:.875rem;padding:.75rem 1.25rem}.main{padding:1rem}.orders-grid{gap:1rem}.order-card{padding:1.5rem}.stat-card{padding:2rem}.login-card,.notification-item{padding:1.5rem}.sidebar{max-width:100%;width:100%}.sidebar-header{padding:1rem}.sidebar-nav-item{font-size:1rem;padding:1rem 1.5rem}.nav-icon{font-size:1.4rem}.nav-text{font-size:1rem}.charts-grid{gap:1rem;grid-template-columns:1fr}.chart-container{padding:1rem}.modern-table{font-size:.875rem}.modern-table td,.modern-table th{padding:.5rem}}.orders-tabs{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;box-shadow:0 2px 8px var(--shadow-color);display:flex;gap:.5rem;margin-bottom:2rem;padding:.5rem}.tab-button{align-items:center;background:#0000;border:none;border-radius:8px;color:var(--text-secondary);cursor:pointer;display:flex;flex:1 1;font-size:.95rem;font-weight:500;gap:.5rem;justify-content:center;padding:.75rem 1.5rem;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1)}.tab-button:hover{background:var(--bg-secondary);color:var(--text-primary)}.tab-button.active{background:linear-gradient(135deg,var(--accent-color) 0,#764ba2 100%);box-shadow:0 4px 12px #667eea4d;color:#fff}.tab-button.active:before{border-left:6px solid #0000;border-right:6px solid #0000;border-top:6px solid #667eea;bottom:-.5rem;content:"";height:0;left:50%;position:absolute;transform:translateX(-50%);width:0}.tab-button .tab-count{background:#fff3;border-radius:12px;color:inherit;font-size:.8rem;font-weight:600;min-width:1.5rem;padding:.25rem .5rem;text-align:center}.tab-button:not(.active) .tab-count{background:#e2e8f0;color:#64748b}[data-theme=dark] .theme-toggle-btn:hover{background:#ffffff1a}[data-theme=dark] .modern-table tr:hover,[data-theme=dark] .sidebar-nav-item:hover,[data-theme=dark] .user-profile:hover{background:var(--bg-secondary)}[data-theme=light] .theme-toggle-btn:hover{background:#0000001a}[data-theme=light] .user-profile:hover{background:var(--bg-secondary)}*{transition:background-color .3s ease,color .3s ease,border-color .3s ease,box-shadow .3s ease}[data-theme=dark] .stat-card:before{background:linear-gradient(90deg,var(--accent-color) 0,#764ba2 100%)}[data-theme=dark] .chart-container{background:var(--bg-primary);border:1px solid var(--border-color)}[data-theme=dark] .chart-header{background:var(--bg-secondary);border-bottom:1px solid var(--border-color)}[data-theme=dark] .chart-header h3{color:var(--text-primary)}[data-theme=dark] .chart-menu{color:var(--text-secondary)}[data-theme=dark] .chart-menu:hover{background:var(--bg-tertiary);color:var(--text-primary)}[data-theme=dark] .status-badge.pending{background:var(--warning-color);color:#fff}[data-theme=dark] .status-badge.approved{background:var(--success-color);color:#fff}[data-theme=dark] .status-badge.rejected{background:var(--error-color);color:#fff}[data-theme=dark] .tab-button:not(.active) .tab-count{background:var(--bg-tertiary);color:var(--text-secondary)}[data-theme=dark] .welcome-message h2{color:var(--text-primary)}[data-theme=dark] .welcome-message p{color:var(--text-secondary)}.order-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 4px 6px #0000001a;padding:1.5rem;transition:all .3s ease}.order-card:hover{box-shadow:0 8px 25px #00000026;transform:translateY(-2px)}.order-header{align-items:center;border-bottom:1px solid #f3f4f6;display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:.75rem}.order-header h3{color:#1f2937;font-size:1.125rem;font-weight:600;margin:0}.status-badge{border-radius:9999px;color:#fff;font-size:.75rem;font-weight:500;letter-spacing:.05em;padding:.25rem .75rem;text-transform:uppercase}.order-details{margin-bottom:1.5rem}.order-details p{color:#6b7280;font-size:.875rem;line-height:1.5;margin:.5rem 0}.order-details strong{color:#374151;font-weight:600}.order-actions{display:flex;flex-wrap:wrap;gap:.5rem}.action-button{border:none;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;letter-spacing:.025em;padding:.5rem 1rem;text-transform:uppercase;transition:all .2s ease}.action-button.edit{background-color:#3b82f6;color:#fff}.action-button.edit:hover{background-color:#2563eb;transform:translateY(-1px)}.action-button.delete{background-color:#ef4444;color:#fff}.action-button.delete:hover{background-color:#dc2626;transform:translateY(-1px)}@media (max-width:768px){.order-card{padding:1rem}.order-header{align-items:flex-start;flex-direction:column;gap:.5rem}.order-actions{justify-content:center}.action-button{flex:1 1;min-width:120px}}@media (max-width:480px){.order-card{padding:.75rem}.order-header h3{font-size:1rem}.order-details p{font-size:.8rem}.action-button{font-size:.75rem;padding:.4rem .8rem}}
/*# sourceMappingURL=main.3327cb06.css.map*/