

.basic-regular {
  font-family: "Basic", sans-serif;
  font-weight: 400;
  font-style: normal;
}


body {
  font-family: Basic, sans-serif;
  background: #222;
  color: #eee;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.player-container {
  flex: auto;
  background: #333;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  width: 100%;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 15px;
}

button {
  font-family: 'Basic', Arial, sans-serif;
  background: #555;
  border: none;
  color: white;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background: #69239e;
}

.timeline {
  margin-bottom: 15px;
}

.time-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #ccc;
  margin-top: -10px;
  margin-bottom: 10px;
}

/* Remove o estilo padrão */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #444; /* fundo da barra */
  outline: none;
  cursor: pointer;
}

/* Parte já percorrida - Chrome, Edge, Safari */
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, #69239e var(--value, 0%), #444 var(--value, 0%));
}

/* Parte já percorrida - Firefox */
input[type="range"]::-moz-range-progress {
  background: #69239e;
  height: 6px;
  border-radius: 3px;
}
input[type="range"]::-moz-range-track {
  background: #444;
  height: 6px;
  border-radius: 3px;
}

/* Thumb (bolinha) */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #69239e;
  cursor: pointer;
  margin-top: -4px; /* centralizar na barra */
}
input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #69239e;
  cursor: pointer;
}

.album-playlist-container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

/* Container da playlist */
#playlist {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-left: 20px;
  background: #555;
  border-radius: 8px;
  overflow-y: auto;
  max-height: 200px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  padding: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

#playlist::-webkit-scrollbar {
  width: 6px;
}
#playlist::-webkit-scrollbar-thumb {
  background-color: #69239e;
  border-radius: 10px;
}
#playlist::-webkit-scrollbar-track {
  background-color: #444;
}

/* Cada música (item da lista) */
#playlist li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #555;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

/* Último item sem borda */
#playlist li:last-child {
  border-bottom: none;
}

/* Hover nos itens */
#playlist li:hover {
  background: #555;
  color: #ffffff;
}

/* Badge lateral (ex: número, NEW, etc) testar com gif da audio tocando 
#playlist li span {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  background: #e0e0e0;
  color: #444;
  transition: all 0.2s;
}

 Hover no badge junto com o item 
#playlist li:hover span {
  background: #69239e;
  color: #555;
}
*/ 

/* Música atual tocando */
#playlist li.active {
  background: #69239e;
  color: #ffffff;
}

#playlist li.active span {
  background: #555;
  color: #69239e;
}

#track-cover {
  align-content: center;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

