/* Propshaft manifest — non-Tailwind styles go here */

/* Voice recorder pulsing animation */
button.recording {
  animation: pulse-record 1.5s ease-in-out infinite;
}

@keyframes pulse-record {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
}

/* Inside the Hotwire Native shell the "search" bridge component installs a
   native UISearchController in the nav bar, so the in-page web search box is
   redundant. The @hotwired/hotwire-native-bridge sets data-bridge-platform on
   <html> when a native adapter is present. We only hide it (display:none keeps
   the element — and its bridge--search / search Stimulus controllers — alive in
   the DOM so the native bar can still drive the query). */
html[data-bridge-platform] [data-native-search-hide],
html[data-bridge-platform] [data-native-hide] {
  display: none;
}
