/* Outer chart container */
.radio-chart-wrap {
  max-width: 700px;
  margin: 20px auto;
  padding: 15px;
  background: #d10015;
  border-radius: 15px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  color: #fff;
  
    /* Add scroll after 5 items */
  max-height: 420px; /* Adjust based on row height (≈ 5 rows) */
  overflow-y: auto;
}

/* Each song row */
.radio-chart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 0;
  padding: 8px 12px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* Thumbnail */
.radio-chart-thumb img {
  height: 40px;
  width: 40px;
  border-radius: 8px;
  object-fit: cover;
}

/* Song texts compact */
.radio-chart-meta {
  flex: 1;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.radio-chart-title,
.radio-chart-artist {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.85em;
  font-weight: 500;
  line-height: 1.2;
}

.radio-chart-title {
  background: #d10015;
  color: #fff;
}

.radio-chart-artist {
  background: #f0f0f0;
  color: #333;
}

/* Right side actions */
.radio-chart-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 70px;
}

.radio-chart-count {
  padding: 3px 8px;
  background: #f0f0f0;
  color: #333;
  font-weight: bold;
  border-radius: 6px;
  font-size: 0.8em;
}

/* Vote button smaller */
.radio-chart-vote-btn {
  background: #d10015;
  color: #fff;
  border: 0;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8em;
  cursor: pointer;
}
.radio-chart-vote-btn:hover {
  background: #a60011;
}
.radio-chart-vote-btn.disabled {
  background: #bbb;
  cursor: default;
}
