h3 {
  margin: 0;
}

.song-details {
  max-width: 950px;
  margin: 0 auto;
  padding: 2rem;
}

.song-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.share-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.share-button:hover {
  background-color: var(--hover-color);
}

.share-notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  z-index: 1000;
  transition: opacity 0.3s;
}

.song-content {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.song-image-column {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.show-song-image {
  width: 100%;
}

.cover-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.placeholder-image {
  width: 100%;
  height: 300px;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  border-radius: 8px;
}

.song-info {
  flex: 1;
  min-width: 300px;
}

.song-metadata {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.metadata-item {
  flex: 1;
  min-width: 120px;
}

.metadata-label {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metadata-value {
  font-weight: 600;
  color: var(--primary-color);
}

.obscured-item {
  order: -1; /* Make it appear first */
}

.obscured-value {
  display: flex;
  align-items: center;
  color: #ff5a5f;
}

.obscured-icon {
  margin-right: 5px;
  font-style: normal;
}

.audio-container, .lyrics-container, .processing-message, .error-message, .rejected-message {
  margin-bottom: 1rem;
}

.rejected-message {
  background-color: #ffe6e6;
  border-left: 4px solid #ff5a5f;
  padding: 1rem;
  border-radius: 4px;
  color: #d32f2f;
}

.rejected-icon {
  font-style: normal;
  margin-right: 6px;
}

.audio-player {
  width: 100%;
}

.lyrics-content p {
  margin-bottom: 0;
}

.lyrics-content h3 {
  font-weight: bold;
}

.navigation-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.navigation-buttons-justify {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.sign-up-prompt {
  max-width: 370px;
  padding: 20px;
  margin: 0 auto;
}

/* On mobile devices, display navigation buttons in a single column */
@media (max-width: 576px) {
  .navigation-buttons-justify, .navigation-buttons, .nav-links {
    flex-direction: column;
    align-items: center;
  }
  .title {
    font-size: 3.5rem;
  }
  .title-number {
    font-size: 5.75rem;
  }
  .pages {
    margin: 0 auto;
  }
  .song-details {
    padding: 0;
  }
  .player-container {
    display: block;
  }
  .thought-bubble {
    left: 25px;
    max-width: 300px;
    min-height: 60px;
  }
  .song-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .share-buttons {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 1rem;
  }
  
  .account-buttons {
    width: 100%;
    flex-direction: column;
    margin-top: 1rem;
  }
}

.next_page, .previous_page, .button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: background-color 0.2s;
}

.button:hover {
  background-color: var(--hover-color);
}

.account-buttons {
  display: flex;
  gap: 10px;
}

.sign-up-button {
  background-color: #4caf50;
  animation: pulse 2s infinite;
}

.sign-up-button:hover {
  background-color: #388e3c;
  animation: none;
}

.sign-in-button {
  background-color: #2196f3;
}

.sign-in-button:hover {
  background-color: #0d8bf2;
}

.hidden {
  display: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
  }
}

.disabled {
  background-color: #ccc;
  cursor: pointer;
}

.loader {
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
  margin: 1rem 0;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}