body {
  background-color: #121212;
  color: #eee;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  background-color: #1f1f1f;
  padding: 1rem;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #333;
}

header input[type="date"],
header button {
  background: #2c2c2c;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
}

header button:hover {
  background-color: #444;
}

/* MAIN */
main {
  padding: 1rem;
  max-width: 800px;
  margin: auto;
}

/* SCROLLABLE LIST */
.scrollable-list {
  max-height: 600px;
  overflow-y: auto;
  border: 1px solid #333;
  border-radius: 6px;
  background-color: #1a1a1a;
  padding: 0;
  margin-bottom: 1rem;
}

ul#playlist {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul#playlist li.fst-italic {
  font-style: italic;
  color: #aaa;
}

/* PAGINATION — Vorige – 010 – Volgende */
#pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

#pagination button {
  background: #2c2c2c;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

#pagination button:disabled {
  background: #555;
  cursor: default;
}

#pagination .page-number {
  font-size: 18px;
  font-weight: bold;
  color: #ff4da6;
  min-width: 50px;
  text-align: center;
  display: inline-block;
}

/* PLAYLIST ITEMS */
.playlist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #2a2a2a;
  font-size: 16px;
  color: #eee;
}

.playlist-item:last-child {
  border-bottom: none;
}

/* Ronde nummer-badge */
.playlist-item .badge {
  background: #ff0066;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
  font-size: 15px;
  box-shadow: 0 0 6px rgba(255, 0, 102, 0.4);
}

/* Tijd */
.playlist-item .time {
  font-weight: bold;
  width: 55px;
  flex-shrink: 0;
  color: #ff99c2;
}

/* Titel + artiest */
.playlist-item .label {
  flex: 1;
  color: #ddd;
}

#searchInput {
  background: #2c2c2c;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  width: 250px;
}

#searchInput::placeholder {
  color: #aaa;
}
