.image-preview {
  display: inline-block;
  position: relative;
  margin: 5px;
  cursor: grab;
  transition: transform 0.2s ease;
}

.image-preview.dragging {
  opacity: 0.5;
  z-index: 1000;
  cursor: grabbing;
}

.image-preview.placeholder {
  border: 2px dashed #00f;
  background: rgba(0,0,255,0.1);
  width: 150px;
  height: auto;
  display: inline-block;
}

#advert_image_container img{
    width: 10rem;
    height: 10rem;
    object-fit: fill;
}

#advert_image_container button{
    background: black;
    border-radius: 5px;
    z-index: 2;
    color: white;
    border-color: black;
    position: absolute;
    top: 5px; 
    right: 5px;
}