/* ═══════════════════════════════════════════════════════════════
   bible-search.css  —  Bible search form, results, pagination
   Used by: bibles.php (and synodala.php if applicable)
═══════════════════════════════════════════════════════════════ */

/* ── Chapter flow display ── */
.bible-chapter-heading {
  font-size: 1.1em;
  margin-bottom: 0.25em;
}

.bible-chapter-text {
  line-height: 1.9;
  text-align: justify;
}

sup.verse-num {
  font-size: 0.65em;
  font-weight: bold;
  color: #888;
  margin-right: 2px;
  vertical-align: super;
  line-height: 0;
}

/* ── Pagination ── */
.bible-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding-top: 1em;
  padding-bottom: 1em;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pager-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9em;
  padding: 4px 10px;
  border-radius: 4px;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
}

.pager-btn:hover {
  text-decoration: underline;
  opacity: 0.75;
}

.pager-btn.pager-active {
  font-weight: bold;
  text-decoration: underline;
  opacity: 1;
  cursor: default;
}

.pager-btn.pager-prev,
.pager-btn.pager-next {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pager-ellipsis {
  padding: 4px 4px;
  color: inherit;
  opacity: 0.5;
  font-size: 0.9em;
}

.pager-info {
  margin-left: auto;
  font-size: 0.8em;
  opacity: 0.6;
  white-space: nowrap;
}

/* ── Search form fields ── */
.bf-field-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.bf-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
}

.bf-field--grow { flex: 2 1 140px; }
.bf-field--sm   { flex: 1 1 70px; max-width: 120px; }

.bf-label {
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.6;
}

.bf-input,
.bf-select {
  width: 100%;
  box-sizing: border-box;
  padding: 7px 10px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 4px;
  font-size: 0.95em;
  font-family: inherit;
  background: transparent;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

.bf-input:focus,
.bf-select:focus {
  outline: none;
  border-color: currentColor;
  box-shadow: 0 0 0 2px rgba(128, 128, 128, 0.15);
}

.bf-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}

.bf-hint {
  margin: 4px 0 0;
  font-size: 0.78em;
  opacity: 0.55;
  font-style: italic;
}
