/* Tooltip container */
.fx-currency-converter-tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
    /* If you want dots under the hoverable text */
}

/* Tooltip text */
.fx-currency-converter-tooltip .tooltip-text {
    font-size: 0.75rem;
    visibility: hidden;
    width: 160px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 0.25rem;
    padding: 0.25rem 0.25rem;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
    /* Use half of the width (120px/2 = 60px), to center the tooltip */

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

/* Tooltip arrow */
.fx-currency-converter-tooltip .tooltip-text::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;
    /* Triangular tooltip arrow */
}

/* Show the tooltip text when you mouse over the tooltip container */
.fx-currency-converter-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}