.pmp-playlist {
  max-width: 600px;
  margin: 20px auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pmp-track {
  display: flex;
  align-items: center;
  padding: 12px 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.05);
  gap: 12px;
  flex-wrap: wrap;
}

.pmp-track img {
  border-radius: 6px;
  flex-shrink: 0;
}

.pmp-track strong {
  flex-grow: 1;
  font-size: 1.1rem;
  color: #222;
  min-width: 120px;
}

.pmp-track button,
.pmp-track a {
  background: #0073e6;
  border: none;
  color: white;
  padding: 6px 10px;
  font-size: 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  transition: background-color 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pmp-track button:hover,
.pmp-track a:hover {
  background: #005bb5;
}

.pmp-track button:active {
  background: #004494;
}

.pmp-track a {
  line-height: 1;
}

button[onclick*="pmpPlayTrack"] {
  background: #28a745; /* màu xanh lá play */
}

button[onclick*="pmpPlayTrack"]:hover {
  background: #1e7e34;
}

/* Responsive: trên mobile xếp dọc các nút */
@media (max-width: 480px) {
  .pmp-track {
    flex-direction: column;
    align-items: flex-start;
  }

  .pmp-track strong {
    margin-bottom: 8px;
  }

  .pmp-track button,
  .pmp-track a {
    width: 100%;
    justify-content: center;
  }
}

/* Nút phát tất cả */
.pmp-playlist > button:first-child {
  background: #17a2b8;
  color: #fff;
  padding: 10px 16px;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin-bottom: 20px;
  width: 100%;
  transition: background-color 0.3s ease;
}

.pmp-playlist > button:first-child:hover {
  background: #117a8b;
}
