/**
 * Estilos para Sistema de Favoritos
 * @package Photomedia
 */

/* Botão de favorito quando está salvo */
.btn-salvar-artigo.artigo-salvo {
  background-color: #10b981 !important;
  color: white !important;
  border-color: #10b981 !important;
}

.btn-salvar-artigo.artigo-salvo:hover {
  background-color: #059669 !important;
}

/* Notificação Toast */
.favoritos-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 16px 24px;
  border-radius: 8px;
  background: #1f2937;
  color: white;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.favoritos-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.favoritos-toast-success {
  background: #10b981;
}

.favoritos-toast-error {
  background: #ef4444;
}

.favoritos-toast-info {
  background: #3b82f6;
}

/* Animação de pulso para o ícone quando salvo */
.btn-salvar-artigo.artigo-salvo svg {
  animation: pulse 0.5s ease;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Responsivo para mobile */
@media (max-width: 640px) {
  .favoritos-toast {
    bottom: 20px;
    right: 20px;
    left: 20px;
    text-align: center;
  }
}
