/* Music player container */
#music-player {
    position: fixed;      /* Fixes it to the viewport */
    bottom: 0;            /* Anchors it to the bottom */
    left: 0;
    width: 100%;          /* Full width */
    background: #111;     /* Dark background */
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
    z-index: 9999;        /* Always on top */
    font-family: sans-serif;
}

/* Track info styling */
#music-player .track-info {
    flex: 1;
    overflow: hidden;
}

#music-player .track-info span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Controls styling */
#music-player .controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

#music-player button {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s ease;
}

#music-player button:hover {
    color: #1DB954;  /* Spotify green-ish hover effect */
}

/* Make it responsive */
@media screen and (max-width: 600px) {
    #music-player {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
    #music-player .controls {
        gap: 5px;
    }
}
