/* GF Tooltip Lite  */

.gftl-tooltip-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    margin-bottom: 6px;
    vertical-align: middle;
    cursor: default;
}

/* The circular ? badge */
.gftl-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #134063;   /* Dark navy blue */
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    font-style: normal;
    line-height: 1;
    user-select: none;
    transition: background 0.15s ease;
}

.gftl-tooltip-wrap:hover .gftl-icon,
.gftl-tooltip-wrap:focus .gftl-icon {
    background: #005177;
}

/* the tooltip bubble */
.gftl-bubble {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;

    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);

    min-width: 180px;
    max-width: 280px;
    padding: 8px 12px;
    border-radius: 4px;
    background: #134063;
    color: #f0f0f0;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
    white-space: normal;
    word-wrap: break-word;
    z-index: 9999;

    transition: opacity 0.18s ease, transform 0.18s ease;
    transform: translateX(-50%) translateY(4px);
}

.gtfl-bubble > a {
    color: #ffffff;
    text-decoration: underline;
}

/* Arrow */
.gftl-bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1d2327;
}

/* Show on hover / focus */
.gftl-tooltip-wrap:hover .gftl-bubble,
.gftl-tooltip-wrap:focus .gftl-bubble,
.gftl-tooltip-wrap.is-visible .gftl-bubble {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* RTL support */
[dir="rtl"] .gftl-tooltip-wrap {
    margin-left: 0;
    margin-right: 6px;
}
