tool-tip {
  display: none;
}

tool-tip[data-tool-tip-open="true"] {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10001;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

  tool-tip[data-tool-tip-open="true"]:before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
    background-color: #fff0da;
    opacity: 0.6;
    animation: overlay-on 0.3s forwards;
    cursor: pointer;
  }


.tool-tip__inner {
  animation: modal-close 0.3s forwards;
  opacity: 0;
}

  tool-tip[data-tool-tip-open="true"] .tool-tip__inner {
    animation: modal-open 0.3s forwards;
    display: block;
    position: fixed;
    background: var(--colorBody);
    box-shadow: 0 10px 20px #00000017;
    padding: 30px;
    max-width: 720px;
    min-width: 250px;
    min-height: 250px;

    
  }

@keyframes modal-open {
  0% {
    opacity: 0;
    transform: translateY(30px);
}
100% {
    opacity: 1;
    transform: translateY(0);
}
}


@media (--small) {
      width: 100%;
      max-width: 93%;
    }


.tool-tip__content {
  overflow: auto;
  max-height: 80vh; 
}

 @media (--small) {
    font-size: 0.85em;
}

.tool-tip__close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #145d39;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.tool-tip__close .icon {
  width: 28px;
  height: 28px;
  color: #fff;
}
