﻿body {
    background: #000;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    display: flex;
    height: 100vh;
}


.sidebar {
    width: 260px;
    background: #121212;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #282828;
}


#sync-btn {
    background: #1DB954; /* Spotify Green */
    color: white;
    border: none;
    padding: 10px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 20px;
}


#playlist {
    list-style: none;
    padding: 0;
    overflow-y: auto;
}


#playlist li {
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


#playlist li:hover {
    background: #282828;
}


#playlist li.active {
    color: #1DB954;
}


.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, #222, #000);
}


.controls {
    width: 100%;
    position: fixed;
    bottom: 0;
    background: #181818;
    padding: 20px;
    text-align: center;
}


audio {
    width: 80%;
    filter: invert(100%); /* Makes the player look better on dark mode */
}