/* Custom styles for Bootstrap-based music player */
body {
    background-color: #f8f9fa; /* Lighter background */
}

.player-cover {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease-in-out;
}

.player-card, .playlist-card {
    border: none;
    border-radius: 1.5rem;
    background-color: #ffffff; /* Card background */
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.player-cover.playing {
    transform: rotate(360deg);
}

.playlist-list {
    max-height: 300px;
    overflow-y: auto;
    list-style: none;
    padding-left: 0;
}

.playlist-list::-webkit-scrollbar {
    width: 8px;
}

.playlist-list::-webkit-scrollbar-thumb {
    background-color: #ced4da;
    border-radius: 4px;
}

.progress {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    margin-top: 1rem;
    cursor: pointer;
}

.progress-bar {
    background: #0d6efd;
    transition: width 0.1s linear;
}

.player-controls button {
    margin: 0 0.5rem;
    transition: all 0.2s ease-in-out;
}

.player-controls button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-primary.btn-lg {
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

.active-song {
    background: #e9f5ff; /* Lighter highlight */
    border-left: 4px solid #0d6efd;
    font-weight: bold;
}

.list-group-item {
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.list-group-item:hover {
    background-color: #f1f1f1;
}

.list-group-item img {
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

@media (max-width: 767.98px) {
    .player-cover {
        width: 150px;
        height: 150px;
    }
}