#audioPlayer1 {
  background-image: url("../../assets/img/logo.png?h=44988d185d7b6c26c8c58d084f8b0e1f");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
}

.audio-player1 {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  min-width: 300px;
  width: 95%;
  margin: 0 auto;
}

.audio-player1 .album-art {
  width: 100px;
  height: 100px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  margin: 14px;
}

.audio-player1 .track-info {
  text-align: center;
  margin-bottom: 2px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-start;
}

.audio-player1 .track-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.audio-player1 .track-artist {
  color: #d3d3d3;
  font-size: 0.9rem;
}

.audio-player1 .progress-container {
  margin-bottom: 0px;
}

.audio-player1 .progress-bar {
  height: 6px;
  background: rgba(0,0,0,0);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
}

.audio-player1 .progress {
  height: 100%;
  background: var(--bs-primary);
  width: 0%;
  transition: width 0.1s linear;
  border-radius: 1px;
}

.audio-player1 .time-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #666;
  margin-top: 5px;
}

.audio-player1 .controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  font-size: 12px;
}

.audio-player1 .control-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.audio-player1 .control-btn.play-pause {
  width: 35px;
  height: 35px;
  background: var(--bs-primary);
  color: white;
}

.audio-player1 .volume-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.audio-player1 .volume-slider {
  flex-grow: 1;
  height: 8px;
  background: #e9ecef;
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.audio-player1 .volume-level {
  height: 100%;
  background: var(--bs-primary);
  border-radius: 2px;
  width: 100%;
}

.audio-player1 .bar {
  width: 3px;
  background: #1db954;
  border-radius: 3px;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% {
    height: 5px;
  }
  50% {
    height: 20px;
  }
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  overflow: auto;
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
  opacity: 1;
  transform: translateY(0);
}

.tooltip {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: rgb(0, 0, 0);
  padding: 4px 6px;
  font-size: 12px;
  border-radius: 4px;
  z-index: 999;
}

#popupSecondary {
  position: fixed;
  top: 0px;
  padding: 10px;
  border-radius: 10px;
  max-height: 100vh;
  overflow-y: auto;
  min-width: 300px;
  padding-top: 40px;
  padding-bottom: 130px;
  margin-bottom: 0px;
  margin-top: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup-content {
  height: auto;
}

.popup-div-song-details {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: flex-start;
  align-content: center;
  color: white;
}

.song-card-queue {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.song-card-container-queue .song-card-queue2 {
  margin-top: 10px;
  margin-left: -20px;
  will-change: transform, opacity;
  position: relative;
  z-index: 1;
  transition: none;
  margin-bottom: 5px;
}

/* Class for elements being dragged */

.song-card-container-queue .being-dragged {
  z-index: 100;
  opacity: 0.9;
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Enhanced drag appearance */

.sortable-drag {
  opacity: 0.9 !important;
  transform: scale(1.02) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
  z-index: 100 !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  transition: none !important;
}

/* Ghost element (placeholder where item was) */

.sortable-ghost {
  opacity: 0.35 !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
  transform: scale(0.98) !important;
  box-shadow: none !important;
  border: 1px dashed rgba(255, 255, 255, 0.15) !important;
  transition: all 0.2s ease-out !important;
}

/* Element being moved/chosen */

.sortable-chosen {
  z-index: 10;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

/* Fallback (clone) element that follows cursor/touch */

.sortable-fallback {
  opacity: 0.9 !important;
  transform: scale(1.02) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
  pointer-events: none !important;
  z-index: 1000 !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.disable-scrolling {
  touch-action: none;
  overflow: hidden;
  height: 100%;
  position: fixed;
  width: 100%;
}

.drag-handle {
  cursor: grab;
  padding: 15px 10px;
  padding-left: 15px;
  display: flex;
  align-items: center;
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.drag-handle:active {
  cursor: grabbing;
}

/* Add these animation-specific classes */

@keyframes moveUp {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100%);
  }
}

@keyframes moveDown {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(100%);
  }
}

/* Apply to specific elements during sorting based on data-attributes */

.song-card-queue2[data-moving="up"] {
  animation: moveUp 0.3s ease-out forwards;
}

.song-card-queue2[data-moving="down"] {
  animation: moveDown 0.3s ease-out forwards;
}

#trackInfoPopup {
  max-width: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-content: flex-start;
  justify-content: flex-start;
  width: auto;
  overflow: scroll;
  white-space: nowrap;
  scrollbar-width: none;
  min-width: 180px;
}

#trackInfoPopup::-webkit-scrollbar {
  display: none;
}

#trackTitlePopup {
  display: flex;
  justify-content: flex-start;
}

#upNextDiv {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  min-width: 350px;
}

#autoPlay {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: row;
  gap: 10px;
  cursor: pointer;
}

