/* ==========================================================================
   RÁDIO TAIM - COMPACT CUSTOM PLAYER & NOW PLAYING
   ========================================================================== */

#now-playing {
  color: #de9c1a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 15px;
  min-height: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

#now-playing i {
  color: #ffc107;
}

/* Compact Player Bar */
.rt-compact-player {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(20, 15, 18, 0.75);
  border: 1px solid rgba(222, 156, 26, 0.4);
  border-radius: 50px;
  padding: 6px 16px 6px 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 25px;
  max-width: 100%;
}

/* Botão Play / Stop */
.rt-cp-btn-play {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #de9c1a 0%, #b87c0e 100%);
  border: none;
  color: #1a1517;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(222, 156, 26, 0.4);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.rt-cp-btn-play:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 14px rgba(222, 156, 26, 0.6);
}

.rt-cp-btn-play:active {
  transform: scale(0.95);
}

/* Equalizador animado */
.rt-cp-equalizer {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}

.rt-cp-equalizer span {
  width: 3px;
  height: 3px;
  background-color: #de9c1a;
  border-radius: 2px;
  transition: height 0.2s ease;
}

.rt-compact-player.is-playing .rt-cp-equalizer span:nth-child(1) { animation: rt-bar 0.8s ease-in-out infinite alternate; }
.rt-compact-player.is-playing .rt-cp-equalizer span:nth-child(2) { animation: rt-bar 1.1s ease-in-out infinite alternate 0.2s; }
.rt-compact-player.is-playing .rt-cp-equalizer span:nth-child(3) { animation: rt-bar 0.7s ease-in-out infinite alternate 0.4s; }

@keyframes rt-bar {
  0% { height: 3px; }
  100% { height: 14px; }
}

/* Volume */
.rt-cp-volume {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rt-cp-btn-mute {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 0;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.rt-cp-btn-mute:hover {
  color: #de9c1a;
}

.rt-cp-slider {
  width: 75px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}

.rt-cp-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #de9c1a;
  cursor: pointer;
}

/* Botão Menu */
.rt-cp-btn-menu {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  padding: 4px 6px;
  font-size: 1.05rem;
  transition: all 0.2s ease;
  border-radius: 6px;
}

.rt-cp-btn-menu:hover {
  color: #de9c1a;
  background: rgba(255, 255, 255, 0.1);
}

/* Dropdown Menu do Player */
.rt-player-dropdown .dropdown-menu {
  background: #231c1f;
  border: 1px solid rgba(222, 156, 26, 0.3);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  padding: 8px 0;
  min-width: 240px;
}

.rt-player-dropdown .dropdown-item {
  color: #eee;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.88rem;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.15s;
}

.rt-player-dropdown .dropdown-item:hover {
  background: rgba(222, 156, 26, 0.15);
  color: #de9c1a;
}

.rt-player-dropdown .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Modal Compacto de Histórico & Sleep Timer */
.rt-compact-modal .modal-content {
  background: #201a1c;
  border: 1px solid rgba(222, 156, 26, 0.35);
  border-radius: 16px;
  color: #fff;
}

.rt-compact-modal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 18px;
}

.rt-compact-modal .modal-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 1.1rem;
  font-weight: 700;
  color: #de9c1a;
}

.rt-compact-modal .btn-close {
  filter: invert(1);
}

.rt-compact-history-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rt-compact-history-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.04);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.rt-compact-history-item img {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
}

.rt-compact-history-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.rt-compact-history-artist {
  font-size: 0.78rem;
  color: #de9c1a;
}
