body {
  background-image: url('/assets/img/sunset.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding: 0 1rem;
  line-height: 1.5;
}
h1 {
  margin-bottom: 0.5rem;
}
#player-container {
  margin: 1.5rem 0;
}
#controls {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
button {
  padding: 0.4rem 0.75rem !important;
  border-radius: 999px;
  border: 1px solid #ccc;
  background: #f7f7f7;
  cursor: pointer;
  font-size: 0.9rem;
}
button:hover {
  background: #eee;
}
#current-track {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #f5f9ff;
  border-radius: 0.5rem;
  border: 1px solid #dbe4ff;
}
#current-track h2 {
  margin: 0 0 0.25rem 0;
  font-size: 1.25rem;
}
#current-track p {
  margin: 0;
  font-size: 0.95rem;
  colour: #555;
}
#playlist {
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
  border-top: 1px solid #ddd;
}
#playlist li {
  padding: 0.5rem 0.25rem;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
#playlist li span.title {
  font-weight: 600;
}
#playlist li span.subtitle {
  font-size: 0.85rem;
  colour: #666;
}
#playlist li.current {
  background: #e7f1ff;
}
#lyrics-container {
  margin-top: 1.5rem;
}
#lyrics-container h3 {
  margin-bottom: 0.25rem;
}
#lyrics {
  white-space: pre-wrap;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  background: #fafafa;
  max-height: 300px;
  overflow-y: auto;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 0.95rem;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  border-radius: 0.75rem;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #ddd;
  background: #f5f9ff;
  border-radius: 0.75rem 0.75rem 0 0;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.close-button {
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
}

.close-button:hover {
  background: #eee;
  color: #000;
}

.modal-body {
  padding: 1.25rem;
  overflow-y: auto;
  flex: 1;
  background: #fafafa;
  border-radius: 0 0 0.75rem 0.75rem;
}
