/* bible_full.php only: the "search within these results" mini search box, the verse-list entries,
   the KJV/BSB comparison columns, and the page/filter controls (bf-*). No `a { color: ... }` rule
   here, deliberately -- the auto-linked cross-reference words in verse text need to stay the
   browser's own default link color in light mode; see index.php's css/index.css for the fuller
   reasoning (this page follows the same rule). */

input[type=text] {
    width: 100%;
    font-family: inherit;
    font-size: 1em;
    padding: 8px;
    border: 1px solid var(--fg);
}
input[type=text]::placeholder {
    color: var(--fg);
    opacity: 1;
    font-weight: normal;
}
button {
    font-family: inherit;
    font-size: 1em;
    padding: 8px 16px;
    border: 1px solid var(--fg);
    background: var(--bg);
    cursor: pointer;
}
.entry {
    margin-bottom: 24px;
    border-top: 1px solid var(--fg);
    padding-top: 12px;
}
.headword {
    font-weight: bold;
    font-size: 1.1em;
}
.sense {
    margin: 6px 0 6px 16px;
}
.no-results {
    margin-top: 12px;
}
.link-tooltip {
    position: fixed;
    max-width: 320px;
    background: #222222;
    color: #ffffff;
    font-size: 0.85em;
    line-height: 1.4;
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    pointer-events: none;
}
.edition-label.edition-bsb {
    background: var(--bsb-color);
    padding: 1px 5px;
    border-radius: 3px;
    color: #000000;
}
.edition-label.edition-kjv {
    background: var(--kjv-color);
    padding: 1px 5px;
    border-radius: 3px;
    color: #000000;
}
.bible-note {
    font-size: 0.85em;
    color: var(--muted);
}
.bible-verse-ref {
    font-weight: bold;
    color: var(--fg);
}
.bible-results mark {
    background: #fff3a3;
    color: inherit;
    padding: 0 1px;
}
.bible-vnum {
    font-size: 0.7em;
    color: var(--muted);
    margin-right: 2px;
}
.bible-gap {
    color: var(--muted);
}
.results-count {
    font-size: 0.85em;
    color: var(--muted);
    margin: 0;
}
.bf-wrap { max-width: 900px; }
.bf-back { font-size: 0.85em; margin: 4px 0 14px 0; }
.bf-back a, .bf-clear { color: var(--fg); }
.bf-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 14px 0; }
.bf-filter input[type=text] { flex: 1 1 220px; width: auto; min-width: 0; }
.bf-filter select { font-family: inherit; font-size: 1em; padding: 8px; border: 1px solid var(--fg); background: var(--bg); color: var(--fg); max-width: 100%; }
.bf-pager { margin: 14px 0; font-size: 0.95em; }
.bf-pager a { color: var(--fg); }
.bf-pager .bf-current { background: #dcedc8; color: #000000; padding: 1px 6px; border-radius: 3px; }
.bf-pager .bf-off { color: var(--muted); }
.bf-gap { color: var(--muted); }
.bf-list .bible-verse { margin: 8px 0 8px 0; }
/* both versions side by side (same rules as on the results page) */
.bible-head, .bible-cells { display: -webkit-box; display: -webkit-flex; display: flex; margin-left: 16px; }
.bible-head { margin-bottom: 8px; }
.bible-cell { -webkit-box-flex: 1; -webkit-flex: 1 1 0; flex: 1 1 0; min-width: 0; }
.bible-cell + .bible-cell { margin-left: 24px; }
.bible-row { margin: 0 0 12px 0; }
@media (max-width: 640px) {
    .bible-head { display: none; }
    .bible-cells { display: block; }
    .bible-cell + .bible-cell { margin-left: 0; margin-top: 4px; }
    .bible-cell:empty { display: none; }
    .bible-cell[data-v]::before { content: attr(data-label); display: inline-block; font-size: 0.8em; font-weight: bold; color: #000000; padding: 0 5px; margin-right: 6px; border-radius: 3px; line-height: 1.4; }
    .bible-cell[data-v="kjv"]::before { background: var(--kjv-color); }
    .bible-cell[data-v="bsb"]::before { background: var(--bsb-color); }
}
