
.radio-bar-responsive,
.radio-bar-responsive * {
  box-sizing: border-box;
}

.radio-bar-responsive {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  max-width: 100vw;
  background: #800000;
  z-index: 999999;
}

.bar-content {
  position: relative; /* CLAVE para centrar absoluto */
  width: 100%;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.left-section {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.logo-container {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
  border: 2px solid #ffd600;
}

.logo-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.info-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.radio-name {
  font-size: 11px;
  font-weight: 900;
  color: #fff;
}

.track-name {
  font-size: 10px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.center-section {
  position: absolute;      /* 🔑 */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-label {
  font-size: 10px;
  font-weight: 800;
  color: #fff;
}

.play-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #ffd600;
  font-size: 18px;
}

/* DESKTOP */
.right-section {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* MOBILE */
@media (max-width: 768px) {
  .right-section {
    display: none;
  }
  .center-section {
    position: static;
    transform: none;
  }
}


/* === FIX ALTURA REPRODUCTOR === */
.radio-bar-responsive {
  min-height: 70px;
  padding-bottom: env(safe-area-inset-bottom);
}

.bar-content {
  min-height: 70px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
}

@media (max-width: 480px) {
  .radio-bar-responsive {
    min-height: 78px;
  }
}


/* === LIVE LABEL & TITLES === */
.radio-title {
  font-size: 22px;
  font-weight: 700;
}

.radio-live {
  margin-left: 10px;
  font-weight: 800;
  color: #fff;
  background: red;
  padding: 4px 10px;
  border-radius: 4px;
  animation: blinkLive 1.2s infinite;
}

@keyframes blinkLive {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.song-title {
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
}


/* === RADIO TITLE & LIVE === */
.radio-title {
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
}

.radio-title .radio-number {
  margin-right: 8px;
}

.radio-live {
  margin-left: 10px;
  font-weight: 800;
  color: #fff;
  background: #d00000;
  padding: 4px 10px;
  border-radius: 4px;
  animation: blinkLive 1s infinite;
}

@keyframes blinkLive {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* === SONG CAROUSEL === */
.song-title {
  font-size: 20px;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
}

.song-marquee {
  display: inline-block;
  padding-left: 100%;
  animation: songLoop 12s linear infinite;
}

@keyframes songLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}


/* === AJUSTE BARRA ROJA Y TITULO === */
.radio-live {
  padding: 2px 8px;       /* barra roja más fina */
  font-size: 13px;
  border-radius: 3px;
}

.radio-title {
  font-weight: 800;      /* negrita clara sin exagerar */
}


/* === FIX EN VIVO VISIBILITY === */
.radio-live {
  display: inline-block !important;
  visibility: visible !important;
}


/* === FORZAR TITULO RADIO === */
.radio-title {
  text-transform: uppercase !important;
  font-weight: 900 !important;
  font-size: 24px !important;
}

/* === FORZAR LIMITE CANCIONES === */
.song-title {
  max-width: 100%;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
