.tooltip {
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.tooltip::after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
    margin-right: 2px;
    margin-top: -2px;
    width: 14px;
    height: 14px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 12 12A12.013 12.013 0 0 0 12 0Zm0 22a10 10 0 1 1 10-10 10.011 10.011 0 0 1-10 10Z'/%3E%3Cpath d='M12.717 5.063A4 4 0 0 0 8 9a1 1 0 0 0 2 0 2 2 0 0 1 2.371-1.967 2.024 2.024 0 0 1 1.6 1.595 2 2 0 0 1-1 2.125A3.954 3.954 0 0 0 11 14.257V15a1 1 0 0 0 2 0v-.743a1.982 1.982 0 0 1 .93-1.752 4 4 0 0 0-1.213-7.442Z'/%3E%3Crect width='2' height='2' x='11' y='17' rx='1'/%3E%3C/svg%3E");
}

.tooltip-desc {
    position: absolute;
    left: 50%;
    top: 100%;
    display: block;
    pointer-events: none;
    opacity: 0;
    padding: 6px 15px;
    /* border: 1px solid black; */
    border-radius: 5px;
    font-size: small;
    background-color: white;
    color: black;
    transform: translateX(-35%);
    width: max-content;
    max-width: 375px;
    transition-duration: .15s;
    transition-property: all;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    box-shadow: 0 3px 20px rgba(0,0,0,.2);
}

.tooltip:hover .tooltip-desc, 
.tooltip:focus .tooltip-desc {
    opacity: 100%;
    pointer-events: initial;
}