﻿/* Add any self-customization css to this sheet and this will applied to all the pages. */

.tooltip-container {
    position: relative;
    display: inline-block;
    margin-left: 0.5rem;
}

.info-icon {
    cursor: help;
    color: #17a2b8;
    transition: color 0.3s ease;
}

    .info-icon:hover {
        color: #138496;
    }

.tooltip-text {
    visibility: hidden;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 0.5rem;
    width: 250px;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Optional: Add a small arrow to the tooltip */
.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}