/* Container fixado no canto inferior direito */
#toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* Estilo do toast */
#toast-container .toast {
  background: #fff;
  color: #333;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-left: 4px solid #D4AF37;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  animation: fadeIn 0.5s forwards, fadeOut 0.5s forwards 3s;
}

/* Animações */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* Responsividade */
@media (max-width: 600px) {
  #toast-container {
    right: 0;
    left: 0;
    bottom: 10px;
    align-items: center;
  }

  #toast-container .toast {
    max-width: 90%;
    font-size: 0.85rem;
    text-align: center;
  }
}
