.wave {
  animation-name: wave-animation;  /* Refers to the name of your @keyframes element below */
  animation-duration: 2.5s;        /* Change to speed up or slow down */
  animation-iteration-count: infinite;  /* Never stop waving :) */
  transform-origin: 70% 70%;       /* Pivot around the bottom-left palm */
  display: inline-block;
}

.aria-busy {
  width: fit-content;
  position: relative;
  /* overflow: hidden; */
}

form[aria-busy="true"], body[aria-busy="true"] {

  .aria-busy::after {
    content: "";
    position: absolute;
    border-radius: inherit;
    z-index: 9999;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle fill="none" stroke-opacity="1" stroke="%23FAFBFF" stroke-width=".5" cx="100" cy="100" r="0"><animate attributeName="r" calcMode="spline" dur="2" values="1;80" keyTimes="0;1" keySplines="0 .2 .5 1" repeatCount="indefinite"></animate><animate attributeName="stroke-width" calcMode="spline" dur="2" values="0;25" keyTimes="0;1" keySplines="0 .2 .5 1" repeatCount="indefinite"></animate><animate attributeName="stroke-opacity" calcMode="spline" dur="2" values="1;0" keyTimes="0;1" keySplines="0 .2 .5 1" repeatCount="indefinite"></animate></circle></svg>');
    background-color: inherit;
    background-repeat: no-repeat;
    background-position: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
  }
}

@keyframes appear-then-fade {
  0%, 100% {
    opacity:0
  }
  5%, 60% {
    opacity:1
  }
}

@keyframes wave-animation {
    0% { transform: rotate( 0.0deg) }
   10% { transform: rotate(14.0deg) }  /* The following five values can be played with to make the waving more or less extreme */
   20% { transform: rotate(-8.0deg) }
   30% { transform: rotate(14.0deg) }
   40% { transform: rotate(-4.0deg) }
   50% { transform: rotate(10.0deg) }
   60% { transform: rotate( 0.0deg) }  /* Reset for the last half to pause */
  100% { transform: rotate( 0.0deg) }
}

@keyframes minuteHand {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes hourHand {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(30deg); }
}


@keyframes scale-fade-in {
  0% {
    backface-visibility: hidden;
    transform: scale(0, 0);
    opacity: 0
  }

  50% {
    transform: scale(1.05, 1.05)
  }

  99% {
  transform: scale(1, 1);
  opacity: 1
}

  100% {
    backface-visibility: visible;
    transform: none
  }
}

@keyframes scale-fade-in-then-wait {
  0% {
    backface-visibility: hidden;
    transform: scale(0, 0);
    opacity: 0
  }

  5% {
  transform: scale(1.1, 1.1)
  }

  9% {
  transform: scale(1, 1);
  opacity: 1
  }

  10% {
  backface-visibility: visible;
  transform: none
  }

  100% {
  opacity: 1
  }
}

@keyframes scale-fade-out {
  0% {
  transform: scale(1);
  opacity: 1
  }

  100% {
    transform: scale(0);
    opacity: 0
  }
}

@keyframes slide-in-from-left {
  0% {
      opacity: 0
  }

  40% {
      transform: translateX(320px);
      opacity: 0
  }

  80% {
      transform: translateX(0);
      opacity: 1
  }
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.highlight-comment {
  animation: highlight-pulse 3s ease-in-out;
}

@keyframes highlight-pulse {
  0% {
    background-color: rgba(255, 255, 0, 0.3);
  }
  50% {
    background-color: rgba(255, 255, 0, 0.1);
  }
  100% {
    background-color: transparent;
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.5s ease-out forwards;
}

.quick-prompts-appear {
  animation: quick-prompts-appear 0.3s ease-in forwards;
}

@keyframes quick-prompts-appear {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.step--entering {
  animation: slide-in-from-left .5s both
}

@keyframes recording-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

.recording-pulse {
  animation: recording-pulse 1.5s ease-in-out infinite;
}