html { background: #8a8f96 !important; }
html.seb { background: #c62828 !important; }
#geen-seb {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #37474f; color: #fff; text-align: center; padding: 14px 18px;
  font-size: 17px; font-weight: 600; border-radius: 10px 10px 0 0;
}
#geen-seb small { display: block; font-weight: 400; font-size: 14px; opacity: .85; margin-top: 4px; }
html.seb #geen-seb { display: none; }
body.zoekpagina {
  background: #ffffff !important;
  max-width: 1100px;
  margin: 24px auto !important;
  padding: 0 0 30px 0 !important;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0,0,0,.35);
  overflow: visible;
}
.zoek-nav {
  position: sticky; top: 0; z-index: 1000;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 10px 18px; background: #fbe9e7; border-bottom: 2px solid #c62828;
  border-radius: 10px 10px 0 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 15px;
}
.zoek-nav a { text-decoration: none; font-weight: 600; color: #8e1b1b; margin-right: auto; }
.zoek-nav input {
  font: inherit; padding: 6px 10px; width: 240px; max-width: 50vw;
  border: 1px solid #c9a3a0; border-radius: 6px;
}
.zoek-nav button {
  font: inherit; padding: 5px 10px; border: 1px solid #c9a3a0; background: #fff;
  border-radius: 6px; cursor: pointer;
}
.zoek-nav button:hover { background: #ffecec; }
#zoekteller { min-width: 90px; color: #5a2a27; font-size: 14px; }
mark.zoektreffer { background: #ffeb3b; color: inherit; padding: 0; border-radius: 2px; }
mark.zoektreffer.actief { background: #ff9800; outline: 2px solid #e65100; }

/* PDF-pagina's: afbeelding met onzichtbare, doorzoekbare tekstlaag */
.pdfpagina { position: relative; margin: 20px auto; width: calc(100% - 40px); box-shadow: 0 1px 5px rgba(0,0,0,.25); }
.pdfpagina img { display: block; width: 100%; height: auto; }
.tekstlaag { position: absolute; inset: 0; overflow: hidden; line-height: 1; }
.pdftekst { position: absolute; white-space: pre; color: transparent; transform-origin: 0 0; font-family: Calibri, Carlito, Arial, sans-serif; }
.pdftekst.mono { font-family: Consolas, "DejaVu Sans Mono", "Courier New", monospace; }
.pdftekst::selection, .pdftekst *::selection { background: rgba(33,150,243,.35); color: transparent; }
.tekstlaag mark.zoektreffer { background: rgba(255,235,59,.55); color: transparent; }
.tekstlaag mark.zoektreffer.actief { background: rgba(255,152,0,.6); }
