.audio-player {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    overflow: hidden;
}

.player-controls {
    padding: 20px;
    background: #f8f9fa;
}

.album-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.album-art {
    width: 60px;
    height: 60px;
    background: #e9ecef;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.album-art i {
    font-size: 24px;
    color: #6c757d;
}

.song-info {
    flex-grow: 1;
}

.song-info .song-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #212529;
}

.song-info .playlist-title {
    font-size: 14px;
    color: #6c757d;
}

.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.controls button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin: 0 10px;
    color: #495057;
    transition: color 0.2s;
}

.controls button:hover {
    color: #007bff;
}

.controls button i {
    font-size: 24px;
}

.progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.progress-current,
.progress-total {
    font-size: 12px;
    color: #6c757d;
    min-width: 45px;
}

.progress-bar {
    flex-grow: 1;
    height: 4px;
    background: #dee2e6;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-loaded {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #007bff;
    border-radius: 2px;
    width: 0;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #495057;
}

.volume:hover {
    color: #007bff;
}

.volume-slider {
    flex-grow: 1;
    height: 4px;
    background: #dee2e6;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    max-width: 100px;
}

.volume-percentage {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #007bff;
    border-radius: 2px;
    width: 100%;
}

.playlist {
    background: #fff;
    padding: 20px;
}

.playlist-songs {
    list-style: none;
    margin: 0;
    padding: 0;
}

.playlist-song {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.playlist-song:hover {
    background: #f8f9fa;
}

.playlist-song.active {
    background: #e9ecef;
    color: #007bff;
}

.song-number {
    width: 30px;
    color: #6c757d;
}

.playlist-song .song-title {
    flex-grow: 1;
    margin: 0 15px;
}

.song-duration {
    color: #6c757d;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 576px) {
    .player-controls {
        padding: 15px;
    }

    .album-art {
        width: 50px;
        height: 50px;
    }

    .controls button i {
        font-size: 20px;
    }

    .song-info .song-title {
        font-size: 14px;
    }

    .song-info .playlist-title {
        font-size: 12px;
    }
}