/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Spinner overlay for Turbo Frame busy state */
turbo-frame#results {
  position: relative;
}

turbo-frame#results [data-spinner-overlay] {
  display: none;
}

turbo-frame#results[busy] [data-spinner-overlay] {
  display: flex;
}

/* Active styling for filter links */
.filter-link.active {
  color: #ffffff;
  background-color: #2563EB; /* blue-600 */
  border-color: #2563EB;
  outline: 2px solid #2563EB;
  outline-offset: 1px;
}

/* Ensure active links remain readable on hover (override Tailwind hover classes) */
.filter-link.active:hover {
  color: #ffffff !important;
  background-color: #1D4ED8 !important; /* blue-700 */
  border-color: #1D4ED8 !important;
}
