/* ── GeneaFree Help Modal ─────────────────────────────────────────────── */

/* Body content */
.help-body {
  line-height: 1.7;
  font-size: 0.93rem;
  color: #212529;
}

.help-body h1, .help-body h2, .help-body h3 {
  margin-top: 1.2rem;
  margin-bottom: .4rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0d6efd;
}

.help-body ul, .help-body ol {
  padding-left: 1.4rem;
  margin-bottom: .8rem;
}

.help-body li {
  margin-bottom: .25rem;
}

.help-body p {
  margin-bottom: .7rem;
}

.help-body img {
  max-width: 100%;
  border-radius: .375rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  margin: .75rem 0;
}

.help-body figure {
  margin: 1rem 0;
  text-align: center;
}

.help-body figcaption {
  font-size: .8rem;
  color: #6c757d;
  margin-top: .3rem;
  font-style: italic;
}

.help-body blockquote {
  border-left: 3px solid #0d6efd;
  padding: .4rem .9rem;
  background: #f0f4ff;
  border-radius: 0 .375rem .375rem 0;
  color: #444;
  margin: .75rem 0;
}

.help-body code {
  background: #f8f9fa;
  padding: .1rem .35rem;
  border-radius: .25rem;
  font-size: .85em;
  color: #c7254e;
}

.help-body a {
  color: #0d6efd;
}

/* Page title in pane */
.help-page-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d6efd;
}

/* Search results */
#helpSearchResults .list-group-item-action:hover {
  background: #f0f4ff;
}

/* ── Admin index table ─────────────────────────────────────────────────── */

#helpAdminTable .badge {
  font-size: .75rem;
  width: 22px;
  height: 22px;
  line-height: 22px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: opacity .15s;
}

#helpAdminTable .badge:hover {
  opacity: .8;
}

/* ── Quill overrides ─────────────────────────────────────────────────── */

.ql-container.ql-snow {
  border-bottom-left-radius: .375rem;
  border-bottom-right-radius: .375rem;
  font-size: .93rem;
}

.ql-toolbar.ql-snow {
  border-top-left-radius: .375rem;
  border-top-right-radius: .375rem;
  background: #f8f9fa;
}

.ql-editor {
  min-height: 400px;
  line-height: 1.7;
}

.ql-editor img {
  max-width: 100%;
  border-radius: .375rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
