/* Algolia typeahead dropdown for ExDoc-generated pages. Loaded via
   _scripts/otp_add_headers.sh into every OTP doc page. Class names
   are prefixed `alg-` to avoid collision with ExDoc's own classes. */

/* Hide ExDoc's Lunr autocomplete UI on pages where we provide an
   Algolia typeahead. The exdoc:autocomplete=off meta covers newer
   ExDoc bundles; this CSS rule is the fallback for older ones that
   still render the container regardless. */

.autocomplete {
  display: none !important;
}

/* Scope pills row at the top of the dropdown. Only rendered on
   pages where the app context exists; hidden on umbrella pages. */

/* Algolia's highlight markers come back as
   <span class="algolia-docsearch-suggestion--highlight">. */

@keyframes alg-spin {
  to { transform: rotate(360deg); }
}

/* Footer row — required "Search by Algolia" attribution plus an
   optional keyboard-hint span. */

/* Dark theme — ExDoc toggles via body.dark or [data-theme=dark] */
