:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.update-quantity-page{max-width:480px;margin:0 auto;background:#fff;border-radius:18px;box-shadow:0 4px 16px #3b82f61a;padding:2.5rem 2rem 2rem;border:1.5px solid #e0e7ef}.update-quantity-header h1{color:#1d4ed8;font-size:1.6rem;font-weight:700;margin-bottom:.5rem;text-align:center}.update-quantity-header h2{color:#222;font-size:1.2rem;font-weight:600;margin-bottom:.2rem;text-align:center}.update-quantity-header p{color:#374151;font-size:1.05rem;text-align:center;margin-bottom:1.2rem}.update-type-section{margin-bottom:1.2rem}.update-type-section h3{font-size:1.08rem;color:#374151;margin-bottom:.5rem;font-weight:600}.update-type-buttons{display:flex;gap:1rem;justify-content:center}.update-type-btn{border:none;border-radius:8px;padding:12px 22px;font-size:1.08rem;font-weight:600;cursor:pointer;background:#f3f4f6;color:#374151;transition:background .2s,color .2s,box-shadow .2s;box-shadow:0 2px 8px #3b82f60f}.update-type-btn.active,.update-type-btn.set-to.active{background:#3b82f6;color:#fff;box-shadow:0 4px 16px #3b82f621}.update-type-btn.add.active{background:#10b981;color:#fff;box-shadow:0 4px 16px #10b98121}.update-type-btn.subtract.active{background:#e53e3e;color:#fff;box-shadow:0 4px 16px #e53e3e21}.update-type-btn:hover:not(.active){background:#e0e7ef;color:#222}.new-quantity-section{margin-bottom:1.2rem;text-align:center}.new-quantity-section h3{font-size:1.08rem;color:#374151;margin-bottom:.5rem;font-weight:600}.quantity-input{width:80%;max-width:220px;padding:12px 16px;border:1.5px solid #d1d5db;border-radius:8px;font-size:1.1rem;margin-top:.2rem;margin-bottom:.5rem;color:#222;background:#f8fafc;transition:border-color .2s,box-shadow .2s}.quantity-input:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 3px #3b82f61a}.form-actions-update{display:flex;gap:1.2rem;justify-content:center;margin-top:1.2rem}.change-item-btn{background:#f3f4f6;color:#374151;border:1px solid #d1d5db;border-radius:8px;padding:12px 24px;font-size:1.08rem;font-weight:600;cursor:pointer;transition:background .2s,color .2s}.change-item-btn:hover{background:#e0e7ef;color:#222}.update-quantity-btn{background:#3b82f6;color:#fff;border:none;border-radius:8px;padding:12px 24px;font-size:1.08rem;font-weight:600;cursor:pointer;transition:background .2s,box-shadow .2s;box-shadow:0 2px 8px #3b82f614}.update-quantity-btn:hover{background:#2563eb;box-shadow:0 6px 18px #3b82f621}.delete-confirm-modal{background:#fff;border-radius:18px;box-shadow:0 8px 32px #e53e3e21,0 2px 8px #3b82f614;padding:2.5rem 2.2rem 2rem;border:1.5px solid #fecaca;max-width:420px;width:100%;text-align:center}.delete-confirm-modal .modal-header h3{color:#c53030;font-size:1.5rem;font-weight:700;margin-bottom:.5rem}.delete-confirm-modal .modal-body p{color:#374151;font-size:1.08rem;margin:.5rem 0 .7rem}.delete-confirm-modal .warning-text{color:#c53030;background:#fee2e2;border-radius:8px;padding:8px 0;font-weight:600;margin-bottom:1rem;font-size:1rem}.delete-confirm-modal .modal-actions{display:flex;gap:1.2rem;justify-content:center;margin-top:1.5rem}.delete-confirm-btn{background:#e53e3e;color:#fff;border:none;border-radius:8px;padding:12px 28px;font-size:1.08rem;font-weight:600;cursor:pointer;transition:background .2s,box-shadow .2s;box-shadow:0 2px 8px #e53e3e1a}.delete-confirm-btn:hover{background:#c53030;box-shadow:0 6px 18px #e53e3e2e}.delete-confirm-modal .cancel-btn{background:#f9fafb;color:#6b7280;border:1px solid #d1d5db;border-radius:8px;padding:12px 28px;font-size:1.08rem;font-weight:600;cursor:pointer;transition:background .2s,color .2s}.delete-confirm-modal .cancel-btn:hover{background:#f3f4f6;color:#374151}*{margin:0;padding:0;box-sizing:border-box}html{width:100%;height:100%}#root{width:100%;min-height:100vh}.auth-header{display:flex;flex-direction:column;align-items:center;justify-content:center;margin-bottom:32px}.auth-header .logo-circle{margin-bottom:16px}.auth-header .app-title{margin-bottom:6px}.auth-header .app-desc{margin-bottom:0}body{width:100%;min-height:100vh;background:#f4f7fe;font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;margin:0;padding:0;color:#222}.auth-outer{width:100vw;height:100vh;min-height:100vh;min-width:100vw;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f4f7fe}.logo-circle{width:70px;height:70px;border-radius:50%;background:#e6edfd;display:flex;align-items:center;justify-content:center;margin-bottom:10px}.app-title{font-size:2.3rem;font-weight:800;color:#222;margin-bottom:4px;letter-spacing:-1px}.app-desc{color:#6b7280;font-size:1.1rem;margin-bottom:32px}.auth-container{display:flex;align-items:center;justify-content:center;background:#f4f7fe;position:relative;overflow:hidden;width:100%}.auth-box{background:#fff;border-radius:16px;box-shadow:0 8px 32px #0000001a;padding:38px 32px 32px;width:100%;max-width:410px;display:flex;flex-direction:column;align-items:center}.auth-title{font-size:1.7rem;font-weight:700;margin-bottom:4px;color:#222;text-align:center}.auth-subtitle{color:#6b7280;font-size:1.08rem;margin-bottom:18px;text-align:center}.auth-box h1{font-size:2rem;font-weight:700;margin-bottom:18px;color:#667eea}.auth-form{width:100%;display:flex;flex-direction:column;gap:12px}.auth-form label{font-size:.98rem;color:#444;margin-bottom:2px}.auth-form input{padding:13px 16px;border:1.5px solid #e1e5e9;border-radius:8px;font-size:1.08rem;background:#f8f9fa;transition:border .2s;color:#222}.auth-form input:focus{border-color:#3b82f6;outline:none}.password-input-wrapper{position:relative;display:flex;align-items:center}.password-input-wrapper input{width:100%;padding-right:38px}.show-hide{position:absolute;right:12px;top:50%;transform:translateY(-50%);cursor:pointer;font-size:1.2rem;color:#888;-webkit-user-select:none;user-select:none}.auth-form button[type=submit]{margin-top:8px;background:#3b82f6;color:#fff;border:none;border-radius:8px;padding:14px 0;font-size:1.13rem;font-weight:600;cursor:pointer;transition:background .2s,box-shadow .2s;box-shadow:0 2px 8px #3b82f614}.auth-form button[type=submit]:hover{background:#2563eb}.message{margin-top:16px;padding:10px 16px;border-radius:7px;background:#f1f5fb;color:#3b82f6;font-weight:500;text-align:center;font-size:1rem}.switch-link{margin-top:18px;color:#6b7280;font-size:1rem;text-align:center}.switch-action{color:#3b82f6;cursor:pointer;font-weight:500;text-decoration:underline;margin-left:2px}.switch-action:hover{color:#2563eb}@media (max-width: 500px){.auth-box{padding:24px 8px 16px;max-width:98vw}.auth-outer{padding-top:16px}.logo-circle{width:48px;height:48px}.app-title{font-size:1.4rem}}.dashboard{width:100%;min-height:100vh;background:#f8fafc}.dashboard-nav{background:#fff;border-bottom:1px solid #e2e8f0;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 1px 3px #0000001a}.nav-left{display:flex;align-items:center;gap:12px;flex:1}.nav-left .logo-circle{width:40px;height:40px;margin-bottom:0}.nav-title{font-size:1.5rem;font-weight:700;color:#1a202c}.nav-center{display:flex;align-items:center;gap:12px;justify-content:center;flex:1}.nav-right{display:flex;align-items:center;gap:16px;flex:1;justify-content:flex-end}.welcome-text{color:#4a5568;font-weight:500}.logout-btn{background:#f56565;color:#fff;border:none;border-radius:8px;padding:8px 12px;cursor:pointer;font-size:1.2rem;transition:background .2s}.logout-btn:hover{background:#e53e3e}.back-btn{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:10px 16px;cursor:pointer;font-weight:500;color:#64748b;transition:all .2s}.back-btn:hover{background:#10b981;color:#fff;border-color:#10b981}.dashboard-content{padding:3rem 2rem 2rem;max-width:1200px;margin:0 auto;width:100%;display:flex;flex-direction:column;align-items:center}.dashboard-header{text-align:center;margin-bottom:3rem}.dashboard-header h1{font-size:2.5rem;font-weight:700;color:#2d3748;margin:0 0 .5rem}.dashboard-header p{font-size:1.1rem;color:#718096;margin:0}.dashboard-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-bottom:3rem;width:100%;max-width:900px}.dashboard-card{background:#fff;border-radius:16px;box-shadow:0 4px 12px #00000014;padding:2rem 1.5rem;transition:transform .2s,box-shadow .2s;cursor:pointer;text-align:center;border:1px solid #f1f5f9}.dashboard-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px #0000001f}.card-icon{width:80px;height:80px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem;color:#fff}.blue-icon{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.green-icon{background:linear-gradient(135deg,#10b981,#059669)}.orange-icon{background:linear-gradient(135deg,#f59e0b,#d97706)}.dashboard-card h3{font-size:1.5rem;font-weight:700;color:#1a202c;margin:0 0 1rem}.dashboard-card p{color:#718096;margin-bottom:1.5rem;line-height:1.5}.card-btn{border:none;border-radius:8px;padding:12px 24px;cursor:pointer;font-weight:500;font-size:.95rem;transition:all .2s;width:auto;min-width:140px}.blue-btn{background:#3b82f6;color:#fff}.blue-btn:hover{background:#2563eb}.gray-btn{background:#f8fafc;color:#64748b;border:1px solid #e2e8f0}.gray-btn:hover{background:#10b981;color:#fff;border-color:#10b981}.overview-section{width:100%;max-width:900px}.overview-card-horizontal{background:#fff;color:#2d3748;cursor:default;padding:2rem}.overview-card-horizontal:hover{transform:none;box-shadow:0 4px 12px #00000014}.overview-card-horizontal .card-header h3{color:#2d3748;font-size:1.5rem;text-align:center;margin-bottom:2rem}.overview-stats-horizontal{display:flex;justify-content:space-around;gap:2rem}.overview-stats-horizontal .stat-item{display:flex;flex-direction:column;align-items:center;text-align:center}.overview-stats-horizontal .stat-value{font-size:2.5rem;font-weight:700;margin-bottom:.5rem}.overview-stats-horizontal .stat-label{color:#718096;font-size:1rem;margin:0}.blue-text{color:#3b82f6}.green-text{color:#10b981}.orange-text{color:#f59e0b}.inventory-page{width:100%;max-width:1200px;margin:0 auto}.inventory-header{text-align:center;margin-bottom:3rem}.inventory-header h1{font-size:2.5rem;font-weight:700;color:#2d3748;margin:0 0 .5rem}.inventory-header p{font-size:1.1rem;color:#718096;margin:0}.inventory-list{display:flex;flex-direction:column;gap:1.5rem}.inventory-item-card{background:#fff;border-radius:16px;box-shadow:0 4px 12px #00000014;padding:2rem;border:1px solid #f1f5f9;transition:transform .2s,box-shadow .2s}.inventory-item-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0000001f}.item-main-info{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem}.item-details h3{font-size:1.5rem;font-weight:700;color:#1a202c;margin:0 0 .5rem}.item-meta{display:flex;gap:2rem;margin-bottom:.5rem}.item-type,.item-sku{color:#718096;font-size:.9rem;font-weight:500}.item-description{color:#4a5568;margin:0;line-height:1.5;max-width:500px}.item-stats{display:flex;gap:3rem;align-items:center}.stat-group{display:flex;flex-direction:column;align-items:center;text-align:center}.stat-group .stat-value{font-size:1.8rem;font-weight:700;margin-bottom:.25rem}.stat-group .stat-label{color:#718096;font-size:.85rem;text-transform:uppercase;letter-spacing:.5px}.quantity-stat{position:relative;padding:1rem;background:linear-gradient(135deg,#3b82f6,#1d4ed8);border-radius:12px;color:#fff;transform:scale(1.1);box-shadow:0 4px 12px #3b82f64d}.quantity-value{color:#fff!important;font-size:2.2rem!important;font-weight:800!important}.quantity-stat .stat-label{color:#ffffffe6!important;font-weight:600!important;font-size:.9rem!important}.item-actions{display:flex;justify-content:center;align-items:center}.update-qty-btn{background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:12px 20px;cursor:pointer;font-weight:500;color:#374151;transition:all .2s;font-size:.95rem}.update-qty-btn:hover{background:#10b981;color:#fff;border-color:#10b981;transform:translateY(-1px)}.delete-product-btn{background:#fed7d7;border:1px solid #feb2b2;border-radius:8px;padding:12px 20px;cursor:pointer;font-weight:500;color:#c53030;transition:all .2s;font-size:.95rem}.delete-product-btn:hover{background:#e53e3e;color:#fff;border-color:#e53e3e;transform:translateY(-1px)}.add-first-btn{background:#10b981;color:#fff;border:none;border-radius:8px;padding:12px 24px;cursor:pointer;font-weight:500;font-size:1rem;transition:all .2s;margin-top:1rem}.add-first-btn:hover{background:#059669;transform:translateY(-1px)}.add-item-page{width:100%;max-width:800px;margin:0 auto}.add-item-header{text-align:center;margin-bottom:3rem}.add-item-header h1{font-size:2.5rem;font-weight:700;color:#2d3748;margin:0 0 .5rem}.add-item-header p{font-size:1.1rem;color:#718096;margin:0}.add-item-form-container{background:#fff;border-radius:16px;box-shadow:0 4px 12px #00000014;padding:2.5rem;border:1px solid #f1f5f9}.add-item-form{display:flex;flex-direction:column;gap:1.5rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.form-field{display:flex;flex-direction:column;gap:.5rem}.form-field.full-width{grid-column:1 / -1}.form-field label{font-weight:600;color:#374151;font-size:.95rem}.add-item-form input,.add-item-form textarea{padding:12px 16px;border:1px solid #d1d5db;border-radius:8px;font-size:1rem;background:#fff;color:#222;caret-color:#3b82f6;transition:border-color .2s,box-shadow .2s}.add-item-form input:focus,.add-item-form textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.add-item-form textarea{resize:vertical;min-height:100px;font-family:inherit}.form-actions{display:flex;gap:1.5rem;justify-content:center;margin-top:1rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.cancel-btn{background:#f9fafb;color:#6b7280;border:1px solid #d1d5db;border-radius:8px;padding:16px 32px;cursor:pointer;font-weight:600;font-size:1.1rem;transition:all .2s;min-width:140px}.cancel-btn:hover{background:#f3f4f6;color:#374151}.submit-btn{background:#3b82f6;color:#fff;border:none;border-radius:8px;padding:16px 32px;cursor:pointer;font-weight:600;font-size:1.1rem;transition:all .2s;min-width:140px}.submit-btn:hover{background:#2563eb;transform:translateY(-1px)}.form-message{padding:12px 16px;border-radius:8px;text-align:center;font-weight:500;margin-top:1rem}.form-message.success{background:#d1fae5;color:#065f46;border:1px solid #a7f3d0}.form-message.error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:12px;padding:2rem;width:90%;max-width:600px;max-height:90vh;overflow-y:auto}.large-modal{max-width:800px}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.modal-header h3{margin:0;color:#2d3748}.close-btn{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#718096}.close-btn:hover{color:#2d3748}.update-inventory-content{max-height:500px;overflow-y:auto;background:#fff;border-radius:16px;box-shadow:0 4px 16px #3b82f614;padding:2rem;border:1px solid #f1f5f9;margin-bottom:2rem}.update-products-list{display:flex;flex-direction:column;gap:1.2rem}.update-product-item{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2.2rem;min-width:420px;max-width:700px;width:100%;border:1.5px solid #e0e7ef;border-radius:18px;background:linear-gradient(90deg,#f4f7fe 60%,#e6edfd);box-shadow:0 2px 12px #3b82f617;transition:box-shadow .2s,border-color .2s;margin:0 auto}.update-product-item .highlight-qty{display:inline-block;background:linear-gradient(90deg,#3b82f6 60%,#1d4ed8);color:#fff;font-weight:700;font-size:1.08rem;border-radius:8px;padding:4px 16px;margin-left:10px;letter-spacing:.5px;box-shadow:0 2px 8px #3b82f61a}.update-product-item:hover{box-shadow:0 8px 24px #3b82f621;border-color:#3b82f6}.product-info h4{margin:0 0 .5rem;color:#1d4ed8;font-size:1.18rem;font-weight:700;letter-spacing:-.5px}.product-info p{margin:0;color:#64748b;font-size:.98rem}.product-actions{display:flex;gap:.7rem}.update-qty-btn{background:#3b82f6;color:#fff;border:none;border-radius:8px;padding:10px 22px;cursor:pointer;font-size:1rem;font-weight:600;box-shadow:0 2px 8px #3b82f614;transition:background .2s,box-shadow .2s}.update-qty-btn:hover{background:#2563eb;box-shadow:0 6px 18px #3b82f621}.delete-product-btn{background:#fee2e2;color:#c53030;border:none;border-radius:8px;padding:10px 22px;cursor:pointer;font-size:1rem;font-weight:600;box-shadow:0 2px 8px #e53e3e14;transition:background .2s,color .2s,box-shadow .2s}.delete-product-btn:hover{background:#e53e3e;color:#fff;box-shadow:0 6px 18px #e53e3e21}.add-product-form{display:flex;flex-direction:column;gap:1rem}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.add-product-form input,.add-product-form textarea{padding:12px 16px;border:1px solid #e2e8f0;border-radius:8px;font-size:1rem;transition:border-color .2s}.add-product-form input:focus,.add-product-form textarea:focus{outline:none;border-color:#3182ce}.add-product-form textarea{resize:vertical;min-height:80px}.form-actions{display:flex;gap:1rem;justify-content:flex-end}.cancel-btn{background:#e2e8f0;color:#4a5568;border:none;border-radius:8px;padding:10px 20px;cursor:pointer;font-weight:500}.cancel-btn:hover{background:#cbd5e0}.submit-btn{background:#3182ce;color:#fff;border:none;border-radius:8px;padding:10px 20px;cursor:pointer;font-weight:500}.submit-btn:hover{background:#2c5aa0}.form-message{padding:10px;border-radius:8px;text-align:center;font-weight:500}.form-message.success{background:#c6f6d5;color:#22543d}.form-message.error{background:#fed7d7;color:#c53030}.inventory-section{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 6px #00000012}.inventory-section h3{margin:0 0 1.5rem;color:#2d3748}.table-container{overflow-x:auto}.inventory-table{width:100%;border-collapse:collapse;margin-top:1rem}.inventory-table th,.inventory-table td{padding:12px;text-align:left;border-bottom:1px solid #e2e8f0}.inventory-table th{background:#f7fafc;font-weight:600;color:#2d3748}.inventory-table tr:hover{background:#f7fafc}.action-buttons{display:flex;gap:8px}.action-btn{background:none;border:1px solid #e2e8f0;border-radius:6px;padding:6px 10px;cursor:pointer;font-size:1rem;transition:all .2s}.edit-btn:hover{background:#ebf8ff;border-color:#3182ce}.delete-btn:hover{background:#fed7d7;border-color:#e53e3e}.loading,.error,.empty-state{text-align:center;padding:2rem;color:#718096}.error{color:#e53e3e}@media (max-width: 768px){.dashboard-nav{padding:1rem;flex-direction:column;gap:1rem}.nav-left,.nav-center,.nav-right{flex:none}.nav-left{order:-1}.nav-title{font-size:1.25rem}.welcome-text{display:none}.dashboard-content{padding:2rem 1rem 1rem}.dashboard-header h1{font-size:2rem}.dashboard-cards{grid-template-columns:1fr;gap:1.5rem}.card-icon{width:60px;height:60px}.form-grid{grid-template-columns:1fr}.form-actions{flex-direction:column}.overview-stats-horizontal{flex-direction:column;gap:1.5rem}.overview-stats-horizontal .stat-value{font-size:2rem}.update-product-item{flex-direction:column;gap:1rem;align-items:flex-start}.product-actions{width:100%;justify-content:center}.inventory-header h1{font-size:2rem}.item-main-info{flex-direction:column;gap:1.5rem}.item-stats{flex-direction:column;gap:1rem;align-items:stretch}.quantity-stat{transform:none;margin-bottom:.5rem}.item-meta{flex-direction:column;gap:.5rem}.item-actions{justify-content:center}.update-qty-btn{width:100%;text-align:center}.add-item-header h1{font-size:2rem}.add-item-form-container{padding:1.5rem}.form-row{grid-template-columns:1fr;gap:1rem}.form-actions{flex-direction:column;gap:1rem;align-items:center}.cancel-btn,.submit-btn{width:200px;text-align:center}}
