@import url("https://cdnjs.cloudflare.com/ajax/libs/viewerjs/1.11.6/viewer.min.css");

.custom-zoom-hint {
  position: absolute;
  bottom: 80px;
  right: 20px;

  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 6px 10px;
  border-radius: 20px;

  font-family: sans-serif;
  font-size: 12px;
  line-height: 1.3;

  z-index: 2050;
  pointer-events: none;

  display: flex;
  align-items: center;
  gap: 6px;

  transition: opacity 0.3s;

  max-width: 260px;
  text-align: center;
  white-space: normal;
  word-break: break-word;

  opacity: 0;
}


/* Icon */
.custom-zoom-hint svg {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px;
  fill: white;
}


/* ✅ Mobile fix */
@media (max-width: 768px) {
  .custom-zoom-hint {
    top: 10px;
    bottom: auto;
    right: 50%;
    transform: translateX(50%);

    font-size: 11.5px;
    padding: 6px 9px;

    max-width: 78%;
    line-height: 1.25;
  }
}


/* Performance */
.viewer-canvas img {
  will-change: transform;
}


.magnify, .card-note {
  cursor: pointer;
}