/* ==========================================================
   🌐 MIJN-RADIO.NL — Centrale stylesheet
   ========================================================== */

/* === BASIS === */
body {
  background: #f8f9fa;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #212529;
  margin: 0;
  padding: 0;
}

/* === KLEUREN & TYPOGRAFIE === */
.logo-blue { color: #1E3A5F; }
.logo-orange { color: #F47321; font-weight: 700; }

/* === HEADER & FOOTER === */
header { border-bottom: 1px solid #dee2e6; }

footer {
  font-size: 0.9rem;
  color: #6c757d;
  padding: 1rem 0;
  text-align: center;
}

/* === ZENDERCARD === */
.card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  background: #fff;
}
.card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0.75rem 1rem;
}

/* Logo + titel naast elkaar (compacte tegels) */
.card-body img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #ddd;
}
.card-body h6 {
  margin: 0;
  font-size: 0.95rem;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

/* === KNOPGROEP (rechts) === */
.card-body .btn-group {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* === KNOPGROEP (play + favoriet) === */
.btn-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 0.5rem;
}

/* 🎵 PLAY-KNOP — universeel (ook voor footer) */
.btn.play {
  border: 2px solid #28a745;
  color: #28a745;
  background-color: #fff;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.15s ease-in-out;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.btn.play:hover,
.btn.play:focus {
  background-color: #28a745;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transform: translateY(-1px);
}
.btn.play.playing {
  background-color: #218838;
  color: #fff;
  border-color: #218838;
}

/* ❤️ FAVORIET-KNOP */
.fav-btn {
  border: 2px solid #dc3545;
  color: #dc3545;
  background: #fff;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease-in-out;
}
.fav-btn:hover {
  background-color: #dc3545;
  color: #fff;
}
.fav-btn.active {
  background-color: #dc3545;
  color: #fff;
  border-color: #dc3545;
}

/* === PLAYER BAR (onderaan) === */
#playerBar {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid #dee2e6;
  background: #fff;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
}
#playerBar .btn.play {
  border: 2px solid #28a745;
  color: #28a745;
  background-color: #fff;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease-in-out;
}
#playerBar .btn.play.playing {
  background-color: #218838;
  color: #fff;
  border-color: #218838;
}
#playerBar .btn.play:hover {
  background-color: #28a745;
  color: #fff;
  transform: translateY(-1px);
}

/* === TEKST TIJDENS AFSPELEN === */
#now {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 500;
}

/* === ALGEMEEN === */
.station-logo { max-height: 80px; object-fit: contain; }
#loadMore { min-width: 200px; }


/* 🎧 Zelfde groene stijl voor de footer-knop als zenderknoppen */
#playerBar .btn.play {
  border: 2px solid #28a745;
  color: #28a745;
  background-color: #fff;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease-in-out;
}

#playerBar .btn.play.playing {
  background-color: #218838;
  color: #fff;
  border-color: #218838;
}

#playerBar .btn.play:hover {
  background-color: #28a745;
  color: #fff;
  transform: translateY(-1px);
}
