body { display: flex; flex-direction: column; background-color: #222; color: #AFA; align-content: center; justify-content: center; align-items: center; text-align: center; max-width: 70vw; margin: 0 auto; width: 70vw; font-family: sans-serif; padding-top: 80px; } /* Hamburger Menu Button - left side */ .menu-button { position: fixed; top: 20px; left: 20px; width: 40px; height: 40px; cursor: pointer; z-index: 1000; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; } .menu-button span { display: block; width: 28px; height: 3px; background-color: #AFA; border-radius: 2px; transition: all 0.3s ease; } .menu-button.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); } .menu-button.active span:nth-child(2) { opacity: 0; } .menu-button.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); } /* Slide-out Menu */ .side-menu { position: fixed; top: 0; left: -280px; width: 280px; height: 100vh; background-color: #1a1a1a; z-index: 999; transition: left 0.3s ease; display: flex; flex-direction: column; padding-top: 60px; } .side-menu.active { left: 0; } .menu-header { padding: 20px; border-bottom: 1px solid #333; } .menu-header h3 { margin: 0; color: #AFA; font-size: 24px; } .menu-nav { display: flex; flex-direction: column; padding: 10px 0; } .menu-item { display: flex; align-items: center; gap: 15px; padding: 15px 20px; color: #EEE; text-decoration: none; transition: background-color 0.2s; } .menu-item:hover { background-color: #333; } .menu-item .menu-icon { color: #FFF; } .menu-icon { width: 24px; height: 24px; flex-shrink: 0; filter: invert(1) brightness(1.5); } /* Global Search */ .search-container { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 1001; width: 300px; background: #222; padding: 10px; border-radius: 30px; } .search-container input { width: 100%; padding: 10px 15px; border: 1px solid #444; border-radius: 25px; background: #333; color: #AFA; font-size: 14px; outline: none; box-sizing: border-box; } .search-container input:focus { border-color: #AFA; background: #444; } .search-results { display: none; position: absolute; top: 100%; left: 10px; right: 10px; background: #1a1a1a; border: 1px solid #444; border-radius: 8px; margin-top: 5px; max-height: 300px; overflow-y: auto; z-index: 1002; } .search-results.active { display: block; } .search-result-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 15px; cursor: pointer; border-bottom: 1px solid #333; text-decoration: none; } .search-result-item:last-child { border-bottom: none; } .search-result-item:hover { background: #333; } .search-result-info { display: flex; flex-direction: column; } .search-result-name { color: #FFF; font-size: 14px; } .search-result-type { color: #888; font-size: 12px; } .search-result-count { color: #AFA; font-size: 12px; } /* Menu Overlay */ .menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 998; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; pointer-events: none; } .menu-overlay.active { opacity: 1; visibility: visible; pointer-events: auto; } .page_buttons { display: flex; flex-direction: row; justify-content: center; a { margin: 10px; background-color: #111; color: #EEE; text-decoration: none; padding: 5px; } } .user-stats-top { display: flex; flex-direction: column; justify-content: center; width: 20%; h3 { color: #FFF; font-size: 25px; margin: 0; } p { margin: 0; color: #EEE; } } .username-bio { display: flex; flex-direction: column; justify-content: center; margin-left: 40px; } .profile-top-blank { width: 50%; } .profile-top { display: flex; flex-direction: row; align-content: center; width: 100%; flex-wrap: wrap; h1 { color: #FFFFFF; margin: 0; } h2 { color: #777777; font-size: 15px; margin: 0; } h2 a { color: #AFA; text-decoration: none; } h2 a:hover { color: #FFF; text-decoration: underline; } img { object-fit: cover; width: 250px; height: 250px; border-radius: 100%; flex-shrink: 0; min-width: 0; } } @media (max-width: 600px) { .profile-top { justify-content: center; gap: 15px; } .profile-top img { width: 150px; height: 150px; } } .login-form { display: flex; height: 100vh; align-items: center; justify-content: center; } .login-error { color: #AA0000; } .history { display: flex; flex-direction: column; justify-content: center; width: 100%; table { width: auto; } tr { display: flex; flex-direction: row; justify-content: space-between; margin: 5px; } th, td { display: flex; justify-content: center; margin: 5px; width: 30%; white-space: pre-wrap; } tr:nth-child(even) { background-color: #111; } a { color: #AFA; text-decoration: none; white-space: pre-wrap; } a:hover { color: #FFF; text-decoration: underline; } } .import-section { margin: 20px 0; padding: 20px; background: #1a1a1a; border-radius: 8px; } .import-section form { display: flex; flex-direction: column; gap: 10px; margin-top: 15px; } .import-section input { padding: 8px; border: 1px solid #333; border-radius: 4px; background: #222; color: #AFA; } .import-section button { padding: 10px 20px; background: #333; color: #AFA; border: 1px solid #444; border-radius: 4px; cursor: pointer; } .import-section button:hover { background: #444; } /* Settings Tab Navigation */ .settings-tabs { display: flex; flex-direction: row; border-bottom: 1px solid #333; margin-bottom: 20px; } .tab-button { padding: 12px 24px; background: none; border: none; color: #888; font-size: 16px; cursor: pointer; position: relative; transition: color 0.2s; } .tab-button:hover { color: #AFA; } .tab-button.active { color: #AFA; } .tab-button.active::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background-color: #AFA; } .progress-container { margin-top: 15px; padding: 15px; background: #1a1a1a; border-radius: 8px; border: 1px solid #333; } .progress-bar-wrapper { width: 100%; height: 24px; background: #2a2a2a; border-radius: 12px; overflow: hidden; position: relative; margin: 10px 0; border: 2px solid #444; } .progress-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #5a5 0%, #7f7 50%, #5a5 100%); background-size: 200% 100%; border-radius: 10px; transition: width 0.3s ease-out; box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3), inset 0 -2px 4px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 255, 0, 0.4); position: absolute; top: 0; left: 0; z-index: 1; } .progress-bar-fill.animating { animation: shimmer 2s linear infinite, pulse-glow 1.5s ease-in-out infinite; } @keyframes pulse-glow { 0%, 100% { box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3), inset 0 -2px 4px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 255, 0, 0.4); } 50% { box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3), inset 0 -2px 4px rgba(0, 0, 0, 0.3), 0 0 25px rgba(0, 255, 0, 0.7); } } @keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } } .progress-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #fff; font-weight: bold; font-size: 12px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8); z-index: 2; pointer-events: none; } .progress-status { color: #AFA; font-size: 14px; margin-bottom: 5px; } .progress-tracks { color: #888; font-size: 12px; margin-bottom: 5px; } .progress-error { color: #F88; font-size: 14px; margin-top: 10px; } .progress-success { color: #8F8; font-size: 14px; margin-top: 10px; } /* Tab Panels */ .tab-panel { display: none; } .tab-panel.active { display: block; } /* API Key Display */ .api-key-display { margin: 15px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; } .api-key-display label { color: #888; font-size: 14px; } .api-key-display code { background: #111; padding: 8px 12px; border-radius: 4px; color: #AFA; font-family: monospace; word-break: break-all; } .success { color: #8F8; margin-top: 10px; } .info { color: #888; font-size: 14px; margin-top: 10px; } a.button { display: inline-block; padding: 10px 20px; background: #1DB954; color: #fff; text-decoration: none; border-radius: 25px; font-weight: bold; } a.button:hover { background: #1ed760; } .edit-toggle { cursor: pointer; font-size: 0.8em; margin-left: 8px; color: #888; vertical-align: middle; } .edit-toggle:hover { color: #AFA; } .inline-edit-form { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; } .inline-edit-form input, .inline-edit-form textarea { padding: 5px 10px; border: 1px solid #444; border-radius: 4px; background: #333; color: #AFA; font-size: inherit; font-family: inherit; } .inline-edit-form textarea { min-width: 200px; min-height: 60px; } .inline-edit-form button { padding: 5px 10px; background: #1DB954; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 0.9em; } .inline-edit-form button:hover { background: #1ed760; } .editable-image { transition: opacity 0.2s; } .editable-image:hover { opacity: 0.7; } .album-cover { border-radius: 0 !important; } .edit-btn { margin-left: 15px; padding: 5px 15px; background: #444; color: #AFA; border: 1px solid #AFA; border-radius: 4px; cursor: pointer; font-size: 0.8em; } .edit-btn:hover { background: #555; } .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); display: flex; justify-content: center; align-items: center; z-index: 2000; } .modal-content { background: #2a2a2a; padding: 30px; border-radius: 15px; min-width: 400px; max-width: 500px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); } .modal-content h2 { margin-top: 0; margin-bottom: 20px; } .modal-content form { display: flex; flex-direction: column; gap: 15px; } .modal-content label { display: flex; flex-direction: column; text-align: left; gap: 5px; } .modal-content input, .modal-content textarea { padding: 10px; border: 1px solid #444; border-radius: 5px; background: #333; color: #AFA; font-size: 1em; font-family: inherit; } .modal-content textarea { min-height: 100px; resize: vertical; } .modal-buttons { display: flex; justify-content: flex-end; gap: 10px; margin-top: 10px; } .modal-buttons button { padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer; font-size: 1em; } .modal-buttons button[type="submit"] { background: #1DB954; color: #fff; } .modal-buttons button[type="submit"]:hover { background: #1ed760; } .modal-buttons .cancel-btn { background: #444; color: #AFA; } .modal-buttons .cancel-btn:hover { background: #555; } .bio-box { margin-top: 40px; padding: 20px; background: #2a2a2a; border-radius: 10px; width: 100%; text-align: left; } .bio-box h3 { margin-top: 0; border-bottom: 1px solid #444; padding-bottom: 10px; } .bio-box p { margin: 0; line-height: 1.6; } /* Top Artists Section */ .top-artists { width: 50%; margin: 15px 0; padding: 10px; background: #1a1a1a; border-radius: 10px; } .top-albums { width: 50%; margin: 15px 0; padding: 10px; background: #1a1a1a; border-radius: 10px; } .top-tracks { width: 50%; margin: 15px 0; padding: 10px; background: #1a1a1a; border-radius: 10px; } .top-artists-controls { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; } .top-albums-controls { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; } .top-tracks-controls { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; } #top-artists-display { min-height: 150px; } #top-albums-display { min-height: 150px; } #top-tracks-display { min-height: 150px; } .top-artists-controls h3 { margin: 0; } .controls-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; max-width: 100%; } .controls-row label { display: flex; align-items: center; gap: 8px; color: #888; font-size: 14px; } .controls-row select { padding: 6px 10px; border: 1px solid #444; border-radius: 4px; background: #333; color: #AFA; font-size: 14px; cursor: pointer; } .controls-row select:hover { border-color: #AFA; } .controls-row input[type="date"] { padding: 6px 10px; border: 1px solid #444; border-radius: 4px; background: #333; color: #AFA; font-size: 14px; } /* Artist Grid - New layout */ .artist-grid { display: flex; flex-direction: column; gap: 8px; list-style: none; padding: 0; margin: 0; } .artist-grid-odd { flex-direction: row; } .artist-grid-odd .artist-cell-first { aspect-ratio: 1; flex: 1; } .artist-grid-odd .artist-right-col { flex: 1; display: flex; flex-direction: column; gap: 8px; } .artist-row { display: flex; gap: 8px; flex: 1; } .artist-grid-odd .artist-row { flex: 1; } .artist-cell { flex: 1; display: block; background: #2a2a2a; transition: background 0.2s; transition: transform 0.1s ease; border-radius: 8px; min-width: 0; } .artist-cell-first { display: block; transition: background 0.2s; transition: transform 0.1s ease; border-radius: 8px; } .artist-cell a, .artist-cell-first a { display: block; text-decoration: none; } .artist-cell, .artist-cell-first { position: relative; aspect-ratio: 1; } .artist-cell .grid-items-cover-image, .artist-cell-first .grid-items-cover-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .artist-cell .grid-items-cover-image-image, .artist-cell-first .grid-items-cover-image-image { position: relative; width: 100%; height: 100%; } .artist-cell .grid-items-cover-image-image img, .artist-cell-first .grid-items-cover-image-image img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 10px; } .artist-cell .artist-placeholder, .artist-cell-first .artist-placeholder { width: 100%; height: 100%; background: #333; border-radius: 10px; } .artist-cell:hover .grid-items-cover-image-image img, .artist-cell-first:hover .grid-items-cover-image-image img, .artist-cell:hover .artist-placeholder, .artist-cell-first:hover .artist-placeholder { opacity: 0.9; } .artist-cell .grid-items-item-details, .artist-cell-first .grid-items-item-details { position: absolute; bottom: 0; left: 0; width: 100%; padding: 8px; background: linear-gradient(#0000008c, rgba(0,0,0,0.8)); box-sizing: border-box; border-radius: 0 0 10px 10px; } .artist-cell .grid-items-item-main-text, .artist-cell-first .grid-items-item-main-text { color: #fff; font-weight: bold; font-size: 14px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .artist-cell .grid-items-item-aux-text, .artist-cell-first .grid-items-item-aux-text { color: #aaa; font-size: 12px; margin: 0; } /* List View */ .artist-list { display: flex; flex-direction: column; gap: 6px; } overflow: hidden; text-decoration: none; } .grid-large .artist-card-large img, .grid-large .artist-card-large .artist-placeholder-large { width: 100%; height: 100%; object-fit: cover; } .grid-large .small-group { display: contents; } .grid-large .small-row { display: contents; } .grid-large .artist-card-small { position: relative; border-radius: 8px; overflow: hidden; text-decoration: none; } .grid-large .artist-card-small img, .grid-large .artist-card-small .artist-placeholder-small { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; } } .artist-placeholder-large { width: 100%; height: 100%; min-height: 300px; background: #333; border-radius: 8px; } .grid-small-group { display: flex; flex-direction: column; gap: 10px; } .artist-card-large, .artist-card-small { display: block; position: relative; border-radius: 8px; overflow: hidden; text-decoration: none; } .artist-card-large img, .artist-card-small img { width: 100%; height: 100px; object-fit: cover; transition: transform 0.2s; } .artist-card-large:hover img, .artist-card-small:hover img { transform: scale(1.05); } .artist-card-large img, .artist-card-small img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.2s; } .artist-card-large:hover img, .artist-card-small:hover img { transform: scale(1.05); } .artist-placeholder-small { width: 100%; height: 150px; background: #333; border-radius: 8px; } .artist-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px 6px 4px; background: linear-gradient(transparent, rgba(0,0,0,0.9)); display: flex; flex-direction: column; gap: 1px; } .artist-name { color: #fff; font-weight: bold; font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .artist-count { color: #AFA; font-size: 8px; } /* Grid View - Even */ .grid-even { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; } .grid-even .small-row { display: contents; } .grid-even .artist-card-small { position: relative; border-radius: 8px; overflow: hidden; text-decoration: none; } .grid-even .artist-card-small img, .grid-even .artist-card-small .artist-placeholder-small { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; } .grid-even .artist-card-small img, .grid-even .artist-card-small .artist-placeholder-small { width: 100%; height: 100px; object-fit: cover; } /* List View */ .artist-list { display: flex; flex-direction: column; gap: 6px; } .artist-row { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 8px; text-decoration: none; } .artist-cell:hover { background: #333; transform: scale(0.98); } .artist-cell-first:hover { background: #333; transform: scale(0.98); } .artist-row img { width: 35px; height: 35px; object-fit: cover; border-radius: 50%; flex-shrink: 0; } .artist-placeholder-row { width: 35px; height: 35px; background: #444; border-radius: 50%; flex-shrink: 0; } .artist-row .artist-name { flex: 1; text-align: left; font-size: 12px; } .artist-row .artist-count { text-align: right; font-size: 11px; } /* Responsive Artist Grid */ @media (max-width: 600px) { .artist-grid { max-width: 100%; } .artist-grid-odd { flex-direction: column; } .artist-grid-odd .artist-cell-first { width: 100%; max-width: 300px; margin: 0 auto; } .artist-grid-odd .artist-right-col { flex-direction: row; } .artist-row { flex-wrap: wrap; } .artist-cell { min-width: calc(50% - 4px); } } @media (max-width: 400px) { .artist-grid-odd .artist-right-col { flex-direction: column; } .artist-cell { min-width: 100%; } }