/**
 * Scripture Verse Tooltip Styles
 *
 * Uses <span> elements (not <a>) to avoid conflicts with content plugins.
 * The JS module adds interactive behavior on hover/tap/keyboard.
 * Without JS, the span renders as plain inline text.
 *
 * @package  Proclaim.Site
 * @since    10.1.0
 */

.proclaim-scripture-ref {
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
    color: inherit;
}

.proclaim-scripture-ref:hover,
.proclaim-scripture-ref:focus-visible {
    text-decoration-style: solid;
    color: var(--bs-link-color, #0d6efd);
    outline: none;
}

.proclaim-scripture-popover {
    max-width: 380px;
}

.proclaim-scripture-popover .popover-body {
    font-size: 0.9rem;
    line-height: 1.5;
    max-height: 300px;
    overflow-y: auto;
}

.proclaim-tooltip-loading {
    text-align: center;
    padding: 0.5rem 1rem;
}

.proclaim-tooltip-body {
    margin-bottom: 0.25rem;
}

.proclaim-tooltip-body p:last-child {
    margin-bottom: 0;
}

.proclaim-tooltip-copyright {
    font-size: 0.75rem;
    color: var(--bs-secondary-color, #6c757d);
    border-top: 1px solid var(--bs-border-color, #dee2e6);
    padding-top: 0.25rem;
    margin-top: 0.25rem;
}

.proclaim-tooltip-error {
    color: var(--bs-secondary-color, #6c757d);
    font-style: italic;
    padding: 0.25rem 0;
}

/* Print mode: render as plain text, no interactive styling */
@media print {
    .proclaim-scripture-ref {
        text-decoration: none;
        color: inherit;
        cursor: default;
        pointer-events: none;
    }
}
