/* Base list styling */
.as-song-history { list-style: none; margin: 0; padding: 0; }

/* Rows */
.as-song-history .as-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eef1f4;
}
.as-song-history .as-row:last-child { border-bottom: 0; }

/* Time at the left */
.as-song-history .as-played-at {
  order: 0;
  min-width: 52px; /* align column */
  text-align: right;
  color: #6e7680;
  font-variant-numeric: tabular-nums;
}

/* Cover image */
.as-song-history .as-cover {
  order: 1;
  flex: 0 0 var(--as-cover-size, 40px);
  width: var(--as-cover-size, 40px);
  height: var(--as-cover-size, 40px);
  object-fit: cover;
  border-radius: 8px;
}

/* Metadata */
.as-song-history .as-meta {
  order: 2;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}
.as-song-history .as-title {
  font-weight: 600;
  color: #222;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.as-song-history .as-artist {
  color: #6e7680;
  font-size: 0.95em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Playlist page tweaks (namespaced) */
.ash2-playlist-page .as-song-history .as-row { padding: 14px 0; gap: 14px; }
.ash2-playlist-page .as-song-history .as-cover { --as-cover-size: 56px; border-radius: 6px; }
.ash2-playlist-page .ash2-controls { margin: 8px 0 12px; }
.ash2-playlist-page .ash2-channel-select { max-width: 340px; width: 100%; padding: 8px 10px; }
.ash2-playlist-page .as-song-history .as-row:hover { background: #fafcff; }
.ash2-playlist-page .as-live {
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
  background: #00C853; /* groen label */
  color: #fff;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}
.ash2-playlist-page .as-separator {
  display: block;
  margin: 12px 0 6px;
  color: #7a818a;
  font-weight: 600;
  text-transform: none;
}
.ash2-playlist-page .ash2-date-nav { margin: 8px 0 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ash2-playlist-page .ash2-date-nav .as-date-label { color: #4d5561; font-weight: 600; }
.ash2-playlist-page .ash2-btn { appearance: none; border: 1px solid #e0e5ea; background: #fff; color: #222; border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.ash2-playlist-page .ash2-btn:hover { background: #f7fafc; }
.ash2-playlist-page .ash2-btn:disabled { opacity: .5; cursor: default; }
.ash2-playlist-page .ash2-footer { text-align: center; margin: 16px 0 24px; }
.ash2-playlist-page .ash2-load-more {
  appearance: none;
  border: 1px solid #e0e5ea;
  background: #fff;
  color: #222;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
}
.ash2-playlist-page .ash2-load-more:hover { background: #f7fafc; }
.ash2-playlist-page .ash2-load-more:disabled { opacity: .5; cursor: default; }
.ash2-playlist-page .ash2-status { margin: 12px 0; color: #7a818a; }

/* Week view helpers */
.as-song-history-week { --as-cover-size: 40px; }
.as-song-history-week.size-compact { --as-cover-size: 28px; }
.as-song-history-week.size-large { --as-cover-size: 52px; }
.as-song-history-week.shape-pill .as-cover { border-radius: 999px; }
.as-song-history-week.shape-rounded .as-cover { border-radius: 10px; }
.as-song-history-week.shape-square .as-cover { border-radius: 3px; }

.as-song-history-week .as-week-nav { display: flex; gap: 8px; margin: 8px 0 12px; flex-wrap: wrap; }
.as-song-history-week .as-day-item { padding: 6px 10px; border: 1px solid #e5e8ec; border-radius: 999px; background: #fff; cursor: pointer; }
.as-song-history-week .as-day-item.active { background: var(--as-accent, #03fd08); color: #fff; border-color: transparent; }
.as-song-history-week .as-week-day.hidden { display: none; }

/* Attic Radio: behoud de TeamFM-lijststructuur binnen de bestaande template. */
.atticradio-history-wordpress .as-song-history-week {
  color: #ffffff;
  font-family: inherit;
}
.atticradio-history-wordpress .as-song-history-week .as-week-nav {
  margin: 0 0 18px;
  padding: 0 0 16px;
  border-bottom: 1px solid #252525;
}
.atticradio-history-wordpress .as-song-history-week .as-day-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 13px;
  border-color: #343434;
  border-radius: 4px;
  background: #111111;
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}
.atticradio-history-wordpress .as-song-history-week .as-day-item:hover {
  border-color: #03fd08;
}
.atticradio-history-wordpress .as-song-history-week .as-day-item.active {
  background: var(--as-accent, #03fd08);
  border-color: transparent;
  color: #050505;
  box-shadow: 0 2px 8px rgba(3, 253, 8, 0.2);
}
.atticradio-history-wordpress .as-song-history-week .as-day-date {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.7;
}
.atticradio-history-wordpress .as-song-history-week .as-day-title {
  margin: 0;
  padding: 0 0 12px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  text-transform: capitalize;
}
.atticradio-history-wordpress .as-song-history .as-row {
  min-height: 72px;
  padding: 10px 4px;
  border-bottom-color: #252525;
}
.atticradio-history-wordpress .as-song-history .as-row:hover {
  background: #0a0a0a;
}
.atticradio-history-wordpress .as-song-history .as-title {
  color: #ffffff;
}
.atticradio-history-wordpress .as-song-history .as-artist,
.atticradio-history-wordpress .as-song-history .as-played-at {
  color: #aeb7c3;
}
@media (max-width: 767px) {
  .atticradio-history-wordpress .as-song-history-week .as-week-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 12px;
  }
  .atticradio-history-wordpress .as-song-history-week .as-day-item {
    flex: 0 0 auto;
  }
  .atticradio-history-wordpress .as-song-history .as-played-at {
    min-width: 42px;
    font-size: 13px;
  }
}

/* Laat de originele transparante header doorlopen over de skyline. */
body.page-id-2545 .elementor-2545 .elementor-element.elementor-element-20029516 {
  --margin-top: -395px;
  --min-height: 765px;
  --padding-top: 136px;
}

@media (max-width: 1024px) {
  body.page-id-2545 .elementor-2545 .elementor-element.elementor-element-20029516 {
    --min-height: 735px;
    --padding-top: 262px;
  }
}

@media (max-width: 767px) {
  body.page-id-2545 .elementor-2545 .elementor-element.elementor-element-20029516 {
    --min-height: 655px;
    --padding-top: 233px;
  }
}
