// todo: possibly add tooltip placement option
.tooltip {
  position: relative;
  display: inline-block;

  .tooltipTitle {
    min-width: 60px;
    background-color: rgba(255, 255, 255, 0.89);
    color: #000000;
    text-align: center;
    font-size: 0.6rem;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 50%;
    margin-left: -30px;
    visibility: hidden;
    cursor: initial;
    user-select: none;
    opacity: 0;
    transition: 0.2s;
  }

  &:hover {
    .tooltipTitle {
      visibility: visible;
      opacity: 1;
    }
  }
}

.dark .tooltipTitle {
  background-color: rgba(0, 0, 0, 0.79);
  color: #ffffff;
}
