.captcha-wrapper {
  display: flex;
  align-items: center;
  gap: 8px; /* space between canvas and button */
}

/* Style the refresh button */
#refreshCaptchaBtn {
  background: none;
  border: none;
  padding: 0;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  color: inherit;        /* inherits text color */
}

#refreshCaptchaBtn:focus {
  outline: none;
}

#refreshCaptchaBtn:hover {
  transform: rotate(30deg);
  transition: transform 0.3s ease;
}