.radio-panel {
  padding: 15px;
  text-align: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-top: 1px solid #222;
}

.radio-player {
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  gap: 10px;
  flex-wrap: wrap;
}

.radio-player-div {
  width: 180px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* TITLE ROW */

.player-title-row{
  display:flex;
  align-items:center;
  gap:10px;
}

#player-title{
  font-size:14px;
  font-weight:700;
  color:#fff;
  letter-spacing:.3px;
}

@keyframes livePulse{
  0%{opacity:1}
  50%{opacity:.4}
  100%{opacity:1}
}

/* STATUS */

.player-status-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:3px;
}

#status{
  font-size:12px;
  color:#8c8c8c;
}

/* AUDIO VISUALIZER */

.audio-bars{
  display:flex;
  align-items:flex-end;
  gap:2px;
  height:10px;
}

.audio-bars span{
  width:2px;
  background:#fff;
  border-radius:2px;
  animation:bars 1s infinite ease-in-out;
}

.audio-bars span:nth-child(1){
  height:6px;
  animation-delay:.2s;
}

.audio-bars span:nth-child(2){
  height:10px;
}

.audio-bars span:nth-child(3){
  height:7px;
  animation-delay:.3s;
}

@keyframes bars{
  0%,100%{transform:scaleY(.4)}
  50%{transform:scaleY(1)}
}

.controls {
  display: flex;
  align-items: center;
}

.controls button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  margin: 0 8px;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  border: 1px solid #464646;
  transition: 0.2s;
}

.controls button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.volume {
  display: flex;
  align-items: center;
  gap: 8px;
}

.volume input {
  width: 80px;
  height: 4px;
  -webkit-appearance: none;
  background: #2a2a2a;
  border-radius: 4px;
  cursor: pointer;
  outline: none;
}

.volume input::-webkit-slider-runnable-track {
  height: 4px;
  background: linear-gradient(to right, #ffffff, #888);
  border-radius: 4px;
}

.volume input::-moz-range-track {
  height: 4px;
  background: linear-gradient(to right, #ffffff, #888);
  border-radius: 4px;
}

.volume input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #1f1f1f;
  margin-top: -5px;
  transition: all 0.2s ease;
}

.volume input::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #000;
  transition: all 0.2s ease;
}

.volume input::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  background: #e5e5e5;
}

.volume input::-moz-range-thumb:hover {
  transform: scale(1.1);
  background: #e5e5e5;
}

@media (max-width: 600px) {

  .radio-player {
    flex-direction: column;
    height: auto;
    gap: 12px;
  }

  .radio-player-div {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .controls {
    order: 2;
  }

  .volume {
    order: 3;
  }

  .volume input {
    width: 120px;
  }

}


