@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat+Subrayada:wght@400;700&display=swap');


.player-buttons {
  display: flex;
  gap: 10px;
  /*margin-top: 10px;*/
}


.play-button,
.queue-move-button,
.remove-button,
.add-to-queue-button {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0; /* ensure no default padding adds to size */
}

.next-button {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0; /* ensure no default padding adds to size */
  margin-right: 10px;
}

/* Specific button colors */
.next-button {
  background-color: #007bff; /* Blue */
  color: white;
}

.next-button:hover {
  background-color: #0056b3;
}

.song-actions {
  margin-left: auto;
  display: flex;
  gap: 5px; /* Space between buttons */
  align-items: center;
}

.queue-move-button {
  background-color: #6c757d; /* Grey */
  color: white;
}

.queue-move-button:hover {
  background-color: #5a6268;
}

.queue-move-button.greyed-out {
  opacity: 0.5;
  cursor: default;
  background-color: #6c757d; /* Keep original grey background */
}

.queue-move-button.greyed-out:hover {
  background-color: #6c757d; /* Prevent hover effect when greyed out */
}

.play-button {
  background: #28a745; /* Green */
  color: white;
  margin-left: 5px; /* Space from move buttons */
}

.remove-button {
  background: #dc3545;
  color: white;
  margin-left: auto;
}


.add-to-queue-button {
  background-color: #007bff; /* Blue */
  color: white;
  border-radius: 4px;
  margin-left: auto;
}

/* Icon size */
.play-button svg,
.queue-move-button svg,
.remove-button svg,
.add-to-queue-button svg {
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

.next-button svg {
  width: 32px;
  height: 32px;
  vertical-align: middle;
}


/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-50px); }
}

@keyframes moveUpEffect {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

@keyframes moveDownEffect {
  0% { transform: translateY(0); }
  100% { transform: translateY(10px); }
}

@keyframes playerPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 10px rgba(40, 167, 69, 0.1);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}

.animate-fade-out {
  animation: fadeOut 0.3s ease-out forwards;
}

.animate-move-up {
  animation: moveUpEffect 0.4s ease-in-out;
}

.animate-move-down {
  animation: moveDownEffect 0.4s ease-in-out;
}

.animate-player-pulse {
  animation: playerPulse 0.8s ease-out;
}


/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 540px) {

  
  .play-button,
  .queue-move-button,
  .remove-button,
  .add-to-queue-button {
    width: 18px;
    height: 18px;
  }

  /* Icon size */
  .play-button svg,
  .queue-move-button svg,
  .remove-button svg,
  .add-to-queue-button svg {
    width: 18px;
    height: 18px;
  }
}