* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
}

.container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: #fff;
    padding: 20px;
    border-right: 1px solid #eee;
}

.main-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.now-playing {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#album-cover {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.song-info {
    flex: 1;
}

.controls {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.progress-bar {
    flex: 1;
    height: 5px;
    background: #eee;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
}

.progress {
    position: absolute;
    height: 100%;
    background: #1db954;
    border-radius: 5px;
    width: 0%;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #666;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

button:hover {
    background: #f5f5f5;
    color: #1db954;
}

#play {
    background: #1db954;
    color: white;
    font-size: 24px;
}

#play:hover {
    transform: scale(1.1);
    background: #1ed760;
}

.playlist {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    flex: 1;
    overflow-y: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#collections-list,
#songs-list {
    list-style: none;
    margin-top: 10px;
}

#collections-list div,
#songs-list li {
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.2s;
}

#collections-list div:hover,
#songs-list li:hover {
    background: #f5f5f5;
}

.active {
    background: #f5f5f5;
    color: #1db954;
}

h2,
h3 {
    margin-bottom: 10px;
    color: #333;
}

.button-active {
    color: #1db954;
}

.search-container {
    display: flex;
    gap: 10px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 20px;
}

#search-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

#search-input:focus {
    border-color: #666;
}

#search-button {
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#search-button:hover {
    background-color: #45a049;
}
