body {
  background-color: #191919;
  color: #cbcbcb;
  font-family: Arial, sans-serif;
  padding: 20px;
}

.player-container {
  margin: auto;
  max-width: 600px;
  text-align: center;
}

audio {
  height: 40px;
  margin-bottom: 20px;
  width: 100%;
}

button {
  border-radius: 5px;
  box-shadow: 0 2px 5px #0000001a;
  cursor: pointer;
  display: inline-block;
  margin-right: 10px;
  outline: none;
  padding: 10px 20px;
  transition: all 0.3s ease-in-out;
}

button:hover {
  transform: scale(1.05);
}

ul {
  list-style-type: none;
  padding-left: 0;
}

li {
  align-items: center;
  background-color: #000000;
  border-radius: 5px;
  box-shadow: 0 2px 5px #0000001a;
  display: flex;
  justify-content: space-between;
  /* Крайние элементы — по краям */
  margin-bottom: 10px;
  padding: 10px;
  gap: 10px;
  /* Добавляем пробелы между элементами */
}

.infoDiv {
  align-items: center;
  display: flex;
  gap: 10px;
  flex: 1;
  /* Занимает среднее пространство, но не давит на края */
  overflow: hidden;
  min-width: 0;
  /* Важно для корректного поведения внутри flex */
}

.infoDiv div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Если текст длинный — добавим многоточие */
  max-width: 200px;
  /* Ограничение ширины текста */
}

img {
  border-radius: 5px;
  height: 50px;
  margin-right: 10px;
  object-fit: cover;
  width: 50px;
}

a.download-link {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 2px 5px #0000001a;
  transition: all 0.3s ease-in-out;
}

a.download-link:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}