: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;min-width:320px;min-height:100vh}#root{width:100%;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}}@keyframes marching-ants{0%{background-position:0 0,0 100%,0 0,100% 0}to{background-position:20px 0,-20px 100%,0 -20px,100% 20px}}:root{--rc-drag-handle-size: 12px;--rc-drag-handle-mobile-size: 24px;--rc-drag-handle-bg-colour: rgba(0, 0, 0, .2);--rc-drag-bar-size: 6px;--rc-border-color: rgba(255, 255, 255, .7);--rc-focus-color: #0088ff}.ReactCrop{position:relative;display:inline-block;cursor:crosshair;max-width:100%}.ReactCrop *,.ReactCrop *:before,.ReactCrop *:after{box-sizing:border-box}.ReactCrop--disabled,.ReactCrop--locked{cursor:inherit}.ReactCrop__child-wrapper{overflow:hidden;max-height:inherit}.ReactCrop__child-wrapper>img,.ReactCrop__child-wrapper>video{display:block;max-width:100%;max-height:inherit}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>img,.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>video{touch-action:none}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__crop-selection{touch-action:none}.ReactCrop__crop-mask{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;width:calc(100% + .5px);height:calc(100% + .5px)}.ReactCrop__crop-selection{position:absolute;top:0;left:0;transform:translateZ(0);cursor:move}.ReactCrop--disabled .ReactCrop__crop-selection{cursor:inherit}.ReactCrop--circular-crop .ReactCrop__crop-selection{border-radius:50%}.ReactCrop--circular-crop .ReactCrop__crop-selection:after{pointer-events:none;content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border:1px solid var(--rc-border-color);opacity:.3}.ReactCrop--no-animate .ReactCrop__crop-selection{outline:1px dashed white}.ReactCrop__crop-selection:not(.ReactCrop--no-animate .ReactCrop__crop-selection){animation:marching-ants 1s;background-image:linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%);background-size:10px 1px,10px 1px,1px 10px,1px 10px;background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;color:#fff;animation-play-state:running;animation-timing-function:linear;animation-iteration-count:infinite}.ReactCrop__crop-selection:focus{outline:2px solid var(--rc-focus-color);outline-offset:-1px}.ReactCrop--invisible-crop .ReactCrop__crop-mask,.ReactCrop--invisible-crop .ReactCrop__crop-selection{display:none}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after,.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{content:"";display:block;position:absolute;background-color:#fff6}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after{width:1px;height:100%}.ReactCrop__rule-of-thirds-vt:before{left:33.3333333333%}.ReactCrop__rule-of-thirds-vt:after{left:66.6666666667%}.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{width:100%;height:1px}.ReactCrop__rule-of-thirds-hz:before{top:33.3333333333%}.ReactCrop__rule-of-thirds-hz:after{top:66.6666666667%}.ReactCrop__drag-handle{position:absolute;width:var(--rc-drag-handle-size);height:var(--rc-drag-handle-size);background-color:var(--rc-drag-handle-bg-colour);border:1px solid var(--rc-border-color)}.ReactCrop__drag-handle:focus{background:var(--rc-focus-color)}.ReactCrop .ord-nw{top:0;left:0;transform:translate(-50%,-50%);cursor:nw-resize}.ReactCrop .ord-n{top:0;left:50%;transform:translate(-50%,-50%);cursor:n-resize}.ReactCrop .ord-ne{top:0;right:0;transform:translate(50%,-50%);cursor:ne-resize}.ReactCrop .ord-e{top:50%;right:0;transform:translate(50%,-50%);cursor:e-resize}.ReactCrop .ord-se{bottom:0;right:0;transform:translate(50%,50%);cursor:se-resize}.ReactCrop .ord-s{bottom:0;left:50%;transform:translate(-50%,50%);cursor:s-resize}.ReactCrop .ord-sw{bottom:0;left:0;transform:translate(-50%,50%);cursor:sw-resize}.ReactCrop .ord-w{top:50%;left:0;transform:translate(-50%,-50%);cursor:w-resize}.ReactCrop__disabled .ReactCrop__drag-handle{cursor:inherit}.ReactCrop__drag-bar{position:absolute}.ReactCrop__drag-bar.ord-n{top:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(-50%)}.ReactCrop__drag-bar.ord-e{right:0;top:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(50%)}.ReactCrop__drag-bar.ord-s{bottom:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(50%)}.ReactCrop__drag-bar.ord-w{top:0;left:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(-50%)}.ReactCrop--new-crop .ReactCrop__drag-bar,.ReactCrop--new-crop .ReactCrop__drag-handle,.ReactCrop--fixed-aspect .ReactCrop__drag-bar,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-n,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-e,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-s,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-w{display:none}@media (pointer: coarse){.ReactCrop .ord-n,.ReactCrop .ord-e,.ReactCrop .ord-s,.ReactCrop .ord-w{display:none}.ReactCrop__drag-handle{width:var(--rc-drag-handle-mobile-size);height:var(--rc-drag-handle-mobile-size)}}/ *{margin:0;padding:0;box-sizing:border-box}html{width:100%;height:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;background-color:#f8fafc;color:#1f2937;line-height:1.6;margin:0;padding:0;overflow-x:hidden;width:100%;min-height:100%}.listings-scroll-container::-webkit-scrollbar{width:8px}.listings-scroll-container::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.listings-scroll-container::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.listings-scroll-container::-webkit-scrollbar-thumb:hover{background:#555}.app-layout{display:flex;min-height:100vh;background-color:#f8fafc;width:100%;max-width:100%;overflow-x:hidden}.app-layout.sidebar-collapsed .sidebar{width:60px}.app-layout.sidebar-collapsed .main-content{margin-left:60px}.sidebar{position:fixed;top:0;left:0;width:260px;height:100vh;background:linear-gradient(180deg,#1f2937,#111827);border-right:1px solid #374151;transition:all .3s ease;z-index:1000;overflow-y:auto;box-shadow:4px 0 20px #0000001a;padding:12px 12px 42px;display:flex;flex-direction:column;box-sizing:border-box}.sidebar.collapsed{width:60px}.sidebar-brand{padding:8px 16px;border-bottom:none;background:none;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;min-height:40px;border-radius:0;margin-bottom:8px;box-shadow:none;flex-shrink:0}.sidebar-brand:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background-image:radial-gradient(circle at 20% 80%,rgba(96,165,250,.03) 0%,transparent 50%),radial-gradient(circle at 80% 20%,rgba(59,130,246,.03) 0%,transparent 50%);pointer-events:none}.brand-content{display:flex;align-items:center;justify-content:center;width:100%;height:100%;position:relative;z-index:1}.brand-logo-only{width:80%;height:auto;max-height:60px;object-fit:contain;object-position:center;border-radius:8px;background:none;padding:0;filter:drop-shadow(0 1px 2px rgba(0,0,0,.4)) drop-shadow(0 -1px 1px rgba(55,65,81,.2));transition:all .3s ease;cursor:pointer;position:relative;z-index:1}.brand-logo-only:hover{transform:scale(1.02);filter:drop-shadow(0 2px 4px rgba(0,0,0,.5)) drop-shadow(0 -1px 2px rgba(55,65,81,.3)) drop-shadow(0 0 8px rgba(96,165,250,.3))}.brand-logo-only:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}.sidebar.collapsed .sidebar-brand{padding:4px;min-height:52px;margin-bottom:8px}.sidebar.collapsed .brand-logo-only{width:85%;height:85%;border-radius:6px}.sidebar-nav{padding:1rem 0;flex:1;overflow-y:auto;margin-bottom:auto}.nav-section{margin-bottom:2rem}.nav-section-header{padding:.5rem 1rem;margin-bottom:.5rem;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#9ca3af}.sidebar.collapsed .nav-section-header{display:none}.nav-list{list-style:none;padding:0;margin:0}.nav-item{margin-bottom:.25rem}.nav-link{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;margin:0 .5rem;border-radius:8px;color:#d1d5db;background:none;border:none;width:calc(100% - 1rem);text-align:left;font-size:.875rem;font-weight:500;transition:all .2s ease;cursor:pointer;position:relative}.nav-link:hover{color:#f9fafb;background:#4b556380;transform:translate(2px)}.nav-link.active{color:#fff;background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 4px 12px #3b82f640}.nav-link.active:before{content:"";position:absolute;left:-.5rem;top:50%;transform:translateY(-50%);width:3px;height:20px;background:#60a5fa;border-radius:0 2px 2px 0}.nav-icon{width:20px;height:20px;flex-shrink:0}.nav-badge{margin-left:auto;background:#374151;color:#d1d5db;font-size:.75rem;font-weight:600;padding:.125rem .5rem;border-radius:12px;min-width:20px;text-align:center}.nav-link.active .nav-badge{background:#fff3;color:#fff}.sidebar.collapsed .nav-link{padding:.75rem;justify-content:center}.sidebar.collapsed .nav-link span,.sidebar.collapsed .nav-badge{display:none}.batch-link{padding:.625rem 1rem!important;gap:.625rem!important}.batch-thumbnail{width:28px;height:28px;background:linear-gradient(135deg,#3b82f6,#1d4ed8);border-radius:6px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:.875rem;flex-shrink:0;box-shadow:0 2px 8px #3b82f633}.batch-info{display:flex;flex-direction:column;gap:.125rem;flex:1;min-width:0}.batch-name{font-weight:500;font-size:.875rem;color:#d1d5db;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.batch-status{font-size:.75rem;font-weight:500;text-transform:capitalize}.batch-status.status-draft{color:#9ca3af}.batch-status.status-ready{color:#60a5fa}.batch-status.status-completed{color:#34d399}.batch-status.status-error{color:#f87171}.main-content{flex:1;margin-left:260px;min-height:100vh;background-color:#f5f6fa;transition:margin-left .3s ease;overflow-x:hidden;box-sizing:border-box}.sidebar.collapsed+.main-content{margin-left:60px}.main-header{background:#fff;border-bottom:1px solid #e5e7eb;padding:1rem 2rem;display:flex;align-items:center;justify-content:space-between;box-shadow:0 1px 3px #0000001a;position:sticky;top:0;z-index:100}.header-left{display:flex;align-items:center;gap:1rem}.sidebar-toggle{background:none;border:none;padding:.5rem;border-radius:6px;color:#6b7280;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.sidebar-toggle:hover{background:#f3f4f6;color:#374151}.sidebar-toggle svg{width:20px;height:20px}.main-header .back-button{background:linear-gradient(135deg,#007bff,#0056b3);border:none;padding:.5rem 1rem;margin:0;cursor:pointer;font-size:.875rem;color:#fff;border-radius:6px;transition:all .2s;display:inline-flex;align-items:center;gap:.25rem;height:auto;font-weight:500;line-height:1.25rem;white-space:nowrap;vertical-align:middle;box-shadow:0 2px 4px #007bff33}.main-header .back-button:hover{background:linear-gradient(135deg,#0056b3,#004085);color:#fff;transform:translateY(-1px);box-shadow:0 4px 8px #007bff4d}.page-title{font-size:1.5rem;font-weight:600;color:#111827;margin:0}.header-right{display:flex;align-items:center;gap:1rem}.content-area{padding:1.5rem;min-height:calc(100vh - 80px);width:100%;max-width:100%;box-sizing:border-box;overflow-x:hidden}.batch-overview-content{width:100%;max-width:100%;margin:0 auto;background:#fff;border-radius:16px;box-shadow:0 4px 20px #00000014;padding:1.5rem;box-sizing:border-box;overflow-x:hidden}.batch-editor-content{width:100%;max-width:100%;margin:0 auto;box-sizing:border-box;overflow-x:hidden}.batch-wizard-content{width:calc(100% - 2rem);max-width:100%;margin:0 auto;box-sizing:border-box;background:#fff;border-radius:16px;box-shadow:0 4px 20px #00000014;overflow:hidden}.batch-mode-header{background:linear-gradient(135deg,#e3f2fd,#bbdefb);border:2px solid #2196f3;border-radius:12px;padding:1.5rem;margin-bottom:2rem;box-shadow:0 4px 12px #2196f31a}.batch-mode-header h3{margin:0 0 .5rem;color:#1565c0;font-size:1.3rem;font-weight:600;display:flex;align-items:center;gap:.5rem}.batch-mode-header h3:before{content:"📦";font-size:1.2em}.batch-details{display:flex;gap:2rem;font-size:.95rem;color:#1976d2}.batch-details span{background:#fff;padding:.25rem .75rem;border-radius:6px;border:1px solid #e3f2fd;font-weight:500}.wizard-card{width:100%;background:#fff;border-radius:16px;box-shadow:0 4px 20px #00000014;overflow:hidden;max-width:100%;box-sizing:border-box}.wizard-steps{display:flex;justify-content:center;padding:1.5rem 1rem;background:#f8f9fa;gap:1.5rem;flex-wrap:wrap;box-sizing:border-box}.step{display:flex;align-items:center;gap:.5rem;padding:0 .5rem;position:relative;color:#999;transition:all .3s;flex-shrink:1;min-width:0}.step:not(:last-child):after{content:"";position:absolute;right:-1rem;width:1.5rem;height:3px;background:#ddd;top:50%;transform:translateY(-50%);border-radius:2px}.wizard-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:2px solid #f0f0f0;background:linear-gradient(135deg,#f8f9fa,#e9ecef);box-sizing:border-box}.wizard-header h2{margin:0;color:#333;font-size:1.4rem;font-weight:600;flex-shrink:0}.template-selector-header{display:flex;align-items:center;margin-left:auto;margin-right:1rem;gap:.5rem}.template-selector-header .form-control{width:100%;max-width:250px}.wizard-content{padding:1.5rem;box-sizing:border-box;max-width:100%;overflow-x:hidden}.step-content h3{margin:0 0 .5rem;color:#333;font-size:1.2rem;font-weight:600}.step-content p{color:#666;margin-bottom:1rem;font-size:.95rem;line-height:1.4}.wizard-footer{display:flex;justify-content:space-between;gap:1rem;padding:1rem 1.5rem;border-top:2px solid #f0f0f0;background:linear-gradient(135deg,#f8f9fa,#e9ecef);box-sizing:border-box}@media (max-width: 1400px){.wizard-content{padding:1.75rem}}@media (max-width: 1200px){.form-row{gap:1.5rem}.location-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width: 900px){.batch-wizard-content{margin:0;border-radius:0}.wizard-steps{padding:1.5rem 1rem;gap:1rem}.step:not(:last-child):after{display:none}.step span:not(.step-number){display:none}.wizard-content{padding:1.5rem}.wizard-footer{padding:1.5rem;flex-direction:column}.form-row{grid-template-columns:1fr;gap:0}.location-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.content-area{padding:1rem}.wizard-header{padding:1.25rem}.wizard-header h2{font-size:1.4rem}}.form-group{margin-bottom:.75rem}.form-group label{display:block;margin-bottom:.25rem;font-weight:500;color:#333;font-size:.9rem}.batch-wizard-content .form-group label,.wizard-card .form-group label,.wizard-content label{color:#000!important}.form-control{width:100%;padding:.6rem .8rem;border:2px solid #e0e0e0;border-radius:8px;font-size:.95rem;background:#fff;color:#333;transition:all .2s;box-sizing:border-box}.batch-wizard-content select.form-control,.wizard-card select.form-control,.wizard-content select.form-control,.step-content select.form-control{background-color:#fff!important;color:#000!important;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%}.batch-wizard-content select.form-control option,.wizard-card select.form-control option,.wizard-content select.form-control option,.step-content select.form-control option,.wizard-content input.form-control,.step-content input.form-control{background-color:#fff!important;color:#000!important}.form-control:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.form-row,.price-row{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:.75rem}.price-row .form-group{margin-bottom:0}.price-row .input-prefix{position:absolute;left:.6rem;top:50%;transform:translateY(-50%);color:#666;z-index:1;font-weight:500;pointer-events:none}.price-row .form-control{width:100%;padding:.6rem .8rem .6rem 1.6rem;border:2px solid #e0e0e0;border-radius:8px;font-size:.95rem;background:#fff;color:#333;transition:all .2s;box-sizing:border-box}.validation-summary{margin-top:.75rem;padding:.75rem;backgroundColor:"#f8f9fa";borderRadius:"6px";border:"1px solid #e9ecef"}.btn{padding:.6rem 1.5rem;border:none;border-radius:8px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s;text-decoration:none;display:inline-block;text-align:center;box-shadow:0 2px 8px #0000001a}.input-group{position:relative}.input-prefix{position:absolute;left:1rem;top:50%;transform:translateY(-50%);color:#666;z-index:1;font-weight:500;pointer-events:none}.input-group .form-control{padding-left:2.5rem}.price-row{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.price-row .form-group{margin-bottom:1.5rem}.price-row .input-group{position:relative;width:100%}.price-row .input-prefix{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:#666;z-index:1;font-weight:500;pointer-events:none}.price-row .form-control{width:100%;padding:.75rem 1rem .75rem 2rem;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;background:#fff;color:#333;transition:all .2s;box-sizing:border-box}.price-row .form-control:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.btn{padding:.75rem 2rem;border:none;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s;text-decoration:none;display:inline-block;text-align:center;box-shadow:0 2px 8px #0000001a}.btn-primary{background:linear-gradient(135deg,#007bff,#0056b3);color:#fff}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#0056b3,#004085);transform:translateY(-2px);box-shadow:0 4px 12px #007bff4d}.btn-secondary{background:linear-gradient(135deg,#6c757d,#5a6268);color:#fff}.btn-secondary:hover:not(:disabled){background:linear-gradient(135deg,#5a6268,#495057);transform:translateY(-2px);box-shadow:0 4px 12px #6c757d4d}.btn-outline{background:#007bff26;border:2px solid #007bff;color:#007bff;box-shadow:0 2px 8px #007bff1a;font-weight:500;transition:all .2s}.btn-outline:hover{background:#007bff;color:#fff;box-shadow:0 4px 12px #007bff4d;transform:translateY(-1px)}.btn:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:0 1px 3px #0000001a}.btn-sm{padding:.5rem 1rem;font-size:.9rem}.create-ebay-listings-button{background:linear-gradient(135deg,#0654ba,#4a90e2);color:#fff!important;padding:12px 24px;border:none;border-radius:8px;cursor:pointer;font-weight:600;font-size:1rem;transition:all .3s ease;margin-left:12px;box-shadow:0 2px 8px #0654ba33;text-decoration:none;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.create-ebay-listings-button:before{content:"🛒";font-size:1.1em}.create-ebay-listings-button:hover:not(:disabled){background:linear-gradient(135deg,#0545a0,#3a7bc8);transform:translateY(-2px);box-shadow:0 6px 20px #0654ba66;color:#fff!important}.create-ebay-listings-button:disabled{background:#9ca3af;cursor:not-allowed;transform:none;box-shadow:0 1px 3px #0000001a;opacity:.6}.create-single-listing-button{background:linear-gradient(135deg,#0654ba,#4a90e2);color:#fff!important;border:none;padding:10px 16px;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:600;flex:1;transition:all .2s ease;box-shadow:0 2px 6px #0654ba33;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.create-single-listing-button:before{content:"🛒";font-size:.9em}.create-single-listing-button:hover:not(:disabled){background:linear-gradient(135deg,#0545a0,#3a7bc8);transform:translateY(-1px);box-shadow:0 4px 12px #0654ba4d;color:#fff!important}.create-single-listing-button:disabled{background:#9ca3af;cursor:not-allowed;transform:none;box-shadow:none;opacity:.6}.download-button{background:linear-gradient(135deg,#28a745,#20c997);color:#fff!important;padding:12px 24px;border:none;border-radius:8px;cursor:pointer;font-weight:600;font-size:1rem;transition:all .3s ease;box-shadow:0 2px 8px #28a74533;text-decoration:none;display:inline-flex;align-items:center;gap:8px}.download-button:before{content:"📥";font-size:1.1em}.download-button:hover:not(:disabled){background:linear-gradient(135deg,#218838,#1e7e34);transform:translateY(-2px);box-shadow:0 6px 20px #28a74566;color:#fff!important}.download-single-button{background:linear-gradient(135deg,#28a745,#20c997);color:#fff!important;padding:8px 12px;border:none;border-radius:6px;cursor:pointer;margin-top:10px;font-size:.9rem;font-weight:500;transition:all .2s ease;box-shadow:0 2px 6px #28a74533;flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px}.download-single-button:before{content:"📥";font-size:.9em}.download-single-button:hover:not(:disabled){background:linear-gradient(135deg,#218838,#1e7e34);transform:translateY(-1px);box-shadow:0 4px 12px #28a7454d;color:#fff!important}.button-group{display:flex;gap:1rem}.button-group .primary,.generate-area .primary{background-color:#007bff;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:4px;font-size:1rem;cursor:pointer;transition:background-color .2s}.button-group .primary:disabled,.generate-area .primary:disabled{background-color:#ccc;cursor:not-allowed}.button-group .primary:hover:not(:disabled),.generate-area .primary:hover:not(:disabled){background-color:#0056b3}.button-group .danger{background-color:#dc3545;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:4px;font-size:1rem;cursor:pointer;transition:background-color .2s}.button-group .danger:hover{background-color:#b02a37}.create-ebay-listings-button.loading,.create-single-listing-button.loading{background:#6c757d;cursor:wait}.create-ebay-listings-button.loading:before,.create-single-listing-button.loading:before{content:"⏳";animation:spin 1s linear infinite}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-content{background:#fff;border-radius:16px;max-height:90vh;overflow-y:auto;width:90%;max-width:900px;box-shadow:0 20px 60px #0003;animation:modalSlideIn .3s ease}@keyframes modalSlideIn{0%{opacity:0;transform:scale(.9) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:2px solid #e9ecef;background:linear-gradient(135deg,#f8f9fa,#e9ecef)}.modal-header h3{margin:0;color:#333;font-size:1.3rem;font-weight:600}.modal-close{background:none;border:none;font-size:2rem;color:#666;cursor:pointer;padding:.5rem;border-radius:8px;transition:all .2s}.modal-close:hover{background:#f0f0f0;color:#333}.modal-body{padding:2rem}.modal-footer{display:flex;gap:1rem;justify-content:flex-end;padding:1.5rem 2rem;border-top:2px solid #e9ecef;background:#f8f9fa}.listing-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.listing-modal{width:100%;max-width:600px;max-height:90vh;overflow-y:auto}.batch-table{background:#fff;border-radius:12px;box-shadow:0 2px 12px #00000014;overflow:hidden;width:100%;max-width:100%;box-sizing:border-box}.table-header,.table-row{display:grid;grid-template-columns:2fr 1fr 2fr 1.5fr 1fr;gap:1rem;padding:1.5rem;align-items:center;min-width:0}.table-header{background:linear-gradient(135deg,#f8f9fa,#e9ecef);font-weight:600;color:#333;border-bottom:2px solid #dee2e6}.table-row{border-bottom:1px solid #f0f0f0;transition:all .2s}.table-row:hover{background:#f8f9ff;transform:translateY(-1px);box-shadow:0 4px 12px #0000000d}.table-row:last-child{border-bottom:none}.batch-name-cell{display:flex;align-items:center;gap:1rem}.batch-name-cell .batch-thumbnail{width:50px;height:50px;background:linear-gradient(135deg,#007bff,#0056b3);border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:1.5rem;box-shadow:0 2px 8px #007bff33}.batch-name-cell span{font-weight:500;color:#333;font-size:1.1rem}.status-badge{display:inline-block;padding:.4rem 1rem;border-radius:20px;color:#fff;font-size:.85rem;font-weight:600;text-transform:capitalize;box-shadow:0 2px 4px #0000001a}.batch-preview{display:flex;gap:1.5rem;align-items:center;font-size:.9rem;color:#666}.preview-icon{margin-right:.5rem;font-size:1.1rem}.empty-state{text-align:center;padding:4rem 2rem;color:#666}.empty-state h3{color:#333;margin-bottom:1rem;font-size:1.5rem}.empty-state p{margin-bottom:2rem;font-size:1.1rem}.main-card{flex:1;display:grid;grid-template-columns:1fr 3fr;gap:2rem;margin-top:2rem;width:100%;max-width:100%;margin-left:auto;margin-right:auto;box-sizing:border-box;overflow-x:auto}.preview-section{display:flex;flex-direction:column;gap:1rem;width:100%;overflow-x:hidden}.preview-section h2{margin:0;font-size:1.5rem;color:#333}.groups-container{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;width:100%;max-width:100%}@media (min-width: 768px){.groups-container{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}}@media (min-width: 1200px){.groups-container{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}}@media (min-width: 1600px){.groups-container{grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}}.group-card{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden;display:flex;flex-direction:column;position:relative}.thumbs{display:flex;flex-wrap:wrap;gap:.5rem;padding:1rem;border-bottom:1px solid #eee}.thumbs img{width:150px;height:150px;object-fit:cover;border-radius:4px}.listing{padding:1rem;color:#444;flex:1}.group-card.processed:before{content:"✓";position:absolute;top:10px;right:10px;width:24px;height:24px;background-color:#4caf50;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;z-index:10}.group-card.processing:before{content:"⋯";position:absolute;top:10px;right:10px;width:24px;height:24px;background-color:#2196f3;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;z-index:10}.group-card.new:before{content:"NEW";position:absolute;top:10px;right:10px;padding:4px 8px;background-color:#ff9800;color:#fff;border-radius:12px;font-size:12px;font-weight:700;z-index:10}.card-actions{display:flex;gap:10px;padding:15px;border-top:1px solid #eee;background:#f8f9fa;align-items:center;justify-content:space-between}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.header-buttons{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.view-toggle{display:inline-flex;border-radius:6px;border:1px solid #ddd;overflow:hidden;background-color:#fff}.view-toggle-btn{background:none;border:none;padding:8px 12px;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#666;transition:all .2s;border-right:1px solid #ddd;flex-shrink:0}.view-toggle-btn:last-child{border-right:none}.view-toggle-btn:hover{background-color:#f5f5f5;color:#333}.view-toggle-btn.active{background-color:#007bff;color:#fff}.view-toggle-btn svg{width:16px;height:16px}.row-view-container{width:100%;max-width:100%;overflow-x:auto;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;box-sizing:border-box}.row-view-table{display:flex;flex-direction:column;min-width:100%;width:100%;background:#fff}.row-view-header{display:grid;background-color:#f8f9fa;border-bottom:2px solid #dee2e6;font-weight:700;color:#000!important;position:sticky;top:0;z-index:5;width:100%}.row-header-cell{padding:12px 8px;border-right:1px solid #dee2e6;display:flex;align-items:center;font-size:.9rem;text-transform:uppercase;letter-spacing:.5px;color:#000!important;background-color:#f8f9fa}.row-header-cell:last-child{border-right:none}.images-header{justify-content:center;color:#000!important}.row-view-row{display:grid;border-bottom:1px solid #e9ecef;transition:background-color .2s;position:relative;width:100%;color:#000!important;min-height:60px;background-color:#fff}.row-view-row.row-even{background-color:#fff!important}.row-view-row.row-odd{background-color:#f1f3f5!important}.row-view-row:hover{background-color:#e3f2fd!important;box-shadow:0 2px 4px #0000001a}.row-view-row.processing{background-color:#e3f2fd!important;border-left:4px solid #2196F3}.row-view-row.processed{background-color:#e8f5e8!important;border-left:4px solid #4CAF50}.row-view-row.new{background-color:#fff3cd!important;border-left:4px solid #FF9800}.row-cell{padding:12px 8px;border-right:1px solid #e9ecef;display:flex;align-items:center;font-size:.9rem;overflow:hidden;color:#000!important;background-color:inherit}.row-cell:last-child{border-right:none}.images-cell{flex-direction:column;align-items:center;padding:8px;color:#000!important;background-color:inherit}.row-images-container{display:flex;flex-direction:column;align-items:center;width:100%}.group-header-with-status{display:flex;align-items:center;gap:8px;margin-bottom:8px;flex-wrap:wrap;justify-content:center}.group-number-badge{background-color:#007bff;color:#fff;padding:4px 8px;border-radius:12px;font-size:.8rem;font-weight:700}.status-indicator{display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12px;border-radius:50%;width:20px;height:20px}.status-indicator.processed{background-color:#4caf50;color:#fff}.status-indicator.processing{background-color:#2196f3;color:#fff}.status-indicator.new{background-color:#ff9800;color:#fff;border-radius:10px;padding:2px 6px;font-size:10px;width:auto;height:auto}.row-thumbs{display:flex;flex-wrap:wrap;gap:4px;justify-content:center;width:100%}.row-thumb{width:150px;height:150px;object-fit:cover;border-radius:4px;cursor:move;border:1px solid #ddd;transition:transform .2s}.row-thumb:hover{transform:scale(1.1);z-index:1}.title-cell{align-items:flex-start;flex-direction:column;justify-content:center;color:#000!important;background-color:inherit;padding:8px 6px}.row-title{font-weight:500;line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-word;color:#000!important}.description-cell{align-items:flex-start;flex-direction:column;justify-content:center;color:#000!important;background-color:inherit;padding:8px 6px}.row-description{line-height:1.3;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-word;color:#000!important}.price-cell,.sku-cell,.field-cell{padding:8px 6px;color:#000!important;background-color:inherit}.row-input{width:100%;padding:6px 8px;border:1px solid #ccc;border-radius:4px;font-size:.85rem;background-color:#fff!important;color:#000!important;transition:border-color .2s,box-shadow .2s}.row-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff1a;color:#000!important;background-color:#fff!important}.price-input{text-align:right;color:#000!important}.field-input{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="gray" d="M2 4l4 4 4-4z"/></svg>');background-repeat:no-repeat;background-position:right 6px center;background-size:10px;background-color:#fff!important;padding-right:24px;color:#000!important}.row-loading{display:flex;align-items:center;gap:8px;color:#000!important;font-style:italic}.row-loading .spinner{width:16px;height:16px}.row-loading .spinner-circle{width:16px;height:16px;border-width:2px}.row-loading span{color:#000!important}.row-error{color:#dc3545!important;font-style:italic;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.row-placeholder{color:#666!important;font-style:italic}.form-section{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 8px #0000001a;display:flex;flex-direction:column;gap:1.5rem;height:fit-content}.scrollable-fields{max-height:600px;overflow-y:auto;padding:.25rem .25rem .25rem 0;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;display:flex;flex-direction:column;gap:1.5rem}.field-row{margin-bottom:.8rem}.field-row:last-child{margin-bottom:0}.field-row label{display:block;margin-bottom:.3rem;font-weight:500;color:#555}.field-row select{padding:.5rem;border-radius:4px;border:1px solid #ccc;font-size:1rem;background-color:#3b3b3b;color:#fff}.form-group select{padding:.5rem;border-radius:4px;border:1px solid #ccc;background-color:#3b3b3b;font-size:1rem;color:#fff}.uniform-select{width:100%;padding:.5rem;border-radius:4px;border:1px solid #ccc;font-size:1rem;height:38px;background-color:#3b3b3b;color:#fff;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.auto-rotate-option{display:flex;align-items:center;margin:10px 0}.auto-rotate-option label{cursor:pointer;font-size:14px}.ai-category-fields-option{display:flex;align-items:flex-start;margin:15px 0;padding:12px;background:linear-gradient(135deg,#f0f7ff,#e8f4f8);border:1px solid #4a90e2;border-radius:8px}.ai-category-fields-option input[type=checkbox]{margin-right:12px;margin-top:2px}.ai-category-fields-option label{cursor:pointer;font-size:14px;font-weight:500;color:#333;flex:1}.field-help-text{margin-top:8px}.field-help-text small{line-height:1.4}.image-container{position:relative;display:inline-block;margin:5px;width:150px;height:150px}.image-controls{position:absolute;top:0;left:0;right:0;height:100%;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.rotate-button{background-color:#0009;color:#fff;border:none;border-radius:50%;width:30px;height:30px;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background-color .2s;margin:0 5px;pointer-events:auto}.rotate-button.left{margin-left:5px}.rotate-button.right{margin-right:5px}.rotate-button:hover{background-color:#000c}.delete-button{background-color:#dc3545;color:#fff;border:2px solid white;border-radius:50%;width:32px;height:32px;font-size:20px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;position:absolute;top:5px;right:5px;pointer-events:auto;line-height:1;padding:0;z-index:100;box-shadow:0 2px 6px #0000004d}.delete-button:hover{background-color:#dc3545;transform:scale(1.1)}.edit-images-header{display:flex;justify-content:flex-end;margin-bottom:10px;padding:0 5px}.edit-images-button{background-color:#007bff;color:#fff;border:none;border-radius:5px;padding:8px 16px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s,transform .1s}.edit-images-button:hover{background-color:#0056b3;transform:translateY(-1px)}.edit-images-button.active{background-color:#28a745}.edit-images-button.active:hover{background-color:#218838}.batch-templates-container{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;overflow:hidden;margin-top:1.5rem}.batch-templates-table{width:100%;border-collapse:collapse}.batch-templates-header{background:linear-gradient(135deg,#1e3a8a,#1e40af);color:#fff}.batch-templates-header-row{display:grid;grid-template-columns:2fr 3fr 1.5fr 1fr 1.2fr;padding:1rem 1.5rem;font-weight:600;font-size:.875rem;text-transform:uppercase;letter-spacing:.05em}.batch-templates-body{background:#fff}.batch-template-row{display:grid;grid-template-columns:2fr 3fr 1.5fr 1fr 1.2fr;padding:1.25rem 1.5rem;border-bottom:1px solid #f3f4f6;transition:all .2s ease;cursor:default}.batch-template-row:hover{background:#f9fafb;box-shadow:0 2px 4px #00000008}.batch-template-row:last-child{border-bottom:none}.template-name{font-weight:600;color:#1f2937;font-size:.95rem}.template-description{color:#6b7280;font-size:.875rem;line-height:1.5}.template-category{display:inline-flex;align-items:center;padding:.25rem .75rem;background:#e0f2fe;color:#0369a1;border-radius:6px;font-size:.8rem;font-weight:500;white-space:nowrap}.template-date{color:#6b7280;font-size:.875rem}.template-actions{display:flex;gap:.5rem;justify-content:flex-end}.template-action-btn{padding:.4rem .8rem;border:none;border-radius:6px;font-size:.8rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;gap:.25rem}.template-action-btn.edit{background:#f3f4f6;color:#374151;border:1px solid #e5e7eb}.template-action-btn.edit:hover{background:#e5e7eb;transform:translateY(-1px);box-shadow:0 2px 4px #0000000d}.template-action-btn.delete{background:#fee2e2;color:#b91c1c;border:1px solid #fecaca}.template-action-btn.delete:hover{background:#fecaca;transform:translateY(-1px);box-shadow:0 2px 4px #ef44441a}.batch-templates-empty{text-align:center;padding:4rem 2rem}.batch-templates-empty-icon{font-size:3rem;margin-bottom:1rem;opacity:.5}.batch-templates-empty-title{font-size:1.25rem;font-weight:600;color:#374151;margin-bottom:.5rem}.batch-templates-empty-desc{color:#6b7280;margin-bottom:2rem;font-size:.95rem}.batch-templates-info{background:linear-gradient(135deg,#eff6ff,#dbeafe);border:1px solid #bfdbfe;border-radius:8px;padding:1rem 1.25rem;margin-bottom:1.5rem;display:flex;align-items:center;gap:1rem}.batch-templates-info-icon{font-size:1.5rem;flex-shrink:0}.batch-templates-info-content h4{margin:0 0 .25rem;color:#1e40af;font-size:1rem;font-weight:600}.batch-templates-info-content p{margin:0;color:#3730a3;font-size:.875rem;line-height:1.4}.wysiwyg-container{border:2px solid #e0e0e0;border-radius:8px;overflow:hidden;background:#fff}.wysiwyg-toolbar{display:flex;gap:.25rem;padding:.75rem;background:#f8f9fa;border-bottom:1px solid #dee2e6;flex-wrap:wrap}.toolbar-btn{padding:.5rem;background:#fff;border:1px solid #dee2e6;border-radius:4px;cursor:pointer;font-size:.9rem;min-width:2rem;display:flex;align-items:center;justify-content:center;transition:all .2s;color:#333}.toolbar-btn:hover{background:#e9ecef;border-color:#adb5bd}.toolbar-btn:active{background:#dee2e6}.toolbar-separator{width:1px;background:#dee2e6;margin:.25rem;align-self:stretch}.wysiwyg-editor{min-height:120px;padding:1rem;border:none;outline:none;background:#fff;color:#333;line-height:1.5}.wysiwyg-editor:empty:before{content:attr(data-placeholder);color:#999;font-style:italic}.spinner{display:inline-block;position:relative;width:24px;height:24px;margin-right:10px}.spinner-circle{box-sizing:border-box;display:block;position:absolute;width:24px;height:24px;border:3px solid transparent;border-radius:50%;border-top-color:#007bff;animation:spin 1s linear infinite}.progress-container{width:100%;height:20px;background-color:#f1f1f1;border-radius:10px;margin:10px 0;position:relative;overflow:hidden}.progress-bar{height:100%;background-color:#007bff;border-radius:10px;transition:width .3s ease}.progress-text{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#000;font-size:12px;font-weight:700}.generate-area{position:relative;align-self:start}.generate-area .tooltip{position:absolute;top:-1.5rem;left:0;background:#333;color:#fff;padding:.5rem;border-radius:4px;font-size:.875rem}.upload-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%}.loading-button{display:flex;align-items:center;justify-content:center}.loading-progress{margin-bottom:20px}.loading-bar-container{width:100%;height:10px;background-color:#f1f1f1;border-radius:5px;margin-bottom:10px;overflow:hidden}.loading-bar{height:100%;background-color:#007bff;border-radius:5px;transition:width .3s ease}.listing-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px}.image-preview-popup{background:#000000e6;border-radius:8px;padding:8px;box-shadow:0 8px 32px #0000004d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);max-width:400px;max-height:400px;overflow:hidden;transition:opacity .2s ease-in-out}.preview-image{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:4px;display:block}.uploaded-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;margin-top:20px;padding:5px}.uploaded-images .image-container{position:relative;width:100%;height:150px;display:block;margin:0;overflow:visible}.uploaded-images img{width:100%;height:100%;object-fit:cover;border-radius:8px;cursor:pointer;transition:all .2s ease;border:2px solid transparent;display:block}.uploaded-images img:hover{transform:scale(1.02);box-shadow:0 4px 12px #00000026}.uploaded-images .delete-button{display:flex!important;visibility:visible!important}.ebay-integration-section.batch-mode{background:transparent;border:none;padding:0}.batch-legend{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;padding:15px;margin-bottom:20px;font-size:.9rem}.errors{margin-top:1rem}.error-msg{color:#dc3545;background:#f8d7da;border:1px solid #f5c6cb;padding:.75rem 1rem;border-radius:4px;margin-bottom:.5rem;font-size:.9rem}.response-data{margin-top:1rem}.response-data h4{margin:0 0 1rem;color:#333;font-size:1.1rem;font-weight:600}.response-fields{display:flex;flex-direction:column;gap:.75rem}.response-field{display:flex;flex-direction:column;gap:.25rem;padding:.5rem 0;border-bottom:1px solid #f0f0f0;overflow:hidden}.response-field.listing-metadata{flex-direction:row;align-items:flex-start}.response-field:last-child{border-bottom:none}.response-field.primary-field{background:#f8f9fa;padding:.75rem;border-radius:6px;border:1px solid #e9ecef}.response-field.editable-field{background:#fff}.response-field strong{font-weight:600;color:#495057;margin-bottom:.25rem}.editable-title-input,.editable-description-input{width:100%;max-width:100%;box-sizing:border-box;padding:8px 12px;border:1px solid #ccc;border-radius:4px;font-size:.9rem;background-color:#fff;color:#000;resize:vertical;font-family:inherit;line-height:1.4}.editable-title-input{min-height:60px}.editable-description-input{min-height:120px}.category-fields-metadata{margin-top:1rem;padding-top:1rem;border-top:1px solid #e9ecef}.category-fields-metadata h5{margin:10px 0 5px;color:#000;font-size:1rem;font-weight:600}.listing-metadata{display:flex;align-items:center;gap:8px;padding:.5rem 0;overflow:hidden}.listing-metadata strong{flex-shrink:0;min-width:fit-content}.listing-metadata>div{flex:1;min-width:0;overflow:hidden}.listing-metadata input{width:100%;max-width:100%;box-sizing:border-box}.ai-resolved-field{background:linear-gradient(135deg,#f0f7ff,#e8f4f8);border-radius:6px;padding:.5rem;margin:.25rem 0}.ai-resolved-notification{background:linear-gradient(135deg,#e8f4f8,#d1edff);border:1px solid #4a90e2;border-radius:6px;padding:12px;margin:8px 0;font-size:.9rem}.response-error{background:#f8d7da;border:1px solid #f5c6cb;border-radius:6px;padding:1rem;color:#721c24}.mt-2{margin-top:.5rem}.footer{text-align:center;padding:1rem 0;color:#777;font-size:.875rem;border-top:1px solid #ddd;margin-top:2rem;max-width:1600px;margin-left:auto;margin-right:auto;width:100%}.create-ebay-listings-button:focus,.create-single-listing-button:focus,.download-button:focus,.download-single-button:focus{outline:2px solid #0654ba;outline-offset:2px}.preview-section .create-ebay-listings-button,.group-card .create-single-listing-button,.card-actions .create-single-listing-button{display:inline-flex!important;visibility:visible!important;opacity:1!important}@media (max-width: 1400px){.batch-wizard-content{max-width:100%}}@media (max-width: 1200px){.batch-wizard-content{max-width:100%}}@media (max-width: 900px){.batch-wizard-content{width:calc(100% - 1rem);max-width:100%;margin:0 auto;border-radius:8px}.content-area,.wizard-content{padding:1rem}.form-row{grid-template-columns:1fr;gap:0}}@media (max-width: 768px){.content-area{padding:.75rem}.batch-wizard-content{width:100%;border-radius:0}.wizard-header{padding:.75rem 1rem}.wizard-content{padding:.75rem}.wizard-footer{padding:.75rem 1rem}}@media (prefers-color-scheme: dark){.sidebar{background:linear-gradient(180deg,#0f172a,#020617);border-color:#1e293b}.nav-link{color:#cbd5e1}.nav-link:hover{color:#f1f5f9;background:#33415580}.nav-link.active{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}}@media (prefers-contrast: high){.create-ebay-listings-button,.create-single-listing-button{border:2px solid #000}.create-ebay-listings-button:hover,.create-single-listing-button:hover{border-color:#fff}.sidebar-brand{border-bottom:3px solid #ffffff}.brand-logo{border:2px solid #ffffff;background:#fff3}.logo-container{border:2px solid #ffffff}.brand-logo-only{border:2px solid #ffffff;background:#fff}}.auto-rotate-option{display:flex;align-items:center;margin:12px 0 8px;padding:0}.auto-rotate-option input[type=checkbox]{margin-right:8px}.auto-rotate-option label{cursor:pointer;font-size:14px;margin:0}.ai-category-fields-option{display:flex;align-items:flex-start;margin:8px 0 12px;padding:12px 16px;background:linear-gradient(135deg,#f0f7ff,#e8f4f8);border:1px solid #4a90e2;border-radius:8px;gap:12px}.ai-category-fields-option input[type=checkbox]{margin:2px 0 0;flex-shrink:0}.ai-category-fields-option label{cursor:pointer;font-size:14px;font-weight:500;color:#333;flex:1;margin:0;line-height:1.4}.field-help-text{margin-top:6px}.field-help-text small{line-height:1.3;display:block;color:#666;font-size:12px}.form-section .form-group{margin-bottom:16px}.form-section .form-group:has(.upload-area)+.auto-rotate-option{margin-top:8px}.checkbox-options-group{display:flex;flex-direction:column;gap:6px;margin:8px 0 16px}@media (max-width: 768px){.ai-category-fields-option{padding:10px 12px;margin:6px 0 10px}.ai-category-fields-option label{font-size:13px}.field-help-text small{font-size:11px}.auto-rotate-option{margin:10px 0 6px}}.quota-info{display:flex;align-items:center;justify-content:center;padding:16px;margin:12px;background:#ffffff1a;border-radius:12px;border:1px solid rgba(255,255,255,.1);transition:all .3s ease}.quota-info:hover{background:#ffffff26;border-color:#fff3}.sidebar .quota-info>div{width:100%;background:transparent!important;border:none!important;box-shadow:none!important;padding:0!important;margin:0!important}.sidebar .quota-info h3{color:#f9fafb!important;font-size:16px!important}.sidebar .quota-info span{color:#d1d5db!important}.sidebar .quota-info>div>div:first-child span:last-child{background:#60a5fa33!important;color:#60a5fa!important}.sidebar .quota-info>div>div:nth-child(2)>div:nth-child(2){background:#ffffff1a!important}.sidebar .quota-info>div>div:nth-child(2) span:last-child{color:#60a5fa!important}.sidebar .quota-info>div>div:nth-child(2)>div:last-child{color:#9ca3af!important}.sidebar .quota-info>div>div:last-child{background:#fbbf241a!important;border:1px solid rgba(251,191,36,.2)!important}.sidebar .quota-info>div>div:last-child span{color:#fbbf24!important}.sidebar .quota-info button{background:#fbbf2433!important;color:#fbbf24!important;border:1px solid rgba(251,191,36,.3)!important}.sidebar .quota-info button:hover{background:#fbbf244d!important}.user-info{display:flex;align-items:center;gap:12px;padding:16px;margin:auto 12px 12px;background:#ffffff1a;border-radius:12px;border:1px solid rgba(255,255,255,.1);transition:all .3s ease;flex-shrink:0}.user-info:hover{background:#ffffff26;border-color:#fff3}.user-avatar{width:40px;height:40px;border-radius:50%;overflow:hidden;flex-shrink:0;background:linear-gradient(135deg,#3b82f6,#8b5cf6);display:flex;align-items:center;justify-content:center}.user-avatar img{width:100%;height:100%;object-fit:cover}.avatar-placeholder{color:#fff;font-weight:700;font-size:1.2rem}.user-details{flex:1;min-width:0}.user-name{color:#f9fafb;font-weight:600;font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-email{color:#d1d5db;font-size:.95rem;white-space:normal;word-break:break-word;font-weight:500;line-height:1.3;max-width:100%}.logout-button{background:none;border:none;color:#d1d5db;font-size:1.2rem;cursor:pointer;padding:6px;border-radius:6px;transition:all .2s ease;flex-shrink:0}.logout-button:hover{background:#ffffff1a;color:#f9fafb;transform:scale(1.1)}.auth-loading-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f8fafc,#e2e8f0)}.authenticated-app{min-height:100vh;width:100%}.sidebar.collapsed .user-info{flex-direction:column;gap:8px;padding:12px 8px;text-align:center}.sidebar.collapsed .user-details{display:none}.sidebar.collapsed .logout-button{width:100%;display:flex;justify-content:center}.auth-error-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#fef2f2,#fecaca);padding:2rem}.error-actions{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}.welcome-feature{display:flex;align-items:center;gap:1rem;padding:1rem;background:#f8fafc;border-radius:8px;border:1px solid #e5e7eb;transition:all .2s ease}.welcome-feature:hover{background:#f1f5f9;border-color:#cbd5e1}.welcome-feature .feature-icon{font-size:1.5rem;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:6px;flex-shrink:0;box-shadow:0 2px 4px #0000001a}.welcome-feature span:last-child{color:#374151;font-weight:500;line-height:1.4}.protected-content{position:relative}.protected-content:before{content:"";position:absolute;top:-4px;left:-4px;right:-4px;bottom:-4px;border:2px solid transparent;border-radius:8px;background:linear-gradient(45deg,#3b82f6,#8b5cf6) border-box;mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);-webkit-mask-composite:source-out;mask-composite:subtract;opacity:0;animation:protectedGlow 3s ease-in-out infinite}@keyframes protectedGlow{0%,to{opacity:0}50%{opacity:.3}}.user-profile-dropdown{position:absolute;top:100%;right:0;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 10px 30px #00000026;min-width:200px;z-index:1000;animation:dropdownSlideIn .2s ease-out}@keyframes dropdownSlideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.dropdown-item{display:flex;align-items:center;gap:12px;padding:12px 16px;color:#374151;text-decoration:none;font-size:.9rem;transition:background-color .2s ease;border:none;background:none;width:100%;text-align:left;cursor:pointer}.dropdown-item:hover{background:#f3f4f6}.dropdown-item:first-child{border-radius:8px 8px 0 0}.dropdown-item:last-child{border-radius:0 0 8px 8px;border-top:1px solid #e5e7eb;color:#dc2626}.dropdown-item:last-child:hover{background:#fef2f2}.dropdown-icon{width:16px;height:16px;opacity:.7}.auth-status-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:12px;font-size:.8rem;font-weight:500;text-transform:uppercase;letter-spacing:.05em}.auth-status-badge.authenticated{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}.auth-status-badge.unauthenticated{background:#fef2f2;color:#dc2626;border:1px solid #fecaca}.auth-status-badge.loading{background:#fef3c7;color:#92400e;border:1px solid #fde68a}@media (max-width: 1024px){.auth-error-content{padding:2rem 1.5rem;margin:1rem}.welcome-modal{margin:1rem}}@media (max-width: 768px){.user-info{padding:12px;margin:8px}.user-name{font-size:.85rem}.user-email{font-size:.7rem}.welcome-header{padding:1.5rem 1.5rem 1rem}.welcome-header h2{font-size:1.3rem}.welcome-content{padding:1rem 1.5rem 1.5rem}.welcome-features{gap:.75rem}.welcome-feature{padding:.75rem}.auth-error-content h2{font-size:1.5rem}.error-actions{flex-direction:column}}@media (max-width: 480px){.welcome-feature{flex-direction:column;text-align:center;gap:.75rem}.welcome-feature .feature-icon{margin:0 auto}.auth-error-content{padding:1.5rem 1rem}.user-info{flex-direction:column;gap:8px;text-align:center}.user-details{order:-1}}@media (prefers-color-scheme: dark){.welcome-modal{background:#1f2937;color:#f9fafb}.welcome-header{border-color:#374151}.welcome-feature{background:#374151;border-color:#4b5563}.welcome-feature:hover{background:#4b5563}.welcome-feature .feature-icon{background:#1f2937}.auth-error-content{background:#1f2937;color:#f9fafb;border-color:#374151}.user-profile-dropdown{background:#1f2937;border-color:#374151;color:#f9fafb}.dropdown-item{color:#f9fafb}.dropdown-item:hover{background:#374151}.dropdown-item:last-child{border-color:#dc2626}}body:has(.landing-page){display:block!important;place-items:unset!important;margin:0;padding:0;min-width:100%;width:100%}#root:has(.landing-page){width:100%;max-width:none!important;margin:0;padding:0;display:block}.landing-page{min-height:100vh;width:100vw;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;overflow-x:hidden;position:relative;left:0;right:0;top:0}.landing-page .container{width:100%;margin-left:auto;margin-right:auto;padding-left:1rem;padding-right:1rem}.landing-page .container.max-w-\[1500px\]{max-width:1500px}html{scroll-behavior:smooth}.size-4{width:1rem;height:1rem}.size-6{width:1.5rem;height:1.5rem}.size-7{width:1.75rem;height:1.75rem}.landing-page>nav,.landing-page>footer{width:100%;max-width:100%;overflow-x:hidden}.landing-page{overflow-x:hidden;max-width:100vw}.landing-page section{width:100%}@layer utilities{.min-w-80{min-width:20rem}.-me-2{margin-inline-end:-.5rem}}.landing-page nav,.landing-page section,.landing-page footer{all:unset;display:block}.landing-page nav{display:flex}.landing-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.landing-page button:focus-visible,.landing-page a:focus-visible,.landing-page input:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}.landing-page [role=tabpanel]{transition:opacity .15s ease-in-out}.landing-page [role=tabpanel].hidden{display:none}.landing-page [role=tabpanel].block{display:block}.landing-page .object-cover{object-fit:cover}.landing-page .object-contain{object-fit:contain}.landing-page img{max-width:100%;height:auto}.landing-page .absolute{position:absolute}.landing-page .z-10{z-index:10}.landing-page .border:hover{transition:all .2s ease-in-out}.landing-page .shadow-sm{box-shadow:0 1px 2px #0000000d}.landing-page .shadow-xl{box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.landing-page .shadow-2xl{box-shadow:0 25px 50px -12px #00000040}.landing-page .transform.scale-105{transform:scale(1.05)}.landing-page .mr-1{margin-right:.25rem}.landing-page footer{position:relative;overflow:hidden}@media (max-width: 768px){.landing-page nav{flex-wrap:wrap}.landing-page nav>div{flex-wrap:wrap;gap:.75rem}.landing-page nav a,.landing-page nav button{font-size:.875rem}}.landing-page input[type=email]{border:1px solid #e5e7eb;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.landing-page input[type=email]:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.landing-page button:disabled{cursor:not-allowed}.landing-page button,.landing-page a{transition:all .15s ease-in-out}.landing-page .max-w-\[85rem\]{max-width:85rem}.landing-page .max-w-\[1920px\]{max-width:1920px}.landing-page .max-w-2xl{max-width:42rem}.landing-page .max-w-5xl{max-width:64rem}@media (min-width: 1921px){.landing-page .max-w-\[1920px\]{margin-left:auto;margin-right:auto}}.landing-page .lg\:col-span-3{grid-column:span 3 / span 3}.landing-page .lg\:col-span-4{grid-column:span 4 / span 4}.landing-page .lg\:col-span-6{grid-column:span 6 / span 6}.landing-page .lg\:col-span-7{grid-column:span 7 / span 7}.landing-page .lg\:col-start-6{grid-column-start:6}.landing-page .lg\:col-start-8{grid-column-start:8}@media (min-width: 640px){.landing-page .sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}}@media (min-width: 768px){.landing-page .md\:text-5xl{font-size:3rem;line-height:1}.landing-page .md\:text-4xl{font-size:2.25rem;line-height:2.5rem}}@media (min-width: 1024px){.landing-page .lg\:text-6xl{font-size:3.75rem;line-height:1}.landing-page .lg\:text-7xl{font-size:4.5rem;line-height:1}}.landing-page button[role=tab].bg-white{background-color:#fff;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.landing-page .border-2.border-blue-600{border-width:2px;border-color:#2563eb}@media (prefers-color-scheme: dark){.landing-page{color:#1f2937;background-color:#f9fafb}}.landing-page nav img{height:2.75rem;width:auto}.landing-page footer img{height:2rem;width:auto}.landing-page .leading-tight{line-height:1.25}.landing-page .relative{position:relative}.landing-page .font-bold{font-weight:700}.landing-page .font-medium{font-weight:500}.landing-page .text-7xl{font-size:4.5rem;line-height:1}.landing-page .w-full{width:100%}.landing-page nav{position:relative;width:100%;z-index:50}.landing-page footer{width:100%;margin-top:auto}body:has(.landing-page){overflow-x:hidden}@media (min-width: 2000px){.landing-page .text-7xl{font-size:5rem}.landing-page .text-6xl{font-size:4rem}}.loading-container{display:flex;align-items:center;justify-content:center;min-height:100vh;background:linear-gradient(135deg,#f8fafc,#e2e8f0);position:relative;overflow:hidden}.loading-container:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 20% 80%,rgba(59,130,246,.1) 0%,transparent 50%),radial-gradient(circle at 80% 20%,rgba(99,102,241,.1) 0%,transparent 50%);pointer-events:none}.loading-content{text-align:center;z-index:1;position:relative}.loading-logo{margin-bottom:2rem;animation:logoFloat 3s ease-in-out infinite}.logo-image{height:80px;width:auto;filter:drop-shadow(0 4px 8px rgba(0,0,0,.1))}@keyframes logoFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.loading-spinner{display:flex;justify-content:center;margin-bottom:2rem}.modern-spinner{width:60px;height:60px;position:relative;display:inline-block}.loading-spinner.large .modern-spinner{width:80px;height:80px}.loading-spinner.medium .modern-spinner{width:60px;height:60px}.loading-spinner.small .modern-spinner{width:40px;height:40px}.spinner-blade{position:absolute;left:50%;top:50%;width:10%;height:30%;background:#3b82f6;border-radius:20px;transform-origin:center;transform:translate(-50%,-150%);animation:fade 1.2s linear infinite}.spinner-blade:nth-child(1){transform:translate(-50%,-150%) rotate(0);animation-delay:0s}.spinner-blade:nth-child(2){transform:translate(-50%,-150%) rotate(45deg);animation-delay:-.15s}.spinner-blade:nth-child(3){transform:translate(-50%,-150%) rotate(90deg);animation-delay:-.3s}.spinner-blade:nth-child(4){transform:translate(-50%,-150%) rotate(135deg);animation-delay:-.45s}.spinner-blade:nth-child(5){transform:translate(-50%,-150%) rotate(180deg);animation-delay:-.6s}.spinner-blade:nth-child(6){transform:translate(-50%,-150%) rotate(225deg);animation-delay:-.75s}.spinner-blade:nth-child(7){transform:translate(-50%,-150%) rotate(270deg);animation-delay:-.9s}.spinner-blade:nth-child(8){transform:translate(-50%,-150%) rotate(315deg);animation-delay:-1.05s}@keyframes fade{0%{opacity:1}to{opacity:.1}}.simple-spinner.large .spinner-circle{width:60px;height:60px;border-width:4px}.simple-spinner.medium .spinner-circle{width:40px;height:40px;border-width:3px}.simple-spinner.small .spinner-circle{width:24px;height:24px;border-width:3px}.loading-container.simple{min-height:auto;background:transparent;padding:2rem}.loading-container.simple .loading-content{display:flex;flex-direction:column;align-items:center;gap:1rem}.loading-container.simple .loading-message{margin-bottom:0}.loading-container.simple .primary-message{font-size:1rem;color:#6b7280}.loading-message{margin-bottom:2rem}.primary-message{font-size:1.25rem;font-weight:600;color:#1f2937;margin:0 0 .5rem;letter-spacing:-.025em}.secondary-message{font-size:1rem;color:#6b7280;margin:0;font-weight:400}.loading-dots{display:flex;justify-content:center;gap:.5rem}.loading-dots span{width:8px;height:8px;background:#3b82f6;border-radius:50%;animation:loadingDots 1.4s ease-in-out infinite both}.loading-dots span:nth-child(1){animation-delay:-.32s}.loading-dots span:nth-child(2){animation-delay:-.16s}.loading-dots span:nth-child(3){animation-delay:0s}@keyframes loadingDots{0%,80%,to{transform:scale(0);opacity:.5}40%{transform:scale(1);opacity:1}}.compact-loading{display:inline-flex;align-items:center;gap:.75rem;padding:1rem}.compact-spinner{position:relative}.spinner-circle{width:24px;height:24px;border:3px solid #e5e7eb;border-top:3px solid #3b82f6;border-radius:50%;animation:spin 1s linear infinite}.compact-message{color:#6b7280;font-size:.875rem;font-weight:500}.button-spinner{display:inline-flex;align-items:center;justify-content:center;margin-right:.5rem}.button-spinner-circle{width:16px;height:16px;border:2px solid transparent;border-top:2px solid currentColor;border-radius:50%;animation:spin 1s linear infinite}.auth-loading-container{display:flex;align-items:center;justify-content:center;min-height:100vh;background:linear-gradient(135deg,#f8fafc,#e2e8f0)}.auth-error-container{display:flex;align-items:center;justify-content:center;min-height:100vh;background:linear-gradient(135deg,#fef2f2,#fecaca);padding:2rem}.auth-error-content{text-align:center;max-width:500px;background:#fff;padding:3rem 2rem;border-radius:16px;box-shadow:0 20px 50px #0000001a;border:1px solid #fecaca}.error-icon{font-size:4rem;margin-bottom:1.5rem;display:block}.auth-error-content h2{color:#dc2626;font-size:1.8rem;font-weight:700;margin-bottom:1rem;letter-spacing:-.025em}.auth-error-content p{color:#6b7280;font-size:1.1rem;line-height:1.6;margin-bottom:2rem}.error-actions{display:flex;justify-content:center;gap:1rem}.btn-primary{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;padding:12px 24px;border-radius:8px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #3b82f640}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-2px);box-shadow:0 8px 20px #3b82f659}.welcome-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:2000;padding:2rem;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.welcome-modal{background:#fff;border-radius:16px;max-width:500px;width:100%;max-height:90vh;overflow-y:auto;animation:welcomeSlideIn .4s ease-out}@keyframes welcomeSlideIn{0%{opacity:0;transform:scale(.9) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}.welcome-header{display:flex;justify-content:space-between;align-items:flex-start;padding:2rem 2rem 1rem;border-bottom:1px solid #e5e7eb}.welcome-header h2{font-size:1.5rem;font-weight:700;color:#1f2937;margin:0;line-height:1.3;flex:1;padding-right:1rem}.welcome-close{background:none;border:none;font-size:2rem;color:#6b7280;cursor:pointer;padding:.5rem;border-radius:6px;transition:all .2s ease;flex-shrink:0}.welcome-close:hover{background:#f3f4f6;color:#374151}.welcome-content{padding:1.5rem 2rem 2rem;text-align:center}.welcome-content p{color:#6b7280;font-size:1.1rem;line-height:1.6;margin-bottom:2rem}.welcome-features{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem;text-align:left}.welcome-feature{display:flex;align-items:center;gap:1rem;padding:1rem;background:#f8fafc;border-radius:8px;border:1px solid #e5e7eb}.welcome-feature .feature-icon{font-size:1.5rem;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:6px;flex-shrink:0}.welcome-feature span:last-child{color:#374151;font-weight:500}@media (max-width: 768px){.loading-container{padding:2rem 1rem}.logo-image{height:60px}.loading-spinner.large .spinner-ring{width:60px;height:60px}.primary-message{font-size:1.1rem}.secondary-message{font-size:.9rem}.auth-error-content{padding:2rem 1.5rem;margin:1rem}.auth-error-content h2{font-size:1.5rem}.welcome-modal{margin:1rem}.welcome-header{padding:1.5rem 1.5rem 1rem}.welcome-header h2{font-size:1.3rem}.welcome-content{padding:1rem 1.5rem 1.5rem}.welcome-features{gap:.75rem}.welcome-feature{padding:.75rem}}@media (max-width: 480px){.error-actions{flex-direction:column}.welcome-feature{flex-direction:column;text-align:center;gap:.75rem}.welcome-feature .feature-icon{margin:0 auto}}.app-loading-indicator{display:inline-flex;align-items:center;justify-content:center;gap:.75rem;padding:1rem;color:#6b7280}.app-loading-spinner{width:24px;height:24px;border:3px solid #e5e7eb;border-top:3px solid #3b82f6;border-radius:50%;animation:app-spin 1s linear infinite}.app-loading-spinner.small{width:16px;height:16px;border-width:2px}.app-loading-spinner.large{width:40px;height:40px;border-width:4px}.app-loading-text{font-size:.875rem;font-weight:500;color:#6b7280}.app-loading-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#f8fafce6;display:flex;align-items:center;justify-content:center;z-index:100}.app-button-loading{display:inline-flex;align-items:center;gap:.5rem}.app-button-loading .app-loading-spinner{width:16px;height:16px;border-width:2px;border-color:currentColor;border-top-color:transparent}@keyframes app-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-container.simple .spinner-circle,.compact-spinner .spinner-circle{border-color:#e5e7eb;border-top-color:#3b82f6}.spinner-ring div{border-color:#e5e7eb!important;border-top-color:#3b82f6!important;border-right-color:transparent!important;border-bottom-color:transparent!important;border-left-color:transparent!important;animation:app-spin 1s linear infinite!important}.spinner-ring div:nth-child(2),.spinner-ring div:nth-child(3),.spinner-ring div:nth-child(4){display:none!important}.upload-area{border:2px dashed #bbb;padding:1.25rem;text-align:center;border-radius:8px;background-color:#fafafa;color:#333;cursor:pointer;transition:all .2s ease;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:130px}.upload-area.drag-active{background-color:#f0f7ff;border-color:#007bff;transform:scale(1.01);box-shadow:0 4px 10px #007bff1a}.upload-area:hover:not(.is-uploading){background-color:#f0f0f0;border-color:#999}.upload-area.is-uploading{cursor:default;background-color:#f8f9fa;border-color:#ddd}.upload-icon{margin-bottom:.5rem;color:#666}.upload-icon svg{width:36px;height:36px}.upload-text{font-size:1rem;margin-bottom:.3rem;font-weight:500;color:#444}.upload-hint{font-size:.75rem;color:#888;margin:0}.upload-progress{width:100%;display:flex;flex-direction:column;align-items:center}.upload-status{width:90%;max-width:400px}.upload-status p{margin-bottom:.5rem;color:#333;font-size:.9rem}.progress-container{width:100%;height:10px;background-color:#f1f1f1;border-radius:6px;margin:.5rem 0 .75rem;position:relative;overflow:hidden}.progress-bar{height:100%;background-color:#007bff;border-radius:6px;transition:width .3s ease}.progress-text{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#333;font-size:10px;font-weight:700}.cancel-button{background-color:#f8f9fa;border:1px solid #ddd;color:#666;padding:.3rem .8rem;border-radius:4px;font-size:.8rem;cursor:pointer;transition:all .2s}.cancel-button:hover{background-color:#e9ecef;color:#333;border-color:#ccc}@keyframes pulse{0%{box-shadow:0 0 #007bff66}70%{box-shadow:0 0 0 10px #007bff00}to{box-shadow:0 0 #007bff00}}.upload-area.drag-active{animation:pulse 1.5s infinite}.image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-top:20px;width:100%}.image-card{position:relative;padding-top:100%;border-radius:4px;overflow:hidden;background-color:#f5f5f5;box-shadow:0 2px 4px #0000001a}.image-card img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;transition:transform .2s}.image-card:hover img{transform:scale(1.05)}@media (hover: none){.upload-area:hover:not(.is-uploading){background-color:#fafafa;border-color:#bbb}.upload-hint{display:none}.upload-text{font-size:.9rem}}@media (max-width: 768px){.upload-area{padding:1rem;min-height:100px}.upload-icon svg{width:30px;height:30px}.image-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}.ebay-auth-container{width:100%;max-width:600px;margin:0 auto;padding:20px}.auth-card{background:#fff;border-radius:12px;box-shadow:0 4px 20px #0000001a;padding:30px;text-align:center}.auth-card.authenticated{text-align:left}.auth-header{margin-bottom:25px}.auth-card.authenticated .auth-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.ebay-logo{height:40px;width:auto;margin-bottom:15px}.auth-card.authenticated .ebay-logo{height:30px;margin-bottom:0}.auth-header h3{margin:0 0 10px;color:#333;font-size:1.5rem}.auth-header p{margin:0;color:#666;line-height:1.5}.auth-status{display:flex;align-items:center;gap:8px;font-weight:500;color:#333}.status-indicator{font-size:1.2rem}.status-indicator.connected{color:#4caf50}.auth-loading{display:flex;flex-direction:column;align-items:center;gap:15px;padding:40px 20px}.auth-loading p{color:#666;margin:0}.auth-error{background-color:#ffebee;border:1px solid #f44336;border-radius:6px;padding:12px;margin-bottom:20px}.auth-error p{color:#d32f2f;margin:0;font-weight:500}.auth-benefits{background-color:#f8f9fa;border-radius:8px;padding:20px;margin:20px 0;text-align:left}.auth-benefits h4{margin:0 0 15px;color:#333;font-size:1.1rem}.auth-benefits ul{list-style:none;padding:0;margin:0}.auth-benefits li{padding:6px 0;color:#555;font-size:.95rem}.ebay-connect-button{background:linear-gradient(135deg,#0654ba,#4a90e2);color:#fff;border:none;padding:15px 30px;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease;margin:20px 0;width:100%;max-width:300px}.ebay-connect-button:hover:not(:disabled){background:linear-gradient(135deg,#0545a0,#3a7bc8);transform:translateY(-2px);box-shadow:0 6px 20px #0654ba4d}.ebay-connect-button:disabled{background:#ccc;cursor:not-allowed;transform:none;box-shadow:none}.auth-footer{margin-top:20px;padding-top:15px;border-top:1px solid #eee}.auth-footer p{color:#888;margin:0;font-size:.85rem}.user-profile{background-color:#f8f9fa;border-radius:8px;padding:20px;margin-bottom:25px}.user-profile h4{margin:0 0 15px;color:#333;font-size:1.1rem}.profile-info{display:flex;flex-direction:column;gap:8px}.profile-info p{margin:0;color:#555;font-size:.9rem}.profile-info strong{color:#333;margin-right:8px;min-width:100px;display:inline-block}.business-policies{background-color:#f8f9fa;border-radius:8px;padding:20px;margin-bottom:25px}.policies-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.policies-header h4{margin:0;color:#333;font-size:1.1rem}.refresh-button{background:#f5f5f5;border:1px solid #ddd;border-radius:6px;padding:8px 12px;font-size:.85rem;cursor:pointer;transition:all .2s ease;color:#666}.refresh-button:hover:not(:disabled){background:#e9ecef;border-color:#adb5bd}.policies-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.policy-section{background:#fff;border-radius:6px;padding:15px;border:1px solid #e9ecef}.policy-section h5{margin:0 0 12px;color:#333;font-size:.95rem;font-weight:600}.policy-list{list-style:none;padding:0;margin:0}.policy-item{display:flex;flex-direction:column;gap:4px;padding:8px 0;border-bottom:1px solid #f1f3f4}.policy-item:last-child{border-bottom:none}.policy-name{font-weight:500;color:#333;font-size:.9rem}.policy-id{font-size:.8rem;color:#666;font-family:monospace}.policy-more{padding:8px 0;color:#666;font-style:italic;font-size:.85rem}.no-policies{color:#888;font-style:italic;margin:0;font-size:.9rem}.auth-actions{display:flex;justify-content:center;padding-top:20px;border-top:1px solid #eee}.disconnect-button{background:#dc3545;color:#fff;border:none;padding:10px 20px;border-radius:6px;font-size:.9rem;cursor:pointer;transition:background-color .2s ease}.disconnect-button:hover{background:#c82333}.ebay-integration-section{background-color:#f8f9fa;border-radius:8px;padding:15px;border:1px solid #e9ecef}.ebay-toggle-button{background:linear-gradient(135deg,#0654ba,#4a90e2);color:#fff;border:none;padding:12px 24px;border-radius:6px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .3s ease;width:100%}.ebay-toggle-button:hover{background:linear-gradient(135deg,#0545a0,#3a7bc8);transform:translateY(-1px);box-shadow:0 4px 12px #0654ba33}.ebay-collapse-button{background:#6c757d;color:#fff;border:none;padding:8px 16px;border-radius:4px;font-size:.85rem;cursor:pointer;margin-bottom:15px;transition:background-color .2s ease}.ebay-collapse-button:hover{background:#5a6268}.ebay-auth-expanded{width:100%}.policy-selector-container{background:#fff;border-radius:8px;padding:20px;margin-top:15px;border:1px solid #e9ecef}.policy-selector-container h4{margin:0 0 5px;color:#333;font-size:1.1rem}.policy-subtitle{color:#666;margin:0 0 20px;font-size:.9rem}.policy-selector-placeholder{text-align:center;padding:30px 20px;color:#888;font-style:italic}.policy-selectors{display:flex;flex-direction:column;gap:20px}.policy-group{display:flex;flex-direction:column;gap:8px}.policy-label{display:flex;align-items:center;gap:8px;font-weight:500;color:#333;font-size:.95rem}.policy-icon{font-size:1.1rem}.policy-select{width:100%;padding:10px 12px;border:1px solid #ced4da;border-radius:6px;font-size:.9rem;background-color:#fff;color:#333;transition:border-color .2s ease,box-shadow .2s ease}.policy-select:focus{outline:none;border-color:#0654ba;box-shadow:0 0 0 2px #0654ba1a}.policy-select:disabled{background-color:#f8f9fa;color:#6c757d;cursor:not-allowed}.policy-description{font-size:.8rem;color:#666;font-style:italic;padding:5px 10px;background-color:#f8f9fa;border-radius:4px;border-left:3px solid #0654ba}.policy-summary{margin-top:25px;padding:15px;background-color:#e8f4f8;border-radius:6px;border:1px solid #b8e6f0}.policy-summary h5{margin:0 0 12px;color:#0654ba;font-size:.95rem}.summary-grid{display:flex;flex-direction:column;gap:8px}.summary-item{font-size:.85rem;color:#333}.summary-item strong{color:#0654ba;margin-right:8px}.status-completed{color:#28a745;font-weight:500}.status-pending{color:#ffc107;font-weight:500}.selling-limits{background:#fff;border-radius:6px;padding:12px;margin-top:8px;border-left:3px solid #0654ba}.selling-limits p{margin:4px 0}.data-source-badge{background:#e9ecef;color:#495057;padding:2px 6px;border-radius:4px;font-size:.75rem;font-family:monospace;margin-left:6px}.profile-message{font-style:italic}.env-badge{padding:2px 8px;border-radius:4px;font-size:.75rem;font-weight:700;text-transform:uppercase}.env-badge.production{background:#d4edda;color:#155724}.env-badge.sandbox{background:#fff3cd;color:#856404}@media (max-width: 768px){.ebay-auth-container{padding:15px}.auth-card{padding:20px}.auth-card.authenticated .auth-header{flex-direction:column;align-items:flex-start;gap:10px}.policies-grid{grid-template-columns:1fr;gap:15px}.profile-info{gap:6px}.profile-info strong{min-width:80px;font-size:.85rem}.ebay-connect-button{padding:12px 24px;font-size:1rem}.auth-benefits{padding:15px;margin:15px 0}.business-policies{padding:15px}.policies-header{flex-direction:column;align-items:flex-start;gap:10px}.policy-selector-container{padding:15px}.summary-grid{gap:6px}.selling-limits{padding:10px}}.status-completed{color:#059669;font-weight:600}.status-pending{color:#d97706;font-weight:600}.selling-limits{margin-top:8px}.selling-limits p{margin-bottom:4px}.data-source-badge{background:#f3f4f6;color:#4b5563;padding:2px 6px;border-radius:4px;font-size:.8rem;font-family:monospace;margin-left:8px}.profile-message{background:#f0f9ff;border:1px solid #0ea5e9;border-radius:6px;padding:8px 12px;margin-top:8px;font-size:.9rem;color:#0c4a6e}.ebay-listing-manager{background:#fff;border-radius:16px;box-shadow:0 8px 32px #0000001f;max-width:700px;width:95%;max-height:85vh;overflow-y:auto;margin:0 auto;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.listing-manager-header{display:flex;justify-content:space-between;align-items:center;padding:24px 28px;border-bottom:1px solid #e5e7eb;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:16px 16px 0 0}.listing-manager-header h3{margin:0;color:#1f2937;font-size:1.5rem;font-weight:600;display:flex;align-items:center;gap:8px}.listing-manager-header h3:before{content:"🏪";font-size:1.2em}.header-buttons{display:flex;gap:8px}.close-button,.minimize-button{background:none;border:none;font-size:24px;color:#6b7280;cursor:pointer;padding:8px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:all .2s ease}.close-button:hover,.minimize-button:hover{background:#f3f4f6;color:#374151;transform:scale(1.05)}.minimize-button{font-size:28px;line-height:1;padding-bottom:10px}.warning-message{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #f59e0b;color:#92400e;padding:20px 24px;margin:24px 28px;border-radius:12px;display:flex;align-items:center;gap:12px;font-weight:500}.warning-message:before{content:"⚠️";font-size:1.2em;flex-shrink:0}.listing-options{padding:28px}.listing-summary{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);padding:24px;border-radius:12px;margin-bottom:24px;border:1px solid #0ea5e9}.listing-summary h4{margin:0 0 12px;color:#0c4a6e;font-size:1.1rem;font-weight:600}.listing-summary p{margin:0 0 16px;color:#075985;line-height:1.5}.policy-summary{margin-top:16px;padding-top:16px;border-top:1px solid #0ea5e9}.policy-summary h5{margin:0 0 12px;color:#0c4a6e;font-size:.95rem;font-weight:600}.policy-summary ul{list-style:none;padding:0;margin:0;display:grid;gap:6px}.policy-summary li{padding:8px 12px;background:#fff;border-radius:6px;color:#059669;font-size:.9rem;font-weight:500;border:1px solid #d1fae5;display:flex;align-items:center;gap:8px}.policy-summary li:before{content:"✓";color:#059669;font-weight:700}.action-buttons{display:flex;gap:12px;justify-content:center}.create-all-button{background:linear-gradient(135deg,#0654ba,#4a90e2);color:#fff;border:none;padding:16px 32px;border-radius:12px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #0654ba4d;position:relative;overflow:hidden}.create-all-button:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s}.create-all-button:hover:not(:disabled):before{left:100%}.create-all-button:hover:not(:disabled){background:linear-gradient(135deg,#0545a0,#3a7bc8);transform:translateY(-2px);box-shadow:0 8px 20px #0654ba66}.draft-option{background:linear-gradient(135deg,#f8fafc,#f3f4f6);padding:16px 20px;border-radius:12px;border:1px solid #e5e7eb;transition:all .3s ease}.draft-option:hover{border-color:#d1d5db;background:linear-gradient(135deg,#f3f4f6,#e5e7eb)}.draft-option label{font-weight:500;color:#374151;-webkit-user-select:none;user-select:none}.draft-option input[type=checkbox]{width:18px;height:18px;border-radius:4px;border:2px solid #d1d5db;background:#fff;transition:all .2s ease;accent-color:#0654ba}.draft-option input[type=checkbox]:checked{background:#0654ba;border-color:#0654ba}.draft-option input[type=checkbox]:hover{border-color:#9ca3af}.create-all-button:disabled{background:#9ca3af;cursor:not-allowed;transform:none;box-shadow:none}.listing-progress{padding:40px 28px;text-align:center}.listing-progress h4{margin:0 0 24px;color:#1f2937;font-size:1.3rem;font-weight:600}.progress-info p{margin:12px 0;color:#4b5563;font-size:1rem}.progress-bar-container{width:100%;height:24px;background:#f3f4f6;border-radius:12px;overflow:hidden;margin:24px 0;box-shadow:inset 0 2px 4px #0000001a}.progress-bar{height:100%;background:linear-gradient(90deg,#0654ba,#4a90e2);transition:width .5s ease;position:relative;overflow:hidden}.progress-bar:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(45deg,rgba(255,255,255,.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.2) 50%,rgba(255,255,255,.2) 75%,transparent 75%,transparent);background-size:40px 40px;animation:progress-animation 1s linear infinite}@keyframes progress-animation{0%{background-position:0 0}to{background-position:40px 40px}}.progress-percentage{font-size:1.4rem;font-weight:700;color:#0654ba;margin-top:8px}.listing-results{padding:28px}.listing-results h4{margin:0 0 28px;color:#1f2937;text-align:center;font-size:1.4rem;font-weight:600}.results-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:20px;margin-bottom:32px}.result-stat{background:#fff;padding:24px 20px;border-radius:16px;text-align:center;position:relative;transition:all .3s ease;box-shadow:0 4px 12px #0000000d}.result-stat:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001a}.result-stat.success{border:2px solid #10b981;background:linear-gradient(135deg,#ecfdf5,#d1fae5)}.result-stat.failed{border:2px solid #ef4444;background:linear-gradient(135deg,#fef2f2,#fecaca)}.stat-number{display:block;font-size:2.5rem;font-weight:800;margin-bottom:8px;line-height:1}.result-stat.success .stat-number{color:#059669}.result-stat.failed .stat-number{color:#dc2626}.stat-label{font-size:1rem;color:#374151;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.successful-listings,.failed-listings{margin-bottom:24px}.successful-listings h5,.failed-listings h5{margin:0 0 16px;color:#1f2937;font-size:1.1rem;font-weight:600;display:flex;align-items:center;gap:8px}.successful-listings h5:before{content:"✅"}.failed-listings h5:before{content:"❌"}.successful-listings ul,.failed-listings ul{list-style:none;padding:0;margin:0;max-height:240px;overflow-y:auto;border-radius:12px;border:1px solid #e5e7eb}.successful-listings li,.failed-listings li{padding:16px 20px;background:#fff;margin:0;border-bottom:1px solid #f3f4f6;display:flex;justify-content:space-between;align-items:flex-start;font-size:.95rem;transition:background .2s;gap:16px}.successful-listings li:hover,.failed-listings li:hover{background:#f9fafb}.successful-listings li:last-child,.failed-listings li:last-child{border-bottom:none}.successful-listings li{border-left:4px solid #10b981}.failed-listings li{border-left:4px solid #ef4444}.listing-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:140px}.listing-status{background:#eff6ff;color:#0654ba;padding:4px 8px;border-radius:6px;font-size:.85rem;font-weight:500}.view-listing-link,.manage-draft-link{background:linear-gradient(135deg,#0654ba,#4a90e2);color:#fff;text-decoration:none;padding:6px 12px;border-radius:6px;font-size:.8rem;font-weight:500;transition:all .2s ease;display:inline-flex;align-items:center;gap:4px}.view-listing-link:hover,.manage-draft-link:hover{background:linear-gradient(135deg,#0545a0,#3a7bc8);transform:translateY(-1px);box-shadow:0 2px 8px #0654ba4d;color:#fff;text-decoration:none}.manage-draft-link{background:linear-gradient(135deg,#f59e0b,#d97706)}.manage-draft-link:hover{background:linear-gradient(135deg,#d97706,#b45309);box-shadow:0 2px 8px #f59e0b4d}.view-listing-link:before{content:"👁️";font-size:.8em}.manage-draft-link:before{content:"✏️";font-size:.8em}.bulk-actions{display:flex;justify-content:center;gap:16px;margin-top:24px;padding-top:20px;border-top:1px solid #e5e7eb}.bulk-action-button{display:inline-flex;align-items:center;gap:8px;padding:12px 20px;border-radius:10px;text-decoration:none;font-weight:600;font-size:.95rem;transition:all .3s ease;border:2px solid transparent}.bulk-action-button.view-all-listings{background:linear-gradient(135deg,#0654ba,#4a90e2);color:#fff;box-shadow:0 4px 12px #0654ba33}.bulk-action-button.view-all-listings:hover{background:linear-gradient(135deg,#0545a0,#3a7bc8);transform:translateY(-2px);box-shadow:0 6px 16px #0654ba4d;color:#fff;text-decoration:none}.bulk-action-button.manage-drafts{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;box-shadow:0 4px 12px #f59e0b33}.bulk-action-button.manage-drafts:hover{background:linear-gradient(135deg,#d97706,#b45309);transform:translateY(-2px);box-shadow:0 6px 16px #f59e0b4d;color:#fff;text-decoration:none}.sku{font-weight:600;color:#1f2937;background:#f3f4f6;padding:4px 8px;border-radius:6px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.85rem}.listing-id{color:#0654ba;font-size:.9rem;font-weight:500;background:#eff6ff;padding:4px 8px;border-radius:6px}.error{color:#dc2626;font-size:.9rem;font-weight:500;max-width:60%;text-align:right}.failed-listings-list{display:flex;flex-direction:column;gap:16px;max-height:400px;overflow-y:auto;padding:4px}.failed-listing-item{background:#fff;border:1px solid #fecaca;border-left:4px solid #ef4444;border-radius:12px;padding:20px;transition:all .2s ease}.failed-listing-item:hover{box-shadow:0 4px 12px #ef44441a;transform:translate(2px)}.failed-listing-header{display:flex;align-items:center;gap:12px;margin-bottom:12px}.error-icon{font-size:1.5rem;flex-shrink:0}.error-content{flex:1}.error-title{font-size:1.1rem;font-weight:600;color:#991b1b;margin-bottom:8px}.error-message{color:#7f1d1d;font-size:.95rem;line-height:1.5;margin-bottom:12px}.troubleshooting-steps{background:#fef2f2;border-radius:8px;padding:12px 16px;margin-top:12px;border:1px solid #fecaca}.troubleshooting-steps summary{cursor:pointer;font-weight:600;color:#991b1b;font-size:.9rem;-webkit-user-select:none;user-select:none;display:flex;align-items:center;gap:8px}.troubleshooting-steps summary:hover{color:#7f1d1d}.troubleshooting-steps summary:before{content:"💡";font-size:1rem}.troubleshooting-steps[open] summary{margin-bottom:12px}.troubleshooting-steps ol{margin:0;padding-left:24px;color:#7f1d1d}.troubleshooting-steps li{margin:6px 0;font-size:.85rem;line-height:1.5;padding:0;background:none;border:none}.troubleshooting-steps li:hover{background:none}.error-details{background:#f3f4f6;border-radius:8px;padding:12px 16px;margin-top:12px;border:1px solid #e5e7eb}.error-details summary{cursor:pointer;font-weight:500;color:#6b7280;font-size:.85rem;-webkit-user-select:none;user-select:none}.error-details summary:hover{color:#4b5563}.error-details[open] summary{margin-bottom:8px}.error-details pre{margin:0;font-size:.75rem;color:#4b5563;white-space:pre-wrap;word-wrap:break-word;font-family:Monaco,Menlo,Ubuntu Mono,monospace;background:#fff;padding:12px;border-radius:6px;border:1px solid #e5e7eb;max-height:200px;overflow-y:auto}.close-results-button{background:linear-gradient(135deg,#6b7280,#4b5563);color:#fff;border:none;padding:12px 28px;border-radius:10px;cursor:pointer;display:block;margin:24px auto 0;transition:all .3s ease;font-weight:500;font-size:1rem}.close-results-button:hover{background:linear-gradient(135deg,#4b5563,#374151);transform:translateY(-2px);box-shadow:0 4px 12px #4b55634d}.error-message{background:linear-gradient(135deg,#fef2f2,#fecaca);border:1px solid #f87171;color:#991b1b;padding:20px 24px;margin:24px 28px;border-radius:12px;text-align:center}.error-message p{margin:0 0 16px;font-weight:500}.error-message button{background:#dc2626;color:#fff;border:none;padding:10px 20px;border-radius:8px;cursor:pointer;transition:all .2s ease;font-weight:500}.error-message button:hover{background:#b91c1c;transform:scale(1.05)}.create-listing-button{background:#0654ba;color:#fff;border:none;padding:10px 20px;border-radius:8px;font-size:.9rem;cursor:pointer;transition:all .2s ease;margin-top:12px;font-weight:500}.create-listing-button:hover:not(:disabled){background:#0545a0;transform:translateY(-1px);box-shadow:0 4px 12px #0654ba4d}.create-listing-button:disabled{background:#9ca3af;cursor:not-allowed}.listing-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.listing-modal{width:100%;max-width:700px;max-height:90vh;overflow-y:auto;animation:slideIn .3s ease}@keyframes slideIn{0%{opacity:0;transform:scale(.9) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}.status-message{padding:16px 20px;border-radius:12px;margin:16px 0;display:flex;align-items:center;gap:12px;font-weight:500}.status-message.info{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border:1px solid #3b82f6;color:#1d4ed8}.status-message.warning{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #f59e0b;color:#92400e}.status-message.success{background:linear-gradient(135deg,#d1fae5,#a7f3d0);border:1px solid #10b981;color:#065f46}@media (max-width: 600px){.ebay-listing-manager{width:100%;border-radius:0;max-height:100vh}.listing-modal-overlay{padding:0}.results-summary{grid-template-columns:1fr;gap:12px}.result-stat{padding:20px 16px}.listing-manager-header{padding:20px 24px}.listing-options,.listing-results{padding:24px 20px}.stat-number{font-size:2rem}.successful-listings li,.failed-listings li{flex-direction:column;align-items:flex-start;gap:12px}.listing-actions{width:100%;flex-direction:row;justify-content:space-between;align-items:center;min-width:auto}.bulk-actions{flex-direction:column;gap:12px}.bulk-action-button{width:100%;justify-content:center}.view-listing-link,.manage-draft-link{padding:8px 12px;font-size:.75rem}}.feed-upload-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:10000}.feed-upload-modal{background:#fff;border-radius:12px;width:90%;max-width:600px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.feed-upload-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e5e7eb;background-color:#f9fafb}.feed-upload-header h3{margin:0;font-size:1.25rem;font-weight:600;color:#111827}.header-buttons{display:flex;gap:8px;align-items:center}.feed-upload-header .close-button,.feed-upload-header .minimize-button{background:none;border:none;font-size:1.5rem;color:#6b7280;cursor:pointer;padding:4px 8px;border-radius:4px;transition:all .2s;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.feed-upload-header .close-button:hover,.feed-upload-header .minimize-button:hover{background-color:#f3f4f6;color:#374151}.feed-upload-header .minimize-button{font-size:24px;line-height:1}.feed-upload-content{padding:24px;overflow-y:auto;flex:1}.upload-ready{text-align:center;padding:20px 0}.upload-icon{font-size:3rem;margin-bottom:16px}.upload-info{background-color:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;padding:16px;margin:20px 0;text-align:left}.upload-info p{margin:0 0 8px;color:#0369a1;font-weight:500}.upload-info ul{margin:8px 0 0 20px;padding:0;color:#0c4a6e}.upload-info li{margin:4px 0}.start-upload-button{background-color:#3b82f6;color:#fff;border:none;border-radius:6px;padding:12px 32px;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s}.start-upload-button:hover{background-color:#2563eb}.upload-progress{text-align:center;padding:20px 0}.progress-icon{font-size:3rem;margin-bottom:16px;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.task-id{font-size:.875rem;color:#6b7280;margin:8px 0;font-family:monospace}.progress-bar-container{width:100%;height:8px;background-color:#e5e7eb;border-radius:4px;overflow:hidden;margin:20px 0 8px}.progress-bar{height:100%;background-color:#3b82f6;transition:width .2s ease-out;will-change:width}.progress-percentage{font-size:1.5rem;font-weight:600;color:#374151;margin:8px 0}.progress-note{font-size:.875rem;color:#6b7280;margin-top:12px}.upload-complete{text-align:center;padding:20px 0}.complete-icon{font-size:3rem;margin-bottom:16px}.results-summary{display:flex;justify-content:center;gap:32px;margin:24px 0}.result-stat{text-align:center}.stat-number{display:block;font-size:2rem;font-weight:700;color:#111827;margin-bottom:4px}.stat-label{font-size:.875rem;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.failed-listings{background-color:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:16px;margin:20px 0;text-align:left}.failed-listings h5{margin:0 0 12px;color:#dc2626;font-size:1rem}.error-list{max-height:200px;overflow-y:auto}.error-item{padding:8px 0;border-bottom:1px solid #fecaca}.error-item:last-child{border-bottom:none}.error-item strong{color:#7f1d1d;display:block;margin-bottom:4px}.error-item p{margin:0;color:#991b1b;font-size:.875rem}.more-errors{margin-top:12px;font-style:italic;color:#991b1b;font-size:.875rem}.action-buttons{display:flex;gap:12px;justify-content:center;margin-top:24px;flex-wrap:wrap}.view-listings-button,.view-drafts-button{background-color:#10b981;color:#fff;border:none;border-radius:6px;padding:10px 20px;font-size:.875rem;font-weight:500;text-decoration:none;display:inline-block;transition:background-color .2s}.view-listings-button:hover,.view-drafts-button:hover{background-color:#059669}.view-drafts-button{background-color:#f59e0b}.view-drafts-button:hover{background-color:#d97706}.close-button-primary{background-color:#6b7280;color:#fff;border:none;border-radius:6px;padding:10px 20px;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .2s}.close-button-primary:hover{background-color:#4b5563}.upload-error{text-align:center;padding:20px 0}.error-icon{font-size:3rem;margin-bottom:16px}.error-message{color:#dc2626;font-size:1rem;margin:16px 0 24px;padding:12px;background-color:#fef2f2;border:1px solid #fecaca;border-radius:6px}.error-actions{display:flex;gap:12px;justify-content:center}.retry-button{background-color:#3b82f6;color:#fff;border:none;border-radius:6px;padding:10px 24px;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .2s}.retry-button:hover{background-color:#2563eb}.cancel-button{background-color:#ef4444;color:#fff;border:none;border-radius:6px;padding:10px 24px;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .2s}.cancel-button:hover{background-color:#dc2626}.warning-icon{font-size:3rem;margin-bottom:16px}.warning-note{background-color:#fffbeb;border:1px solid #fbbf24;border-radius:8px;padding:16px;margin:20px 0;text-align:left}.warning-note p{margin:0;color:#92400e}.error-note{background-color:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:16px;margin:20px 0;text-align:left}.error-note p{margin:0;color:#991b1b}.info-note{background-color:#eff6ff;border:1px solid #93c5fd;border-radius:8px;padding:16px;margin:10px 0;text-align:left}.info-note p{margin:0 0 5px;color:#1e40af}.info-note p:last-child{margin-bottom:0}.failed-listings-details{margin-top:12px}.failed-listing-item{padding:8px 0;border-bottom:1px solid rgba(0,0,0,.1)}.failed-listing-item:last-child{border-bottom:none}.listing-title{font-weight:600;color:#111827;margin-bottom:4px}.listing-error{font-size:.875rem;color:#6b7280}.more-failures{margin-top:8px;font-style:italic;color:#6b7280;font-size:.875rem}.check-seller-hub{margin-top:8px!important;font-size:.875rem;font-style:italic}.account-confirmation-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:10001;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.account-confirmation-modal{background:#fff;border-radius:12px;width:90%;max-width:480px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;overflow:hidden}.confirmation-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e5e7eb;background-color:#f9fafb}.confirmation-header h3{margin:0;font-size:1.25rem;font-weight:600;color:#111827}.confirmation-header .close-button{background:none;border:none;font-size:1.5rem;color:#6b7280;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.confirmation-header .close-button:hover{background-color:#e5e7eb;color:#111827}.confirmation-content{padding:24px}.account-info{text-align:center;margin-bottom:24px}.account-message{margin:0 0 8px;color:#4b5563;font-size:1rem}.account-id{margin:0;font-size:1.5rem;color:#1f2937;padding:12px 20px;background-color:#f3f4f6;border-radius:8px;display:inline-block}.warning-section{background-color:#fef3c7;border:1px solid #fcd34d;border-radius:8px;padding:16px;margin-bottom:24px;display:flex;align-items:flex-start;gap:12px}.warning-icon{margin:0;font-size:1.5rem;flex-shrink:0}.warning-text{margin:0;color:#92400e;font-size:.95rem;line-height:1.5}.confirmation-actions{display:flex;gap:12px;justify-content:center}.proceed-button,.cancel-button{padding:10px 20px;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s;border:none}.proceed-button{background-color:#10b981;color:#fff;flex:1}.proceed-button:hover{background-color:#059669}.cancel-button{background-color:#e5e7eb;color:#374151}.cancel-button:hover{background-color:#d1d5db}.ebay-account-selector-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.ebay-account-selector-modal{background:#fff;border-radius:12px;padding:24px;width:90%;max-width:500px;max-height:80vh;overflow-y:auto;box-shadow:0 10px 30px #0003}.ebay-account-selector-modal h2{margin:0 0 8px;color:#1f2937;font-size:24px;font-weight:600}.ebay-account-selector-modal p{margin:0 0 24px;color:#6b7280;font-size:16px}.ebay-accounts-list{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}.ebay-account-option{display:flex;align-items:center;gap:16px;padding:12px 16px;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .2s ease;background:#fff}.ebay-account-option:hover{border-color:#3b82f6;background:#f0f9ff;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f626}.ebay-account-option.selected{border-color:#3b82f6;background:#f0f9ff}.account-icon{width:48px;height:48px;background:#e0f2fe;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.account-icon svg{width:28px;height:28px;color:#0284c7}.account-details{flex:1;min-width:0}.account-username{font-size:16px;font-weight:600;color:#1f2937;display:flex;align-items:center;flex-wrap:wrap}.account-marketplace{font-size:14px;color:#6b7280}.account-metadata{display:flex;align-items:center;margin-top:4px;font-size:14px;color:#6b7280}.account-type{font-size:14px;color:#059669;background:#d1fae5;padding:2px 8px;border-radius:4px}.account-select-indicator{width:40px;height:40px;display:flex;align-items:center;justify-content:center;color:#9ca3af}.account-select-indicator svg{width:24px;height:24px}.ebay-account-option:hover .account-select-indicator{color:#3b82f6}.account-selector-actions{display:flex;justify-content:flex-end;gap:12px}.cancel-button{padding:10px 20px;border:1px solid #e5e7eb;background:#fff;color:#6b7280;border-radius:6px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s ease}.cancel-button:hover{background:#f9fafb;border-color:#d1d5db}.select-button{padding:10px 20px;background:#3b82f6;color:#fff;border:none;border-radius:6px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s ease}.select-button:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.select-button:disabled{background:#9ca3af;cursor:not-allowed;transform:none;box-shadow:none}.default-badge{display:inline-block;margin-left:8px;padding:2px 8px;background:#fbbf24;color:#78350f;font-size:12px;font-weight:600;border-radius:4px;text-transform:uppercase}.separator{color:#d1d5db;margin:0 4px}.account-expiry{font-size:14px;color:#6b7280}.loading-spinner,.error-message{text-align:center;padding:40px 20px;font-size:16px;color:#6b7280}.error-message{color:#dc2626}input[type=radio]{width:20px;height:20px;accent-color:#3b82f6;cursor:pointer}@media (max-width: 640px){.ebay-account-selector-modal{padding:20px;width:95%}.account-icon{width:40px;height:40px}.account-icon svg{width:24px;height:24px}}.ebay-reauth-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:10000}.ebay-reauth-modal{background:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026;max-width:480px;width:90%;max-height:90vh;overflow-y:auto}.ebay-reauth-header{display:flex;align-items:center;justify-content:space-between;padding:20px;border-bottom:1px solid #e0e0e0}.ebay-reauth-header h2{margin:0;font-size:20px;color:#333}.close-button{background:none;border:none;cursor:pointer;padding:4px;color:#666;transition:color .2s}.ebay-reauth-content{padding:24px;text-align:center}.warning-icon{color:#ff6b35;margin-bottom:16px}.account-info{font-size:16px;color:#333;margin-bottom:12px}.marketplace{color:#666;font-size:14px}.message{font-size:15px;color:#666;margin-bottom:24px;line-height:1.5}.reauth-actions{display:flex;gap:12px;justify-content:center;margin-bottom:16px}.reauth-button{padding:10px 24px;border-radius:4px;font-size:15px;font-weight:500;cursor:pointer;transition:all .2s;border:none}.reauth-button.primary{background-color:#ff6b35;color:#fff}.reauth-button.primary:hover{background-color:#e55a2b}.reauth-button.secondary{background-color:#f5f5f5;color:#333;border:1px solid #ddd}.reauth-button.secondary:hover{background-color:#e8e8e8}.help-text{font-size:13px;color:#888;margin:0;line-height:1.4}.progressive-image-container{position:relative;overflow:hidden;background-color:#f5f5f5;width:100%;height:100%}.progressive-image{width:100%;height:100%;object-fit:cover;transition:opacity .3s ease-in-out,filter .3s ease-in-out}.progressive-image.loading{opacity:.5;filter:blur(5px)}.progressive-image.loaded{opacity:1;filter:blur(0)}.progressive-image.error{opacity:.3}.image-loading-overlay{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background-color:#fffc;pointer-events:none}.image-spinner{width:30px;height:30px;border:3px solid #f3f3f3;border-top:3px solid #3498db;border-radius:50%;animation:spin 1s linear infinite}.image-error-overlay{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background-color:#ffffffe6;color:#666;font-size:14px}.progressive-image-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px;padding:16px}.gallery-item{position:relative;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #0000001a;transition:transform .2s ease,box-shadow .2s ease}.gallery-item:hover{transform:translateY(-2px);box-shadow:0 4px 16px #00000026}.gallery-image{aspect-ratio:4/3;width:100%}.image-info{padding:12px;background-color:#fff}.image-name{font-size:14px;font-weight:500;margin:0 0 4px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.image-size{font-size:12px;color:#666;margin:0}@keyframes shimmer{0%{background-position:-468px 0}to{background-position:468px 0}}.progressive-image-container.skeleton{background:linear-gradient(to right,#f6f7f8,#edeef1,#f6f7f8 40%,#f6f7f8);background-size:468px 104px;animation:shimmer 1s linear infinite}.gallery-thumbnails-scroll::-webkit-scrollbar{height:6px}.gallery-thumbnails-scroll::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.gallery-thumbnails-scroll::-webkit-scrollbar-thumb{background:#888;border-radius:3px}.gallery-thumbnails-scroll::-webkit-scrollbar-thumb:hover{background:#555}@media (max-width: 768px){.progressive-image-gallery{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;padding:12px}.image-info{padding:8px}.image-name{font-size:13px}.image-size{font-size:11px}}.image-viewer-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000e6;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;cursor:pointer}.image-viewer-modal-container{position:relative;max-width:90vw;max-height:90vh;display:flex;align-items:center;justify-content:center;cursor:default}.image-viewer-content{position:relative;display:flex;align-items:center;justify-content:center;max-width:100%;max-height:100%}.image-viewer-image{max-width:100%;max-height:90vh;object-fit:contain;display:block;box-shadow:0 4px 20px #0000004d}.image-viewer-close-button{position:absolute;top:-40px;right:-40px;width:40px;height:40px;background:none;border:none;color:#fff;font-size:36px;font-weight:300;cursor:pointer;z-index:1001;display:flex;align-items:center;justify-content:center;transition:opacity .2s ease;padding:0;line-height:1}.image-viewer-close-button:hover{opacity:.7}.image-viewer-nav-button{position:absolute;top:50%;transform:translateY(-50%);width:50px;height:50px;background-color:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#fff;font-size:30px;font-weight:300;cursor:pointer;z-index:1001;display:flex;align-items:center;justify-content:center;transition:all .2s ease;border-radius:4px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.image-viewer-nav-button:hover{background-color:#fff3;border-color:#ffffff4d}.image-viewer-prev-button{left:-70px}.image-viewer-next-button{right:-70px}.image-viewer-counter{position:absolute;bottom:-40px;left:50%;transform:translate(-50%);color:#fff;font-size:14px;font-weight:400;background-color:#00000080;padding:5px 15px;border-radius:20px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}@media (max-width: 768px){.image-viewer-modal-overlay{padding:10px}.image-viewer-close-button{top:10px;right:10px;position:fixed;background-color:#00000080;border-radius:50%;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.image-viewer-nav-button{width:40px;height:40px;font-size:24px}.image-viewer-prev-button{left:10px;position:fixed}.image-viewer-next-button{right:10px;position:fixed}.image-viewer-counter{bottom:20px;position:fixed}.image-viewer-image{max-height:80vh}}.image-viewer-close-button:focus,.image-viewer-nav-button:focus{outline:2px solid #4A90E2;outline-offset:2px}.image-viewer-modal-overlay{animation:fadeIn .2s ease}.editable-image-gallery{width:100%}.gallery-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.photo-count{font-size:14px;color:#666}.edit-mode-btn{padding:6px 16px;background-color:#007bff;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:background-color .2s}.edit-mode-btn:hover{background-color:#0056b3}.done-editing-btn{padding:6px 16px;background-color:#28a745;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:background-color .2s}.done-editing-btn:hover{background-color:#218838}.edit-mode-actions{display:flex;align-items:center;gap:12px}.uploading-text{font-size:14px;color:#666;font-style:italic}.edit-instructions{background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:6px;padding:12px;margin-bottom:20px;font-size:14px;color:#666;text-align:center}.photos-grid,.draggable-photos-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;max-height:600px;overflow-y:auto;padding:4px}.draggable-photo{position:relative;background-color:#f5f5f5;border:2px solid #e9ecef;border-radius:8px;overflow:hidden;aspect-ratio:1;transition:all .2s;-webkit-user-select:none;user-select:none}.draggable-photo.dragging{opacity:.5;transform:scale(.95);cursor:grabbing!important}.draggable-photo.over{border-color:#007bff;background-color:#e7f3ff;transform:scale(1.05)}.draggable-photo img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .3s ease}.photo-number{position:absolute;top:6px;left:6px;background-color:#000000b3;color:#fff;font-size:14px;font-weight:700;padding:4px 8px;border-radius:4px;pointer-events:none}.photo-delete-btn{position:absolute;top:6px;right:6px;width:32px;height:32px;background-color:#dc3545e6;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:22px;line-height:1;display:flex;align-items:center;justify-content:center;transition:all .2s;padding:0}.photo-delete-btn:hover{background-color:#dc3545;transform:scale(1.1)}.photo-rotation-controls{position:absolute;bottom:6px;left:50%;transform:translate(-50%);display:flex;gap:4px}.photo-rotate-btn{width:32px;height:32px;background-color:#007bffe6;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:18px;display:flex;align-items:center;justify-content:center;transition:all .2s;padding:0}.photo-rotate-btn:hover{background-color:#007bff;transform:scale(1.1)}.photo-rotate-btn.rotate-left{margin-right:2px}.photo-rotate-btn.rotate-right{margin-left:2px}.add-photo-btn{background-color:#f8f9fa;border:2px dashed #dee2e6;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;aspect-ratio:1;cursor:pointer;transition:all .2s}.add-photo-btn:hover{border-color:#007bff;background-color:#e7f3ff}.add-photo-icon{font-size:48px;color:#6c757d;font-weight:300;margin-bottom:8px}.add-photo-text{font-size:14px;color:#6c757d;font-weight:500}.photos-grid::-webkit-scrollbar,.draggable-photos-grid::-webkit-scrollbar{width:8px}.photos-grid::-webkit-scrollbar-track,.draggable-photos-grid::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.photos-grid::-webkit-scrollbar-thumb,.draggable-photos-grid::-webkit-scrollbar-thumb{background:#ccc;border-radius:4px}.photos-grid::-webkit-scrollbar-thumb:hover,.draggable-photos-grid::-webkit-scrollbar-thumb:hover{background:#999}.image-hover-preview{position:fixed;z-index:2000;background:#fff;border:2px solid #ddd;border-radius:8px;box-shadow:0 10px 30px #0000004d;padding:8px;pointer-events:none;max-width:400px;max-height:600px;display:flex;align-items:center;justify-content:center}.image-hover-preview img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:4px}.draggable-photo.view-mode:hover{transform:scale(1.05);box-shadow:0 4px 12px #00000026;border-color:#007bff;cursor:zoom-in}.listing-thumbnail{max-width:100%;max-height:100%;width:auto!important;height:auto!important;object-fit:contain;display:block}.listing-thumbnail.progressive-image{width:auto!important;height:auto!important}.back-to-photo-assignment{background:#f3f4f6;color:#374151;border:1px solid #e5e7eb;padding:8px 16px;border-radius:6px;cursor:pointer;font-weight:500;transition:all .2s}.back-to-photo-assignment:hover{background:#e5e7eb;border-color:#d1d5db;transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.list-on-ebay-button{padding:12px 24px;font-size:16px;background:linear-gradient(135deg,#0654ba,#4a90e2);color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:500;transition:all .2s;box-shadow:0 2px 4px #0654ba33}.list-on-ebay-button:hover:not(:disabled){background:linear-gradient(135deg,#0545a0,#3a7bc8);transform:translateY(-1px);box-shadow:0 4px 8px #0654ba4d}.list-on-ebay-button:disabled{background:#6c757d;cursor:not-allowed;opacity:.7;transform:none}.list-on-ebay-button.error{background:#dc3545}.list-on-ebay-button.error:hover:not(:disabled){background:#c82333}.list-on-ebay-button.loading{background:linear-gradient(135deg,#6c757d,#868e96);cursor:wait;opacity:.8;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:.8}50%{opacity:.6}}.add-item-specifics-button{padding:8px 16px;background:linear-gradient(135deg,#0654ba,#4a90e2);color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:500;font-size:14px;display:flex;align-items:center;gap:4px;transition:all .2s;box-shadow:0 2px 4px #0654ba33}.add-item-specifics-button:hover{background:linear-gradient(135deg,#0545a0,#3a7bc8);transform:translateY(-1px);box-shadow:0 4px 8px #0654ba4d}.add-item-specifics-button span{font-size:16px}.batch-ebay-policy-selector *{box-sizing:border-box}.batch-ebay-policy-selector{margin-top:20px;padding:15px;background-color:#f8f9fa;border-radius:5px;border:1px solid #e0e0e0}.batch-ebay-policy-selector h4{margin-top:0;margin-bottom:10px;color:#333;font-size:1.1em}.batch-ebay-policy-selector .policy-description{margin-bottom:15px;color:#666;font-size:.9em}.batch-ebay-policy-selector .policy-group{margin-bottom:15px}.batch-ebay-policy-selector .policy-group:last-child{margin-bottom:0}.batch-ebay-policy-selector .policy-group label{display:block;margin-bottom:5px;font-weight:500;color:#333}.batch-ebay-policy-selector .policy-group .required{color:#e74c3c;font-weight:700}.batch-ebay-policy-selector .form-control{width:100%;padding:8px 12px;border:1px solid #ccc;border-radius:4px;font-size:14px;box-sizing:border-box}.batch-ebay-policy-selector .policy-warning{margin-top:15px;padding:10px;background-color:#fff3cd;border:1px solid #ffeaa7;border-radius:4px;color:#856404;font-size:.9em}.calculated-shipping-fields{margin-top:20px;padding:20px;background-color:#f0f7ff;border:1px solid #cfe2ff;border-radius:5px;overflow-x:auto}.calculated-shipping-fields h5{margin-top:0;margin-bottom:10px;color:#06c;font-size:1em}.calculated-shipping-info{margin-bottom:20px;color:#666;font-size:.9em}.shipping-fields-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-bottom:15px}.field-group{background-color:#fff;padding:15px;border-radius:4px;border:1px solid #e0e0e0;min-width:0;overflow:hidden}.field-label{display:block;margin-bottom:10px;font-weight:500;color:#333}.weight-inputs{display:flex;gap:10px;align-items:center;flex-wrap:nowrap}.weight-field{display:flex;align-items:center;gap:5px;flex:1;min-width:0}.weight-input{width:100%;flex:1}.unit-label{color:#666;font-size:.9em;flex-shrink:0}.dimension-inputs{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.dimension-input{flex:1;min-width:0;max-width:100px}.dimension-separator{color:#999;font-weight:700;flex-shrink:0;padding:0 2px}.calculated-shipping-note{padding:10px;background-color:#e8f4f8;border-radius:4px;font-size:.85em;color:#555}@media (max-width: 768px){.shipping-fields-grid{grid-template-columns:1fr}.dimension-inputs{flex-wrap:wrap}.dimension-input{max-width:none}}@media (min-resolution: 120dpi){.dimension-inputs{gap:6px}.dimension-separator{font-size:.9em}}@media (min-resolution: 144dpi){.shipping-fields-grid{grid-template-columns:1fr}.field-group{padding:12px}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:10000;padding:20px}.modal-content{background:#fff;border-radius:12px;box-shadow:0 10px 40px #00000026;max-width:600px;width:100%;max-height:90vh;overflow-y:auto;animation:modalSlideIn .3s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.modal-header{padding:24px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center}.modal-header h2{margin:0;font-size:24px;font-weight:600;color:#111827}.modal-close{background:none;border:none;font-size:28px;cursor:pointer;color:#6b7280;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .2s}.modal-close:hover{background-color:#f3f4f6;color:#111827}.modal-body{padding:24px}.upgrade-details{background-color:#f9fafb;border-radius:8px;padding:20px;margin-bottom:24px}.plan-change{display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:16px;font-size:20px;font-weight:500}.current-plan{color:#6b7280}.arrow{color:#3b82f6;font-size:24px}.new-plan{color:#10b981;font-weight:600}.pricing-info{text-align:center}.new-price{margin:0;font-size:16px;color:#4b5563}.new-price strong{color:#111827;font-size:18px}.upgrade-notice{margin-bottom:20px}.upgrade-notice h3{font-size:18px;margin-bottom:12px;color:#111827}.upgrade-notice ul{list-style:none;padding:0;margin:0}.upgrade-notice li{padding:8px 0 8px 28px;position:relative;color:#4b5563;line-height:1.6}.upgrade-notice li:before{content:"✓";position:absolute;left:0;color:#10b981;font-weight:700;font-size:16px}.proration-example{background-color:#eff6ff;border:1px solid #dbeafe;border-radius:8px;padding:16px;margin-top:20px}.example-note{margin:0;font-size:14px;color:#1e40af;line-height:1.5}.modal-footer{padding:20px 24px;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;gap:12px}.btn-secondary,.btn-primary{padding:10px 20px;border-radius:8px;border:none;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s}.btn-secondary{background-color:#f3f4f6;color:#374151}.btn-secondary:hover{background-color:#e5e7eb}.btn-primary{background-color:#3b82f6;color:#fff}.btn-primary:hover{background-color:#2563eb}@media (max-width: 640px){.modal-content{margin:20px}.plan-change{font-size:18px}.modal-body{padding:20px}}.paddle-pricing-table{width:100%;max-width:1200px;margin:0 auto;padding:2rem 0;position:relative}.pricing-loading{text-align:center;padding:3rem;color:#6b7280;font-size:1.125rem}.pricing-error{background-color:#fee;border:1px solid #fcc;color:#c00;padding:1rem;border-radius:.5rem;margin-bottom:2rem;text-align:center}.pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:2rem;margin-bottom:2rem}.pricing-card{background:#fff;border:2px solid #e5e7eb;border-radius:1rem;padding:2rem;position:relative;transition:all .3s ease;display:flex;flex-direction:column}.pricing-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px #0000001a}.pricing-card.current{border-color:#3b82f6;background:#eff6ff}.pricing-card.recommended{border-color:#10b981;transform:scale(1.05)}.pricing-card.recommended:hover{transform:scale(1.05) translateY(-4px)}.recommended-ribbon{position:absolute;top:-12px;left:50%;transform:translate(-50%);background:#10b981;color:#fff;padding:.375rem 1.5rem;border-radius:9999px;font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.plan-header{text-align:center;margin-bottom:1.5rem}.plan-header h3{font-size:1.875rem;font-weight:700;color:#111827;margin:0}.current-badge{display:inline-block;margin-top:.5rem;padding:.25rem .75rem;background:#3b82f6;color:#fff;border-radius:9999px;font-size:.75rem;font-weight:500;text-transform:uppercase}.plan-price{text-align:center;margin-bottom:2rem}.price-amount{font-size:3rem;font-weight:800;color:#111827}.price-period{font-size:1.25rem;color:#6b7280;font-weight:500}.plan-features{list-style:none;padding:0;margin:0 0 2rem;flex-grow:1}.plan-features li{color:#4b5563;position:relative;padding:.75rem 0 .75rem 1.75rem;font-size:1rem;line-height:1.5}.plan-features li:before{content:"✓";position:absolute;left:0;color:#10b981;font-weight:700;font-size:1.125rem}.subscribe-button{width:100%;padding:.875rem 1.5rem;border:none;border-radius:.5rem;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;background:#e5e7eb;color:#374151;margin-top:auto}.subscribe-button:hover:not(:disabled){background:#d1d5db;transform:translateY(-1px)}.subscribe-button.primary{background:#3b82f6;color:#fff}.subscribe-button.primary:hover:not(:disabled){background:#2563eb}.subscribe-button:disabled{opacity:.5;cursor:not-allowed;transform:none}.paddle-attribution{text-align:center;margin-top:3rem;padding-top:2rem;border-top:1px solid #e5e7eb}.paddle-attribution p{color:#6b7280;font-size:.875rem;margin:.5rem 0}.sandbox-notice{background:#fef3c7;border:1px solid #fbbf24;border-radius:.5rem;padding:.75rem 1rem;margin-top:1rem;display:inline-block}.sandbox-notice strong{color:#92400e}.upgrade-processing-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background-color:#fffffff2;display:flex;align-items:center;justify-content:center;z-index:1000;border-radius:12px}.processing-content{text-align:center;padding:3rem}.processing-content p{margin:1rem 0 .5rem;font-size:1.125rem;color:#111827;font-weight:500}.processing-content .processing-note{font-size:.875rem;color:#6b7280;font-weight:400}.spinner{width:48px;height:48px;border:4px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 768px){.pricing-grid{grid-template-columns:1fr;gap:1.5rem}.pricing-card.recommended{transform:none}.pricing-card.recommended:hover{transform:translateY(-4px)}.price-amount{font-size:2.5rem}}.profile-page{width:100%;height:100%;background:#f8fafc;overflow-y:auto}.success-message{background:#10b981;color:#fff;padding:1rem 2rem;margin:1rem 2rem;font-weight:500;display:flex;align-items:center;gap:.5rem}.profile-tabs{background:#fff;border-bottom:1px solid #e5e7eb;display:flex;padding:0 2rem;gap:2rem;position:sticky;top:0;z-index:99}.profile-tab{background:none;border:none;padding:1rem 0;font-size:.875rem;font-weight:500;color:#6b7280;cursor:pointer;transition:all .2s;position:relative;outline:none}.profile-tab:hover{color:#111827}.profile-tab:focus{outline:none;box-shadow:none}.profile-tab.active{color:#3b82f6}.profile-content{padding:2rem}.tab-content{background:#fff;border-radius:.5rem;box-shadow:0 1px 3px #0000001a;padding:2rem}.tab-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.tab-content h2{margin:0;font-size:1.5rem;font-weight:600;color:#111827}.quota-section{margin-top:1.5rem}.add-account-button{background:#3b82f6;color:#fff;border:none;border-radius:.375rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:background .2s}.add-account-button:hover{background:#2563eb}.ebay-accounts-list{display:flex;flex-direction:column;gap:1rem}.ebay-account-card{border:1px solid #e5e7eb;border-radius:.5rem;padding:1.5rem;display:flex;justify-content:space-between;align-items:start;transition:all .2s}.ebay-account-card:hover{border-color:#d1d5db;box-shadow:0 2px 4px #0000000d}.account-info{flex:1}.account-header{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}.account-header h3{margin:0;font-size:1.125rem;font-weight:600;color:#111827}.status-badge.connected{background:#d1fae5;color:#065f46}.account-details{display:flex;gap:2rem;flex-wrap:wrap}.detail-item{display:flex;flex-direction:column;gap:.25rem}.detail-label{font-size:.75rem;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.detail-value{font-size:.875rem;color:#111827;font-weight:500}.account-actions{display:flex;flex-direction:column;gap:.5rem}.text-button{background:none;border:none;color:#3b82f6;font-size:.875rem;font-weight:500;cursor:pointer;padding:.5rem 1rem;border-radius:.375rem;transition:all .2s}.text-button:hover{background:#eff6ff;color:#2563eb}.text-button.disconnect{color:#ef4444}.text-button.disconnect:hover{background:#fee;color:#dc2626}.text-button.reconnect{color:#10b981}.text-button.reconnect:hover{background:#ecfdf5;color:#059669}.text-button.delete{color:#ef4444}.text-button.delete:hover{background:#fee;color:#dc2626}.add-location-button{background:#3b82f6;color:#fff;border:none;border-radius:.375rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:background .2s}.add-location-button:hover{background:#2563eb}.location-form{background:#f9fafb;border:1px solid #e5e7eb;border-radius:.5rem;padding:1.5rem;margin-bottom:1.5rem}.location-form h4{margin:0 0 1.5rem;font-size:1.125rem;font-weight:600;color:#111827}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-size:.875rem;font-weight:500;color:#374151}.form-group input,.form-group select{width:100%;padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:.375rem;font-size:.875rem;transition:all .2s;background-color:#fff;color:#000;box-sizing:border-box}.form-group input:focus,.form-group select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-group input.error,.form-group select.error{border-color:#ef4444}.field-error{display:block;margin-top:.25rem;font-size:.75rem;color:#ef4444}.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem}.cancel-button{background:#fff;color:#374151;border:1px solid #d1d5db;border-radius:.375rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.cancel-button:hover{background:#f9fafb;border-color:#9ca3af}.save-button{background:#3b82f6!important;color:#fff;border:none;border-radius:.375rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:background .2s}.save-button:hover{background:#2563eb!important}.save-button:disabled,.cancel-button:disabled{opacity:.5;cursor:not-allowed}.locations-list{display:flex;flex-direction:column;gap:1rem}.location-card{border:1px solid #e5e7eb;border-radius:.5rem;padding:1.5rem;display:flex;justify-content:space-between;align-items:start;transition:all .2s;background:#fff}.location-card:hover{border-color:#d1d5db;box-shadow:0 2px 4px #0000000d}.location-card.default{border-color:#3b82f6;background:#eff6ff}.location-info{flex:1}.location-name{font-size:1rem;font-weight:600;color:#111827;margin-bottom:.5rem;display:flex;align-items:center;gap:.5rem}.default-badge{background:#3b82f6;color:#fff;padding:.125rem .5rem;border-radius:9999px;font-size:.75rem;font-weight:500}.location-address{font-size:.875rem;color:#6b7280}.location-actions{display:flex;gap:.5rem;align-items:center}.loading-message{text-align:center;color:#6b7280;padding:3rem;font-size:.875rem}.empty-state{text-align:center;padding:3rem;color:#6b7280}.empty-state p{margin:.5rem 0}.error-message{background:#fee;border:1px solid #fecaca;color:#dc2626;padding:.75rem 1rem;border-radius:.375rem;margin-bottom:1rem;font-size:.875rem}.info-message{background:#fef3c7;border:1px solid #fde68a;color:#92400e;padding:1rem;border-radius:.375rem;margin-top:1.5rem;font-size:.875rem}.info-message p{margin:.25rem 0}@media (max-width: 768px){.profile-header{padding:1rem}.profile-tabs{padding:0 1rem;gap:1rem;overflow-x:auto}.profile-content{padding:1rem}.tab-content{padding:1.5rem}.account-details{flex-direction:column;gap:.75rem}.ebay-account-card,.location-card{flex-direction:column;gap:1rem}.location-actions,.account-actions{width:100%;flex-direction:row;justify-content:flex-start}}.add-account-button{padding:10px 20px;background:#3b82f6;color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.add-account-button:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.default-indicator{display:inline-block;padding:4px 12px;background:#fbbf24;color:#78350f;font-size:13px;font-weight:600;border-radius:4px;text-transform:uppercase}.text-button.set-default{color:#3b82f6;margin-right:12px}.text-button.set-default:hover{color:#2563eb}.account-actions{display:flex;align-items:center;gap:8px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:12px;width:90%;max-width:500px;max-height:90vh;overflow:hidden;box-shadow:0 20px 50px #0000004d}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e5e7eb}.modal-header h3{margin:0;font-size:20px;font-weight:600;color:#1f2937}.modal-close{background:none;border:none;font-size:28px;color:#6b7280;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease}.modal-close:hover{background:#f3f4f6;color:#1f2937}.modal-body{padding:24px;overflow-y:auto;max-height:calc(90vh - 100px)}.subscription-details{display:flex;flex-direction:column;gap:2rem}.subscription-card{background:#fff;border-radius:.5rem;border:1px solid #e5e7eb;padding:1.5rem}.subscription-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.subscription-header h3{margin:0;font-size:1.5rem;font-weight:600;color:#111827}.status-badge{padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:500;text-transform:uppercase}.status-badge.active{background:#10b981;color:#fff}.status-badge.canceling,.status-badge.scheduled_cancel{background:#f59e0b;color:#fff}.status-badge.canceled,.status-badge.expired{background:#ef4444;color:#fff}.alert{padding:1rem;border-radius:.5rem;margin-bottom:1rem}.alert.alert-warning{background-color:#fef3c7;color:#92400e;border:1px solid #fbbf24}.subscription-info{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.info-row{display:flex;justify-content:space-between;align-items:center}.info-row .label{color:#6b7280;font-weight:500}.info-row .value{color:#111827;font-weight:600}.subscription-actions{display:flex;gap:1rem;flex-wrap:wrap}.action-button{padding:.5rem 1.5rem;border:none;border-radius:.375rem;font-weight:500;cursor:pointer;transition:all .2s}.action-button.primary{background:#3b82f6;color:#fff}.action-button.primary:hover:not(:disabled){background:#2563eb}.action-button.secondary{background:#e5e7eb;color:#374151}.action-button.secondary:hover{background:#d1d5db}.action-button.danger{background:#ef4444;color:#fff}.action-button.danger:hover{background:#dc2626}.action-button:disabled{opacity:.5;cursor:not-allowed}.no-subscription{text-align:center;padding:2rem}.no-subscription p{color:#6b7280;margin-bottom:2rem}.plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;margin-top:2rem}.plan-card{background:#fff;border:2px solid #e5e7eb;border-radius:.5rem;padding:1.5rem;position:relative;transition:all .2s}.plan-card.current{border-color:#3b82f6;background:#eff6ff}.plan-card.recommended{border-color:#10b981}.recommended-badge{position:absolute;top:-.75rem;left:50%;transform:translate(-50%);background:#10b981;color:#fff;padding:.25rem 1rem;border-radius:9999px;font-size:.75rem;font-weight:600;text-transform:uppercase}.plan-card h4{margin:0 0 1rem;font-size:1.25rem;font-weight:600;color:#111827}.plan-price{font-size:2rem;font-weight:700;color:#111827;margin-bottom:1.5rem}.plan-features{list-style:none;padding:0;margin:0 0 1.5rem}.plan-features li{color:#4b5563;position:relative;padding:.5rem 0 .5rem 1.5rem}.plan-features li:before{content:"✓";position:absolute;left:0;color:#10b981;font-weight:600}.sandbox-notice{background:#fef3c7;border:1px solid #fbbf24;border-radius:.5rem;padding:1rem;margin-top:2rem}.sandbox-notice p{color:#92400e;margin:0;font-size:.875rem}.support-form-container{max-width:800px;margin:0 auto}.support-info{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:8px;padding:1rem 1.5rem;margin-bottom:2rem}.support-info p{margin:0;color:#6b7280;font-size:.95rem;line-height:1.6}.support-form{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:2rem}.support-form .form-group{margin-bottom:1.5rem}.support-form .form-group:last-child{margin-bottom:0}.support-form label{display:block;font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.5rem}.support-form input,.support-form .support-textarea,.support-form .support-select{width:100%;padding:.75rem 1rem;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;transition:all .2s;background-color:#fff;color:#000;box-sizing:border-box}.support-form input:focus,.support-form .support-textarea:focus,.support-form .support-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.support-form input.error,.support-form .support-textarea.error,.support-form .support-select.error{border-color:#ef4444}.support-form .disabled-input{background:#f9fafb;color:#6b7280;cursor:not-allowed}.support-form .field-help{display:block;font-size:.75rem;color:#9ca3af;margin-top:.25rem}.support-form .field-error{display:block;font-size:.75rem;color:#ef4444;margin-top:.25rem;font-weight:500}.support-form .support-textarea{resize:vertical;min-height:150px;font-family:inherit;line-height:1.5;background-color:#fff;color:#000}.textarea-footer{display:flex;justify-content:space-between;align-items:center;margin-top:.5rem;width:100%;box-sizing:border-box}.char-count{font-size:.75rem;color:#9ca3af}.support-actions{display:flex;justify-content:flex-end;margin-top:2rem}.send-support-button{background:#3b82f6;color:#fff;border:none;padding:.75rem 2rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.send-support-button:hover:not(:disabled){background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.send-support-button:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 768px){.support-form{padding:1.5rem}.support-form .form-group{margin-bottom:1.25rem}}.modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;z-index:9998;animation:fadeIn .2s ease-out}.quota-modal{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;border-radius:12px;box-shadow:0 10px 40px #0003;max-width:480px;width:90%;z-index:9999;animation:slideIn .3s ease-out}.quota-modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid #e9ecef}.quota-modal-header h2{margin:0;font-size:24px;font-weight:600;color:#212529}.modal-close{background:none;border:none;font-size:32px;line-height:1;color:#6c757d;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.modal-close:hover{color:#212529}.quota-modal-body{padding:32px 24px;text-align:center}.quota-status-icon{margin-bottom:24px}.quota-message{font-size:18px;font-weight:500;color:#212529;margin-bottom:24px}.quota-details{display:flex;gap:24px;justify-content:center;margin-bottom:24px;padding:20px;background:#f8f9fa;border-radius:8px}.quota-stat{display:flex;flex-direction:column;gap:4px}.quota-label{font-size:14px;color:#6c757d}.quota-value{font-size:20px;font-weight:600;color:#dc3545}.quota-subtitle{font-size:16px;color:#6c757d;margin:0}.quota-modal-footer{display:flex;gap:12px;padding:24px;border-top:1px solid #e9ecef}.quota-modal-footer button{flex:1;padding:12px 24px;border-radius:6px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-secondary{background:#fff;border:1px solid #dee2e6;color:#6c757d}.btn-secondary:hover{background:#f8f9fa;border-color:#adb5bd;color:#495057}.btn-primary{background:#007bff;border:1px solid #007bff;color:#fff}.btn-primary:hover{background:#0056b3;border-color:#0056b3}@keyframes slideIn{0%{opacity:0;transform:translate(-50%,-45%)}to{opacity:1;transform:translate(-50%,-50%)}}@media (max-width: 480px){.quota-modal{width:95%}.quota-details{flex-direction:column;gap:16px}.quota-modal-footer{flex-direction:column}}.failure-metrics-container{background:#f8f9fa;border-radius:8px;padding:20px;margin:20px 0}.failure-metrics-container h3{margin-top:0;color:#333}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin:20px 0}.metric-card{background:#fff;border-radius:8px;padding:20px;text-align:center;box-shadow:0 2px 4px #0000001a}.metric-card h4{margin:0 0 10px;color:#666;font-size:14px;font-weight:400}.metric-value{font-size:36px;font-weight:700;color:#e74c3c;margin:10px 0}.metric-label{color:#666;font-size:14px}.metric-secondary{color:#999;font-size:12px;margin-top:5px}.error-breakdown{background:#fff;border-radius:8px;padding:20px;margin:20px 0}.error-breakdown h4{margin-top:0;color:#333}.error-list{display:flex;flex-direction:column;gap:10px}.error-item{display:flex;justify-content:space-between;align-items:center;padding:10px;background:#f8f9fa;border-radius:4px}.error-code{font-weight:500;color:#333}.error-count{color:#666;font-size:14px}.refresh-metrics-button{background:#007bff;color:#fff;border:none;padding:10px 20px;border-radius:4px;cursor:pointer;font-size:14px}.refresh-metrics-button:hover{background:#0056b3}.metrics-loading,.metrics-error{text-align:center;padding:20px;color:#666}.failed-listing-search{background:#f8f9fa;border-radius:8px;padding:20px;margin:20px 0}.failed-listing-search h3{margin-top:0;color:#333}.search-controls{display:flex;gap:10px;margin:20px 0;align-items:center}.search-type-select{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px}.search-input{flex:1;padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px}.search-button{background:#007bff;color:#fff;border:none;padding:8px 20px;border-radius:4px;cursor:pointer;font-size:14px}.search-button:hover:not(:disabled){background:#0056b3}.search-button:disabled{opacity:.6;cursor:not-allowed}.search-error{color:#e74c3c;margin:10px 0;padding:10px;background:#fee;border-radius:4px}.search-results{margin-top:20px}.search-results h4{margin-bottom:10px;color:#333}.results-table{width:100%;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 4px #0000001a}.results-table th{background:#f0f0f0;padding:12px;text-align:left;font-weight:500;color:#333;border-bottom:1px solid #ddd}.results-table td{padding:12px;border-bottom:1px solid #f0f0f0}.results-table tr:last-child td{border-bottom:none}.batch-id{font-family:monospace;font-size:12px;color:#666}.user-id{font-family:monospace;font-size:11px;color:#666;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.failed-count{color:#e74c3c;font-weight:500}.action-button{background:#28a745;color:#fff;border:none;padding:6px 12px;border-radius:4px;cursor:pointer;font-size:12px}.action-button:hover{background:#218838}.detail-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.detail-modal{background:#fff;border-radius:8px;width:90%;max-width:800px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #ddd}.modal-header h3{margin:0}.close-button{background:none;border:none;font-size:24px;cursor:pointer;color:#666;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center}.close-button:hover{color:#333}.modal-content{padding:20px;overflow-y:auto;flex:1}.detail-section{margin-bottom:30px}.detail-section h4{margin-bottom:10px;color:#333}.detail-section p{margin:5px 0;color:#666}.detail-section strong{color:#333}.error-summary{background:#f8f9fa;padding:10px;border-radius:4px}.error-summary-item{display:flex;justify-content:space-between;padding:5px 0}.failed-listings-list{max-height:300px;overflow-y:auto}.failed-listing-item{background:#f8f9fa;padding:10px;margin-bottom:10px;border-radius:4px}.failed-listing-item p{margin:5px 0}.more-items{text-align:center;color:#666;font-style:italic;margin-top:10px}.detail-actions{display:flex;gap:10px;margin-top:20px}.download-button{background:#17a2b8;color:#fff;border:none;padding:10px 20px;border-radius:4px;cursor:pointer;font-size:14px}.download-button:hover{background:#138496}.recent-batches-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.recent-batches-header h3{margin:0}.header-actions{display:flex;align-items:center;gap:20px}.total-count{color:#666;font-size:14px}.refresh-button{background:#6c757d;color:#fff;border:none;padding:8px 16px;border-radius:4px;cursor:pointer;font-size:14px;display:flex;align-items:center;gap:5px}.refresh-button:hover:not(:disabled){background:#5a6268}.refresh-button:disabled{opacity:.6;cursor:not-allowed}.loading-state{text-align:center;padding:40px;color:#666}.no-results{text-align:center;padding:40px;background:#fff;border-radius:8px;color:#666}.pagination-controls{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:20px;padding:20px 0}.pagination-button{background:#007bff;color:#fff;border:none;padding:8px 16px;border-radius:4px;cursor:pointer;font-size:14px}.pagination-button:hover:not(:disabled){background:#0056b3}.pagination-button:disabled{background:#e9ecef;color:#6c757d;cursor:not-allowed}.page-info{color:#333;font-weight:500}.failed-listings-dashboard{max-width:1200px;margin:0 auto;padding:20px}.failed-listings-dashboard h2{color:#333;margin-bottom:10px}.dashboard-description{color:#666;margin-bottom:30px}.dashboard-info{background:#e3f2fd;border-radius:8px;padding:20px;margin-top:30px}.dashboard-info h3{margin-top:0;color:#1976d2}.dashboard-info ul{margin:10px 0;padding-left:20px}.dashboard-info li{margin:8px 0;color:#555}.admin-queue-dashboard{max-width:1200px;margin:0 auto;padding:20px;animation:fadeIn .3s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.dashboard-header{margin-bottom:30px}.back-button{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;background:transparent;border:1px solid #e5e7eb;border-radius:8px;color:#6b7280;font-size:14px;cursor:pointer;transition:all .2s;margin-bottom:20px}.back-button:hover{background-color:#f3f4f6;border-color:#d1d5db}.back-button svg{width:20px;height:20px}.dashboard-header h1{font-size:32px;color:#1f2937;margin:0;font-weight:700}.dashboard-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:20px}.loading-spinner{width:40px;height:40px;border:3px solid #f3f4f6;border-top-color:#667eea;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-banner{background-color:#fee;border:1px solid #fcc;border-radius:8px;padding:16px;margin-bottom:24px;display:flex;justify-content:space-between;align-items:center}.error-banner p{color:#c53030;margin:0}.error-banner button{background-color:#c53030;color:#fff;border:none;padding:6px 12px;border-radius:4px;cursor:pointer;font-size:14px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:40px}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px;text-align:center;transition:all .2s}.stat-card:hover{box-shadow:0 4px 12px #0000000d;transform:translateY(-2px)}.stat-card.primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none}.stat-card h3{font-size:14px;font-weight:500;margin:0 0 12px;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.stat-card.primary h3{color:#ffffffe6}.stat-value{font-size:48px;font-weight:700;margin:8px 0;color:#1f2937}.stat-card.primary .stat-value{color:#fff}.stat-label{font-size:14px;color:#9ca3af}.stat-card.primary .stat-label{color:#fffc}.status-indicator{display:inline-block;padding:8px 16px;border-radius:20px;font-weight:600;font-size:16px;margin-top:8px}.status-indicator.enabled{background-color:#d1fae5;color:#065f46}.status-indicator.disabled{background-color:#fee2e2;color:#991b1b}.queue-breakdown{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:30px;margin-bottom:30px}.queue-breakdown h2{font-size:20px;margin:0 0 20px;color:#1f2937}.queue-disabled-notice{background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;padding:40px;margin:30px 0;text-align:center}.queue-disabled-notice h2{font-size:24px;color:#1f2937;margin:0 0 15px}.queue-disabled-notice p{color:#6b7280;font-size:16px;margin:10px 0}.tier-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px}.tier-card{text-align:center;padding:20px;border-radius:8px;border:2px solid transparent}.tier-card.tier-unlimited{background-color:#fef3c7;border-color:#f59e0b}.tier-card.tier-growth{background-color:#ddd6fe;border-color:#8b5cf6}.tier-card.tier-standard{background-color:#e0e7ff;border-color:#6366f1}.tier-card.tier-free{background-color:#f3f4f6;border-color:#9ca3af}.tier-name{font-size:14px;font-weight:600;text-transform:uppercase;margin-bottom:8px}.tier-count{font-size:36px;font-weight:700;margin:4px 0}.tier-label{font-size:12px;color:#6b7280}.config-section{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:30px;margin-bottom:30px}.config-section h2{font-size:20px;margin:0 0 20px;color:#1f2937}.config-display{display:flex;flex-direction:column;gap:16px}.config-item{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #f3f4f6}.config-label{font-weight:500;color:#4b5563}.config-value{font-weight:600;color:#1f2937;font-size:18px}.config-value.enabled{color:#059669}.config-value.disabled{color:#dc2626}.edit-config-button{margin-top:20px;background-color:#667eea;color:#fff;border:none;padding:10px 20px;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s}.edit-config-button:hover{background-color:#5a67d8}.config-edit{display:flex;flex-direction:column;gap:20px}.config-field{display:flex;flex-direction:column;gap:8px}.config-field label{font-weight:500;color:#4b5563}.config-field input[type=number]{padding:10px 12px;border:1px solid #e5e7eb;border-radius:6px;font-size:16px;transition:border-color .2s}.config-field input[type=number]:focus{outline:none;border-color:#667eea}.toggle-container{display:flex;align-items:center;gap:12px}.toggle-switch{position:relative;display:inline-block;width:50px;height:24px}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:.4s;border-radius:24px}.toggle-slider:before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;transition:.4s;border-radius:50%}.toggle-switch input:checked+.toggle-slider{background-color:#667eea}.toggle-switch input:checked+.toggle-slider:before{transform:translate(26px)}.toggle-label{font-weight:500}.config-actions{display:flex;gap:12px;margin-top:10px}.save-button,.cancel-button{padding:10px 20px;border-radius:6px;font-weight:500;cursor:pointer;transition:all .2s}.save-button{background-color:#059669;color:#fff;border:none}.save-button:hover{background-color:#047857}.cancel-button{background-color:transparent;color:#6b7280;border:1px solid #e5e7eb}.cancel-button:hover{background-color:#f3f4f6}.usage-chart{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:30px;margin-bottom:30px}.usage-chart h2{font-size:20px;margin:0 0 20px;color:#1f2937}.capacity-bar{width:100%;height:40px;background-color:#f3f4f6;border-radius:20px;overflow:hidden;position:relative;margin-bottom:20px}.capacity-used{height:100%;background:linear-gradient(135deg,#667eea,#764ba2);transition:width .5s ease;display:flex;align-items:center;justify-content:center;min-width:80px}.capacity-label{color:#fff;font-weight:600;font-size:14px}.capacity-legend{display:flex;gap:30px;justify-content:center}.legend-item{display:flex;align-items:center;gap:8px;font-size:14px;color:#6b7280}.legend-color{width:16px;height:16px;border-radius:4px}.legend-color.used{background:linear-gradient(135deg,#667eea,#764ba2)}.legend-color.available{background-color:#f3f4f6}.refresh-info{text-align:center;padding:20px}.refresh-info p{color:#9ca3af;font-size:14px;margin-bottom:12px}.refresh-button{background-color:transparent;color:#667eea;border:1px solid #667eea;padding:8px 16px;border-radius:6px;font-size:14px;cursor:pointer;transition:all .2s}.refresh-button:hover{background-color:#667eea;color:#fff}.success-toast{position:fixed;top:20px;right:20px;background:#10b981;color:#fff;padding:16px 24px;border-radius:8px;box-shadow:0 4px 12px #00000026;z-index:10000;font-weight:500;animation:slideIn .3s ease-out}@keyframes slideIn{0%{transform:translate(100%)}to{transform:translate(0)}}@media (max-width: 768px){.stats-grid{grid-template-columns:1fr}.tier-grid{grid-template-columns:repeat(2,1fr)}.config-item{flex-direction:column;align-items:flex-start;gap:8px}.capacity-legend{flex-direction:column;align-items:center;gap:10px}}.ebay-csv-parser{max-width:800px;margin:0 auto;padding:20px}.ebay-csv-parser h2{color:#333;margin-bottom:10px}.parser-description{color:#666;margin-bottom:30px;font-size:14px}.csv-parser-form{background:#fff;border-radius:8px;padding:30px;box-shadow:0 2px 10px #0000001a;margin-bottom:30px}.form-group label{display:block;margin-bottom:8px;font-weight:600;color:#333}.form-group input[type=text]{width:100%;padding:10px;border:1px solid #ddd;border-radius:4px;font-size:14px;transition:border-color .3s}.form-group input[type=text]:focus{outline:none;border-color:#007bff}.file-input{display:block;margin-bottom:10px}.file-help{font-size:12px;color:#666;margin-top:5px;margin-bottom:15px}.csv-textarea{width:100%;min-height:200px;padding:10px;border:1px solid #ddd;border-radius:4px;font-family:monospace;font-size:12px;resize:vertical}.csv-textarea:focus{outline:none;border-color:#007bff}.prompt-textarea{width:100%;min-height:250px;padding:10px;border:1px solid #ddd;border-radius:4px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:14px;resize:vertical;line-height:1.5}.prompt-textarea:focus{outline:none;border-color:#007bff}.prompt-help{font-size:12px;color:#666;margin-top:5px;font-style:italic}.error-message{background-color:#fee;color:#c33;padding:12px;border-radius:4px;margin-bottom:20px;border:1px solid #fcc}.success-message{background-color:#efe;color:#3c3;padding:15px;border-radius:4px;margin-bottom:20px;border:1px solid #cfc}.success-message h3{margin-top:0;margin-bottom:10px;color:#393}.success-message ul{margin:0;padding-left:20px}.success-message li{margin-bottom:5px}.submit-button{background-color:#007bff;color:#fff;padding:12px 30px;border:none;border-radius:4px;font-size:16px;font-weight:600;cursor:pointer;transition:background-color .3s;width:100%}.submit-button:hover:not(:disabled){background-color:#0056b3}.submit-button:disabled{background-color:#ccc;cursor:not-allowed}.parser-instructions{background:#f8f9fa;border-radius:8px;padding:20px;border:1px solid #e9ecef}.parser-instructions h3{margin-top:0;margin-bottom:15px;color:#333}.parser-instructions ol{margin:0;padding-left:20px}.parser-instructions li{margin-bottom:10px;line-height:1.5;color:#555}.ebay-category-selector{background-color:#f0f8ff;padding:20px;border-radius:8px;border:1px solid #d0e4ff;margin-bottom:25px}.category-fetch-row{display:flex;gap:10px;align-items:stretch}.ebay-category-select{flex:1;padding:10px;border:1px solid #ddd;border-radius:4px;font-size:14px;transition:border-color .3s}.ebay-category-select:focus{outline:none;border-color:#007bff}.ebay-category-select:disabled{background-color:#f5f5f5;cursor:not-allowed}.get-template-button{padding:10px 20px;background-color:#28a745;color:#fff;border:none;border-radius:4px;font-size:14px;font-weight:600;cursor:pointer;transition:background-color .3s;white-space:nowrap}.get-template-button:hover:not(:disabled){background-color:#218838}.get-template-button:disabled{background-color:#ccc;cursor:not-allowed}.category-help{font-size:12px;color:#06c;margin-top:8px;margin-bottom:0;font-style:italic}.form-separator{text-align:center;margin:30px 0;position:relative;color:#999;font-weight:600;font-size:14px}.form-separator:before,.form-separator:after{content:"";position:absolute;top:50%;width:45%;height:1px;background-color:#ddd}.form-separator:before{left:0}.form-separator:after{right:0}.auth0-management{padding:20px;max-width:1200px;margin:0 auto}.auth0-management h2{margin-bottom:30px;color:#333}.auth0-section{background:#fff;border-radius:8px;padding:20px;margin-bottom:30px;box-shadow:0 2px 4px #0000001a}.auth0-section h3{margin-bottom:10px;color:#444}.auth0-section p{color:#666;margin-bottom:20px}.error-message{background-color:#fee;border:1px solid #fcc;color:#c33;padding:12px;border-radius:4px;margin-bottom:20px}.success-message{background-color:#efe;border:1px solid #cfc;color:#3c3;padding:12px;border-radius:4px;margin-bottom:20px}.btn{padding:10px 20px;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .3s}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background-color:#007bff;color:#fff}.btn-primary:hover:not(:disabled){background-color:#0056b3}.btn-secondary{background-color:#6c757d;color:#fff}.btn-secondary:hover:not(:disabled){background-color:#545b62}.emails-section{margin-top:20px}.emails-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.emails-header h4{margin:0;color:#333}.emails-table-wrapper{max-height:400px;overflow-y:auto;border:1px solid #ddd;border-radius:4px}.emails-table{width:100%;border-collapse:collapse}.emails-table th{background-color:#f8f9fa;padding:12px;text-align:left;border-bottom:2px solid #dee2e6;position:sticky;top:0;z-index:10}.emails-table td{padding:10px 12px;border-bottom:1px solid #dee2e6}.emails-table tr:hover{background-color:#f8f9fa}.user-id{font-family:monospace;font-size:12px;color:#666}.metadata-form{max-width:500px}.form-group{margin-bottom:15px}.form-group label{display:block;margin-bottom:5px;font-weight:500;color:#555}.form-control{width:100%;padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px}.form-control:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff1a}.form-group input[type=checkbox]{margin-right:8px}@media (max-width: 768px){.auth0-management{padding:10px}.emails-table-wrapper{max-height:300px}.emails-table{font-size:12px}.emails-table th,.emails-table td{padding:8px}}.announcement-manager{padding:20px;max-width:1200px;margin:0 auto}.announcement-manager-loading{display:flex;justify-content:center;align-items:center;min-height:400px}.manager-header{margin-bottom:30px}.manager-header h2{font-size:24px;font-weight:600;color:#1a1a1a;margin-bottom:8px}.manager-header p{color:#666;font-size:16px}.manager-content{display:grid;grid-template-columns:1fr 1fr;gap:40px}@media (max-width: 1024px){.manager-content{grid-template-columns:1fr}}.editor-section{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #00000014}.editor-section h3{font-size:20px;font-weight:600;color:#1a1a1a;margin-bottom:20px}.error-message,.success-message{padding:12px 16px;border-radius:6px;margin-bottom:20px;display:flex;align-items:center;gap:8px;font-size:14px}.error-message{background-color:#fee;color:#c00;border:1px solid #fcc}.success-message{background-color:#e6f7e6;color:#00a000;border:1px solid #b3e6b3}.form-group{margin-bottom:20px}.form-group label{display:block;font-size:14px;font-weight:500;color:#333;margin-bottom:8px}.form-group input[type=text],.form-group textarea{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;font-family:inherit;transition:border-color .2s;box-sizing:border-box;background-color:#fff;color:#000}.form-group textarea{resize:vertical;min-height:100px}.form-group input[type=text]:focus,.form-group textarea:focus{outline:none;border-color:#2a6ef8;background-color:#fff;color:#000}.form-group input[type=text]:disabled,.form-group textarea:disabled{background-color:#f5f5f5;cursor:not-allowed;color:#666}.input-with-emojis{position:relative}.emoji-picker{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}.emoji-btn{width:32px;height:32px;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer;font-size:16px;transition:all .2s}.emoji-btn:hover{background:#f0f0f0;transform:scale(1.1)}.emoji-btn:disabled{opacity:.5;cursor:not-allowed}.style-section{margin-top:30px;padding-top:20px;border-top:1px solid #eee}.style-section h4{font-size:16px;font-weight:600;color:#333;margin-bottom:16px}.style-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px}.style-item{display:flex;flex-direction:column;gap:8px}.style-item label{font-size:13px;font-weight:500;color:#555}.style-item input[type=color]{width:100%;height:36px;border:1px solid #ddd;border-radius:4px;cursor:pointer;background:#fff}.style-item input[type=color]:disabled{opacity:.5;cursor:not-allowed}.action-buttons{display:flex;gap:12px;margin-top:30px}.btn-primary,.btn-secondary,.btn-tertiary{padding:10px 20px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;border:none}.btn-primary{background:#2a6ef8;color:#fff}.btn-primary:hover:not(:disabled){background:#1a5ee8}.btn-primary:disabled{background:#ccc;cursor:not-allowed}.btn-secondary{background:#fff;color:#2a6ef8;border:1px solid #2a6ef8}.btn-secondary:hover:not(:disabled){background:#f0f4ff}.btn-tertiary{background:#fff;color:#666;border:1px solid #ddd}.btn-tertiary:hover:not(:disabled){background:#f5f5f5}.preview-section{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #00000014}.preview-section h3{font-size:20px;font-weight:600;color:#1a1a1a;margin-bottom:20px}.preview-container{border:1px solid #e0e0e0;border-radius:8px;padding:20px;background:#f8f8f8}.preview-label{font-size:13px;color:#666;margin-bottom:16px;font-style:italic}.announcement-preview{background:#fff;padding:16px;border-radius:8px}.announcement{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.announcement h4{font-size:16px;font-weight:600;line-height:1.4}.announcement p{font-size:14px;line-height:1.6}.formatting-toolbar{display:flex;align-items:center;gap:8px;padding:12px;background:#f8f8f8;border:1px solid #e0e0e0;border-radius:6px;margin-bottom:20px}.format-btn{width:32px;height:32px;border:1px solid #ddd;background:#fff;color:#333;border-radius:4px;cursor:pointer;font-size:14px;font-weight:700;transition:all .2s;display:flex;align-items:center;justify-content:center}.format-btn:hover:not(:disabled){background:#f0f0f0;border-color:#2a6ef8;color:#333}.format-btn:disabled{opacity:.5;cursor:not-allowed}.format-hint{margin-left:auto;font-size:12px;color:#666;font-style:italic}.admin-dashboard{max-width:1400px;margin:0 auto;padding:2rem}.admin-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.admin-header h1{font-size:2.5rem;color:#333;margin:0}.header-actions{display:flex;gap:1rem;align-items:center}.back-button,.refresh-button{padding:.5rem 1rem;background-color:#6c757d;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:1rem;transition:background-color .2s}.refresh-button{background-color:#28a745}.back-button:hover{background-color:#5a6268}.refresh-button:hover{background-color:#218838}.refresh-button:disabled{background-color:#6c757d;cursor:not-allowed;opacity:.6}.admin-tabs{display:flex;gap:0;margin-bottom:2rem;border-bottom:2px solid #dee2e6}.tab-button{padding:.75rem 1.5rem;background:none;border:none;border-bottom:3px solid transparent;color:#6c757d;font-size:1rem;font-weight:500;cursor:pointer;transition:all .3s ease;position:relative;top:2px}.tab-button:hover{color:#495057;background-color:#f8f9fa}.tab-button.active{color:#007bff;border-bottom-color:#007bff;background-color:#fff}.failed-listings-section{background:#fff;border-radius:8px;padding:1rem}.admin-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:3rem}.stat-card{background:#fff;border-radius:8px;padding:1.5rem;box-shadow:0 2px 4px #0000001a;text-align:center}.stat-card h3{margin:0 0 .5rem;color:#666;font-size:1rem;font-weight:400}.stat-value{font-size:2.5rem;font-weight:700;color:#007bff;margin:0}.month-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:3rem}.chart-container{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 12px #0000000d;border:1px solid #e9ecef;margin-bottom:3rem;transition:box-shadow .3s ease}.chart-container:hover{box-shadow:0 6px 16px #00000014}.chart-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.month-navigation h2{margin:0;color:#333;font-size:1.5rem;min-width:200px;text-align:center}.nav-button{padding:.5rem 1rem;background-color:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:1.2rem;transition:background-color .2s}.nav-button:hover:not(:disabled){background-color:#0056b3}.chart-toggle{display:flex;gap:.5rem}.toggle-btn{padding:.5rem 1rem;background-color:#e9ecef;color:#495057;border:1px solid #dee2e6;border-radius:4px;cursor:pointer;font-size:.9rem;transition:all .2s}.toggle-btn.active{background-color:#007bff;color:#fff;border-color:#007bff}.toggle-btn:hover:not(.active){background-color:#dee2e6}.recent-batches{background:#fff;border-radius:8px;padding:2rem;box-shadow:0 2px 4px #0000001a}.recent-batches h2{margin:0 0 1.5rem;color:#333;font-size:1.5rem}.batch-table-container{overflow-x:auto}.batch-table{width:100%;border-collapse:collapse}.batch-table th{background-color:#f8f9fa;padding:.75rem;text-align:left;font-weight:600;color:#495057;border-bottom:2px solid #dee2e6}.batch-table td{padding:.75rem;border-bottom:1px solid #dee2e6}.batch-table tbody tr:hover{background-color:#f8f9fa}.user-id{font-family:monospace;font-size:.875rem;color:#666}.admin-dashboard .status-badge{display:inline-block;padding:.25rem .75rem;border-radius:12px;font-size:.875rem;font-weight:500}.admin-dashboard .status-completed{background-color:#d4edda;color:#155724}.admin-dashboard .status-pending{background-color:#fff3cd;color:#856404}.admin-dashboard .status-failed{background-color:#f8d7da;color:#721c24}.admin-dashboard .status-unknown{background-color:#e2e3e5;color:#383d41}.error-state{text-align:center;padding:3rem}.error-state h2{color:#dc3545;margin-bottom:1rem}.error-state p{color:#666;font-size:1.1rem}.retry-button{padding:.5rem 1.5rem;background-color:#dc3545;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:1rem;margin-top:1rem;transition:background-color .2s}.retry-button:hover{background-color:#c82333}.batch-count-note{text-align:center;color:#6c757d;font-size:.9rem;margin-top:1rem;font-style:italic}.admin-dashboard .status-draft{background-color:#cfe2ff;color:#084298}.admin-dashboard .status-ready{background-color:#fff3cd;color:#856404}.debug-info{background:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;padding:1.5rem;margin-top:2rem}.debug-info h3{margin-top:0;margin-bottom:1rem;color:#495057;font-size:1.1rem}.debug-info p{margin:.5rem 0;color:#6c757d;font-family:monospace}.subcategory-analytics{background:#fff;border-radius:8px;padding:2rem;box-shadow:0 2px 4px #0000001a;margin-bottom:2rem}.subcategory-analytics h2{margin:0 0 1.5rem;color:#333;font-size:1.5rem}.subcategory-content{display:block}.subcategory-chart{display:flex;justify-content:center;align-items:center;min-height:400px}.subcategory-table-container{overflow-x:auto;max-height:500px;overflow-y:auto}.subcategory-table{width:100%;border-collapse:collapse}.subcategory-table th{background-color:#f8f9fa;padding:.75rem;text-align:left;font-weight:600;color:#495057;border-bottom:2px solid #dee2e6;position:sticky;top:0;z-index:10}.subcategory-table td{padding:.75rem;border-bottom:1px solid #dee2e6}.subcategory-table tbody tr:hover{background-color:#f8f9fa}.sortable-header{cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .2s}.sortable-header:hover{background-color:#e9ecef}.subcategory-name{font-weight:500;color:#333}.subcategory-table td:nth-child(2),.subcategory-table td:nth-child(3),.subcategory-table td:nth-child(4),.subcategory-table td:nth-child(5),.subcategory-table td:nth-child(6){text-align:right}.subcategory-table th:nth-child(2),.subcategory-table th:nth-child(3),.subcategory-table th:nth-child(4),.subcategory-table th:nth-child(5),.subcategory-table th:nth-child(6){text-align:right}.modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:8px;box-shadow:0 4px 6px #0000001a;max-width:800px;width:90%;max-height:80vh;overflow:hidden;display:flex;flex-direction:column}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e5e5e5}.modal-header h2{margin:0;color:#333}.close-button{background:none;border:none;font-size:2rem;color:#666;cursor:pointer;padding:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s}.close-button:hover{background-color:#f5f5f5}.modal-body{padding:1.5rem;overflow-y:auto}.active-users-table{width:100%;border-collapse:collapse}.active-users-table th,.active-users-table td{text-align:left;padding:.75rem;border-bottom:1px solid #e5e5e5}.active-users-table th{background-color:#f8f9fa;font-weight:600;color:#495057}.active-users-table tr:hover{background-color:#f8f9fa}.active-users-table .user-id{font-family:monospace;font-size:.9em;color:#6c757d}.active-users-table .ip-address{font-family:monospace;font-size:.9em;color:#495057}.kick-button{transition:background-color .2s,transform .1s}.kick-button:hover{background-color:#c82333!important;transform:scale(1.05)}.kick-button:active{transform:scale(.95)}.ip-warning{background-color:#fff3cd;border:1px solid #ffeaa7;border-radius:8px;padding:15px;margin-bottom:20px}.ip-warning h4{margin:0 0 10px;color:#856404}.duplicate-ip{padding:5px 0;color:#856404}.shared-ip-row{background-color:#fff3cd!important}.shared-ip-badge{background-color:#ffc107;color:#000;padding:2px 8px;border-radius:12px;font-size:.75em;margin-left:8px;font-weight:600}.stat-card.clickable{transition:transform .2s,box-shadow .2s}.stat-card.clickable:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.stat-subtitle{font-size:.85rem;color:#6c757d;margin-top:.5rem}.daily-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:3rem;background-color:#f0f7ff;padding:1.5rem;border-radius:8px}.daily-stats .stat-card{background:#fff;border:2px solid #e3f2fd}.daily-stats .stat-value{color:#1976d2}.top-users-container{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:3rem}.top-users-section{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 12px #0000000d;border:1px solid #e9ecef;transition:box-shadow .3s ease}.top-users-section:hover{box-shadow:0 6px 16px #00000014}.top-users-section h3{margin:0 0 .5rem;color:#6c757d;font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.section-subtitle{color:#6c757d;font-size:.875rem;margin-bottom:1rem}.top-users-table{width:100%;border-collapse:collapse;margin-top:1rem}.top-users-table th{background-color:#f8f9fa;padding:.75rem;text-align:left;font-weight:600;color:#495057;border-bottom:2px solid #dee2e6;font-size:.875rem}.top-users-table td{padding:.75rem;border-bottom:1px solid #dee2e6;font-size:.875rem}.top-users-table tbody tr:hover{background-color:#f8f9fa}.top-users-table th:first-child,.top-users-table td:first-child{width:40px;text-align:center}.top-users-table th:nth-child(3),.top-users-table th:nth-child(4),.top-users-table th:nth-child(5){text-align:right}.top-users-table td:nth-child(3),.top-users-table td:nth-child(4),.top-users-table td:nth-child(5){text-align:right;color:#007bff;font-weight:600;font-size:1.1rem}.user-email{max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#007bff;font-weight:400}.no-data{text-align:center;color:#6c757d;font-style:italic;padding:2rem}@media (max-width: 1024px){.top-users-container{grid-template-columns:1fr}}.update-prompts-section{padding:20px}.update-prompts-section h2{color:#333;margin-bottom:10px}.update-prompts-section .section-description{color:#666;margin-bottom:30px;font-size:14px}.prompt-form{background:#fff;border-radius:8px;padding:30px;box-shadow:0 2px 10px #0000001a}.prompt-form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:30px}.prompt-form .form-group{display:flex;flex-direction:column}.prompt-form .form-group label{margin-bottom:8px;font-weight:600;color:#333}.prompt-form select{padding:10px;border:1px solid #ddd;border-radius:4px;font-size:14px;transition:border-color .3s}.prompt-form select:focus{outline:none;border-color:#007bff}.prompt-form select:disabled{background-color:#f5f5f5;cursor:not-allowed}.prompt-editor{margin-top:20px}.prompt-editor label{display:block;margin-bottom:10px;font-weight:600;color:#333}.prompt-editor textarea{width:100%;min-height:400px;padding:15px;border:1px solid #ddd;border-radius:4px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:14px;line-height:1.6;resize:vertical;transition:border-color .3s}.prompt-editor textarea:focus{outline:none;border-color:#007bff}.prompt-editor textarea:disabled{background-color:#f5f5f5;cursor:not-allowed}.prompt-actions{margin-top:20px;display:flex;gap:10px}.prompt-actions .save-button{background-color:#28a745;color:#fff;padding:10px 20px;border:none;border-radius:4px;font-size:16px;font-weight:600;cursor:pointer;transition:background-color .3s}.prompt-actions .save-button:hover:not(:disabled){background-color:#218838}.prompt-actions .save-button:disabled{background-color:#ccc;cursor:not-allowed}.prompt-actions .reset-button{background-color:#6c757d;color:#fff;padding:10px 20px;border:none;border-radius:4px;font-size:16px;font-weight:600;cursor:pointer;transition:background-color .3s}.prompt-actions .reset-button:hover:not(:disabled){background-color:#5a6268}.prompt-actions .reset-button:disabled{background-color:#ccc;cursor:not-allowed}.load-categories-section,.load-prompt-section{text-align:center;padding:20px}.load-button{background-color:#007bff;color:#fff;padding:12px 24px;border:none;border-radius:4px;font-size:16px;font-weight:600;cursor:pointer;transition:background-color .3s}.load-button:hover:not(:disabled){background-color:#0056b3}.load-button:disabled{background-color:#ccc;cursor:not-allowed}.date-picker-container{position:relative;width:100%}.date-picker-input{width:100%;padding:10px;font-size:16px;border:1px solid #ddd;border-radius:4px;cursor:pointer;background-color:#fff;display:flex;align-items:center;justify-content:space-between}.date-picker-input:hover{border-color:#999}.date-picker-input:focus{outline:none;border-color:#007bff}.calendar-icon{color:#666}.date-picker-calendar{position:absolute;top:100%;left:0;right:0;margin-top:4px;background:#fff;border:1px solid #ddd;border-radius:8px;box-shadow:0 4px 12px #00000026;z-index:1000;padding:16px;min-width:320px}.calendar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.calendar-nav-button{background:none;border:none;padding:8px;cursor:pointer;border-radius:4px;font-size:18px;color:#333;transition:background-color .2s}.calendar-nav-button:hover:not(:disabled){background-color:#f0f0f0}.calendar-nav-button:disabled{color:#ccc;cursor:not-allowed}.calendar-month-year{font-weight:600;font-size:16px;color:#333}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,1fr);margin-bottom:8px}.calendar-weekday{text-align:center;font-size:12px;font-weight:600;color:#666;padding:8px 0}.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.calendar-day{aspect-ratio:1;display:flex;align-items:center;justify-content:center;border:none;background:none;cursor:pointer;border-radius:50%;font-size:14px;color:#333;transition:all .2s;position:relative}.calendar-day:hover:not(:disabled){background-color:#e3f2fd}.calendar-day:disabled{color:#ccc;cursor:not-allowed}.calendar-day.other-month{color:#ccc}.calendar-day.selected{background-color:#007bff;color:#fff;font-weight:600}.calendar-day.selected:hover{background-color:#0056b3}.calendar-day.today{position:relative}.calendar-day.today:after{content:"";position:absolute;bottom:2px;left:50%;transform:translate(-50%);width:4px;height:4px;background-color:#007bff;border-radius:50%}.calendar-day.today.selected:after{background-color:#fff}.date-picker-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;z-index:999}.sidebar-listing-progress{margin:12px 0}.sidebar-listing-progress .nav-section{margin:0}.sidebar-listing-progress .nav-section-header{padding:8px 16px;font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.listing-progress-sidebar{margin:0 12px;padding:12px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .2s ease}.listing-progress-sidebar:hover{background:#f3f4f6;border-color:#d1d5db;transform:translateY(-1px);box-shadow:0 2px 4px #0000000d}.listing-progress-sidebar.has-errors{border-color:#fecaca;background:#fef2f2}.listing-progress-sidebar.has-errors:hover{border-color:#fca5a5;background:#fee2e2}.progress-content-sidebar{margin-bottom:12px}.progress-status{display:flex;align-items:center;gap:8px;margin-bottom:12px}.status-icon{font-size:18px}.progress-text{font-size:14px;font-weight:500;color:#374151}.progress-bar-container{width:100%;height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden;margin-bottom:8px}.progress-bar-fill{height:100%;background:#3b82f6;transition:width .3s ease}.listing-progress-sidebar.has-errors .progress-bar-fill{background:#ef4444}.progress-percent{font-size:12px;color:#6b7280;text-align:right}.result-summary{display:flex;gap:16px;margin-top:12px}.result-item{display:flex;flex-direction:column;align-items:center}.result-item .count{font-size:20px;font-weight:600;line-height:1}.result-item.success .count{color:#10b981}.result-item.error .count{color:#ef4444}.result-item .label{font-size:11px;color:#6b7280;margin-top:4px}.view-details-btn{width:100%;padding:8px 12px;background:#3b82f6;color:#fff;border:none;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:4px}.view-details-btn:hover{background:#2563eb;transform:translateY(-1px)}.listing-progress-sidebar.has-errors .view-details-btn{background:#ef4444}.listing-progress-sidebar.has-errors .view-details-btn:hover{background:#dc2626}.listing-progress-indicator{display:none}.feed-upload-progress-indicator{background-color:#374151;border:1px solid #4b5563;border-radius:8px;padding:16px;margin:16px;cursor:pointer;transition:all .2s ease}.feed-upload-progress-indicator:hover{background-color:#4b5563;border-color:#8b5cf6;box-shadow:0 2px 8px #8b5cf633}.feed-upload-header{display:flex;align-items:center;gap:8px;margin-bottom:12px}.feed-upload-progress-indicator .feed-upload-header{background-color:#1f2937;padding:12px;margin:-16px -16px 12px;border-radius:8px 8px 0 0}.feed-upload-icon{font-size:20px}.feed-upload-title{font-weight:600;color:#e5e7eb;font-size:14px}.feed-upload-status{margin-bottom:12px}.feed-upload-status-text{color:#9ca3af;font-size:13px;margin-bottom:4px}.feed-upload-task-id{color:#6b7280;font-size:11px;font-family:monospace}.feed-upload-progress-bar{height:6px;background-color:#4b5563;border-radius:3px;overflow:hidden;margin-bottom:12px}.feed-upload-progress-fill{height:100%;background-color:#8b5cf6;transition:width .3s ease}.feed-upload-view-details{background-color:#6366f1;color:#fff;border:none;border-radius:6px;padding:8px 16px;font-size:13px;font-weight:500;cursor:pointer;width:100%;transition:background-color .2s ease}.feed-upload-view-details:hover{background-color:#4f46e5}.ebay-session-notification{position:fixed;top:20px;right:20px;max-width:450px;background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;overflow:hidden;z-index:10000;animation:slideIn .3s ease-out}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.ebay-session-notification.warning{border-left:4px solid #ff9800}.ebay-session-notification.error{border-left:4px solid #f44336}.ebay-session-notification.success{border-left:4px solid #4caf50}.ebay-session-notification.info{border-left:4px solid #2196f3}.notification-content{display:flex;align-items:flex-start;padding:16px;gap:12px}.notification-icon{font-size:24px;flex-shrink:0}.notification-text{flex:1;min-width:0}.notification-message{font-size:14px;line-height:1.5;color:#333;margin-bottom:4px}.notification-countdown{font-size:12px;color:#666;margin-top:8px;font-weight:500}.notification-details{margin-top:4px;color:#666;font-size:12px}.notification-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}.refresh-button,.reconnect-button,.dismiss-button{padding:6px 12px;border:none;border-radius:4px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.refresh-button{background:#2196f3;color:#fff}.refresh-button:hover:not(:disabled){background:#1976d2}.refresh-button:disabled{background:#ccc;cursor:not-allowed}.reconnect-button{background:#4caf50;color:#fff}.reconnect-button:hover{background:#45a049}.dismiss-button{background:#f5f5f5;color:#666}.dismiss-button:hover{background:#e0e0e0}.close-button{background:none;border:none;font-size:18px;color:#999;cursor:pointer;padding:4px;line-height:1;transition:color .2s}.close-button:hover{color:#666}.notification-progress{height:3px;background:#e0e0e0;position:relative;overflow:hidden}.progress-bar{height:100%;background:#2196f3;animation:progress 2s ease-in-out infinite}@keyframes progress{0%{transform:translate(-100%)}to{transform:translate(100%)}}@media (max-width: 600px){.ebay-session-notification{top:10px;right:10px;left:10px;max-width:none}.notification-content{flex-wrap:wrap}.notification-actions{width:100%;margin-top:12px;justify-content:flex-end}}.dashboard-container{padding:20px;max-width:1400px;margin:0 auto}.graph-section{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #0000001a;margin-bottom:30px;position:relative}.graph-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.month-navigation{display:flex;align-items:center;gap:1rem}.graph-title{font-size:20px;font-weight:600;color:#1a1a1a;margin:0;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-button{padding:.5rem 1rem;background-color:#2a6ef8;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:1.2rem;transition:background-color .2s}.nav-button:hover:not(:disabled){background-color:#1a5ed8}.nav-button:disabled{background-color:#e9ecef;color:#adb5bd;cursor:not-allowed}.graph-toggle{display:flex;gap:0;border:1px solid #e0e0e0;border-radius:6px;overflow:hidden}.toggle-btn{padding:8px 16px;border:none;background:#fff;color:#666;font-size:14px;cursor:pointer;transition:all .2s}.toggle-btn:first-child{border-right:1px solid #e0e0e0}.toggle-btn.active{background:#2a6ef8;color:#fff}.toggle-btn:hover:not(.active){background:#f5f5f5}.chart-container{height:320px;margin-top:20px;padding-left:10px;background:#fff!important;position:relative;z-index:1;overflow:hidden}.chart-container:before{content:"";position:absolute;top:-5px;left:-5px;right:-5px;bottom:-5px;background:#fff;z-index:-1;pointer-events:none}.chart-container>div{box-shadow:none!important;-webkit-box-shadow:none!important;-moz-box-shadow:none!important;filter:none!important;-webkit-filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.recharts-wrapper svg{background:#fff!important;background-color:#fff!important}.recharts-surface{background:#fff!important;fill:#fff!important}.recharts-surface>rect{fill:#fff!important;fill-opacity:1!important;stroke:none!important}.recharts-cartesian-grid-bg{fill:transparent!important}.chart-container rect:not(.recharts-bar-rectangle):not(.recharts-active-bar):not(.recharts-cursor){fill:#fff!important;stroke:none!important}.recharts-bar-rectangle{fill-opacity:1!important}.recharts-line .recharts-line-curve{stroke-opacity:1!important;fill:none!important}.chart-container>div[style]{background:transparent!important;box-shadow:none!important;border:none!important}div[class*=recharts]{box-shadow:none!important;background:transparent!important;border:none!important}.chart-container *:before,.chart-container *:after{box-shadow:none!important;background:transparent!important;border:none!important}.chart-container svg{overflow:visible;box-shadow:none!important;filter:none!important}.recharts-wrapper,.recharts-surface,.recharts-layer{filter:none!important;box-shadow:none!important}.recharts-cartesian-grid-horizontal line,.recharts-cartesian-grid-vertical line{stroke:#f0f0f0!important}.recharts-cartesian-grid{filter:none!important;box-shadow:none!important}.recharts-wrapper{background:transparent!important;box-shadow:none!important}.recharts-responsive-container{box-shadow:none!important;filter:none!important;background:#fff!important;background-color:#fff!important;border:none!important;outline:none!important}.chart-container>div{box-shadow:none!important;background:transparent!important;border:none!important}.chart-container .recharts-responsive-container{background-color:transparent!important;background-image:none!important;box-shadow:none!important;border:none!important;outline:none!important}.chart-loading{display:flex;align-items:center;justify-content:center;height:300px;color:#666;font-size:16px}.info-boxes{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:30px}.info-box{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #0000001a;min-height:320px;display:flex;flex-direction:column}.info-box h3{font-size:20px;font-weight:600;margin-bottom:16px;color:#1a1a1a}.setup-box p{color:#666;margin-bottom:20px;font-size:15px}.setup-features{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}.feature-item{display:flex;align-items:center;gap:12px;font-size:14px;color:#333}.feature-icon{font-size:20px;width:30px;text-align:center}.setup-action-btn{margin-top:auto;background:#2a6ef8;color:#fff;border:none;padding:12px 24px;border-radius:6px;font-size:16px;font-weight:500;cursor:pointer;transition:background .2s}.setup-action-btn:hover{background:#1a5ae8}.demo-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;height:200px;background:#f5f5f5;border-radius:8px;margin-top:12px}.play-icon{font-size:48px;color:#2a6ef8;margin-bottom:12px}.demo-placeholder p{margin:4px 0;color:#666;font-size:16px}.demo-subtitle{font-size:14px!important;color:#999!important}.announcement{background:#f8f9ff;border-left:4px solid #2a6ef8;padding:16px;border-radius:6px}.announcement h4{font-size:16px;font-weight:600;color:#1a1a1a;margin-bottom:12px}.announcement p{color:#666;font-size:14px;line-height:1.6;margin-bottom:12px}.announcement p:last-child{margin-bottom:0}.announcement-footer{font-style:italic;color:#888!important;margin-top:12px}.announcement-loading{display:flex;justify-content:center;align-items:center;min-height:120px}.announcement-loading .app-loading-spinner{width:30px;height:30px}.announcement a{color:#2a6ef8;text-decoration:underline}.announcement a:hover{color:#1a5ee8}.announcement strong{font-weight:600}.announcement em{font-style:italic}.announcement u{text-decoration:underline}@media (max-width: 1200px){.info-boxes{grid-template-columns:1fr}.info-box{min-height:auto}}@media (max-width: 768px){.graph-header{flex-direction:column;gap:16px;align-items:flex-start}.dashboard-container{padding:16px}}.graph-section .chart-container,.graph-section .recharts-responsive-container,.graph-section .recharts-wrapper{box-shadow:none!important;filter:none!important;background-image:none!important}.graph-section .recharts-cartesian-grid line{stroke:#f0f0f0!important}.graph-section .recharts-line-curve{stroke:#2a6ef8!important;stroke-width:2!important;fill:none!important;opacity:1!important}.recharts-tooltip-wrapper{z-index:1000!important}.recharts-tooltip-wrapper .recharts-default-tooltip{background-color:#fff!important;border:1px solid #ccc!important;border-radius:4px!important;box-shadow:0 2px 4px #0000001a!important}.legal-page-container{min-height:100vh;background-color:#f8f9fa;display:flex;flex-direction:column;width:100%;position:absolute;top:0;left:0;right:0}.legal-header{background-color:#fff;border-bottom:1px solid #dee2e6;padding:2rem;box-shadow:0 2px 4px #0000000d;width:100%;box-sizing:border-box}.legal-header h1{margin:0;font-size:2.5rem;color:#333;font-weight:600}.back-link{display:inline-block;margin-bottom:1rem;color:#06c;text-decoration:none;font-size:.9rem;transition:color .2s}.back-link:hover{color:#0052a3;text-decoration:underline}.legal-content-wrapper{flex:1;padding:2rem;width:100%;position:relative;display:flex;flex-direction:column;box-sizing:border-box;min-height:600px}.getterms-document-embed{width:100%;background-color:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:2rem;min-height:400px}.legal-iframe{width:100%;min-height:800px;height:calc(100vh - 300px);border:none;background-color:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;flex:1;overflow:hidden}@media (min-width: 769px){.legal-iframe{min-width:100%;transform-origin:0 0}}.legal-loading-container{display:flex;justify-content:center;align-items:center;min-height:400px;width:100%}.legal-spinner-wrapper{text-align:center}.legal-spinner{width:48px;height:48px;border:4px solid #e5e7eb;border-top:4px solid #3b82f6;border-radius:50%;animation:legal-spin 1s linear infinite;margin:0 auto 1.5rem}.legal-loading-text{color:#6b7280;font-size:1rem;font-weight:500;margin:0}@keyframes legal-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.legal-error{max-width:600px;margin:4rem auto;text-align:center;padding:2rem}.legal-error h1{color:#dc3545;margin-bottom:1rem}.legal-error p{color:#6c757d;margin-bottom:2rem}.legal-footer{background-color:#212529;color:#adb5bd;padding:2rem;text-align:center;width:100%;box-sizing:border-box}.legal-footer p{margin-bottom:1rem}.legal-links{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}.legal-links a{color:#adb5bd;text-decoration:none;transition:color .2s}.legal-links a:hover{color:#fff}.legal-links span{color:#6c757d}@media (max-width: 768px){.legal-header{padding:1.5rem 1rem}.legal-header h1{font-size:1.75rem}.legal-content-wrapper{padding:1rem}.legal-iframe{height:calc(100vh - 250px);min-height:600px;border-radius:4px}.legal-footer{padding:1.5rem 1rem}.legal-links{flex-direction:column;gap:.5rem}.legal-links span{display:none}}.waiting-room{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;padding:20px}.waiting-room-container{background:#fff;border-radius:20px;box-shadow:0 20px 60px #0000001a;max-width:600px;width:100%;padding:40px;animation:fadeIn .5s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.waiting-room-header{text-align:center;margin-bottom:40px}.waiting-room-logo{width:80px;height:80px;margin-bottom:20px}.waiting-room-header h1{font-size:32px;color:#1a1a1a;margin-bottom:10px;font-weight:700}.subtitle{font-size:18px;color:#666;margin:0}.queue-status{margin-bottom:40px}.connection-indicator{display:flex;align-items:center;justify-content:center;margin-bottom:30px;gap:10px}.status-dot{width:12px;height:12px;border-radius:50%;animation:pulse 2s infinite}.status-dot.connected{background-color:#10b981}.status-dot.connecting{background-color:#f59e0b;animation:pulse 1s infinite}.status-dot.error{background-color:#ef4444;animation:none}@keyframes pulse{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}.status-text{font-size:14px;color:#666;font-weight:500}.error-message{background-color:#fee;border:1px solid #fcc;border-radius:8px;padding:15px;margin-bottom:20px;text-align:center}.error-message p{color:#c53030;margin:0;font-size:14px}.claim-window{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:16px;padding:40px;text-align:center;animation:bounce .5s ease-out}@keyframes bounce{0%{transform:scale(.9)}50%{transform:scale(1.05)}to{transform:scale(1)}}.claim-window h2{font-size:36px;margin-bottom:15px}.claim-window p{font-size:20px;margin-bottom:30px;opacity:.95}.claim-button{background-color:#fff;color:#667eea;border:none;padding:18px 40px;font-size:18px;font-weight:600;border-radius:50px;cursor:pointer;transition:all .3s ease;box-shadow:0 10px 30px #0003}.claim-button:hover{transform:translateY(-2px);box-shadow:0 15px 40px #00000040}.queue-info{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-bottom:40px}.position-display{text-align:center;padding:30px;background-color:#f8f9fa;border-radius:16px}.position-display h2{font-size:18px;color:#666;margin-bottom:15px;font-weight:500}.position-number{font-size:72px;font-weight:700;color:#667eea;line-height:1;margin-bottom:10px}.queue-total{font-size:14px;color:#999;margin:0}.wait-info{text-align:center;padding:30px;background-color:#f8f9fa;border-radius:16px}.wait-info h3{font-size:18px;color:#666;margin-bottom:15px;font-weight:500}.wait-time{font-size:36px;font-weight:600;color:#1a1a1a;margin-bottom:10px}.wait-note{font-size:12px;color:#999;margin:0}.queue-tips{background-color:#f0f9ff;border:1px solid #bae6fd;border-radius:12px;padding:25px}.queue-tips h3{font-size:18px;color:#0284c7;margin-bottom:15px;font-weight:600}.queue-tips ul{list-style:none;padding:0;margin:0}.queue-tips li{padding:8px 0 8px 25px;position:relative;color:#0369a1;font-size:14px}.queue-tips li:before{content:"✓";position:absolute;left:0;color:#0284c7;font-weight:700}.waiting-room-footer{text-align:center;padding-top:20px;border-top:1px solid #e5e7eb}.leave-queue-button{background-color:transparent;color:#6b7280;border:1px solid #e5e7eb;padding:10px 24px;font-size:14px;font-weight:500;border-radius:8px;cursor:pointer;transition:all .2s ease;margin-bottom:15px}.leave-queue-button:hover{background-color:#f3f4f6;border-color:#d1d5db}.user-info{font-size:12px;color:#9ca3af;margin:0}@media (max-width: 640px){.waiting-room-container{padding:30px 20px}.waiting-room-header h1{font-size:24px}.subtitle{font-size:16px}.queue-info{grid-template-columns:1fr;gap:20px}.position-number{font-size:56px}.wait-time,.claim-window h2{font-size:28px}.claim-window p{font-size:18px}}.paddle-test-page{max-width:800px;margin:0 auto;padding:20px;font-family:Arial,sans-serif}.paddle-test-page h1{color:#333;border-bottom:2px solid #007bff;padding-bottom:10px;margin-bottom:30px}.paddle-test-page h2{color:#444;margin-top:30px;margin-bottom:15px}.paddle-test-page h3{color:#555;margin-bottom:10px}.status-section,.subscription-section,.actions-section,.config-section,.instructions-section{background-color:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;padding:20px;margin-bottom:20px}.status-info p,.subscription-info p,.config-info p{margin:8px 0;line-height:1.6}.status-info strong,.subscription-info strong,.config-info strong{color:#333;display:inline-block;min-width:150px}.action-button{padding:10px 20px;margin:10px 10px 10px 0;border:none;border-radius:5px;font-size:16px;cursor:pointer;transition:all .3s ease}.action-button:hover{transform:translateY(-2px);box-shadow:0 4px 8px #0000001a}.action-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.action-button.standard{background-color:#28a745;color:#fff}.action-button.standard:hover:not(:disabled){background-color:#218838}.action-button.growth{background-color:#007bff;color:#fff}.action-button.growth:hover:not(:disabled){background-color:#0056b3}.action-button.update{background-color:#ffc107;color:#212529}.action-button.update:hover{background-color:#e0a800}.action-button.cancel{background-color:#dc3545;color:#fff}.action-button.cancel:hover{background-color:#c82333}.instructions-section ol{margin-left:20px;line-height:1.8}.instructions-section ul{margin-left:20px;margin-top:5px}.instructions-section li{margin-bottom:10px}.instructions-section code{background-color:#e9ecef;padding:2px 6px;border-radius:3px;font-family:Courier New,monospace}.update-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.update-modal{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;max-width:500px;width:90%;max-height:90vh;overflow:auto;animation:slideUp .3s ease-out}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.update-modal-header{padding:24px 24px 20px;border-bottom:1px solid #e5e7eb;text-align:center}.update-icon{font-size:48px;margin-bottom:12px;animation:rotate 2s linear infinite}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.update-modal-header h2{margin:0;font-size:24px;font-weight:600;color:#111827}.update-modal-content{padding:24px}.update-main-message{margin:0 0 20px;font-size:15px;line-height:1.6;color:#4b5563}.version-info{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:16px;margin-bottom:20px}.version-row{display:flex;justify-content:space-between;align-items:center;padding:4px 0}.version-row+.version-row{margin-top:8px}.version-label{font-weight:500;color:#6b7280;font-size:14px}.version-value{font-family:Courier New,monospace;font-size:14px;color:#374151;background:#fff;padding:2px 8px;border-radius:4px;border:1px solid #e5e7eb}.version-value.new{background:#dcfce7;border-color:#86efac;color:#166534;font-weight:600}.update-instructions{margin-bottom:20px}.update-instructions h3{margin:0 0 12px;font-size:16px;font-weight:600;color:#111827}.update-instructions ol{margin:0;padding-left:20px;color:#4b5563;font-size:14px;line-height:1.8}.update-instructions li{margin-bottom:8px}.update-instructions strong{color:#111827;font-weight:600}.update-instructions kbd{display:inline-block;padding:3px 6px;font-size:13px;font-family:Courier New,monospace;line-height:1;color:#1f2937;background:#f3f4f6;border:1px solid #d1d5db;border-radius:4px;box-shadow:0 1px 2px #0000000d;margin:0 4px}.refresh-countdown{background:#fef3c7;border:1px solid #fde68a;border-radius:8px;padding:16px;margin-top:20px;text-align:center}.refresh-countdown p{margin:0 0 12px;font-size:15px;font-weight:500;color:#92400e}.countdown-bar{height:8px;background:#fed7aa;border-radius:4px;overflow:hidden}.countdown-progress{height:100%;background:#f97316;border-radius:4px;transition:width 1s linear}.update-modal-footer{padding:20px 24px;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;gap:12px}.update-modal-footer .btn-primary,.update-modal-footer .btn-secondary{padding:10px 20px;border-radius:8px;font-size:15px;font-weight:500;cursor:pointer;transition:all .2s;border:none;outline:none}.update-modal-footer .btn-primary{background:#3b82f6;color:#fff}.update-modal-footer .btn-primary:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.update-modal-footer .btn-secondary{background:#f3f4f6;color:#4b5563;border:1px solid #d1d5db}.update-modal-footer .btn-secondary:hover{background:#e5e7eb}.update-modal-footer .btn-secondary:disabled{opacity:.5;cursor:not-allowed}@media (prefers-color-scheme: dark){.update-modal{background:#1f2937;color:#f3f4f6}.update-modal-header{border-bottom-color:#374151}.update-modal-header h2{color:#f3f4f6}.update-main-message{color:#d1d5db}.version-info{background:#111827;border-color:#374151}.version-value{background:#1f2937;border-color:#374151;color:#e5e7eb}.version-value.new{background:#064e3b;border-color:#10b981;color:#86efac}.update-instructions h3{color:#f3f4f6}.update-instructions{color:#d1d5db}.update-instructions strong{color:#f3f4f6}.update-instructions kbd{background:#374151;border-color:#4b5563;color:#f3f4f6}.update-modal-footer{border-top-color:#374151}.update-modal-footer .btn-secondary{background:#374151;color:#d1d5db;border-color:#4b5563}.update-modal-footer .btn-secondary:hover{background:#4b5563}}
