/* ============================================================
   Animations
   All @keyframes live here so the motion vocabulary is readable
   in one place; the rules that apply them stay with their
   component. The reduced-motion block at the bottom is the one
   place to add opt-outs.
   ============================================================ */

/* Page and panel entrances */
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Confirmation checkmark */
@keyframes pop {
  0% {
    transform: scale(.4);
    opacity: 0;
  }
  60% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Halo that expands once behind the confirmation checkmark */
@keyframes ring {
  0% {
    box-shadow: 0 0 0 0 rgba(20, 184, 166, .4);
  }
  100% {
    box-shadow: 0 0 0 16px rgba(20, 184, 166, 0);
  }
}

/* Owner suggestion dropdown */
@keyframes suggest-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

/* Pulsing dot on an in-progress request */
@keyframes blip {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: .35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .suggest,
  .combo__menu {
    animation: none;
  }

  .combo__chev {
    transition: none;
  }
}
