/* Host panel */
.panel {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: none;
}

.imgContainer {
  height: 400px;
  width: 400px;
  position: relative;
  user-select: none;
  border: dashed 4px rgba(0, 0, 0, 0);
  border-radius: 8px;
  margin: auto;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.imgContainer.init {
  border: dashed 4px rgba(0, 0, 0, 1);
}

.imgContainer span {
  margin: 0;
  position: absolute;
  pointer-events: none;
  top: 50%;
  width: 100%;
  text-align: center;
  visibility: hidden;
}

.imgContainer.init span {
  visibility: visible;
}

.imgContainer.init img {
  visibility: hidden;
}

.imgContainer img {
  max-width: 100%;
  max-height: 100%;
  pointer-events: none;
  height: auto;
  width: auto;
}

.dragover {
  border: solid 4px rgba(0, 120, 255, 1);
  background-color: rgba(150, 210, 255, 0.5);
}

.imgContainer.dragover span {
  visibility: visible;
}