/* =============================
   🔹 Estilos para Player 3 (Minimalista)
   ============================= */

.player-container.player-minimal {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 10px 15px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

/* 🎵 Estructura interior */
.player-mini.minimal-layout {
  display: flex;
  align-items: center;
  width: 100%;
}

/* 📷 Logo circular o rectangular */
.mini-left img.artist-cover {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 12px;
  border: 2px solid var(--icon-color, #ffffff);
}

/* 📻 Nombre de la radio */
.mini-name {
  flex-grow: 1;
  font-size: 16px;
  font-weight: bold;
  color: var(--text-color, #ffffff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 🎛 Controles de reproducción */
.mini-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ▶️ Botón de reproducción */
.mini-controls button {
  background: none;
  border: none;
  color: var(--icon-color, #ffffff);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}

.mini-controls button:hover {
  color: var(--highlight-color, #00ff88);
}

google-cast-launcher.cast-button {
  --disconnected-color: var(--icon-color, #ffffff);
  --connected-color: var(--highlight-color, #00ff88);
  --protected-color: #ff6b6b;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-color, #ffffff);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  padding: 0;
}

google-cast-launcher.cast-button:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}

google-cast-launcher.cast-button.cast-button--connected {
  border-color: var(--highlight-color, #00ff88);
  background: rgba(0, 255, 136, 0.18);
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.35);
}

google-cast-launcher.cast-button.cast-button--hidden {
  display: none !important;
}

google-cast-launcher.cast-button.cast-button--disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* 🔊 Control de volumen */
.mini-controls input[type="range"] {
  width: 80px;
  height: 4px;
  background: var(--icon-color, #ffffff);
  border-radius: 2px;
  cursor: pointer;
  accent-color: var(--icon-color, #ffffff);
}

.mini-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  background-color: var(--icon-color, #ffffff);
  border-radius: 50%;
  cursor: pointer;
}

.mini-controls input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background-color: var(--icon-color, #ffffff);
  border-radius: 50%;
  cursor: pointer;
}
.scrolling-wrapper {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.scrolling-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-text 15s linear infinite;
  white-space: nowrap;
}

.scrolling-text.no-scroll {
  animation: none;
  padding-left: 0;
}

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