/* Global tooltip styling */

.scc-tooltip {
    display: inline;
    cursor: default;
    font-weight: normal;
    font-size: 14px;
    color: #646970;
    margin-left: 6px;
    user-select: none;
    transition: color 0.2s ease;
}

.scc-tooltip::before {
    content: '(';
}

.scc-tooltip::after {
    content: ')';
}

.scc-tooltip:hover {
    color: #1d2327;
}

/* When tooltip is on a real interactive element (button, link) — no parens, no style override */
a.scc-tooltip,
button.scc-tooltip {
    cursor: pointer;
    display: inline-block;
    color: #2271b1;
    font-weight: inherit;
    font-size: inherit;
    margin-left: 0;
}

a.scc-tooltip:hover,
a.scc-tooltip:focus {
    color: #135e96;
}

a.scc-tooltip::before,
a.scc-tooltip::after,
button.scc-tooltip::before,
button.scc-tooltip::after {
    content: none;
}

.scc-tooltip-box {
    display: none;
    position: fixed;
    background: #1d2327;
    color: #fff;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.5;
    max-width: 280px;
    word-wrap: break-word;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-weight: normal;
    pointer-events: none;
}

/* Small arrow pointing to trigger */
.scc-tooltip-box::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 12px;
    border: 5px solid transparent;
    border-bottom-color: #1d2327;
}
