/* ------------------------------- */
/*            HEADER              */
/* ------------------------------- */

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;     
  margin-bottom: 20px;     
  /* Removed border-bottom: none; */
  padding-bottom: 20px;    
}

.header-container h1 {
  font-size: 28px;
  margin: 0 0 10px 0;
  color: darkslategrey;  /* Replaced #008080 with darkslategrey */
}

#currentSongDisplay {
  font-size: 16px;
  color: #555;
  margin-bottom: 10px;
}

.controls {
  display: flex;
  gap: 10px; 
}

/* ------------------------------- */
/*        MAIN CONTAINER           */
/* ------------------------------- */

#container {
  margin: 20px auto;        
  max-width: 800px;         
  padding: 0 20px;
}

/* ------------------------------- */
/*         ALBUM STYLES           */
/* ------------------------------- */

.album {
  cursor: pointer;
  padding: 12px 0;
  margin: 8px 0;
  border-bottom: 1px solid #ddd;
  font-weight: bold;
  transition: background-color 0.15s ease;
}

.album:hover {
  background-color: #f9f9f9;
}

.album-content {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 20px;
}

.album-left {
  width: 180px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  justify-content: flex-start;
}

.album-cover {
  width: 100px;    
  height: 100px;   
  object-fit: cover; 
  border-radius: 4px;
  margin-bottom: 10px;
}

/* Right side: songs listing */
.album-right {
  flex: 1;  
}

/* ------------------------------- */
/*           SONG LIST            */
/* ------------------------------- */

.songs {
  list-style-type: none;
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.songs li {
  background-color: white;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 6px;
  text-align: center;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

/* Use darkslategrey hover for songs */
.songs li:hover {
  background-color: darkslategrey; 
  border-color: darkslategrey;
  color: #ffffff;            
}

/* ------------------------------- */
/*           BUTTONS              */
/* ------------------------------- */

button {
  background-color: white;
  border: none;
  color: black;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.2s;
}

button:hover {
  background-color: darkslategrey; /* Replaced teal with darkslategrey */
  color: white;
  transform: scale(1.05);
}

button:active {
  transform: scale(0.95);
}
