.vanel-endurance-links { margin: 0 0 1rem 0; }
.vanel-endurance-link {
    display: inline-block;
    margin: 0 0.5rem 0.5rem 0;
    padding: 0.5rem 0.85rem;
    background: #1979c3;
    color: #fff !important;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 600;
}
.vanel-endurance-link:hover { background: #136bad; text-decoration: none; }

/* Generic icon (used inside the calculator page label as well). */
.vanel-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    background: #1979c3;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    cursor: help;
    line-height: 1;
    user-select: none;
    vertical-align: middle;
    flex-shrink: 0;
}
.vanel-tip:focus { outline: 2px solid #1979c3; outline-offset: 2px; }

/* Hotspot context: Tridhyatech ships .product-info with overflow:hidden +
   min/max-width: 80px, which clips the icon. Keep the original input width
   pinned and only widen the wrapper enough to fit the icon. */
.hotspot .product-info {
    overflow: visible !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
}
.hotspot .pro-detail-div {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.hotspot .hotspot-attr_r,
.hotspot [class^="hotspot-"][class$="-detail"],
.hotspot [id^="hotspot-"] {
    display: inline-block;
    width: auto;
}
.hotspot .image-input-text {
    width: 56px;
    box-sizing: border-box;
}
.hotspot .vanel-tip {
    position: relative;
    margin-left: 0;
    width: 16px;
    height: 16px;
    font-size: 11px;
}

/* Body-attached popup positioned by tooltip.js — escapes any overflow:hidden. */
.vanel-tip-popup {
    display: none;
    position: fixed;
    background: #2b2b2b;
    color: #fff;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.55;
    max-width: 340px;
    width: max-content;
    white-space: pre-line; /* preserve \n line breaks from tooltip text */
    text-align: left;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    pointer-events: none;
}
.vanel-tip-popup.is-visible { display: block; }
.vanel-tip-popup::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
}
.vanel-tip-popup[data-placement="top"]::after {
    top: 100%;
    border-top-color: #2b2b2b;
}
.vanel-tip-popup[data-placement="bottom"]::after {
    bottom: 100%;
    border-bottom-color: #2b2b2b;
}
