.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #888;
    color: #888;
    font-size: 10px;
    font-style: italic;
    font-family: serif;
    cursor: help;
    margin-left: 4px;
    vertical-align: middle;
    flex-shrink: 0;
}

.info-icon:hover {
    border-color: #333;
    color: #333;
}

.tooltip {
    position: absolute;
}

.tooltip .tooltiptext {
    background-color: white;
    color: black;
    text-align: center;
    border-radius: 6px;
    border: 1px solid #aaaaaa;
    position: absolute;
    z-index: 10;
    font-size: 11px;
    margin-bottom: 9px;
    font-weight: 400;
    font-style: normal;
    opacity: 1;
}

.tooltip.top .tooltiptext {
    width: 170px;
    bottom: 100%;
    left: 50%;
}

.tooltip.bottom .tooltiptext {
    width: 170px;
    top: 120%;
    left: 50%;
}

.tooltip.right .tooltiptext {
    top: 2px;
    left: 102%;
}

.tooltip.left .tooltiptext {
    top: 2px;
    right: 102%;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.tooltip.disabled-tooltip:hover .tooltiptext {
    visibility: hidden;
}

.tooltip.top .tooltiptext::after {
  content: " ";
  position: absolute;
  top: 100%; /* At the bottom of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

.tooltip.bottom .tooltiptext::after {
  content: " ";
  position: absolute;
  bottom: 100%;  /* At the top of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}

.tooltip.right .tooltiptext::after {
  content: " ";
  position: absolute;
  top: 50%;
  right: 100%; /* To the left of the tooltip */
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent black transparent transparent;
}

.tooltip.left .tooltiptext::after {
  content: " ";
  position: absolute;
  top: 50%;
  left: 100%; /* To the right of the tooltip */
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent black;
}
