/* ASC Player Wrapper Styles */
.player-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #f5f5f5;
  border-top: 1px solid #ddd;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 80px;
}

.player-wrapper.is-showing {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* Recently Played Mini Integration */
.player-wrapper .asc-rpm {
  flex: 1;
  min-width: 0;
}

.player-wrapper .asc-rpm .recently-played-mini-widget {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-wrapper .asc-rpm .song-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.player-wrapper .asc-rpm .now-playing-label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.player-wrapper .asc-rpm .title {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-wrapper .asc-rpm .artist {
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Controls */
.player-wrapper .controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Play/Pause Button */
.player-wrapper .play-pause {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #20b2aa;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.player-wrapper .play-pause:hover {
  background: #1a9b94;
}

.player-wrapper .play-pause i {
  font-size: 20px;
}

/* Volume Container */
.player-wrapper .volume-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.player-wrapper .volume-container input[type='range'] {
  width: 100px;
  height: 4px;
  border-radius: 2px;
  background: #ddd;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.player-wrapper .volume-container input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #20b2aa;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.player-wrapper
  .volume-container
  input[type='range']::-webkit-slider-thumb:hover {
  background: #1a9b94;
}

.player-wrapper .volume-container input[type='range']::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #20b2aa;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease;
}

.player-wrapper .volume-container input[type='range']::-moz-range-thumb:hover {
  background: #1a9b94;
}

.player-wrapper .volume-container i {
  font-size: 16px;
  color: #666;
}

/* Close Button */
.player-wrapper .close-player {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #666;
  transition: color 0.2s ease;
  position: absolute;
  right: 10px;
  top: 10px;
}

.player-wrapper .close-player:hover {
  color: #333;
}

.player-wrapper .close-player i {
  font-size: 18px;
}

/* Is Playing Indicator */
#is-playing {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 10px;
  height: 10px;
  background: #20b2aa;
  border-radius: 50%;
  display: none;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(32, 178, 170, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(32, 178, 170, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(32, 178, 170, 0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .player-wrapper {
    padding: 10px 15px;
    gap: 15px;
    min-height: 70px;
  }

  .player-wrapper .asc-rpm .title {
    font-size: 16px;
  }

  .player-wrapper .asc-rpm .artist {
    font-size: 13px;
  }

  .player-wrapper .play-pause {
    width: 45px;
    height: 45px;
  }

  .player-wrapper .play-pause i {
    font-size: 18px;
  }

  .player-wrapper .volume-container input[type='range'] {
    width: 80px;
  }

  .player-wrapper .asc-rpm .now-playing-label {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .player-wrapper {
    padding: 8px 12px;
    gap: 12px;
    min-height: 60px;
  }

  .player-wrapper .asc-rpm .title {
    font-size: 14px;
  }

  .player-wrapper .asc-rpm .artist {
    font-size: 12px;
  }

  .player-wrapper .play-pause {
    width: 40px;
    height: 40px;
  }

  .player-wrapper .play-pause i {
    font-size: 16px;
  }

  .player-wrapper .volume-container input[type='range'] {
    width: 60px;
  }

  .player-wrapper .asc-rpm .now-playing-label {
    font-size: 10px;
  }
}




