/* Control bar and highlight styles for search-highlight.js */
.page-highlight {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 3000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: calc(100vw - 24px);
  padding: 6px 8px;
  background: #fff;
  border: 1px solid #b8c4cc;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
  font-size: 14px;
  color: #212529;
}
.page-highlight .ph-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.page-highlight input {
  width: 190px;
  max-width: 100%;
  padding: 3px 6px;
  border: 1px solid #b8c4cc;
  border-radius: 4px;
}
.page-highlight button {
  padding: 3px 8px;
  border: 1px solid #b8c4cc;
  border-radius: 4px;
  background: #f4f7f9;
  cursor: pointer;
}
.page-highlight button:hover:not(:disabled) { background: #e3ebf0; }
.page-highlight button:disabled { opacity: .45; cursor: default; }
.page-highlight .ph-count { min-width: 5.5em; font-size: 13px; color: #555; }

mark.search-hit {
  padding: 0 1px;
  border-radius: 2px;
  font-weight: bold;
  background-color: #d7f3ff;
  color: #072c3c;
}
.issuance-detail mark.search-hit { background-color: #ffe7e9; color: #bf0000; }
mark.search-hit.current { outline: 2px solid #f39c12; background-color: #ffe08a; color: #000; }

@media print {
  .page-highlight { display: none; }
  mark.search-hit { background: none; color: inherit; font-weight: inherit; outline: none; }
}
