/* WINDOWS 95 MUSIC PLAYER STYLES */
.music-player {
    background: #c0c0c0;
    border: 2px outset #ffffff;
    padding: 0;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'MS Sans Serif', 'Tahoma', sans-serif;
}

.player-titlebar {
    background: linear-gradient(to right, #808080, #c0c0c0);
    /* GREYSCALE TITLEBAR */
    color: #000000;
    padding: 3px 5px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.player-icon {
    width: 16px;
    height: 16px;
    background: #c0c0c0;
    /* GREY ICON */
    border: 1px solid #000;
}

.player-content {
    padding: 8px;
    background: #c0c0c0;
    display: grid;
    grid-template-columns: 240px 1fr;
    grid-template-areas:
        "lcd playlist"
        "controls playlist";
    gap: 8px;
}

.now-playing {
    grid-area: lcd;
    background: #000000;
    color: #00ff00;
    /* Keeping LCD Green for contrast/authenticity */
    padding: 8px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    border: 2px inset #808080;
    margin-bottom: 0;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.controls {
    grid-area: controls;
    display: flex;
    gap: 4px;
    margin-bottom: 0;
    justify-content: flex-start;
    /* Budge buttons to the left */
    align-items: center;
    padding-left: 5px;
    /* Subtle offset from the left edge */
}

.control-btn {
    background: #c0c0c0;
    border: 2px outset #ffffff;
    padding: 4px 8px;
    /* Slightly reduced horizontal padding */
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    min-width: 32px;
    /* Slightly reduced min-width */
    text-align: center;
    color: #000;
    font-family: 'Courier New', monospace;
    white-space: nowrap;
    /* CRITICAL: Prevent symbols from wrapping */
}

.control-btn.active {
    background: #808080;
    border-style: inset;
    color: #00ff00;
    /* Green text when active, like an LED */
}

.control-btn:active {
    border-style: inset;
}

.control-btn:hover {
    background: #d0d0d0;
}

.playlist {
    grid-area: playlist;
    background: #ffffff;
    border: 2px inset #808080;
    height: 100px;
    /* Fixed height for horizontal look */
    overflow-y: auto;
    padding: 2px;
    color: #000000;
    /* FIX: BLACK TEXT ON WHITE BACKGROUND */
}

.song-item {
    padding: 4px 6px;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    gap: 8px;
    align-items: center;
    color: #000000;
    /* Force black text */
}

.song-item:hover {
    background: #808080;
    /* GREY SELECTION */
    color: #ffffff;
}

.song-item.playing {
    background: #808080;
    /* GREY SELECTION */
    color: #ffffff;
}

.song-number {
    font-weight: bold;
    min-width: 20px;
}

.song-info {
    flex: 1;
}

.song-title {
    font-weight: bold;
}

.song-artist {
    font-size: 10px;
    color: #404040;
    /* Dark Grey artist/subtext */
}

.song-item.playing .song-artist {
    color: #c0c0c0;
}

/* Windows 95 Scrollbar */
.playlist::-webkit-scrollbar {
    width: 16px;
    background: #c0c0c0;
}

.playlist::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border: 2px outset #ffffff;
}

.playlist::-webkit-scrollbar-button {
    background: #c0c0c0;
    border: 2px outset #ffffff;
    height: 16px;
}