/* Tooltip container */
.custom-tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.custom-tooltip-box {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s;
    position: absolute;
    z-index: 9999;
    top: 120%;
    left: 0;
    background: #ecf6ff;
    color: #212529;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 0.5rem 0.75rem;
    font-size: 14px;
    line-height: 1.4;
    min-width: 417px;
    max-width: 100%;
    text-align: left;
    white-space: normal;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Tooltip arrow */
.custom-tooltip-box::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 10px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #dee2e6 transparent;
}

/* Hiện tooltip khi active */
.custom-tooltip-container.active .custom-tooltip-box {
    visibility: visible;
    opacity: 1;
}
