/* Dodatni stilovi koji nisu praktični samo s Tailwind klasama */

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: #2A2A2A;
  border-radius: 8px;
}

#now-playing.is-visible {
  transform: translateY(0);
}

input[type="range"]#progress {
  -webkit-appearance: none;
  appearance: none;
  background: #2A2A2A;
  border-radius: 999px;
}
input[type="range"]#progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FF5540;
  margin-top: -4px;
  cursor: pointer;
}
input[type="range"]#progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FF5540;
  border: none;
  cursor: pointer;
}

.track-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.track-row:hover {
  background-color: #1C1B1B;
}
.track-row.active {
  background-color: #2A2A2A;
}
.track-row.active .track-title {
  color: #FF5540;
}
.track-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background-color: #2A2A2A;
  flex-shrink: 0;
}
.track-title {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.track-sub {
  font-size: 0.75rem;
  color: #B7B5B4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
