.misticeasearc-text-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.2);
  backdrop-filter: brightness(0.2);
  -webkit-backdrop-filter: brightness(0.2);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}


.misticeasearc-text-popup-box {
  position: relative;
  background: #000;
  padding: 10px;
  box-sizing: border-box;
  overflow: visible;

  
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  
  flex: 0 0 auto;
  align-self: flex-start;
  height: auto;
  min-height: 0;
  
  max-width: 800px;
  max-height: 800px;
}


.misticeasearc-text-close {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  z-index: 1000000;
  background: rgba(0,0,0,0.5);
  border: 2px solid #fff;
  border-radius: 50%;
}
.misticeasearc-text-close:hover {
  background: rgba(0,0,0,0.7);
}


.misticeasearc-text-content-wrap {
  max-width: 100%;
  width: auto;
  overflow: auto;
  box-sizing: border-box;
  margin: 0;
  
  min-width: 0;
  max-height: 100%;
}


.misticeasearc-text-content {
  background: #fff;
  color: #000;
  padding: 10px;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}