.login-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2)}.login-box{background:#fff;padding:2rem 3rem;border-radius:10px;box-shadow:0 10px 40px #0000001a;width:100%;max-width:400px}.login-box h1{text-align:center;color:#333;margin-bottom:.5rem;font-size:2rem}.login-box h2{text-align:center;color:#666;margin-bottom:2rem;font-size:1.2rem;font-weight:400}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;color:#333;font-weight:500}.form-group input{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:5px;font-size:1rem;transition:border-color .3s}.form-group input:focus{outline:none;border-color:#667eea}button{width:100%;padding:.75rem;background:#667eea;color:#fff;border:none;border-radius:5px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .3s}button:hover:not(:disabled){background:#5568d3}.error-message{background:#fee;color:#c33;padding:.75rem;border-radius:5px;margin-bottom:1rem;text-align:center}.dashboard{max-width:1400px;margin:0 auto;padding:2rem}.dashboard h1{margin-bottom:2rem;color:#2c3e50}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-top:2rem}.dashboard-card{background:#fff;padding:2rem;border-radius:10px;box-shadow:0 2px 10px #0000001a}.dashboard-card h2{margin-bottom:1rem;color:#2c3e50}.dashboard-card p{margin-bottom:1.5rem;color:#666;line-height:1.6}.dashboard-card button{padding:.75rem 1.5rem;background:#3498db;color:#fff;border:none;border-radius:5px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .3s}.dashboard-card button:hover{background:#2980b9}.status-message{margin-top:1rem;padding:.75rem;background:#ecf0f1;border-radius:5px;color:#2c3e50}.rematch-controls{margin-bottom:1rem}.rematch-controls label{display:block;margin-bottom:.5rem;color:#2c3e50;font-weight:500}.rematch-controls input{width:100%;padding:.5rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;margin-top:.25rem}.dashboard-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:3rem}.stat-card{background:#fff;padding:1.5rem;border-radius:10px;box-shadow:0 2px 10px #0000001a;text-align:center;transition:transform .2s,box-shadow .2s}.stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 15px #00000026}.stat-card h3{margin:0 0 1rem;color:#666;font-size:.9rem;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.stat-value{font-size:2rem;font-weight:700;color:#2c3e50;margin:0}.dashboard-charts{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:2rem;margin-bottom:3rem}.chart-card{background:#fff;padding:2rem;border-radius:10px;box-shadow:0 2px 10px #0000001a}.chart-card h2{margin:0 0 1.5rem;color:#2c3e50;font-size:1.25rem}.loading-message,.error-message{padding:1rem;margin-bottom:2rem;border-radius:5px;text-align:center}.loading-message{background:#e3f2fd;color:#1976d2}.error-message{background:#ffebee;color:#c62828}@media (max-width: 768px){.dashboard{padding:1rem}.dashboard-stats-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem}.stat-value{font-size:1.5rem}.dashboard-charts{grid-template-columns:1fr}.chart-card{padding:1rem}}.matches{max-width:1400px;margin:0 auto;padding:2rem}.matches h1{margin-bottom:.5rem;color:#2c3e50}.matches-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem}.tabs{display:flex;gap:.5rem}.tabs button{padding:.5rem 1.5rem;border:2px solid #3498db;background:#fff;color:#3498db;border-radius:5px;cursor:pointer;font-weight:600;transition:all .3s}.tabs button.active{background:#3498db;color:#fff}.match-meta{display:flex;gap:.5rem;margin-top:.5rem}.match-status{padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:600}.match-status.approved{background:#27ae60;color:#fff}.match-status.rejected{background:#e74c3c;color:#fff}.match-status.reported{background:#f39c12;color:#fff}.match-status.pending{background:#95a5a6;color:#fff}.matched-date{font-size:.8rem;color:#666;margin-bottom:.5rem}.reference-link,.user-submitted-link{display:block;margin-top:.5rem;font-size:.85rem;background:#95a5a6}.user-submitted-link{background:#9b59b6}.match-actions{padding:1rem 1.5rem;display:flex;gap:.5rem;flex-wrap:wrap;border-top:1px solid #e9ecef}.match-actions button{padding:.5rem 1rem;border:none;border-radius:5px;cursor:pointer;font-size:.9rem;font-weight:600;transition:all .3s}.btn-report{background:#f39c12;color:#fff}.btn-report:hover{background:#e67e22}.btn-submit-url{background:#9b59b6;color:#fff}.btn-submit-url:hover{background:#8e44ad}.btn-approve{background:#27ae60;color:#fff}.btn-approve:hover{background:#229954}.btn-reject{background:#e74c3c;color:#fff}.btn-reject:hover{background:#c0392b}.report-form,.submit-url-form{padding:1rem 1.5rem;background:#f8f9fa;border-top:1px solid #e9ecef}.report-form textarea,.submit-url-form input{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:5px;font-family:inherit;font-size:.9rem;margin-bottom:.5rem}.form-actions{display:flex;gap:.5rem;justify-content:flex-end}.form-actions button{padding:.5rem 1rem;border:none;border-radius:5px;cursor:pointer;font-size:.9rem;font-weight:600}.form-actions button:first-child{background:#3498db;color:#fff}.form-actions button:first-child:hover{background:#2980b9}.form-actions button:last-child{background:#95a5a6;color:#fff}.form-actions button:last-child:hover{background:#7f8c8d}.issue-card{border-left:4px solid #f39c12}.issues-list{padding:1rem 1.5rem;background:#fff3cd;border-top:1px solid #e9ecef}.issues-list h4{margin-bottom:1rem;color:#856404}.issue-item{padding:.75rem;background:#fff;border-radius:5px;margin-bottom:.5rem}.issue-item p{margin:0 0 .5rem;color:#2c3e50}.issue-item small{color:#666;font-size:.8rem}.matches-list{background:#fff;border-radius:10px;box-shadow:0 2px 10px #0000001a;overflow:hidden}.matches-list-header{display:grid;grid-template-columns:40px 4.5fr 1fr 1fr 1.5fr 1fr 1fr 1.5fr;gap:1rem;padding:.75rem 1.5rem;background:#f8f9fa;border-bottom:1px solid #e9ecef;font-size:.85rem;font-weight:600;color:#666}.matches-row{border-bottom:1px solid #f1f3f5;transition:all .3s}.matches-row.selected{background-color:#f0f9f4;border-left:4px solid #27ae60}.matches-row:last-child{border-bottom:none}.matches-row-content{display:grid;grid-template-columns:40px 4.5fr 1fr 1fr 1.5fr 1fr 1fr 1.5fr;gap:1rem;padding:.5rem 1.5rem;align-items:center}.matches-product-checkbox{display:flex;align-items:center;justify-content:center;width:40px}.matches-product{display:flex;align-items:center;gap:.75rem}.matches-product-thumb{width:50px;height:50px;object-fit:contain;border-radius:6px;background:#f8f9fa;flex-shrink:0}.matches-product-info{display:flex;flex-direction:column;gap:.25rem}.matches-product-title{font-size:.85rem;font-weight:600;color:#2c3e50;display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;line-height:1.3}.matches-product-meta{display:flex;flex-wrap:wrap;gap:.35rem;font-size:.7rem;margin-top:.15rem}.match-method-pill{background:#3498db;color:#fff;padding:.15rem .5rem;border-radius:999px;font-size:.7rem;font-weight:600}.match-confidence{color:#27ae60;font-weight:500}.matches-amazon-price,.matches-ebay-stats{display:flex;flex-direction:column;gap:.2rem;font-size:.8rem}.matches-match-info{display:flex;flex-direction:column;gap:.3rem;font-size:.75rem}.match-type-badge{padding:.2rem .5rem;border-radius:4px;background:#e8f4f8;color:#2c3e50;font-weight:600;display:inline-block;width:fit-content;font-size:.75rem}.match-confidence-score{color:#27ae60;font-weight:500;font-size:.75rem}.price-secondary,.price-range{font-size:.8rem;color:#666}.matches-sold-count{display:flex;align-items:center;justify-content:center}.matches-count-column{display:flex;align-items:center;justify-content:center}.matches-count-badge{padding:.3rem .6rem;transition:background-color .2s,transform .1s;border-radius:12px;background:#e8f4f8;color:#2c3e50;font-weight:600;font-size:.75rem;display:inline-block}.matches-count-badge:hover{background:#d1e7f0;transform:scale(1.05)}.matches-filters{background:#fff;padding:1.5rem;border-radius:10px;box-shadow:0 2px 10px #0000001a;margin-bottom:1.5rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;align-items:end}.filter-group{display:flex;flex-direction:column;gap:.5rem}.filter-group-full{grid-column:1 / -1}.matches-results-count{margin-bottom:1rem;padding:.5rem 1rem;background:#f8f9fa;border-radius:5px;font-size:.9rem;color:#666}.matches-actions{display:flex;flex-direction:column;gap:.4rem;align-items:flex-end}.matches-actions-links{display:flex;gap:.4rem;align-items:center}.matches-actions-buttons{display:flex;gap:.3rem;align-items:center}.btn-show-matches{background:#3498db;color:#fff}.btn-show-matches:hover{background:#2980b9}.matches-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:1000}.matches-modal{background:#fff;border-radius:10px;max-width:900px;width:100%;max-height:80vh;display:flex;flex-direction:column;overflow:hidden}.matches-modal-header{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1.25rem;border-bottom:1px solid #e9ecef;background:#f8f9fa}.matches-modal-header h2{margin:0;font-size:1.1rem;color:#2c3e50}.matches-modal-close{background:transparent;border:1px solid #ddd;border-radius:4px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;font-size:1rem;cursor:pointer;line-height:1;color:#666;padding:0;transition:all .2s}.matches-modal-close:hover{background:#f8f9fa;border-color:#999;color:#333}.matches-modal-body{padding:1rem 1.25rem 1.25rem;overflow:auto}.matches-modal-product{display:flex;gap:.75rem;align-items:center;margin-bottom:1rem}.matches-modal-thumb{width:70px;height:70px;object-fit:contain;border-radius:6px;background:#f8f9fa}.matches-modal-title{font-weight:600;color:#2c3e50;font-size:.95rem}.matches-modal-prices{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.25rem;font-size:.8rem;color:#666}.matches-modal-table{margin-top:.75rem;border:1px solid #e9ecef;border-radius:6px;overflow:hidden}.matches-modal-row{display:grid;grid-template-columns:.8fr .9fr .9fr 1fr 1fr 2fr .8fr;gap:.5rem;padding:.5rem .75rem;align-items:center;font-size:.8rem}.matches-modal-row-header{background:#f8f9fa;border-bottom:1px solid #e9ecef;font-weight:600;color:#555}.matches-modal-row:nth-child(odd):not(.matches-modal-row-header){background:#fcfcfd}.matches-modal-method{font-weight:600;text-transform:uppercase;font-size:.75rem}.matches-modal-ebay-title{color:#2c3e50}.matches-modal a{color:#3498db;text-decoration:none;font-weight:600}.matches-modal a:hover{text-decoration:underline}.listing-options{background:#fff;padding:1.5rem;border-radius:10px;box-shadow:0 2px 10px #0000001a;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}.option-group input,.option-group select{padding:.75rem;border:1px solid #ddd;border-radius:5px;font-size:1rem;font-family:inherit}.option-group input:focus,.option-group select:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 3px #3498db1a}.form-control{width:100%}.form-text{font-size:.85rem;color:#666;margin-top:.25rem}.products-actions{display:flex;justify-content:space-between;align-items:center;gap:1rem}.categories{max-width:1400px;margin:0 auto}.categories-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.categories-header h1{color:#2c3e50}.add-form input{width:100%;padding:.75rem;margin-bottom:1rem;border:1px solid #ddd;border-radius:5px;font-size:1rem}.form-actions{display:flex;gap:1rem}.categories-list{background:#fff;border-radius:10px;box-shadow:0 2px 10px #0000001a;overflow:hidden}.categories-list-header{display:grid;grid-template-columns:2fr 3fr 1fr 1fr 1.5fr 2fr;gap:1rem;padding:.75rem 1.5rem;background:#f8f9fa;border-bottom:1px solid #e9ecef;font-size:.85rem;font-weight:600;color:#666}.sortable-header.active{color:#3498db;background-color:#e8f4f8;padding:.25rem .5rem;border-radius:4px}.categories-row{border-bottom:1px solid #f1f3f5}.categories-row:last-child{border-bottom:none}.categories-row-content{display:grid;grid-template-columns:2fr 3fr 1fr 1fr 1.5fr 2fr;gap:1rem;padding:.5rem 1.5rem;align-items:center}.categories-row-edit{background:#f8f9fa}.category-name{font-size:.9rem;font-weight:600;color:#2c3e50}.category-url{font-size:.85rem}.category-url a{color:#3498db;text-decoration:none}.category-url a:hover{text-decoration:underline}.category-date{font-size:.85rem;color:#666}.edit-input,.edit-select{width:100%;padding:.5rem;border:1px solid #ddd;border-radius:5px;font-size:.9rem;font-family:inherit}.edit-input:focus,.edit-select:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 2px #3498db33}.status.active{background:#d4edda;color:#155724}.status.inactive{background:#f8d7da;color:#721c24}.categories-actions{display:flex;gap:.3rem;align-items:center}.scrape-container{display:inline-flex;position:relative;align-items:center}.product-count-link{color:#3498db;text-decoration:none;font-weight:600;cursor:pointer}.product-count-link:hover{text-decoration:underline;color:#2980b9}.product-count-zero{color:#95a5a6}button.scrape{background:#f39c12}button.scrape:hover:not(:disabled){background:#e67e22}button:disabled{opacity:.6;cursor:not-allowed}.scrape-progress{position:absolute;top:calc(100% + .25rem);left:0;z-index:10;min-width:200px;background:#fff;padding:.5rem;border-radius:5px;box-shadow:0 2px 8px #00000026}.progress-info{font-size:.85rem}.progress-bar-container{width:100%;height:8px;background-color:#e9ecef;border-radius:4px;overflow:hidden;margin-bottom:.25rem}.progress-bar{height:100%;background:linear-gradient(90deg,#f39c12,#e67e22);transition:width .3s ease;border-radius:4px}.progress-text{color:#666;font-size:.8rem}.progress-text .error-text{color:#e74c3c;font-weight:600}.progress-text .success-text{color:#27ae60;font-weight:600}.filters{background:#fff;padding:1.5rem;border-radius:10px;margin-bottom:2rem;box-shadow:0 2px 10px #0000001a;display:flex;gap:2rem;align-items:center;flex-wrap:wrap}.search-filter{flex:1;min-width:250px}.search-input{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:5px;font-size:1rem}.search-input:focus{outline:none;border-color:#3498db}.status-filter{display:flex;align-items:center;gap:.5rem}.status-filter label{font-weight:600;color:#2c3e50}.status-select{padding:.75rem;border:1px solid #ddd;border-radius:5px;font-size:1rem;cursor:pointer}.status-select:focus{outline:none;border-color:#3498db}.results-count{color:#666;font-size:.9rem;margin-left:auto}.products{max-width:1400px;margin:0 auto;padding:2rem}.products h1{margin-bottom:.5rem;color:#2c3e50}.products-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem}.products-filters{background:#fff;padding:1.5rem;border-radius:10px;box-shadow:0 2px 10px #0000001a;margin-bottom:1.5rem;display:flex;flex-direction:column;gap:1rem}.filter-row{display:flex;gap:1rem;align-items:end}.filter-row-category{width:100%}.filter-row-other{flex-wrap:wrap}.filter-row-clear{justify-content:flex-end}.filter-group{display:flex;flex-direction:column;gap:.5rem;flex:1;min-width:150px}.filter-group-full{flex:1;width:100%}.filter-group label{font-size:.85rem;font-weight:600;color:#555}.filter-input,.filter-select{padding:.5rem;border:1px solid #ddd;border-radius:5px;font-size:.9rem;font-family:inherit}.filter-input:focus,.filter-select:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 2px #3498db33}.btn-clear-filters{padding:.5rem 1rem;background:#95a5a6;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:.9rem;font-weight:600;transition:background .3s}.btn-clear-filters:hover{background:#7f8c8d}.category-filter-active{grid-column:span 2}.category-filter-badge{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:#e8f4f8;border:1px solid #3498db;border-radius:5px;font-size:.9rem}.category-filter-badge span{flex:1;color:#2c3e50;font-weight:500}.btn-clear-category{background:#e74c3c;color:#fff;border:none;border-radius:50%;width:20px;height:20px;cursor:pointer;font-size:1rem;line-height:1;padding:0;display:flex;align-items:center;justify-content:center;transition:background .3s}.btn-clear-category:hover{background:#c0392b}.products-results-count{margin-bottom:1rem;padding:.5rem 1rem;background:#f8f9fa;border-radius:5px;font-size:.9rem;color:#666}.products-list{background:#fff;border-radius:10px;box-shadow:0 2px 10px #0000001a;overflow:hidden}.products-list-header{display:grid;grid-template-columns:4.5fr 1fr 1fr 1fr 1.5fr 1.5fr;gap:1rem;padding:.75rem 1.5rem;background:#f8f9fa;border-bottom:1px solid #e9ecef;font-size:.85rem;font-weight:600;color:#666}.sortable-header{display:flex;align-items:center;transition:color .2s}.sortable-header:hover{color:#3498db}.products-row{border-bottom:1px solid #f1f3f5}.products-row:last-child{border-bottom:none}.products-row-content{display:grid;grid-template-columns:4.5fr 1fr 1fr 1fr 1.5fr 1.5fr;gap:1rem;padding:.5rem 1.5rem;align-items:center}.products-product{display:flex;align-items:center;gap:.75rem}.products-product-thumb{width:50px;height:50px;object-fit:contain;border-radius:6px;background:#f8f9fa;flex-shrink:0}.products-product-info{display:flex;flex-direction:column;gap:.25rem}.products-product-title{font-size:.85rem;font-weight:600;color:#2c3e50;display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;line-height:1.3}.products-product-meta{display:flex;flex-wrap:wrap;gap:.35rem;font-size:.7rem;margin-top:.15rem}.product-meta-item{color:#666;font-weight:500}.products-price-details,.products-ebay-status{display:flex;flex-direction:column;gap:.25rem;font-size:.85rem}.price-main{font-size:.9rem;font-weight:600;color:#2c3e50}.price-secondary,.matched-date{font-size:.8rem;color:#666}.sold-listings-info{margin-top:.25rem;font-size:.85rem;color:#27ae60;font-weight:500}.products-sold-count{display:flex;align-items:center;justify-content:center}.sold-count-value{font-size:.95rem;font-weight:600;color:#27ae60}.match-status-badge{padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:600;display:inline-block;width:fit-content}.match-status-badge.matched{background:#27ae60;color:#fff}.match-status-badge.not-matched{background:#95a5a6;color:#fff}.match-status-badge.no-match{background:#e74c3c;color:#fff}.ebay-link{color:#3498db;text-decoration:none;font-weight:500;transition:color .2s}.ebay-link:hover{color:#2980b9;text-decoration:underline}.products-actions{display:flex;flex-direction:column;gap:.4rem;align-items:flex-start}.products-rating-rank{display:flex;flex-direction:column;gap:.3rem;font-size:.85rem}.rating-info{display:flex;align-items:center;gap:.25rem}.rating-value{font-weight:600;color:#2c3e50}.reviews-count,.rank-info{color:#666;font-size:.8rem}.products-actions-buttons{display:flex;gap:.3rem;align-items:center}.action-link{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:4px;transition:opacity .2s;text-decoration:none}.action-link:hover{opacity:.8}.action-icon{width:24px;height:24px;object-fit:contain}.btn-match{background:#27ae60;color:#fff;padding:.35rem .75rem;font-size:.8rem;border:none;border-radius:5px;cursor:pointer;font-weight:600;transition:background .3s;white-space:nowrap}.btn-match:hover:not(:disabled){background:#229954}.btn-match:disabled{background:#95a5a6;cursor:not-allowed}.match-status-message{padding:.5rem;border-radius:5px;font-size:.75rem;text-align:center;width:100%}.match-status-message.success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.match-status-message.error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.matches-pagination{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;padding:1rem;background:#fff;border-radius:10px;box-shadow:0 2px 10px #0000001a;margin-top:1rem;margin-bottom:1rem}.pagination-left{display:flex;align-items:center;gap:.5rem}.pagination-left label{font-size:.9rem;color:#666}.pagination-select{padding:.5rem;border:1px solid #ddd;border-radius:5px;font-size:.9rem;font-family:inherit}.pagination-select:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 2px #3498db33}.pagination-right{display:flex;align-items:center;gap:.75rem}.pagination-button{padding:.5rem 1rem;border:1px solid #ddd;border-radius:5px;background:#fff;color:#2c3e50;cursor:pointer;font-size:.9rem;font-family:inherit;transition:all .2s}.pagination-button:hover:not(:disabled){background:#f8f9fa;border-color:#3498db;color:#3498db}.pagination-button:disabled{background:#f8f9fa;color:#999;cursor:not-allowed;opacity:.6}.pagination-page-info{padding:.5rem 1.5rem;font-size:.9rem;color:#666;font-weight:500;margin:0 .5rem;min-width:160px;text-align:center}.pagination-jump{display:flex;align-items:center;margin:0 .5rem}.pagination-jump-select{padding:.5rem .75rem;border:1px solid #ddd;border-radius:5px;font-size:.9rem;font-family:inherit;background:#fff;color:#2c3e50;cursor:pointer;min-width:130px}.pagination-jump-select:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 2px #3498db33}.my-products{max-width:1400px;margin:0 auto;padding:2rem}.my-products h1{margin-bottom:.5rem;color:#2c3e50}.subtitle{color:#666;margin-bottom:2rem}.my-products-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem}.listing-options{background:#fff;padding:1.5rem;border-radius:10px;box-shadow:0 2px 10px #0000001a;margin-bottom:2rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}.filters-section{background:#fff;padding:1.5rem;border-radius:10px;box-shadow:0 2px 10px #0000001a;margin-bottom:2rem}.filters-section h2{margin-bottom:1rem;font-size:1.1rem;color:#2c3e50}.filters-section input[type=text],.filters-section input[type=number],.filters-section select{width:100%;padding:.5rem;font-size:.9rem;border:1px solid #ddd;border-radius:5px;font-family:inherit}.filters-section input:focus,.filters-section select:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 3px #3498db1a}.filters-section label{display:block;margin-bottom:.5rem;font-weight:600;font-size:.9rem;color:#2c3e50}.option-group{display:flex;flex-direction:column;gap:.5rem}.option-group label{font-weight:600;color:#2c3e50;font-size:.9rem}.option-group input{padding:.75rem;border:1px solid #ddd;border-radius:5px;font-size:1rem;font-family:inherit}.option-group input:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 3px #3498db1a}.pagination-controls{display:flex;justify-content:center;align-items:center;gap:1.5rem;margin:2rem 0;padding:1rem;background:#fff;border-radius:10px;box-shadow:0 2px 10px #0000001a}.btn-pagination{padding:.75rem 1.5rem;border:none;border-radius:5px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s;background:#3498db;color:#fff}.btn-pagination:hover:not(:disabled){background:#2980b9}.btn-pagination:disabled{opacity:.5;cursor:not-allowed}.pagination-info{font-weight:600;color:#2c3e50;font-size:1rem}.products-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;gap:1rem}.btn-select-all,.btn-create-listings{padding:.75rem 1.5rem;border:none;border-radius:5px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s}.btn-select-all{background:#95a5a6;color:#fff}.btn-select-all:hover:not(:disabled){background:#7f8c8d}.btn-create-listings{background:#27ae60;color:#fff;font-size:1.1rem;padding:1rem 2rem}.btn-create-listings:hover:not(:disabled){background:#229954}.btn-select-all:disabled,.btn-create-listings:disabled{opacity:.5;cursor:not-allowed}.btn-refresh{background:#16a085;color:#fff;padding:.35rem .75rem;font-size:.8rem;border:none;border-radius:5px;cursor:pointer;font-weight:600;transition:background .3s}.btn-refresh:hover:not(:disabled){background:#138d75}.btn-refresh:disabled{background:#95a5a6;cursor:not-allowed}.my-products-list{background:#fff;border-radius:10px;box-shadow:0 2px 10px #0000001a;overflow:hidden}.my-products-list-header{display:grid;gap:1rem;padding:.75rem 1.5rem;background:#f8f9fa;border-bottom:1px solid #e9ecef;font-size:.85rem;font-weight:600;color:#666}.my-products-row{border-bottom:1px solid #f1f3f5;transition:all .3s}.my-products-row:last-child{border-bottom:none}.my-products-row-content{display:grid;gap:1rem;padding:.75rem 1.5rem;align-items:center}.my-products-product{display:flex;align-items:center;gap:.75rem}.my-products-product-thumb{width:60px;height:60px;object-fit:contain;border-radius:6px;background:#f8f9fa;flex-shrink:0}.my-products-product-info{display:flex;flex-direction:column;gap:.25rem}.my-products-product-title{font-size:.9rem;font-weight:600;color:#2c3e50;display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.ebay-link{font-size:.75rem;font-weight:500;color:#0064d2;text-decoration:none;margin-left:.5rem;transition:color .2s}.ebay-link:hover{color:#0052a3;text-decoration:underline}.my-products-product-meta{display:flex;flex-wrap:wrap;gap:.35rem;font-size:.75rem;color:#666}.my-products-seller,.my-products-amazon-price,.my-products-listing-price,.my-products-profit,.my-products-stock,.my-products-status{display:flex;flex-direction:column;gap:.5rem;font-size:.85rem}.price-main{font-size:1rem;font-weight:600;color:#2c3e50}.profit-display{font-size:.85rem;font-weight:600;padding:.25rem .5rem;border-radius:4px;margin-top:.25rem;display:inline-block}.profit-display.profit-positive{background:#d4edda;color:#155724}.profit-display.profit-negative{background:#f8d7da;color:#721c24}.status-text{font-size:.85rem;font-weight:500;color:#2c3e50}.btn-end-listing{margin-top:.5rem;padding:.5rem 1rem;background:#e74c3c;color:#fff;border:none;border-radius:5px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .3s;width:100%;max-width:150px}.btn-end-listing:hover:not(:disabled){background:#c0392b}.btn-end-listing:disabled{opacity:.5;cursor:not-allowed;background:#95a5a6}.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}.product-card{background:#fff;border-radius:10px;box-shadow:0 2px 10px #0000001a;overflow:hidden;transition:all .3s;border:2px solid transparent;position:relative}.product-card:hover{box-shadow:0 4px 15px #00000026}.product-card.selected{border-color:#27ae60;box-shadow:0 4px 15px #27ae604d}.product-checkbox{position:absolute;top:1rem;right:1rem;z-index:10}.product-checkbox input[type=checkbox]{width:24px;height:24px;cursor:pointer;accent-color:#27ae60}.product-image{width:100%;height:200px;overflow:hidden;background:#f8f9fa;display:flex;align-items:center;justify-content:center}.product-image img{width:100%;height:100%;object-fit:contain;padding:1rem}.product-info{padding:1.5rem}.product-title{margin:0 0 1rem;color:#000!important;font-size:1rem;line-height:1.4;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:2.8em}.product-title-link{color:#000!important;text-decoration:none!important;transition:text-decoration .2s;cursor:pointer;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;width:100%;position:relative;z-index:20;pointer-events:auto;background:transparent!important;border:none!important;padding:0!important;margin:0!important;box-shadow:none!important;outline:none!important;max-height:2.8em}.product-title-link:hover{text-decoration:underline!important;color:#000!important;background:transparent!important}.product-title-link:active,.product-title-link:focus,.product-title-link:visited{color:#000!important;background:transparent!important;text-decoration:underline!important}.product-details{display:flex;flex-direction:column;gap:.5rem}.detail-row{display:flex;justify-content:space-between;align-items:center;font-size:.9rem}.detail-label{font-weight:600;color:#666}.detail-value{color:#2c3e50}.detail-value.price{font-weight:600;color:#000}.price-link{color:#000!important;text-decoration:none!important;cursor:pointer;transition:text-decoration .2s;background:transparent!important;border:none!important;padding:0!important;margin:0!important;box-shadow:none!important;outline:none!important;display:inline!important}.price-link:hover{text-decoration:underline!important;color:#000!important;background:transparent!important}.price-link:active,.price-link:focus{color:#000!important;background:transparent!important;text-decoration:none!important;outline:none!important}.price-link:visited{color:#000!important;background:transparent!important;text-decoration:none!important}a.price-link,a.detail-label.price-link,a.detail-value.price-link{-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;background-color:transparent!important;background-image:none!important}.detail-label.price-link{font-weight:600;color:#000!important;background:transparent!important;border:none!important}.detail-label.price-link:hover{color:#000!important;background:transparent!important;text-decoration:underline!important}.product-profit{margin-top:1rem;padding-top:1rem;border-top:1px solid #ecf0f1}.profit-row{font-size:1rem;font-weight:700}.profit-positive .profit-value{color:#27ae60}.profit-negative .profit-value{color:#e74c3c}@media (max-width: 768px){.my-products{padding:1rem}.my-products-header{flex-direction:column;gap:1rem}.listing-options{grid-template-columns:1fr}.pagination-controls{flex-direction:column;gap:1rem}.pagination-info{text-align:center}.products-actions{flex-direction:column}.btn-select-all,.btn-create-listings,.btn-pagination{width:100%}.products-grid{grid-template-columns:1fr}.my-products-list-header,.my-products-row-content{grid-template-columns:1fr;gap:.5rem}.my-products-product{flex-direction:column;align-items:flex-start}.my-products-product-thumb{width:100%;height:auto;max-width:200px}}.orders-container{max-width:1600px;margin:0 auto;padding:1rem}.orders-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.orders-header h1{margin-bottom:.25rem;color:#2c3e50;font-size:1.5rem}.subtitle{color:#666;margin-bottom:1rem;font-size:.9rem}.selection-info{padding:.5rem 1rem;background:#ecf0f1;border-radius:5px;font-weight:600;color:#2c3e50}.empty-state{background:#fff;padding:3rem;border-radius:10px;text-align:center;color:#666;font-size:1.1rem}.empty-state h2{color:#2c3e50;margin-bottom:1rem}.empty-state p{margin-bottom:.5rem}.orders-list{background:#fff;border-radius:10px;box-shadow:0 2px 10px #0000001a;overflow:hidden}.orders-list-header{display:grid;gap:.5rem;padding:.5rem 1rem;background:#f8f9fa;border-bottom:1px solid #e9ecef;font-size:.8rem;font-weight:600;color:#666}.orders-row{border-bottom:1px solid #f1f3f5;transition:all .3s}.orders-row:last-child{border-bottom:none}.orders-row:hover{background-color:#f8f9fa}.orders-row-content{display:grid;gap:.5rem;padding:.5rem 1rem;align-items:center}.orders-product{display:flex;align-items:center;gap:.75rem}.orders-product-thumb{width:50px;height:50px;object-fit:contain;border-radius:4px;background:#f8f9fa;flex-shrink:0}.orders-product-info{display:flex;flex-direction:column;gap:.15rem}.orders-product-title{font-size:.85rem;font-weight:600;color:#2c3e50;display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;line-height:1.3}.amazon-link{font-size:.75rem;font-weight:500;color:#f90;text-decoration:none;margin-left:.5rem;transition:color .2s}.amazon-link:hover{color:#e68900;text-decoration:underline}.orders-product-meta{display:flex;flex-wrap:wrap;gap:.35rem;font-size:.75rem;color:#666}.product-asin{color:#666}.product-quantity{color:#999}.orders-seller,.orders-order-id,.orders-date,.orders-buyer,.orders-total,.orders-status{display:flex;flex-direction:column;gap:.15rem;font-size:.8rem}.price-main{font-weight:600;color:#2c3e50;font-size:.85rem}.status-indicator{display:flex;align-items:center;gap:.5rem}.status-circle{width:10px;height:10px;border-radius:50%;display:inline-block}.status-circle.status-active{background-color:#27ae60}.status-circle.status-inactive{background-color:#e74c3c}.status-text{font-size:.85rem;color:#333;text-transform:capitalize}.orders-actions{display:flex;gap:.4rem;flex-wrap:wrap;align-items:center}.mark-dispatched-button,.amazon-link-button{padding:.4rem .8rem;border:none;border-radius:4px;font-size:.8rem;font-weight:500;cursor:pointer;transition:background-color .2s;white-space:nowrap;width:140px;text-align:center;box-sizing:border-box;display:inline-block;line-height:1.4}.mark-dispatched-button{background-color:#27ae60;color:#fff}.mark-dispatched-button:hover:not(:disabled){background-color:#229954}.mark-dispatched-button:disabled{background-color:#6c757d;cursor:not-allowed;opacity:.6}.amazon-link-button{background-color:#f90;color:#fff;text-decoration:none}.amazon-link-button:hover{background-color:#e68900}@media (max-width: 768px){.orders-container{padding:1rem}.orders-header{flex-direction:column;align-items:flex-start;gap:1rem}.orders-row-content{grid-template-columns:1fr!important;gap:.75rem}.orders-list-header{display:none}.orders-product,.orders-seller,.orders-order-id,.orders-date,.orders-buyer,.orders-total,.orders-status,.orders-actions{padding:.25rem 0}.orders-product-title{flex-direction:column;align-items:flex-start}}.users{max-width:1400px;margin:0 auto;padding:2rem}.users-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.users-header h1{color:#2c3e50}.add-button{padding:.75rem 1.5rem;background:#27ae60;color:#fff;border:none;border-radius:5px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .3s}.add-button:hover{background:#229954}.add-form{background:#fff;padding:2rem;border-radius:10px;margin-bottom:2rem;box-shadow:0 2px 10px #0000001a}.add-form h2{margin-bottom:1.5rem;color:#2c3e50}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:#2c3e50}.add-form input[type=text],.add-form input[type=password]{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:5px;font-size:1rem;box-sizing:border-box}.form-group input[type=checkbox]{margin-right:.5rem;width:auto}.form-actions{display:flex;gap:1rem;margin-top:1.5rem}.users-list{background:#fff;border-radius:10px;box-shadow:0 2px 10px #0000001a;overflow:hidden}.users-list-header{display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr 2fr;gap:1rem;padding:.75rem 1.5rem;background:#f8f9fa;border-bottom:1px solid #e9ecef;font-size:.85rem;font-weight:600;color:#666}.users-row{border-bottom:1px solid #f1f3f5}.users-row:last-child{border-bottom:none}.users-row-content{display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr 2fr;gap:1rem;padding:.5rem 1.5rem;align-items:center}.users-row-edit{background:#f8f9fa}.user-username{font-size:.9rem;font-weight:600;color:#2c3e50}.user-date{font-size:.85rem;color:#666}.edit-checkbox{margin-right:.5rem}.edit-input{width:100%;max-width:300px;padding:.5rem;border:1px solid #ddd;border-radius:5px;font-size:.9rem;font-family:inherit}.edit-input:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 2px #3498db33}.edit-form{display:flex;flex-direction:column;gap:.75rem;width:100%}.edit-form .form-group{margin-bottom:0}.edit-form .form-group label{font-size:.85rem;margin-bottom:.25rem}.edit-form .form-actions{margin-top:0;display:flex;gap:.3rem}.role{padding:.25rem .75rem;border-radius:20px;font-size:.875rem;font-weight:600}.role.admin{background:#d1ecf1;color:#0c5460}.role.user{background:#e2e3e5;color:#383d41}.status{padding:.25rem .75rem;border-radius:20px;font-size:.875rem;font-weight:600}.status.enabled{background:#d4edda;color:#155724}.status.disabled{background:#f8d7da;color:#721c24}.current-user-badge{color:#3498db;font-weight:600;font-size:.875rem}.users-actions{display:flex;flex-direction:column;gap:.4rem;align-items:flex-start}.users-actions-buttons{display:flex;gap:.3rem;align-items:center}.btn-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:1px solid #ddd;border-radius:4px;background:#fff;color:#555;cursor:pointer;transition:all .2s}.btn-icon:hover:not(:disabled){background:#f8f9fa;border-color:#3498db;color:#3498db}.btn-icon:disabled{opacity:.5;cursor:not-allowed}.btn-icon svg{width:16px;height:16px}.error-message{background:#fee;color:#c33;padding:1rem;border-radius:5px;margin:2rem 0;text-align:center}.category-fees{padding:2rem;max-width:100%}.category-fees h1{margin-bottom:1rem}.category-fees .description{color:#666;margin-bottom:.5rem}.category-fees .category-count{color:#555;margin-bottom:1.5rem;font-size:1rem}.category-fees .category-count strong{color:#2c3e50;font-weight:600}.search-bar-container{margin-bottom:1.5rem;display:flex;align-items:center;gap:1rem}.search-input{flex:1;max-width:500px;padding:.75rem 1rem;border:1px solid #ddd;border-radius:4px;font-size:1rem}.search-input:focus{outline:none;border-color:#4a90e2;box-shadow:0 0 0 2px #4a90e21a}.search-results-count{color:#666;font-size:.875rem}.categories-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1rem}.category-card{background:#fff;border:1px solid #ddd;border-radius:8px;padding:1rem;box-shadow:0 2px 4px #0000001a}.category-view-compact{display:flex;flex-direction:column;gap:.75rem}.category-header-compact{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding-bottom:.75rem;margin-bottom:.5rem;border-bottom:2px solid #e0e0e0}.category-title{flex:1;min-width:200px}.category-title h4{margin:0;padding:0;color:#2c3e50;font-size:1.2rem;font-weight:600;line-height:1.4;display:block}.category-details-compact{display:flex;flex-direction:column;gap:.5rem}.detail-row{display:grid;grid-template-columns:100px 1fr;gap:.5rem;font-size:.875rem;align-items:center}.detail-row-full{grid-template-columns:100px 1fr}.detail-label{font-weight:500;color:#666}.detail-value{color:#333;word-break:break-word}.tier-badge{display:inline-block;background:#e3f2fd;color:#1976d2;padding:.125rem .5rem;border-radius:3px;font-size:.75rem;margin-right:.5rem;margin-bottom:.25rem}.category-edit-form{padding:0}.category-edit-form h3{margin-top:0;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid #eee;font-size:1rem}.form-group{margin-bottom:.75rem}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1rem}.form-group label{display:block;margin-bottom:.375rem;font-weight:500;color:#333;font-size:.875rem}.form-control{width:100%;padding:.5rem;border:1px solid #ddd;border-radius:4px;font-size:.875rem}.form-control:focus{outline:none;border-color:#4a90e2;box-shadow:0 0 0 2px #4a90e21a}.tiered-fee-row{display:grid;grid-template-columns:1fr 1fr auto;gap:.5rem;margin-bottom:.5rem;align-items:center}.form-actions{display:flex;gap:.75rem;margin-top:1rem;padding-top:.75rem;border-top:1px solid #eee}.category-card-editing{grid-column:1 / -1;max-width:800px}.btn{padding:.5rem 1rem;border:none;border-radius:4px;font-size:1rem;cursor:pointer;transition:background-color .2s}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background-color:#4a90e2;color:#fff}.btn-primary:hover:not(:disabled){background-color:#357abd}.btn-secondary{background-color:#6c757d;color:#fff}.btn-secondary:hover:not(:disabled){background-color:#5a6268}.btn-danger{background-color:#dc3545;color:#fff}.btn-danger:hover:not(:disabled){background-color:#c82333}.btn-sm{padding:.25rem .5rem;font-size:.875rem}.alert{padding:1rem;margin-bottom:1.5rem;border-radius:4px;display:flex;justify-content:space-between;align-items:center}.alert-error{background-color:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.alert-success{background-color:#d4edda;color:#155724;border:1px solid #c3e6cb}.alert-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:inherit;opacity:.7}.settings{max-width:1200px;margin:0 auto}.settings h1{margin-bottom:2rem;color:#2c3e50}.settings-section{margin-bottom:3rem}.settings-section h2{margin-bottom:1.5rem;color:#2c3e50;font-size:1.5rem}.integration-card{background:#fff;padding:2rem;border-radius:10px;box-shadow:0 2px 10px #0000001a}.integration-status{margin-bottom:1.5rem}.status-indicator{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.status-dot{width:12px;height:12px;border-radius:50%;display:inline-block}.status-dot.connected{background-color:#27ae60;box-shadow:0 0 0 3px #27ae6033}.status-dot.disconnected{background-color:#e74c3c;box-shadow:0 0 0 3px #e74c3c33}.status-text{font-size:1rem;color:#2c3e50;font-weight:500}.integration-actions{margin-bottom:1.5rem}.integration-actions button{padding:.75rem 1.5rem;border:none;border-radius:5px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s}.integration-actions button:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:#3498db;color:#fff}.btn-primary:hover:not(:disabled){background:#2980b9}.btn-danger{background:#e74c3c;color:#fff}.btn-danger:hover:not(:disabled){background:#c0392b}.integration-info{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #ecf0f1}.integration-info p{margin-bottom:.5rem;color:#666;line-height:1.6}.integration-info strong{color:#2c3e50}.alert{padding:1rem 1.5rem;border-radius:5px;margin-bottom:1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}.alert-error{background-color:#fee;border:1px solid #fcc;color:#c33}.alert-success{background-color:#efe;border:1px solid #cfc;color:#3c3}.alert-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:inherit;opacity:.7;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;line-height:1}.alert-close:hover{opacity:1}.layout{display:flex;min-height:100vh}.sidebar{width:250px;background:#2c3e50;color:#fff;padding:2rem 0;display:flex;flex-direction:column}.logo{padding:0 2rem;margin-bottom:2rem}.logo h1{font-size:1.5rem;font-weight:600}.nav-menu{list-style:none;flex:1}.nav-menu li{margin:0}.nav-menu a{display:block;padding:1rem 2rem;color:#ecf0f1;text-decoration:none;transition:background .3s}.nav-menu a:hover{background:#34495e}.nav-menu a.active{background:#3498db;font-weight:600}.sidebar-footer{padding:1rem 2rem 0;border-top:1px solid #34495e}.user-info{margin-bottom:1rem;padding:.75rem;background:#34495e;border-radius:5px;display:flex;justify-content:space-between;align-items:center}.username{font-weight:600;color:#ecf0f1}.admin-badge{background:#3498db;color:#fff;padding:.25rem .5rem;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase}.logout-button{width:100%;padding:.75rem;background:#e74c3c;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:1rem;transition:background .3s}.logout-button:hover{background:#c0392b}.content{flex:1;padding:2rem;background:#f5f5f5;overflow-y:auto}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f5f5;color:#333}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}#root{min-height:100vh}
