* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Serif', serif;
  background-color: #f9f1e8;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
}

#songs-container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.song-item {
  position: absolute;       /* če še vedno uporabljaš top iz JS */
  left: auto;
  right: auto;
  padding: 0 104px;

  display: flex;
  align-items: center;
  gap: 36px;                /* razdalja med gumbom in info */
}

.play-button {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
  padding: 0;
}

.play-button:hover {
  transform: scale(1.05);
}

.play-button:active {
  transform: scale(0.95);
}

.play-button svg {
  display: block;
  width: 100%;
  height: 100%;
}

.play-button-circle {
  transition: fill 0.3s;
}

.song-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: fit-content; /* širi se samo toliko, kolikor je vsebina */
  max-width: 1108px;  /* omeji največjo širino, da ne postane preširoko */
  flex-shrink: 0;
  position: relative;
}

.song-title {
  font-weight: 600;
  font-size: 44px;
  color: #0085b8;
  line-height: normal;
  white-space: pre-wrap;
  height: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.song-artist {
  font-weight: 400;
  font-size: 27px;
  color: #000;
  line-height: normal;
  white-space: pre-wrap;
  height: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.progress-container {
  position: absolute;
  top: 108px;
  width: 300px;
  display: none;
}

.progress-container.active {
  display: block;
}

.progress-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #0085b8;
  max-width: 100%;
}

.progress-time {
  font-weight: 400;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background-color: rgba(0, 133, 184, 0.2);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 2px;
  background-color: #0085b8;
  transition: width 0.1s linear;
  width: 0%;
}
