*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;background:#f0f2f5;color:#333;line-height:1.5}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px;background:#f0f2f5}.login-form{background:#fff;padding:48px 40px;border-radius:24px;box-shadow:0 4px 24px #0000000f;width:100%;max-width:420px;text-align:center}.login-icon{width:56px;height:56px;margin:0 auto 24px;background:#f5f5f5;border-radius:50%;display:flex;align-items:center;justify-content:center}.login-icon svg{width:28px;height:28px;color:#1a1a2e}.login-form h1{margin-bottom:8px;color:#1a1a2e;font-size:28px;font-weight:600}.login-form .subtitle{color:#9ca3af;margin-bottom:32px;font-size:15px}.form-group{margin-bottom:20px;text-align:left}.form-group label{display:block;margin-bottom:8px;font-weight:500;color:#374151;font-size:14px}.input-wrapper{position:relative;display:flex;align-items:center}.input-icon{position:absolute;left:16px;color:#9ca3af;width:20px;height:20px;pointer-events:none}.input-wrapper input{width:100%;padding:14px 44px 14px 48px;border:1px solid #e5e7eb;border-radius:12px;font-size:15px;transition:border-color .2s,box-shadow .2s;background:#f9fafb}.input-wrapper input:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a;background:#fff}.input-wrapper input::placeholder{color:#9ca3af}.input-action{position:absolute;right:14px;background:none;border:none;color:#9ca3af;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center}.input-action:hover{color:#6b7280}.form-group.checkbox{margin-bottom:24px}.form-group.checkbox label{display:flex;align-items:center;gap:12px;cursor:pointer;font-weight:400;color:#6b7280;font-size:14px}.form-group.checkbox input[type=checkbox]{width:20px;height:20px;accent-color:#6366f1;border-radius:4px}.btn-primary{width:100%;padding:16px 24px;border:none;border-radius:12px;font-size:16px;font-weight:500;cursor:pointer;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;transition:transform .2s,box-shadow .2s}.btn-primary:hover{transform:translateY(-1px);box-shadow:0 4px 16px #6366f166}.btn-primary:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.divider{display:flex;align-items:center;margin:28px 0;color:#d1d5db;font-size:13px}.divider:before,.divider:after{content:"";flex:1;height:1px;background:#e5e7eb}.divider:before{margin-right:16px}.divider:after{margin-left:16px}.register-link{color:#6b7280;font-size:14px}.register-link a{color:#6366f1;text-decoration:underline;font-weight:500}.register-link a:hover{text-decoration:none}.error-message{background:#fef2f2;color:#dc2626;padding:12px 16px;border-radius:10px;margin-bottom:20px;font-size:14px;text-align:left}.hint{margin-top:20px;font-size:12px;color:#9ca3af}.hint code{background:#f3f4f6;padding:2px 6px;border-radius:4px;font-family:monospace;color:#6366f1}.products-page{min-height:100vh;background:#f0f2f5}.products-top-bar{background:#fff;padding:20px 32px;display:flex;align-items:center;gap:24px;box-shadow:0 1px 2px #0000000a}.user-section{display:flex;align-items:center;gap:12px;margin-left:auto}.user-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid #f3f4f6}.products-top-bar h1{font-size:20px;font-weight:600;color:#1a1a2e;white-space:nowrap}.search-box{flex:1;max-width:600px}.search-wrapper{position:relative;display:flex;align-items:center}.search-wrapper .input-icon{left:16px;color:#9ca3af}.search-wrapper input{width:100%;padding:12px 16px 12px 48px;border:1px solid #e5e7eb;border-radius:10px;font-size:14px;background:#f9fafb;transition:border-color .2s,box-shadow .2s}.search-wrapper input:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a;background:#fff}.search-wrapper input::placeholder{color:#9ca3af}.products-container{padding:24px 32px}.products-card{background:#fff;border-radius:16px;box-shadow:0 1px 3px #0000000f;padding:24px}.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.toolbar-left h2{font-size:16px;font-weight:600;color:#1a1a2e}.toolbar-right{display:flex;align-items:center;gap:12px}.btn-icon{background:#fff;border:1px solid #e5e7eb;width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#6b7280;transition:background .2s,border-color .2s}.btn-icon:hover{background:#f9fafb;border-color:#d1d5db}.btn-add{background:linear-gradient(135deg,#6366f1,#8b5cf6);border:none;padding:12px 24px;border-radius:10px;color:#fff;font-size:14px;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:8px;transition:transform .2s,box-shadow .2s}.btn-add:hover{transform:translateY(-1px);box-shadow:0 4px 16px #6366f166}.btn-add svg{width:18px;height:18px}.products-table{width:100%;border-collapse:collapse}.products-table th,.products-table td{padding:16px 12px;text-align:left;border-bottom:1px solid #f3f4f6}.products-table th{font-weight:500;color:#9ca3af;font-size:13px}.products-table th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none}.products-table th.sortable:hover{color:#6366f1}.products-table tbody tr{transition:background .15s,box-shadow .15s}.products-table tbody tr:hover{background:#fafafa}.products-table tbody tr.selected{background:#f5f3ff;box-shadow:inset 3px 0 #6366f1}.product-cell{display:flex;align-items:center;gap:16px}.product-checkbox{width:20px;height:20px;accent-color:#6366f1;cursor:pointer}.product-image{width:48px;height:48px;border-radius:8px;background:#f3f4f6;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}.product-image img{width:100%;height:100%;object-fit:cover}.product-info h3{font-size:14px;font-weight:500;color:#1a1a2e;margin-bottom:2px;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-info span{font-size:13px;color:#9ca3af}.vendor{font-weight:600;color:#1a1a2e}.rating{font-weight:500;color:#1a1a2e}.rating.low{color:#dc2626}.price{font-weight:500;color:#1a1a2e;white-space:nowrap}.price-cents{color:#9ca3af}.actions-cell{display:flex;gap:8px;justify-content:flex-end}.btn-action{width:36px;height:36px;border-radius:10px;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .15s,opacity .15s}.btn-action:hover{transform:scale(1.05)}.btn-action.add{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff}.btn-action.more{background:#f3f4f6;color:#9ca3af;border:1px solid #e5e7eb}.btn-action.more:hover{background:#e9eaec}.pagination{display:flex;justify-content:space-between;align-items:center;margin-top:24px;padding-top:16px;border-top:1px solid #f3f4f6}.pagination-info{font-size:14px;color:#6b7280}.pagination-info strong{color:#1a1a2e}.pagination-controls{display:flex;align-items:center;gap:4px}.pagination-controls button{min-width:36px;height:36px;border:none;border-radius:8px;background:transparent;color:#6b7280;font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s;padding:0 8px}.pagination-controls button:hover:not(:disabled):not(.active){background:#f3f4f6}.pagination-controls button.active{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff}.pagination-controls button:disabled{opacity:.3;cursor:not-allowed}.loading{text-align:center;padding:60px;color:#9ca3af}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0006;display:flex;align-items:center;justify-content:center;padding:20px;z-index:1000}.modal{background:#fff;border-radius:20px;width:100%;max-width:480px;max-height:90vh;overflow-y:auto}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid #f3f4f6}.modal-header h2{font-size:18px;font-weight:600;color:#1a1a2e}.modal-close{background:none;border:none;font-size:24px;color:#9ca3af;cursor:pointer;padding:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:10px;transition:background .15s}.modal-close:hover{background:#f3f4f6;color:#6b7280}.modal form{padding:24px}.modal .form-group input,.modal .form-group textarea{width:100%;padding:14px 16px;border:1px solid #e5e7eb;border-radius:12px;font-size:14px;background:#f9fafb;transition:border-color .2s,box-shadow .2s}.modal .form-group input:focus,.modal .form-group textarea:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a;background:#fff}.modal textarea{resize:vertical;min-height:100px}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.btn-secondary{padding:14px 28px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;color:#6b7280;font-size:14px;font-weight:500;cursor:pointer;transition:background .15s}.btn-secondary:hover{background:#f9fafb}.modal .btn-primary{width:auto;padding:14px 28px}@media (max-width: 768px){.products-top-bar{flex-direction:column;align-items:flex-start;gap:16px;padding:16px 20px}.search-box{width:100%;max-width:none}.products-container{padding:16px}.toolbar{flex-direction:column;align-items:flex-start;gap:12px}.products-table th,.products-table td{padding:12px 8px;font-size:13px}.product-image{width:40px;height:40px}.product-info h3{max-width:120px}}
