:root { --primary-color: #1db954; --secondary-color: #191414; --text-color: #ffffff; --bg-color: #121212; --hover-color: #252525; --border-color: #333333; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(--bg-color); color: var(--text-color); } .container { display: flex; flex-direction: column; height: 100vh; } .sidebar { background-color: var(--secondary-color); padding: 20px; overflow-x: auto; white-space: nowrap; } .main-content { flex-grow: 1; padding: 20px; overflow-y: auto; } .logo { font-size: 24px; font-weight: bold; margin-bottom: 20px; color: var(--primary-color); } .nav-item { display: inline-block; padding: 10px; cursor: pointer; transition: background-color 0.3s; border-radius: 5px; } .nav-item:hover { background-color: var(--hover-color); } .nav-item i { margin-right: 5px; } h2 { margin-bottom: 20px; } .btn { background-color: var(--primary-color); color: var(--text-color); border: none; padding: 10px 20px; border-radius: 20px; cursor: pointer; font-size: 14px; transition: opacity 0.3s; } .btn:hover { opacity: 0.8; } #trackList, #playlistList { list-style-type: none; } .track-item, .playlist-item { display: flex; align-items: center; padding: 10px; border-radius: 5px; transition: background-color 0.3s; margin-bottom: 5px; border: 1px solid transparent; } .track-item:hover, .playlist-item:hover { background-color: var(--hover-color); border-color: var(--border-color); } .track-info, .playlist-info { flex-grow: 1; margin-left: 10px; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .track-name, .playlist-name { font-weight: bold; margin-bottom: 3px; } .track-artist { font-size: 12px; color: #999; } .track-actions, .playlist-actions { display: flex; gap: 15px; } .track-actions i, .playlist-actions i { cursor: pointer; transition: color 0.3s; } .track-actions i:hover, .playlist-actions i:hover { color: var(--primary-color); } .drag-handle { cursor: move; padding: 0 10px; color: #666; display: none; } .search-container { margin-bottom: 20px; position: relative; } #searchInput { width: 100%; padding: 12px 20px; border-radius: 20px; border: none; background-color: var(--hover-color); color: var(--text-color); font-size: 16px; } #searchInput:focus { outline: none; box-shadow: 0 0 0 2px var(--primary-color); } .search-icon { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #666; } .search-results { margin-top: 20px; } .search-category { margin-bottom: 20px; } .search-category h3 { margin-bottom: 10px; color: var(--primary-color); font-size: 18px; } #audioPlayer { position: fixed; bottom: 0; left: 0; width: 100%; background-color: var(--secondary-color); padding: 15px; display: flex; flex-direction: column; align-items: center; border-top: 1px solid var(--border-color); } #audioPlayer audio { width: 100%; margin: 10px 0; } .audio-info { display: flex; align-items: center; width: 100%; margin-bottom: 10px; } .audio-title { font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex-grow: 1; margin-right: 10px; } .audio-format { font-size: 12px; color: #888; white-space: nowrap; } .modal { display: none; position: fixed; z-index: 1; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); } .modal-content { background-color: var(--secondary-color); margin: 15% auto; padding: 20px; border-radius: 5px; width: 90%; max-width: 500px; } .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; } .modal-title { font-size: 20px; font-weight: bold; } .close { color: #aaa; font-size: 28px; font-weight: bold; cursor: pointer; } .close:hover { color: #fff; } .modal input[type="text"], .modal select { width: 100%; padding: 10px; margin-bottom: 15px; border-radius: 5px; border: 1px solid var(--border-color); background-color: var(--hover-color); color: var(--text-color); } #uploadProgress { margin-top: 20px; } .progress-bar { width: 100%; background-color: var(--hover-color); border-radius: 5px; overflow: hidden; margin-bottom: 5px; } .progress { width: 0; height: 20px; background-color: var(--primary-color); transition: width 0.3s; } .progress-info { display: flex; justify-content: space-between; font-size: 12px; } .format-badge { font-size: 10px; padding: 2px 6px; border-radius: 3px; background-color: var(--primary-color); margin-left: 8px; white-space: nowrap; } .player-controls { display: flex; gap: 20px; } .player-controls i { cursor: pointer; font-size: 20px; } @media (min-width: 768px) { .container { flex-direction: row; } .sidebar { width: 250px; white-space: normal; } .nav-item { display: flex; align-items: center; } .drag-handle { display: block; } #audioPlayer { flex-direction: row; justify-content: space-between; padding: 10px 20px; } #audioPlayer audio { width: 50%; margin: 0 20px; } .audio-info { width: auto; margin-bottom: 0; flex-grow: 1; max-width: 30%; } } .player-controls { order: 1; } #audioPlayer audio { order: 2; } .audio-info { order: 3; } /* Login Screen Styles */ #loginScreen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, var(--secondary-color) 0%, var(--bg-color) 100%); display: flex; justify-content: center; align-items: center; z-index: 1000; } .login-container { background-color: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); padding: 2.5rem; border-radius: 15px; width: 100%; max-width: 400px; box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); border: 1px solid rgba(255, 255, 255, 0.1); } .login-container h2 { margin-bottom: 1.5rem; text-align: center; font-size: 2rem; color: var(--primary-color); font-weight: 700; } .login-form { display: flex; flex-direction: column; gap: 1rem; } .login-form input { width: 100%; padding: 1rem; border: 1px solid rgba(255, 255, 255, 0.1); background-color: rgba(255, 255, 255, 0.05); color: var(--text-color); border-radius: 8px; font-size: 1rem; transition: all 0.3s ease; } .login-form input:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 2px rgba(29, 185, 84, 0.25); } .login-form input::placeholder { color: rgba(255, 255, 255, 0.5); } .login-form button { width: 100%; padding: 1rem; background-color: var(--primary-color); color: var(--text-color); border: none; border-radius: 8px; cursor: pointer; font-size: 1rem; font-weight: 600; transition: all 0.3s ease; margin-top: 0.5rem; } .login-form button:hover { background-color: #1ed760; transform: translateY(-2px); } .login-options { display: flex; gap: 1rem; margin-top: 1.5rem; } .login-options button { flex: 1; padding: 0.75rem; background-color: transparent; color: var(--text-color); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; cursor: pointer; font-size: 0.9rem; transition: all 0.3s ease; } .login-options button:hover { background-color: rgba(255, 255, 255, 0.1); border-color: var(--primary-color); } .login-divider { display: flex; align-items: center; text-align: center; margin: 1.5rem 0; color: rgba(255, 255, 255, 0.5); } .login-divider::before, .login-divider::after { content: ''; flex: 1; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .login-divider span { padding: 0 10px; font-size: 0.9rem; } /* Add these new styles to your existing CSS */ .upload-finished-screen { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: var(--secondary-color); border-radius: 15px; padding: 2rem; text-align: center; z-index: 1001; box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); animation: slideIn 0.5s ease-out; } @keyframes slideIn { from { transform: translate(-50%, -40%); opacity: 0; } to { transform: translate(-50%, -50%); opacity: 1; } } .upload-finished-screen i { font-size: 4rem; color: var(--primary-color); margin-bottom: 1rem; } .upload-finished-screen h2 { color: var(--text-color); margin-bottom: 0.5rem; } .upload-finished-screen p { color: #999; margin-bottom: 1.5rem; } .upload-finished-screen .btn-group { display: flex; justify-content: center; gap: 1rem; } .upload-finished-screen .btn { min-width: 120px; } .upload-finished-screen .btn.secondary { background-color: transparent; border: 1px solid var(--primary-color); } .upload-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 1000; } /* Add alongside your existing upload finished screen styles */ .delete-success-screen { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: var(--secondary-color); border-radius: 15px; padding: 2rem; text-align: center; z-index: 1001; box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); animation: slideIn 0.5s ease-out; } .delete-success-screen i { font-size: 4rem; color: #ff5555; /* A different color to distinguish from upload */ margin-bottom: 1rem; } .delete-success-screen h2 { color: var(--text-color); margin-bottom: 0.5rem; } .delete-success-screen p { color: #999; margin-bottom: 1.5rem; } .delete-success-screen .btn-group { display: flex; justify-content: center; gap: 1rem; } .delete-success-screen .btn { min-width: 120px; } .delete-success-screen .undo-btn { background-color: transparent; border: 1px solid #ff5555; color: #ff5555; } .delete-success-screen .undo-btn:hover { background-color: rgba(255, 85, 85, 0.1); } /* Add if you haven't already */ .fade-out { animation: fadeOut 0.5s ease-out forwards; } @keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }