.m-lens-container {
  display: inline-block;
  position: relative;
  vertical-align: bottom;
  cursor: crosshair;
}

.m-lens {
  position: absolute;
  z-index: 2;
  background: rgba(0, 0, 0, 0.3);
  height: 100px;
  width: 100px;
  display: none;
  pointer-events: none;
}

.m-lens-container:hover .m-lens {
  display: block;
}

.image-container.horizontal {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.image-container.vertical {
  flex-direction: column;
}

.zoom-area {
  display: none;
  position: fixed;
  width: 350px;
  height: 350px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.zoom-area.active {
  display: block;
}

#modal-container {
  display: none;
  position: fixed;
  background: rgba(0, 0, 0, 0.5);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

#modal-container>div {
  display: flex;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
}

#modal-container>div>img {
  width: 90vw;
  height: 90vh;
  object-fit: contain;
}

img.popup {
  cursor: crosshair;
}

@media (hover: none) and (pointer: coarse) {

  .m-lens,
  .zoom-area {
    display: none !important;
  }
}

#custom-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 8px;
  border-radius: 5px;
  font-size: 10px;
  white-space: nowrap;
  display: none;
  pointer-events: none;
  z-index: 500;
}

@media (hover: none) and (pointer: coarse) {
  #custom-tooltip {
    display: none !important;
  }
}

.cell {
  text-align: center;
}

.cell img {
  display: block;
  margin: auto;
}

.indent1 {
  text-indent: -1em;
  padding-left: 1em;
}

.indent2 {
  text-indent: -2em;
  padding-left: 2em;
}