/* Large Label Preview */ .label-preview-large { font-family: "MS Gothic", "Hiragino Kaku Gothic Pro", Arial, sans-serif; width: 54mm; height: 24mm; position: relative; background: white; overflow: hidden; margin: 0; padding: 0; border: 0.1mm solid black; } .print-label-large { font-family: "MS Gothic", "Hiragino Kaku Gothic Pro", Arial, sans-serif; width: 54mm !important; height: 24mm; position: absolute; background: white; overflow: hidden; top: 3mm; margin-left: 2mm !important; padding: 0 !important; border: 0; display: block !important; box-sizing: border-box !important; transform: none !important; float: none !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; } /* Large Label Field Positions */ .print-artist-large { left: 0mm; top: 0mm; width: 40mm; height: 4mm; font-size: 8pt; } .print-title-large { left: 0mm; top: 4mm; width: 40mm; height: 4mm; font-size: 8pt; } .print-genre-large { left: 0mm; top: 8mm; width: 40mm; height: 4mm; font-size: 8pt; } .print-style-large { left: 0mm; top: 12mm; width: 40mm; height: 4mm; font-size: 9pt; font-weight: bold; } .print-description-large { left: 0mm; top: 16mm; width: 40mm; height: 3mm; font-size: 6pt; } .print-bottom-info-large { left: 0mm; top: 19mm; width: 40mm; height: 3mm; gap: 0; /* Remove gap between elements */ } /* Add specific styles for the child elements */ .print-bottom-info-large .year { width: auto; font-size: 7pt !important; margin: 0; padding: 0; } .print-bottom-info-large .country { width: auto; min-width: 4mm; line-height: 1; margin: 0; padding: 0; } .print-bottom-info-large .label { flex: 1; text-align: left; margin: 0; padding: 0; } .print-logo-large { position: absolute; left: 40mm; top: 0mm; width: 11mm; height: 2.5mm; display: block; } .print-price-large { position: absolute; left: 40mm; top: 2.5mm; width: 11mm; height: 5.5mm; font-size: 13pt; font-weight: bold; } .print-condition-large { position: absolute; left: 40mm; top: 8mm; width: 11mm; height: 2.5mm; font-size: 6pt; line-height: 1; } .print-barcode-large { position: absolute; left: 40mm; top: 10.5mm; width: 11mm; height: 11mm; } /* Comment and Notes — no room on large label by default; adjust positions to fit your redesign */ .print-comment-large { left: 0mm; top: 22mm; width: 40mm; height: 2mm; font-size: 5pt; overflow: hidden; } .print-notes-large { left: 0mm; top: 24mm; width: 40mm; height: 1.5mm; font-size: 4.5pt; overflow: hidden; } /* Large Label Print Settings */ @media print { .print-label-large { width: 54mm !important; height: 24mm !important; } } @page large-label { size: 54mm 24mm; margin: 0; padding: 0; } /* Tab Styles */ .tab-container { width: 100%; margin-bottom: 10px; } .tab-nav { display: flex; border-bottom: 2px solid #ddd; background: #f5f5f5; } .tab-button { flex: 1; padding: 12px 16px; border: none; background: #f5f5f5; cursor: pointer; font-size: 14px; font-weight: 500; color: #666; border-bottom: 3px solid transparent; transition: all 0.3s ease; } .tab-button:hover { background: #e9e9e9; color: #333; } .tab-button.active { background: white; color: #007cba; border-bottom-color: #007cba; } .tab-content { display: none; padding: 20px; background: white; min-height: 400px; } .tab-content.active { display: block; } /* Layout Styles - Ultra Compact */ .container { display: flex; gap: 4px; max-width: 700px; width: 100%; padding: 2px; } .left-column { flex: 1; min-width: 260px; } .right-column-combined { flex: 1; min-width: 260px; } /* Enhanced Button Styling */ .primary-buttons { display: flex; flex-direction: column; gap: 3px; margin-bottom: 4px; } .primary-buttons-large { display: flex; gap: 3px; } .primary-buttons-small { display: flex; gap: 3px; } .action-button-small { padding: 2px 8px !important; font-size: 10px !important; flex: 1; } .action-button { background: linear-gradient(135deg, #2196F3, #1976D2); color: white; border: none; padding: 6px 8px; font-size: 11px; font-weight: 600; border-radius: 4px; cursor: pointer; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); transition: all 0.3s ease; flex: 1; min-width: 50px; text-transform: uppercase; } .action-button:hover { background: linear-gradient(135deg, #1976D2, #1565C0); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); } /* Special styling for ALL button */ .all-button { background: linear-gradient(135deg, #4CAF50, #45a049); } .all-button:hover { background: linear-gradient(135deg, #45a049, #3d8b40); } /* General Interface Styling - Ultra Compact */ body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); margin: 0; padding: 0; font-size: 12px; } .input-group { margin-bottom: 2px; padding: 2px; background: white; border-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } .input-group label { font-weight: 600; color: #333; margin-bottom: 0px; display: block; font-size: 10px; } .release-info { background: white; padding: 4px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); margin-bottom: 4px; } .release-info h3 { color: #2c3e50; margin-top: 0; margin-bottom: 2px; font-size: 11px; border-bottom: 1px solid #3498db; padding-bottom: 1px; font-weight: 600; } .info-field { margin-bottom: 1px; padding: 1px 3px; background: #f8f9fa; border-radius: 1px; border-left: 1px solid #3498db; font-size: 9px; line-height: 1.1; } .info-field strong { color: #2c3e50; } /* Price Options Styling - Ultra Snug Grid */ .price-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(32px, 1fr)); gap: 1px; margin-top: 0px; } .price-options label { display: flex; align-items: center; justify-content: center; padding: 1px; background: #e3f2fd; border-radius: 1px; cursor: pointer; transition: all 0.3s ease; border: 1px solid transparent; font-size: 9px; font-weight: 600; min-height: 18px; } .price-options label:hover { background: #bbdefb; border-color: #2196F3; } .price-options input[type="checkbox"]:checked+.price-label { background: #2196F3; color: white; } /* Ultra compact input styling */ input[type="text"], input[type="number"], select, textarea { font-size: 9px; padding: 1px; border-radius: 2px; border: 1px solid #ddd; margin-bottom: 1px; } /* Price input field */ input[type="text"] { width: 100%; margin-bottom: 1px; } /* YouTube Cookie Textarea - Compact */ #cookieOutput { width: 100%; height: 100px; min-height: 100px; padding: 6px; border: 1px solid #ddd; border-radius: 4px; font-family: 'Courier New', monospace; font-size: 10px; background: #f8f9fa; resize: vertical; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); } .youtube-cookie-container { background: white; padding: 8px; border-radius: 6px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .youtube-cookie-container h3 { color: #2c3e50; margin-top: 0; margin-bottom: 8px; font-size: 14px; text-align: center; border-bottom: 2px solid #e74c3c; padding-bottom: 4px; } .youtube-extract-btn { background: linear-gradient(135deg, #e74c3c, #c0392b); color: white; border: none; padding: 6px 12px; font-size: 12px; font-weight: 600; border-radius: 4px; cursor: pointer; margin-bottom: 6px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); transition: all 0.3s ease; width: 100%; } .youtube-extract-btn:hover { background: linear-gradient(135deg, #c0392b, #a93226); transform: translateY(-1px); box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); } /* Settings Styling - Ultra Compact */ .settings-container { background: white; margin-bottom: 8px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); overflow: hidden; } .settings-container button { width: 100%; padding: 8px 10px; background: linear-gradient(135deg, #9b59b6, #8e44ad); color: white; border: none; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; } .settings-container button:hover { background: linear-gradient(135deg, #8e44ad, #7d3c98); } /* Toggle Switch Styling - Tiny */ .switch { position: relative; display: inline-block; width: 40px; height: 22px; margin-right: 6px; } .switch input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 22px; } .slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; } input:checked+.slider { background-color: #2196F3; } input:checked+.slider:before { transform: translateX(18px); } /* Ultra compact popup sizing */ .tab-content { max-height: 550px; overflow-y: auto; padding: 2px; } /* Market info and other sections ultra compact */ h3, h4 { margin: 4px 0; font-size: 13px; } p, div { margin: 2px 0; line-height: 1.2; } /* Remove extra spacing from specific elements */ .primary-buttons, .secondary-buttons { margin: 0; } /* Compact the label preview and other right column content */ .right-column-combined>* { margin-bottom: 4px; } /* Make dropdowns more compact */ select { padding: 1px; font-size: 9px; margin-bottom: 1px; height: 20px; } /* Compact status messages */ .status-message { padding: 4px; margin: 2px 0; font-size: 11px; } /* Mapping tab styles */ .mapping-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 8px 0; } .mapping-item { display: flex; flex-direction: column; align-items: center; padding: 4px; border: 1px solid #ddd; border-radius: 3px; background: #f9f9f9; } .mapping-item label { font-size: 8px; font-weight: bold; margin-bottom: 2px; text-align: center; line-height: 1.1; } .mapping-item .column-letter { font-size: 10px; color: #666; margin-bottom: 2px; } .mapping-item select { width: 100%; font-size: 8px; padding: 1px; height: 18px; border: 1px solid #ccc; } .mapping-actions { display: flex; gap: 8px; margin-bottom: 8px; justify-content: center; } .mapping-actions button { padding: 6px 12px; margin-right: 8px; background: #007cba; color: white; border: none; border-radius: 3px; cursor: pointer; font-size: 12px; } .mapping-actions button:hover { background: #005a87; } .sheet-info { margin: 15px 0; padding: 10px; background: #f9f9f9; border-radius: 4px; border: 1px solid #ddd; } .info-row { display: flex; align-items: center; margin-bottom: 8px; } .info-row:last-child { margin-bottom: 0; } .info-row label { font-weight: bold; min-width: 100px; margin-right: 10px; } .info-row span { color: #666; margin-right: 10px; } .info-row input { padding: 4px 8px; border: 1px solid #ccc; border-radius: 3px; margin-right: 8px; width: 80px; } /* ================================================================ PROMPT button in Discogs action row ================================================================ */ .rfid-quick-button { background: linear-gradient(135deg, #ff6f00, #e65100); } .rfid-quick-button:hover { background: linear-gradient(135deg, #e65100, #bf360c); } /* Settings — compact check grid */ .settings-section-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #555; margin-bottom: 8px; } .settings-check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 8px; } .settings-check-item { display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; white-space: nowrap; } .settings-check-item input[type="checkbox"] { width: 15px; height: 15px; cursor: pointer; flex-shrink: 0; } /* Per-field label style grid */ .lfs-grid { margin-top: 8px; display: grid; grid-template-columns: 1fr; gap: 2px; } .lfs-header, .lfs-row { display: grid; grid-template-columns: 1fr 18px 18px 18px; align-items: center; gap: 2px; } .lfs-header { font-size: 10px; font-weight: 700; color: #888; text-align: center; padding-bottom: 2px; border-bottom: 1px solid #e0e0e0; margin-bottom: 2px; } .lfs-header span:first-child { text-align: left; } .lfs-row span { font-size: 11px; color: #444; white-space: nowrap; } .lfs-row input[type="checkbox"] { width: 14px; height: 14px; cursor: pointer; justify-self: center; } /* ================================================================ Research Tab ================================================================ */ .research-container { padding: 6px 8px; } .research-header h3 { color: #1a1a2e; font-size: 13px; margin: 0 0 3px; padding-bottom: 5px; border-bottom: 2px solid #9b59b6; letter-spacing: 0.3px; } .research-desc { color: #888; font-size: 10px; font-style: italic; margin: 3px 0 8px; line-height: 1.4; } /* Release card */ .research-release-card { display: flex; gap: 10px; align-items: flex-start; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; box-shadow: 0 3px 12px rgba(0,0,0,0.3); } .research-cover-wrap { position: relative; width: 58px; height: 58px; flex-shrink: 0; border-radius: 5px; overflow: hidden; background: #0f3460; box-shadow: 0 2px 8px rgba(0,0,0,0.5); } .research-cover { width: 100%; height: 100%; object-fit: cover; display: block; } .research-cover-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 22px; color: rgba(155,89,182,0.6); background: linear-gradient(135deg, #0f3460, #1a1a2e); } .research-release-meta { flex: 1; min-width: 0; } .research-artist { font-size: 9px; color: #c084fc; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .research-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 3px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .research-meta-row { font-size: 9px; color: #94a3b8; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .research-format-row { color: #64748b; } .research-sep { margin: 0 3px; color: #475569; } .research-tags { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; } .research-tag { font-size: 8px; padding: 1px 6px; border-radius: 10px; font-weight: 600; letter-spacing: 0.2px; } .research-tag-genre { background: rgba(59,130,246,0.2); border: 1px solid rgba(59,130,246,0.4); color: #93c5fd; } .research-tag-style { background: rgba(155,89,182,0.2); border: 1px solid rgba(155,89,182,0.4); color: #c084fc; } /* Market stats grid */ .research-market { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-bottom: 8px; } .research-stat { background: #f8f9fa; border: 1px solid #e2e8f0; border-radius: 6px; padding: 5px 3px 4px; text-align: center; } .rstat-label { display: block; font-size: 8px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 2px; } .rstat-value { display: block; font-size: 11px; font-weight: 700; color: #1e293b; line-height: 1.1; } .rstat-value.rstat-small { font-size: 8px; font-weight: 600; } .rstat-value.rstat-accent { color: #e74c3c; } .rstat-value.rstat-median { color: #059669; } .rstat-sub { display: block; font-size: 7px; color: #94a3b8; margin-top: 1px; } /* Tracklist preview */ .research-tracklist-wrap { margin-bottom: 8px; background: #f8f9fa; border-radius: 6px; border: 1px solid #e2e8f0; overflow: hidden; } .research-section-label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #64748b; padding: 4px 8px; background: #e2e8f0; } .research-tracklist { padding: 4px 6px; } .research-track { display: flex; align-items: baseline; gap: 6px; padding: 2px 0; border-bottom: 1px solid #f1f5f9; font-size: 9px; line-height: 1.3; } .research-track:last-child { border-bottom: none; } .research-track-pos { color: #9b59b6; font-weight: 700; min-width: 14px; flex-shrink: 0; font-size: 8px; } .research-track-title { flex: 1; color: #1e293b; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .research-track-extra { color: #94a3b8; font-size: 8px; flex-shrink: 0; font-style: italic; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .research-track-dur { color: #64748b; font-size: 8px; flex-shrink: 0; font-variant-numeric: tabular-nums; } /* Export action buttons */ .research-actions { display: flex; gap: 6px; margin-bottom: 6px; } .research-btn { flex: 1; padding: 8px 6px; border: none; border-radius: 6px; font-size: 11px; font-weight: 700; cursor: pointer; transition: all 0.2s ease; box-shadow: 0 2px 4px rgba(0,0,0,0.15); letter-spacing: 0.2px; } .research-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0,0,0,0.2); } .research-btn:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(0,0,0,0.15); } .research-btn-icon { margin-right: 3px; font-style: normal; } .research-btn-download { background: linear-gradient(135deg, #9b59b6, #8e44ad); color: white; } .research-btn-download:hover { background: linear-gradient(135deg, #8e44ad, #7d3c98); } .research-btn-copy { background: linear-gradient(135deg, #1e293b, #0f172a); color: white; } .research-btn-copy:hover { background: linear-gradient(135deg, #0f172a, #020617); } .research-btn-gemini { background: linear-gradient(135deg, #10b981, #0ea5e9); color: white; } .research-btn-gemini:hover { background: linear-gradient(135deg, #059669, #0284c7); } .research-btn-drive { background: linear-gradient(135deg, #4285F4, #1a73e8); color: white; flex: 0 0 auto; padding: 8px 12px; } .research-btn-drive:hover { background: linear-gradient(135deg, #1a73e8, #1557b0); } /* Status line */ .research-status { font-size: 10px; min-height: 14px; margin-bottom: 5px; font-weight: 600; padding: 0 2px; } .research-status.ok { color: #059669; } .research-status.err { color: #e74c3c; } .research-status.inf { color: #9b59b6; } /* Collapsible JSON preview */ .research-preview-toggle { width: 100%; background: #e2e8f0; border: none; border-radius: 6px; padding: 5px 8px; font-size: 9px; font-weight: 700; color: #475569; cursor: pointer; text-align: left; text-transform: uppercase; letter-spacing: 0.4px; transition: background 0.2s; margin-bottom: 3px; } .research-preview-toggle:hover { background: #cbd5e1; } .research-preview { font-size: 8px; font-family: 'Courier New', 'SF Mono', monospace; padding: 8px; margin: 0 0 4px; white-space: pre-wrap; word-break: break-word; max-height: 180px; overflow-y: auto; color: #1e293b; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; line-height: 1.4; } /* ================================================================ End Research Tab ================================================================ */ .info-row button { padding: 4px 8px; background: #666; color: white; border: none; border-radius: 3px; cursor: pointer; font-size: 11px; }