 /* Tooltip container */
 .tooltip {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    background-color: #F5F5F5;
    color: black;
    text-align: left;
    padding-left: 150px;
    border-radius: 6px;
    width: 400px;
    height: 100px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    top: 20px;
    right: 105%; 

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    top: 0;
    left: 100%; /* To the right of the tooltip */
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent black;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
} 