
/* Song list */
.song-list-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg) 0;
  width: 100%;
}

.song-tile {
  display: flex;
  flex-direction: row;
  background: var(--bg-color);
  border-radius: var(--radius-lg);
  box-shadow:
    0.5rem 0.5rem 1rem var(--dark-shadow),
   -0.5rem -0.5rem 1rem var(--light-shadow);
  overflow: hidden;
  transition: 0.3s ease;
  height: 16.25rem; /* 260px */
  padding: var(--spacing-md);
  width: 100%;
}

.song-tile:hover {
  box-shadow:
    inset 0.5rem 0.5rem 1rem var(--dark-shadow),
    inset -0.5rem -0.5rem 1rem var(--light-shadow);
}

.song-cover {
  width: 13.125rem; /* 210px */
  height: 13.125rem;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-right: var(--spacing-md);
  box-shadow:
    0.5rem 0.5rem 1rem var(--dark-shadow),
   -0.5rem -0.5rem 1rem var(--light-shadow);
  background-color: var(--bg-color);
}

.song-overlay {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  gap: var(--spacing-lg);
}

.song-info {
  flex: 1;
}

.song-info .title {
  font-size: var(--font-2xl);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: #333;
  text-shadow:
    0.0625rem 0.0625rem 0.125rem var(--dark-shadow),
   -0.0625rem -0.0625rem 0.125rem var(--light-shadow);
}

.song-info .artist,
.song-info .feat,
.song-info .release-date {
  font-size: var(--font-xl);
  color: #555;
  text-shadow:
    0.0625rem 0.0625rem 0.09375rem var(--dark-shadow),
   -0.0625rem -0.0625rem 0.09375rem var(--light-shadow);
}

.song-actions {
  display: flex;
  flex-direction: column;       /* Stack buttons vertically */
  justify-content: center;      /* Center vertically */
  align-items: center;          /* Center horizontally inside .song-actions */
  gap: var(--spacing-sm);       /* Space between buttons */
  height: 100%;                 /* Take full height of tile */
  padding: var(--spacing-sm);   /* Optional spacing */
}


.song-actions .btn {
  background: var(--bg-color);
  border: none;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  font-size: var(--font-xl);
  color: #333;
  box-shadow:
    0.375rem 0.375rem 0.75rem var(--dark-shadow),
   -0.375rem -0.375rem 0.75rem var(--light-shadow);
  transition: 0.2s ease-in-out;
}

.song-actions .btn:hover {
  color: #3CC6F3; /* Desired hover text color */
  box-shadow:
    inset 0.25rem 0.25rem 0.5rem var(--dark-shadow),
    inset -0.25rem -0.25rem 0.5rem var(--light-shadow);
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .song-tile {
    flex-direction: column;
    align-items: center;
    height: auto;
  }

  .song-overlay {
    flex-direction: column;
    align-items: center;
  }

  .song-actions {
    align-items: center;
  }
}

/* Search bar */
.search-bar {
  margin: 0 auto var(--spacing-lg) auto;
  padding: var(--spacing-sm);
  background: var(--bg-color);
  border-radius: var(--radius-md);
  box-shadow:
    0.5rem 0.5rem 1rem var(--dark-shadow),
   -0.5rem -0.5rem 1rem var(--light-shadow);
}

.search-bar input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: none;
  border-radius: 0.625rem;
  background: var(--bg-color);
  color: var(--text-color);
  font-size: var(--font-base);
  box-shadow:
    inset 0.3125rem 0.3125rem 0.625rem var(--dark-shadow),
    inset -0.3125rem -0.3125rem 0.625rem var(--light-shadow);
  outline: none;
}
/* SONG SECTION ICONS */
.song-icon {
  width: 50px;
  height: 50px;
  vertical-align: middle;
  margin-right: 8px;
  filter: grayscale(100%) brightness(0.2);
  transition: filter 0.3s ease, transform 0.3s ease;
}

/* When hovered or active (via button hover), restore full color */
.song-actions .btn:hover .song-icon,
.song-actions .btn:focus .song-icon {
  filter: none;
}