.staggered-menu-wrapper { position: relative; width: 100%; height: 100%; z-index: 40; pointer-events: none; } .staggered-menu-wrapper.fixed-wrapper { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 40; overflow: hidden; } .staggered-menu-header { position: absolute; top: 0; left: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 2em; background: transparent; pointer-events: none; z-index: 20; } .staggered-menu-header > * { pointer-events: auto; } .sm-logo { display: flex; align-items: center; user-select: none; } .sm-logo-img { display: block; height: 32px; width: auto; object-fit: contain; } .sm-toggle { position: relative; display: inline-flex; align-items: center; gap: 0.3rem; background: transparent; border: none; cursor: pointer; color: #e9e9ef; font-weight: 500; line-height: 1; overflow: visible; } .sm-toggle:focus-visible { outline: 2px solid #ffffffaa; outline-offset: 4px; border-radius: 4px; } .sm-line:last-of-type { margin-top: 6px; } .sm-toggle-textWrap { position: relative; display: inline-block; height: 1em; overflow: hidden; white-space: nowrap; width: var(--sm-toggle-width, auto); min-width: var(--sm-toggle-width, auto); } .sm-toggle-textInner { display: flex; flex-direction: column; line-height: 1; } .sm-toggle-line { display: block; height: 1em; line-height: 1; } .sm-icon { position: relative; width: 14px; height: 14px; flex: 0 0 14px; display: inline-flex; align-items: center; justify-content: center; will-change: transform; } .sm-panel-itemWrap { position: relative; overflow: hidden; line-height: 1; } .sm-icon-line { position: absolute; left: 50%; top: 50%; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); will-change: transform; } .sm-line { display: none !important; } .staggered-menu-panel { position: absolute; top: 0; right: 0; width: clamp(260px, 38vw, 420px); height: 100%; background: white; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: flex; flex-direction: column; padding: 6em 2em 2em 2em; overflow-y: auto; z-index: 10; pointer-events: auto; } [data-position='left'] .staggered-menu-panel { right: auto; left: 0; } .sm-prelayers { position: absolute; top: 0; right: 0; bottom: 0; width: clamp(260px, 38vw, 420px); pointer-events: none; z-index: 5; } [data-position='left'] .sm-prelayers { right: auto; left: 0; } .sm-prelayer { position: absolute; top: 0; right: 0; height: 100%; width: 100%; transform: translateX(0); } .sm-panel-inner { flex: 1; display: flex; flex-direction: column; gap: 1.25rem; } .sm-socials { margin-top: auto; padding-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; } .sm-socials-title { margin: 0; font-size: 1rem; font-weight: 500; color: var(--sm-accent, #ff0000); } .sm-socials-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: row; align-items: center; gap: 1rem; flex-wrap: wrap; } .sm-socials-list .sm-socials-link { opacity: 1; } .sm-socials-list:hover .sm-socials-link { opacity: 0.35; } .sm-socials-list:hover .sm-socials-link:hover { opacity: 1; } .sm-socials-link:focus-visible { outline: 2px solid var(--sm-accent, #ff0000); outline-offset: 3px; } .sm-socials-list:focus-within .sm-socials-link { opacity: 0.35; } .sm-socials-list:focus-within .sm-socials-link:focus-visible { opacity: 1; } .sm-socials-link { font-size: 1.2rem; font-weight: 500; color: #111; text-decoration: none; position: relative; padding: 2px 0; display: inline-block; transition: color 0.3s ease, opacity 0.3s ease; } .sm-socials-link:hover { color: var(--sm-accent, #ff0000); } .sm-panel-title { margin: 0; font-size: 1rem; font-weight: 600; color: #fff; text-transform: uppercase; } .sm-panel-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; } .sm-panel-item { position: relative; color: #000; font-weight: 600; font-size: 3.5rem; cursor: pointer; line-height: 1; letter-spacing: -2px; text-transform: uppercase; transition: background 0.25s, color 0.25s; display: inline-block; text-decoration: none; padding-right: 1.4em; } .staggered-menu-panel .sm-socials-list .sm-socials-link { opacity: 1; transition: opacity 0.3s ease; } .staggered-menu-panel .sm-socials-list:hover .sm-socials-link:not(:hover) { opacity: 0.35; } .staggered-menu-panel .sm-socials-list:focus-within .sm-socials-link:not(:focus-visible) { opacity: 0.35; } .staggered-menu-panel .sm-socials-list .sm-socials-link:hover, .staggered-menu-panel .sm-socials-list .sm-socials-link:focus-visible { opacity: 1; } .sm-panel-itemLabel { display: inline-block; will-change: transform; transform-origin: 50% 100%; } .sm-panel-item:hover { color: var(--sm-accent, #5227ff); } .sm-panel-list[data-numbering] { counter-reset: smItem; } .sm-panel-list[data-numbering] .sm-panel-item::after { counter-increment: smItem; content: counter(smItem, decimal-leading-zero); position: absolute; top: 0.1em; right: 2.8em; font-size: 18px; font-weight: 400; color: var(--sm-accent, #5227ff); letter-spacing: 0; pointer-events: none; user-select: none; opacity: var(--sm-num-opacity, 0); } @media (max-width: 1024px) { .staggered-menu-panel { width: 100%; left: 0; right: 0; } .staggered-menu-wrapper[data-open] .sm-logo-img { filter: invert(100%); } } @media (max-width: 640px) { .staggered-menu-panel { width: 100%; left: 0; right: 0; } .staggered-menu-wrapper[data-open] .sm-logo-img { filter: invert(100%); } } /* Content Panel - Black screen */ .sm-content-panel { position: absolute; top: 0; left: 0; right: clamp(260px, 38vw, 420px); height: 100%; background: #0a0a0a; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; z-index: 8; pointer-events: auto; padding: 2rem; overflow-y: auto; overflow-x: hidden; } [data-position='left'] .sm-content-panel { left: clamp(260px, 38vw, 420px); right: 0; } .sm-content-title { color: #fff; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; text-transform: uppercase; letter-spacing: -1px; margin: 0; } @media (max-width: 1024px) { .sm-content-panel { right: 0; top: 50%; height: 50%; } [data-position='left'] .sm-content-panel { left: 0; } } @media (max-width: 640px) { .sm-content-panel { right: 0; top: 50%; height: 50%; } [data-position='left'] .sm-content-panel { left: 0; } .sm-content-title { font-size: 1.8rem; } } /* Items Panel Styles */ .amazon-ext-items-content { color: white; padding: 2rem; height: 100%; overflow-y: auto; width: 100%; } .items-header { margin-bottom: 2rem; } .items-header h2 { margin: 0 0 1.5rem 0; font-size: 2rem; font-weight: 700; color: white; } .add-product-form { display: flex; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; } .add-product-form input { flex: 1; min-width: 300px; padding: 0.75rem; border: 1px solid #333; background: #222; color: white; border-radius: 4px; font-size: 0.9rem; } .add-product-form input:focus { outline: none; border-color: #ff9900; box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.2); } .add-product-form input::placeholder { color: #888; } .add-product-form button { padding: 0.75rem 1.5rem; background: #ff9900; color: white; border: none; border-radius: 4px; cursor: pointer; font-weight: 500; transition: background-color 0.2s ease; min-width: 120px; } .add-product-form button:hover:not(:disabled) { background: #e68900; } .add-product-form button:active:not(:disabled) { background: #cc7700; } .add-product-form button:disabled { background: #666; cursor: not-allowed; opacity: 0.7; } .error-message { color: #ff6b6b; background: rgba(255, 107, 107, 0.1); border: 1px solid rgba(255, 107, 107, 0.3); padding: 0.75rem; border-radius: 4px; margin-bottom: 1rem; font-size: 0.9rem; } .success-message { color: #51cf66; background: rgba(81, 207, 102, 0.1); border: 1px solid rgba(81, 207, 102, 0.3); padding: 0.75rem; border-radius: 4px; margin-bottom: 1rem; font-size: 0.9rem; } .product-list { display: flex; flex-direction: column; gap: 1rem; } .empty-state { text-align: center; padding: 3rem 1rem; color: #888; } .empty-state p { margin: 0.5rem 0; font-size: 1rem; } .product-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem; background: rgba(255, 255, 255, 0.05); border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1); transition: background-color 0.2s ease; } .product-item:hover { background: rgba(255, 255, 255, 0.08); } .product-image { flex-shrink: 0; width: 80px; height: 80px; border-radius: 4px; overflow: hidden; background: #333; display: flex; align-items: center; justify-content: center; } .product-image img { width: 100%; height: 100%; object-fit: cover; } .product-info { flex: 1; min-width: 0; } .product-title { margin: 0 0 0.5rem 0; font-size: 1.1rem; font-weight: 600; color: white; line-height: 1.3; } .product-url { display: block; color: #ff9900; text-decoration: none; font-size: 0.9rem; margin-bottom: 0.5rem; word-break: break-all; } .product-url:hover { text-decoration: underline; } .product-meta { font-size: 0.8rem; color: #888; } .saved-date { display: block; } .product-actions { flex-shrink: 0; display: flex; align-items: flex-start; gap: 0.5rem; } .delete-btn { background: transparent; border: 1px solid rgba(255, 107, 107, 0.3); color: #ff6b6b; padding: 0.5rem; border-radius: 4px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; } .delete-btn:hover { background: rgba(255, 107, 107, 0.1); border-color: rgba(255, 107, 107, 0.5); } .delete-btn:active { background: rgba(255, 107, 107, 0.2); } .delete-btn svg { width: 16px; height: 16px; } @media (max-width: 768px) { .amazon-ext-items-content { padding: 1rem; } .add-product-form { flex-direction: column; } .add-product-form input { min-width: auto; } .product-item { flex-direction: column; align-items: stretch; } .product-image { width: 100%; height: 120px; } .product-actions { justify-content: flex-end; } } /* Product Bar Styles */ .amazon-ext-product-bar { width: 100%; min-height: 24px; background: linear-gradient(135deg, #ff9900 0%, #ff6600 100%); border-radius: 4px; margin-top: 4px; position: relative; display: flex; align-items: center; justify-content: center; padding: 4px 8px; box-sizing: border-box; font-size: 12px; font-weight: 600; color: white; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); transition: all 0.2s ease; } .amazon-ext-product-bar:hover { background: linear-gradient(135deg, #ffaa22 0%, #ff7711 100%); box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15); } .amazon-ext-product-bar .amazon-ext-list-icon { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.3); border-radius: 50%; padding: 3px; } .amazon-ext-product-bar .amazon-ext-list-icon svg { width: 14px; height: 14px; } .amazon-ext-product-bar .amazon-ext-list-icon svg path, .amazon-ext-product-bar .amazon-ext-list-icon svg circle { fill: white; } /* ======================================== Blacklist Panel Styles ======================================== */ /* Blacklist Content Container */ .amazon-ext-blacklist-content { color: white; padding: 2rem; height: 100%; overflow-y: auto; width: 100%; } /* Blacklist Header */ .blacklist-header { margin-bottom: 2rem; } .blacklist-header h2 { margin: 0 0 0.5rem 0; font-size: 2rem; font-weight: 700; color: white; } .blacklist-description { color: #888; margin: 0; font-size: 0.95rem; } /* Add Brand Form */ .add-brand-form { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; } .add-brand-form .brand-input { flex: 1; min-width: 200px; padding: 0.75rem; border: 1px solid #333; background: #222; color: white; border-radius: 4px; font-size: 1rem; } .add-brand-form .brand-input:focus { outline: none; border-color: #ff9900; box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.2); } .add-brand-form .brand-input::placeholder { color: #888; } .add-brand-form .add-brand-btn { padding: 0.75rem 1.5rem; background: #ff9900; color: white; border: none; border-radius: 4px; cursor: pointer; font-weight: 600; font-size: 1rem; transition: background-color 0.2s ease; min-width: 120px; } .add-brand-form .add-brand-btn:hover { background: #e68a00; } .add-brand-form .add-brand-btn:active { background: #cc7700; } /* Brand List Container */ .brand-list-container { margin-bottom: 1rem; } .brand-list { display: flex; flex-direction: column; gap: 0.75rem; } /* Brand Item */ .brand-item { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 1rem; background: #222; border-radius: 4px; border: 1px solid #333; transition: background-color 0.2s ease, border-color 0.2s ease; } .brand-item:hover { background: #2a2a2a; border-color: #444; } /* Brand Logo in List */ .brand-logo { width: 24px; height: 24px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #ff9900; } .brand-logo svg { width: 100%; height: 100%; } /* Brand Name */ .brand-name { flex: 1; font-size: 1rem; color: white; font-weight: 500; } /* Delete Brand Button */ .delete-brand-btn { background: none; border: none; color: #888; font-size: 1.5rem; cursor: pointer; padding: 0 0.5rem; line-height: 1; transition: color 0.2s ease; display: flex; align-items: center; justify-content: center; } .delete-brand-btn:hover { color: #ff4444; } .delete-brand-btn:active { color: #cc3333; } /* Empty State Message */ .empty-message { color: #666; text-align: center; padding: 2rem; font-size: 1rem; } /* Blacklist Feedback Messages */ .blacklist-message { padding: 0.75rem 1rem; border-radius: 4px; margin-top: 1rem; text-align: center; font-size: 0.95rem; transition: opacity 0.3s ease; } .blacklist-message.success { background: #1a4d1a; color: #4ade4a; border: 1px solid rgba(74, 222, 74, 0.3); } .blacklist-message.error { background: #4d1a1a; color: #ff6b6b; border: 1px solid rgba(255, 107, 107, 0.3); } /* ======================================== Brand Icon in Product Bar ======================================== */ .amazon-ext-product-bar .brand-icon { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; color: #ff4444; flex-shrink: 0; } .amazon-ext-product-bar .brand-icon svg { width: 16px; height: 16px; } /* Adjust product bar padding when brand icon is present */ .amazon-ext-product-bar:has(.brand-icon[style*="display: flex"]) { padding-left: 32px; } /* Fallback for browsers without :has() support */ .amazon-ext-product-bar.has-brand-icon { padding-left: 32px; } /* ======================================== Blacklist Panel Responsive Styles ======================================== */ @media (max-width: 768px) { .amazon-ext-blacklist-content { padding: 1rem; } .blacklist-header h2 { font-size: 1.5rem; } .add-brand-form { flex-direction: column; } .add-brand-form .brand-input { min-width: auto; width: 100%; } .add-brand-form .add-brand-btn { width: 100%; } .brand-item { padding: 0.6rem 0.75rem; } .brand-logo { width: 20px; height: 20px; } .brand-name { font-size: 0.9rem; } } /* ======================================== Settings Panel Styles ======================================== */ /* Settings Content Container */ .amazon-ext-settings-content { color: white; padding: 2rem; height: 100%; overflow-y: auto; width: 100%; } /* Settings Header */ .settings-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid #333; } .settings-header h2 { margin: 0; font-size: 2rem; font-weight: 700; color: white; } .close-settings-btn { background: none; border: none; color: #888; font-size: 2rem; cursor: pointer; padding: 0; line-height: 1; transition: color 0.2s ease; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; } .close-settings-btn:hover { color: #fff; } /* Settings Content */ .settings-content { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 2rem; } .settings-section { background: rgba(255, 255, 255, 0.05); border-radius: 8px; padding: 1.5rem; border: 1px solid rgba(255, 255, 255, 0.1); } .section-title { margin: 0 0 1rem 0; font-size: 1.2rem; font-weight: 600; color: #ff9900; } /* Form Elements */ .settings-label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: white; font-size: 0.95rem; } .required-indicator { color: #ff6b6b; margin-left: 0.25rem; } .settings-input, .settings-select, .settings-number { width: 100%; padding: 0.75rem; border: 1px solid #333; background: #222; color: white; border-radius: 4px; font-size: 0.95rem; transition: border-color 0.2s ease, box-shadow 0.2s ease; } .settings-input:focus, .settings-select:focus, .settings-number:focus { outline: none; border-color: #ff9900; box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.2); } .settings-input::placeholder { color: #888; } .settings-number { width: auto; min-width: 80px; } /* API Key Section */ .api-key-section { display: flex; flex-direction: column; gap: 0.75rem; } .api-key-input-group { display: flex; gap: 0.75rem; align-items: flex-start; } .api-key-input { flex: 1; font-family: 'Courier New', monospace; letter-spacing: 0.5px; } .test-key-btn { padding: 0.75rem 1.25rem; background: #007acc; color: white; border: none; border-radius: 4px; cursor: pointer; font-weight: 600; font-size: 0.9rem; transition: background-color 0.2s ease; white-space: nowrap; min-width: 80px; } .test-key-btn:hover:not(:disabled) { background: #0066aa; } .test-key-btn:disabled { background: #666; cursor: not-allowed; opacity: 0.7; } .api-key-status { padding: 0.5rem 0.75rem; border-radius: 4px; font-size: 0.9rem; min-height: 1.2rem; display: flex; align-items: center; } .api-key-status.success { background: rgba(81, 207, 102, 0.1); color: #51cf66; border: 1px solid rgba(81, 207, 102, 0.3); } .api-key-status.error { background: rgba(255, 107, 107, 0.1); color: #ff6b6b; border: 1px solid rgba(255, 107, 107, 0.3); } .api-key-status.info { background: rgba(116, 192, 252, 0.1); color: #74c0fc; border: 1px solid rgba(116, 192, 252, 0.3); } .api-key-help { font-size: 0.85rem; color: #888; } .api-key-help a { color: #ff9900; text-decoration: none; } .api-key-help a:hover { text-decoration: underline; } /* Checkbox Styles */ .checkbox-label { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; font-weight: normal; margin-bottom: 0; } .settings-checkbox { width: auto; margin: 0; accent-color: #ff9900; } .checkbox-text { flex: 1; color: white; font-size: 0.95rem; } /* Setting Row */ .setting-row { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; } .setting-row:last-child { margin-bottom: 0; } .setting-description { margin: 0; font-size: 0.85rem; color: #888; line-height: 1.4; } /* Settings Footer */ .settings-footer { display: flex; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid #333; justify-content: flex-end; } .save-settings-btn, .cancel-settings-btn { padding: 0.75rem 1.5rem; border: none; border-radius: 4px; cursor: pointer; font-weight: 600; font-size: 0.95rem; transition: background-color 0.2s ease; min-width: 120px; } .save-settings-btn { background: #ff9900; color: white; } .save-settings-btn:hover { background: #e68900; } .cancel-settings-btn { background: transparent; color: #888; border: 1px solid #666; } .cancel-settings-btn:hover { background: rgba(255, 255, 255, 0.05); color: white; border-color: #888; } /* Settings Messages */ .settings-messages { margin-top: 1rem; } .settings-message { padding: 0.75rem 1rem; border-radius: 4px; font-size: 0.95rem; text-align: center; transition: opacity 0.3s ease; } .settings-message.success { background: rgba(81, 207, 102, 0.1); color: #51cf66; border: 1px solid rgba(81, 207, 102, 0.3); } .settings-message.error { background: rgba(255, 107, 107, 0.1); color: #ff6b6b; border: 1px solid rgba(255, 107, 107, 0.3); } .settings-message.info { background: rgba(116, 192, 252, 0.1); color: #74c0fc; border: 1px solid rgba(116, 192, 252, 0.3); } /* ======================================== Settings Panel Responsive Styles ======================================== */ @media (max-width: 768px) { .amazon-ext-settings-content { padding: 1rem; } .settings-header { margin-bottom: 1.5rem; } .settings-header h2 { font-size: 1.5rem; } .settings-content { gap: 1.5rem; } .settings-section { padding: 1rem; } .api-key-input-group { flex-direction: column; gap: 0.5rem; } .test-key-btn { width: 100%; } .settings-footer { flex-direction: column; gap: 0.75rem; } .save-settings-btn, .cancel-settings-btn { width: 100%; } .setting-row { margin-bottom: 1rem; } } /* ======================================== Title Selection UI Styles ======================================== */ /* Title Selection Container */ .title-selection-container { background: #f8f9fa; border: 1px solid #ddd; border-radius: 8px; padding: 1.5rem; margin: 1rem 0; color: #333; max-width: 600px; width: 100%; } /* Title Selection Header */ .title-selection-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid #e9ecef; } .selection-title { margin: 0; font-size: 1.3rem; font-weight: 600; color: #333; } .loading-indicator { display: flex; align-items: center; gap: 0.5rem; color: #007acc; font-size: 0.9rem; } .loading-indicator::before { content: ''; width: 16px; height: 16px; border: 2px solid #007acc; border-top: 2px solid transparent; border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Title Options Container */ .title-options { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; } /* Individual Title Option */ .title-option { padding: 1rem; border: 2px solid #e9ecef; border-radius: 6px; cursor: pointer; transition: all 0.2s ease; background: white; position: relative; } .title-option:hover:not(.disabled) { border-color: #007acc; background: #f0f8ff; transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0, 122, 204, 0.1); } .title-option:focus { outline: none; border-color: #007acc; box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.2); } .title-option.selected { border-color: #007acc; background: #e3f2fd; box-shadow: 0 2px 8px rgba(0, 122, 204, 0.15); } .title-option.disabled { cursor: not-allowed; opacity: 0.5; background: #f8f9fa; } .title-option.loading { opacity: 0.6; cursor: wait; } /* Option Labels */ .option-label { font-weight: 600; color: #666; display: block; margin-bottom: 0.5rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; } .ai-generated .option-label { color: #007acc; } .original .option-label { color: #28a745; } /* Option Text */ .option-text { font-size: 1.1rem; color: #333; line-height: 1.4; display: block; word-wrap: break-word; } .title-option.selected .option-text { color: #0056b3; font-weight: 500; } /* Selection Actions */ .selection-actions { display: flex; gap: 1rem; justify-content: center; padding-top: 1rem; border-top: 1px solid #e9ecef; } .confirm-selection-btn, .skip-ai-btn { padding: 0.75rem 1.5rem; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 0.95rem; transition: all 0.2s ease; min-width: 140px; } .confirm-selection-btn { background: #007acc; color: white; } .confirm-selection-btn:hover { background: #0066aa; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 122, 204, 0.3); } .confirm-selection-btn:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(0, 122, 204, 0.3); } .skip-ai-btn { background: transparent; color: #666; border: 2px solid #ddd; } .skip-ai-btn:hover { background: #f8f9fa; border-color: #bbb; color: #333; } .skip-ai-btn:active { background: #e9ecef; } /* Selection Messages */ .selection-message { padding: 0.75rem 1rem; border-radius: 4px; margin-bottom: 1rem; font-size: 0.9rem; text-align: center; } .selection-message.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; } .selection-message.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; } .selection-message.info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; } /* Dark Theme Support for Title Selection */ @media (prefers-color-scheme: dark) { .title-selection-container { background: #2a2a2a; border-color: #444; color: #e9e9e9; } .selection-title { color: #e9e9e9; } .title-selection-header { border-bottom-color: #444; } .title-option { background: #333; border-color: #555; color: #e9e9e9; } .title-option:hover:not(.disabled) { background: #404040; border-color: #007acc; } .title-option.selected { background: #1a3a5c; border-color: #007acc; } .title-option.disabled { background: #2a2a2a; } .option-label { color: #aaa; } .ai-generated .option-label { color: #74c0fc; } .original .option-label { color: #51cf66; } .option-text { color: #e9e9e9; } .title-option.selected .option-text { color: #74c0fc; } .selection-actions { border-top-color: #444; } .skip-ai-btn { color: #aaa; border-color: #555; } .skip-ai-btn:hover { background: #404040; border-color: #666; color: #e9e9e9; } .selection-message.success { background: #1a4d1a; color: #4ade4a; border-color: rgba(74, 222, 74, 0.3); } .selection-message.error { background: #4d1a1a; color: #ff6b6b; border-color: rgba(255, 107, 107, 0.3); } .selection-message.info { background: #1a3a4d; color: #74c0fc; border-color: rgba(116, 192, 252, 0.3); } } /* ======================================== Title Selection Responsive Styles ======================================== */ @media (max-width: 768px) { .title-selection-container { padding: 1rem; margin: 0.5rem 0; } .title-selection-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; margin-bottom: 1rem; } .selection-title { font-size: 1.1rem; } .title-options { gap: 0.5rem; margin-bottom: 1rem; } .title-option { padding: 0.75rem;em; .title-option { padding: 0.75rem; } .option-text { font-size: 1rem; } .selection-actions { flex-direction: column; gap: 0.75rem; } .confirm-selection-btn, .skip-ai-btn { width: 100%; min-width: auto; } } @media (max-width: 480px) { .title-selection-container { padding: 0.75rem; } .title-option { padding: 0.6rem; } .option-label { font-size: 0.8rem; margin-bottom: 0.25rem; } .option-text { font-size: 0.95rem; } .confirm-selection-btn, .skip-ai-btn { padding: 0.6rem 1rem; font-size: 0.9rem; } } /* ======================================== Enhanced Items Panel Integration ======================================== */ /* Enhanced Items Panel in StaggeredMenu Content Area */ .sm-content-panel .amazon-ext-enhanced-items-content { width: 100% !important; height: 100% !important; background: #0a0a0a !important; color: white !important; padding: 2rem !important; overflow-y: auto !important; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important; box-sizing: border-box !important; } /* Adjust header for content panel integration */ .sm-content-panel .enhanced-items-header { margin-bottom: 2rem !important; border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; padding-bottom: 1.5rem !important; } .sm-content-panel .enhanced-items-header h2 { margin: 0 0 1.5rem 0 !important; font-size: clamp(1.8rem, 4vw, 2.5rem) !important; font-weight: 800 !important; background: linear-gradient(135deg, #ff9900, #ff7700) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; background-clip: text !important; text-transform: uppercase !important; letter-spacing: -1px !important; } /* Enhanced form styling for integration */ .sm-content-panel .add-enhanced-item-form { display: flex !important; gap: 1rem !important; margin-bottom: 1.5rem !important; align-items: center !important; flex-wrap: wrap !important; padding: 1.5rem !important; background: rgba(255, 255, 255, 0.05) !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; border-radius: 16px !important; backdrop-filter: blur(20px) !important; } .sm-content-panel .enhanced-url-input { flex: 1 !important; min-width: 250px !important; padding: 1rem 1.25rem !important; background: rgba(255, 255, 255, 0.08) !important; border: 2px solid rgba(255, 255, 255, 0.15) !important; border-radius: 12px !important; color: white !important; font-size: 1rem !important; font-weight: 500 !important; transition: all 0.3s ease !important; backdrop-filter: blur(10px) !important; } .sm-content-panel .enhanced-url-input:focus { outline: none !important; border-color: #ff9900 !important; box-shadow: 0 0 0 4px rgba(255, 153, 0, 0.2), 0 0 20px rgba(255, 153, 0, 0.3) !important; background: rgba(255, 255, 255, 0.12) !important; } .sm-content-panel .enhanced-url-input::placeholder { color: rgba(255, 255, 255, 0.5) !important; } .sm-content-panel .extract-btn { padding: 1rem 2rem !important; background: linear-gradient(135deg, #ff9900, #ff7700) !important; color: white !important; border: none !important; border-radius: 12px !important; font-size: 1rem !important; font-weight: 700 !important; cursor: pointer !important; transition: all 0.3s ease !important; white-space: nowrap !important; text-transform: uppercase !important; letter-spacing: 1px !important; box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3) !important; } .sm-content-panel .extract-btn:hover:not(:disabled) { background: linear-gradient(135deg, #ffaa22, #ff8811) !important; transform: translateY(-3px) !important; box-shadow: 0 8px 30px rgba(255, 153, 0, 0.4) !important; } .sm-content-panel .extract-btn:disabled { opacity: 0.6 !important; cursor: not-allowed !important; transform: none; } /* Enhanced item cards for content panel */ .sm-content-panel .enhanced-item { background: rgba(255, 255, 255, 0.08) !important; border: 1px solid rgba(255, 255, 255, 0.15) !important; border-radius: 20px !important; padding: 2rem !important; display: flex !important; gap: 2rem !important; transition: all 0.3s ease !important; position: relative !important; backdrop-filter: blur(20px) !important; -webkit-backdrop-filter: blur(20px) !important; box-sizing: border-box !important; } .sm-content-panel .enhanced-item:hover { border-color: rgba(255, 255, 255, 0.25) !important; background: rgba(255, 255, 255, 0.12) !important; transform: translateY(-4px) !important; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important; } /* Progress indicator styling for content panel */ .sm-content-panel .extraction-progress { background: rgba(255, 255, 255, 0.08) !important; border: 1px solid rgba(255, 255, 255, 0.15) !important; border-radius: 20px !important; padding: 2rem !important; margin: 1rem 0 !important; backdrop-filter: blur(20px) !important; -webkit-backdrop-filter: blur(20px) !important; } .sm-content-panel .progress-step { background: rgba(255, 255, 255, 0.05) !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; border-radius: 12px !important; padding: 1rem 1.25rem !important; } .sm-content-panel .progress-step.active { background: rgba(255, 153, 0, 0.2) !important; border-color: #ff9900 !important; color: #ff9900 !important; } .sm-content-panel .progress-step.completed { background: rgba(40, 167, 69, 0.2) !important; border-color: #28a745 !important; color: #28a745 !important; } .sm-content-panel .progress-step.error { background: rgba(220, 53, 69, 0.2) !important; border-color: #dc3545 !important; color: #dc3545 !important; } /* Message styling for content panel */ .sm-content-panel .error-message { background: rgba(220, 53, 69, 0.15) !important; color: #ff8a95 !important; border: 1px solid rgba(220, 53, 69, 0.3) !important; padding: 1rem 1.5rem !important; border-radius: 12px !important; margin: 0.5rem 0 !important; font-size: 1rem !important; font-weight: 600 !important; backdrop-filter: blur(10px) !important; } .sm-content-panel .success-message { background: rgba(40, 167, 69, 0.15) !important; color: #69db7c !important; border: 1px solid rgba(40, 167, 69, 0.3) !important; padding: 1rem 1.5rem !important; border-radius: 12px !important; margin: 0.5rem 0 !important; font-size: 1rem !important; font-weight: 600 !important; backdrop-filter: blur(10px) !important; } /* Empty state styling for content panel */ .sm-content-panel .empty-state { text-align: center !important; padding: 5rem 2rem !important; color: rgba(255, 255, 255, 0.6) !important; background: rgba(255, 255, 255, 0.03) !important; border: 1px solid rgba(255, 255, 255, 0.08) !important; border-radius: 20px !important; backdrop-filter: blur(10px) !important; margin-top: 2rem !important; } .sm-content-panel .empty-icon { font-size: 5rem !important; margin-bottom: 1.5rem !important; opacity: 0.7 !important; display: block !important; } .sm-content-panel .empty-state h3 { margin: 0 0 1rem 0 !important; font-size: 1.8rem !important; color: rgba(255, 255, 255, 0.9) !important; font-weight: 700 !important; } .sm-content-panel .empty-state p { margin: 0 auto !important; font-size: 1.1rem !important; line-height: 1.7 !important; max-width: 500px !important; color: rgba(255, 255, 255, 0.6) !important; } /* ======================================== Dark/Light Theme Support ======================================== */ /* Light theme overrides */ @media (prefers-color-scheme: light) { .staggered-menu-panel { background: rgba(255, 255, 255, 0.95); color: #333; } .sm-panel-item { color: #333; } .sm-panel-item:hover { color: var(--sm-accent, #5227ff); } .sm-socials-link { color: #333; } .sm-socials-link:hover { color: var(--sm-accent, #ff0000); } /* Light theme for enhanced items in content panel */ .sm-content-panel { background: #f8f9fa; color: #333; } .sm-content-panel .amazon-ext-enhanced-items-content { color: #333; } .sm-content-panel .enhanced-items-header h2 { color: #333; } .sm-content-panel .enhanced-url-input { background: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.15); color: #333; } .sm-content-panel .enhanced-url-input::placeholder { color: rgba(0, 0, 0, 0.5); } .sm-content-panel .enhanced-item { background: rgba(0, 0, 0, 0.03); border-color: rgba(0, 0, 0, 0.1); color: #333; } .sm-content-panel .enhanced-item:hover { background: rgba(0, 0, 0, 0.06); border-color: rgba(0, 0, 0, 0.15); } .sm-content-panel .empty-state { color: rgba(0, 0, 0, 0.6); } .sm-content-panel .empty-state h3 { color: rgba(0, 0, 0, 0.8); } } /* High contrast mode support */ @media (prefers-contrast: high) { .staggered-menu-panel { background: #000; color: #fff; border: 2px solid #fff; } .sm-panel-item { color: #fff; } .sm-panel-item:hover { background: #fff; color: #000; } .sm-content-panel .enhanced-item { border: 2px solid #fff; background: #000; } .sm-content-panel .enhanced-url-input { border: 2px solid #fff; background: #000; color: #fff; } .sm-content-panel .extract-btn { border: 2px solid #fff; } } /* Reduced motion support */ @media (prefers-reduced-motion: reduce) { .staggered-menu-wrapper *, .sm-content-panel * { transition: none !important; animation: none !important; } .enhanced-item { transform: none !important; } } /* ======================================== Responsive Design Enhancements ======================================== */ @media (max-width: 1200px) { .sm-content-panel { padding: 1.5rem; } .sm-content-panel .enhanced-items-header h2 { font-size: clamp(1.3rem, 3.5vw, 2rem); } } @media (max-width: 1024px) { .sm-content-panel { top: 40%; height: 60%; padding: 1rem; } .sm-content-panel .add-enhanced-item-form { flex-direction: column; align-items: stretch; } .sm-content-panel .enhanced-url-input { min-width: auto; width: 100%; } .sm-content-panel .extract-btn { width: 100%; } .sm-content-panel .enhanced-item { flex-direction: column; gap: 1rem; } } @media (max-width: 768px) { .sm-content-panel { top: 35%; height: 65%; padding: 0.75rem; } .sm-content-panel .enhanced-items-header { margin-bottom: 1.5rem; padding-bottom: 1rem; } .sm-content-panel .enhanced-items-header h2 { font-size: 1.5rem; margin-bottom: 1rem; } .sm-content-panel .enhanced-item { padding: 1rem; } .sm-content-panel .item-actions { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; } .sm-content-panel .item-actions button { flex: 1; min-width: 100px; } } @media (max-width: 640px) { .sm-content-panel { top: 30%; height: 70%; padding: 0.5rem; } .sm-content-panel .enhanced-items-header h2 { font-size: 1.3rem; } .sm-content-panel .enhanced-url-input, .sm-content-panel .extract-btn { padding: 0.75rem; font-size: 0.9rem; } .sm-content-panel .enhanced-item { padding: 0.75rem; gap: 0.75rem; } } @media (max-width: 480px) { .sm-content-panel { top: 25%; height: 75%; padding: 0.25rem; } .sm-content-panel .enhanced-items-header { margin-bottom: 1rem; } .sm-content-panel .enhanced-items-header h2 { font-size: 1.2rem; margin-bottom: 0.75rem; } .sm-content-panel .add-enhanced-item-form { gap: 0.5rem; } .sm-content-panel .enhanced-item { padding: 0.5rem; } .sm-content-panel .item-actions { flex-direction: column; } .sm-content-panel .item-actions button { width: 100%; min-width: auto; } }