html,
body,
#viewDiv {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
}

#loadingOverlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, .8);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
}

/* Toast with the slide TITLE only */
#messageDiv {
  position: absolute;
  bottom: 25px;
  left: 10px;
  background: rgba(0, 123, 255, .85);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 18px;
  animation: fade .4s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
  transition: background-color .3s ease;
  max-width: 420px;
  line-height: 1.3;
  white-space: normal;
}

#messageDiv:hover {
  background: rgba(0, 96, 200, .85);
}

@keyframes fade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* Play/Pause control */
.tour-ctrl {
  padding: 8px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

.tour-ctrl button {
  cursor: pointer;
  background: #22c55e;
  border: none;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  transition: .2s;
}

.tour-ctrl button:hover {
  filter: brightness(0.95);
}

.tour-ctrl button:disabled {
  opacity: .6;
  cursor: not-allowed;
}