.spend-chat__typing {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 33px;
}

.ai-loader-host {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
}

.ai-loader-host--sm {
  width: 26px;
  height: 26px;
}

.ai-loader-host--chat {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.ai-loader-host--md {
  width: 36px;
  height: 33px;
}

.ai-loader {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Figma Untitled / node 32:719 — SVG ring keeps dash count fixed */
.ai-loader--ring-pulse {
  position: relative;
  width: 30px;
  height: 30px;
  overflow: visible;
}

.ai-loader__ring-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ai-loader__ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.78);
  stroke-dasharray: 4.123 4.123;
  stroke-linecap: butt;
  stroke-width: 9;
  animation:
    kf_32_719_stroke-width_0 1.400761s linear infinite,
    kf_32_719_stroke-color_0 1.400761s linear infinite;
}

.ai-loader__ring-dot {
  position: absolute;
  left: 13px;
  top: 13px;
  width: 4px;
  height: 4px;
  box-sizing: border-box;
  border: 0.616px solid rgba(255, 255, 255, 0.78);
  border-radius: 121.42px;
  background: transparent;
  translate: 0 0;
  animation:
    kf_32_720_width_0 1.400761s linear infinite,
    kf_32_720_height_0 1.400761s linear infinite,
    kf_32_720_border-color_0 1.400761s linear infinite,
    kf_32_720_translate_0 1.400761s linear infinite;
}

.ai-loader-host--sm .ai-loader--ring-pulse {
  width: 26px;
  height: 26px;
}

.ai-loader-host--md .ai-loader--ring-pulse {
  width: 30px;
  height: 30px;
}

@keyframes kf_32_719_stroke-width_0 {
  0% {
    animation-timing-function: ease-in-out;
    stroke-width: 9;
  }

  50.044% {
    animation-timing-function: ease-in-out;
    stroke-width: 1;
  }

  99.874% {
    stroke-width: 9;
  }

  100% {
    stroke-width: 9;
  }
}

@keyframes kf_32_719_stroke-color_0 {
  0% {
    animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1);
    stroke: rgba(255, 255, 255, 0.78);
  }

  50.044% {
    animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1);
    stroke: rgba(255, 255, 255, 0.26);
  }

  99.874% {
    stroke: rgba(255, 255, 255, 0.78);
  }

  100% {
    stroke: rgba(255, 255, 255, 0.78);
  }
}

/* Figma Untitled / node 32:720 — inner circle */
@keyframes kf_32_720_width_0 {
  0% {
    width: 4px;
  }

  50.044% {
    width: 26px;
  }

  99.874% {
    width: 4px;
  }

  100% {
    width: 4px;
  }
}

@keyframes kf_32_720_height_0 {
  0% {
    height: 4px;
  }

  50.044% {
    height: 26px;
  }

  99.874% {
    height: 4px;
  }

  100% {
    height: 4px;
  }
}

@keyframes kf_32_720_border-color_0 {
  0% {
    animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1);
    border-color: rgba(255, 255, 255, 0.78);
  }

  50.044% {
    animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1);
    border-color: rgba(255, 255, 255, 0.34);
  }

  99.874% {
    border-color: rgba(255, 255, 255, 0.76);
  }

  100% {
    border-color: rgba(255, 255, 255, 0.76);
  }
}

@keyframes kf_32_720_translate_0 {
  0% {
    translate: 0 0;
  }

  50.044% {
    translate: -11px -11px;
  }

  99.874% {
    translate: 0 0;
  }

  100% {
    translate: 0 0;
  }
}

.spend-chat__search-loader {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .ai-loader__ring {
    animation: none;
    stroke-width: 5;
    stroke: rgba(255, 255, 255, 0.52);
  }

  .ai-loader__ring-dot {
    animation: none;
    width: 8px;
    height: 8px;
    left: 11px;
    top: 11px;
    translate: 0 0;
    border-color: rgba(255, 255, 255, 0.52);
  }
}
