

body {
    font-family: 'Courier New';
    font-weight: bold;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: transparent;
    overflow: hidden;
   
}

.player {
    background: #FE9E62; 
    border: solid 4px #FE9E62;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.514);
    padding: 10px;
    width: 170px;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center; 
}

.highlight {
    background-color: #FE9E62;
    color: white;
}

.screen {
    background: #303030;
    border: solid 6px #000000; 
    border-radius: 8px;
    padding: 0px;
    height: 220px; 
    width: 170px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; 
    overflow: hidden;
    position: relative; 
}

#album-art {
    width: 100%; 
    height: 140px; 
    object-fit: cover; 
    display: block;
    margin-top: 15px; 
}

.now-playing-container {
    position: relative; 
    width: 100%; 
    text-align: center;
}

.now-playing {
    display: none; 
    position: absolute; 
    top: 2px; 
    left: 50%; 
    transform: translateX(-50%); 
    font-family: 'Courier New';
    font-size: 12px; 
    color: #fff; 
}


.icons {
    position: absolute;
    top: 0;
    right: -3px; 
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 5px;
    font-size: 12px; 
    font-family: 'Courier New';
    color: #fff; 
}

.icons i {
    margin-left: 8px; 
}

.current-song-container {
    display: flex;
    flex-direction: column; 
    align-items: center;
    margin-top: 2px; 
}

#current-song {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 2px; 
}

.song-title {
    font-family: 'Courier New';
    font-weight: bold;
    font-size: 12px; 
    color: #fff; 
    white-space: nowrap;
    text-align: center; 
    overflow: hidden;
    position: relative;
}

.scroll-container {
    overflow: hidden;
    width: 170px; 
    margin: 0 auto; 
}

.scroll-text {
    display: inline-block;
    animation: scroll 9s linear infinite; 
    white-space: nowrap; 
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}


.song-artist {
    font-family: 'Courier New';
    font-weight: bold;
    font-size: 10px; 
    color: #fff; 
    text-align: center; 
    width: 100%; 
    display: block; 
    margin-top: 5px; 
}
.progress-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1px; 
    
}

.progress {
    position: relative;
    height: 6px; 
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    
    width: 160px; 
    
}

#progress-bar {
    height: 100%;
    background: #62BEFF;
    width: 0;
    transition: width 0.2s;
}

.time-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px; 
    margin-top: 5px; 
    font-size: 9px;
    color: #ccc; 
}

#current-time, #total-time {
    font-family: 'Courier New';
}

.song-list-container {
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 10;
}

.song-list-container.show {
    opacity: 1;
    visibility: visible;
}

.song-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-family: 'Courier New';
    font-size: 12px;
    color: #000;
}

.song-list li {
    padding: 5px;
 
    transition: background 0.3s ease;
}

.song-list li:hover {
    background: #62BEFF;
}

.song-list-container::-webkit-scrollbar {
    width: 12px;
}

.song-list-container::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

.song-list-container::-webkit-scrollbar-thumb {
    background-color: #62BEFF;
    border-radius: 10px;
    border: 3px solid #fff;
}

.song-list-container::-webkit-scrollbar-thumb:hover {
    background-color: #62BEFF;
}

.song-list-container::-webkit-scrollbar-thumb:active {
    background-color: #62BEFF;
}

.song-list-container {
    scrollbar-width: thin;
    scrollbar-color: #62BEFF #e0e0e0;
}

.song-list-container:hover {
    scrollbar-color: #62BEFF #e0e0e0;
}

.song-list-container:active {
    scrollbar-color: #62BEFF #e0e0e0;
}


.controls {
    position: relative;
    width: 140px; 
    height: 140px; 
    margin: auto; 
    background: #ffffff; 
    border-radius: 50%; 
}

button {
    position: absolute; 
    background: transparent; 
    color: #919191;
    border: none;
    padding: 2px;
    border-radius: 50%; 
  
    display: flex;
    align-items: center;
    justify-content: center;
    height: 25px;
    width: 25px;
}

button#list-icon {
    top: 5px; 
    left: 50%;
    transform: translateX(-50%);
    
}

button#play-pause {
    top: 50%;
    left: 50%;
    width: 70px; 
    height: 70px; 
    transform: translate(-50%, -50%);
    color: #ffffff;
    background: #FE9E62; 
}

button#next {
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
}

button#previous {
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
}

button#shuffle {
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

button:hover {
  color: #ffffff;
    background: #FE9E62;
}

button i {
    font-size: 1em;
}

button.active {
  color: #ffffff;
    background: #FE9E62;
}


