/* Turbo Frame Components
 * Feedback for a frame that is fetching. Turbo sets [busy]/[aria-busy] on the
 * frame for the duration of the request, so the dim is free — no spinner to
 * mount and unmount, and it makes a debounced search visible while it waits.
 */

@utility frame-busy {
  @layer components {
    @apply block transition-opacity duration-150;

    &[busy],
    &[aria-busy="true"] {
      @apply opacity-40;
    }
  }
}
