#songList {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.music-voting-table audio.audio-player,
#songList audio.audio-player{
    height: 30px;
        width: 300px;
        background: #fff;
}

div#songList .flex {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

div#songList .flex.justify-between {
    justify-content: space-between;
}

.song-card {
  background-color: #f9fafb;
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.song-details {
  max-width: 70%;
}

.song-details h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 !important;
}

.song-details p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.audio-player {
  margin-top: 0.5rem;
  width: 100%;
}

.rating-buttons {
  display: flex;
  gap: 0.5rem;
}

.rating-buttons button {
  padding: 0.4rem 0.7rem;
  border: none;
  border-radius: 0.3rem;
  background-color: #e5e7eb;
  color: #111;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.rating-buttons button:hover:not(:disabled) {
  background-color: #d1d5db;
}

.rating-buttons button.selected {
  background-color: #3b82f6;
  color: #fff;
}

.rating-buttons button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#songList .voting-buttons button:hover,
#songList .voting-buttons .text-white{
    color: #fff;
    background: var(--ast-global-color-0);
    border-color: var(--ast-global-color-0);
}

.music-voting-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: Arial, sans-serif;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.music-voting-table th,
.music-voting-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(221, 221, 221, 0.4);
}

.music-voting-table thead {
    background-color: rgba(221, 24, 59, 0.8);
    color: #fff;
    font-weight: bold;
}

.music-voting-table tbody tr:nth-child(even) {
    background-color: rgba(221, 24, 59, 0.3);
    color: #fff;
}

.music-voting-table tbody tr:hover {
    background-color: rgba(221, 24, 59, 0.3);
    color: #fff;
}

.music-voting-table audio {
    width: 150px;
    height: 32px;
}

table.music-voting-table, .music-voting-table td, .music-voting-table th{
  border: none; 
}

.product_meta{
  display: none;
}

.song-details p{
  color: #fff;
}

.voting-buttons button{
  color: #fff;
  border-color: #fff;
}

.voting-countdown{
  margin-top: 40px;
}


.voting-countdown h2{
  font-size: 24px;
  color: #fff;
  margin-bottom: 8px !important;
}

.voting-countdown h3{
  font-size: 20px;
  margin-bottom: 20px;
}

  .voting-countdown  .countdown {
      display: flex;
      gap: 20px;
      font-size: 2rem;
      text-align: center;
    }

  .voting-countdown  .countdown-item {
      background: #1e1e1e;
      padding: 20px;
      border-radius: 10px;
      min-width: 80px;
    }

  .voting-countdown  .countdown-item span {
      display: block;
      font-size: 1.2rem;
      color: #aaa;
    }

  .voting-countdown  .count-value {
      transition: all 0.3s ease;
      animation: pop 0.3s;
    }

    @keyframes pop {
      0%   { transform: scale(1); }
      50%  { transform: scale(1.2); }
      100% { transform: scale(1); }
    }


@media screen and (max-width: 900px) {
  div#songList .flex{
    flex-direction: column;
  }

  .voting-buttons button {
      margin-bottom: 8px;
  }
  
}

@media screen and (max-width: 700px) {
  .voting-entries{
    width: 100%;
    overflow-x: scroll;
  }
}