/* Regenerate-answer toolbar (enable_regenerate). */
#ny-chatbot-container .ny-bot-actions-below {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 6px 8px 6px;
  justify-content: flex-end;
  opacity: 0;
  animation: ny-bot-actions-in 220ms ease 180ms forwards;
}
#ny-chatbot-container .ny-bot-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  font-family: inherit;
  line-height: 1;
  color: #6b7280;
  background: rgba(0, 0, 0, 0.035);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  cursor: pointer;
  transition: background 220ms cubic-bezier(0.4, 0, 0.2, 1),
    color 220ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 220ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 220ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 220ms cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
#ny-chatbot-container .ny-bot-action:hover {
  color: var(--ny-primary-color, #1a73e8);
  background: rgba(26, 115, 232, 0.10);
  border-color: rgba(26, 115, 232, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.18),
    0 1px 3px rgba(0, 0, 0, 0.04);
}
#ny-chatbot-container .ny-bot-action[data-ny-action="regenerate"]:hover svg {
  transform: rotate(180deg);
}
#ny-chatbot-container .ny-bot-action svg {
  transition: transform 0.5s ease;
}
#ny-chatbot-container .ny-bot-action:active {
  transform: translateY(0) scale(0.94);
  box-shadow: 0 1px 3px rgba(26, 115, 232, 0.22) inset;
}
#ny-chatbot-container .ny-bot-action:focus-visible {
  outline: 2px solid var(--ny-primary-color, #1a73e8);
  outline-offset: 2px;
}
#ny-chatbot-container .ny-bot-action[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
#ny-chatbot-container .ny-bot-action svg {
  width: 14px;
  height: 14px;
  display: block;
}
@keyframes ny-bot-actions-in {
  from { opacity: 0; transform: translateY(2px); }
  to   { opacity: 1; transform: translateY(0); }
}
