/* Use the form's Circe typography, outlined button and native message colors. */
.event-pay .form__btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.6rem;
}
.event-pay .event-send-status {
  width: 100%;
  color: #4a4c52;
  font-family: inherit;
  font-size: clamp(14px, 1.7rem, 18px);
  line-height: 1.5;
  text-align: left;
}
.event-pay .event-send-status[data-state="success"],
.event-pay .event-send-status[data-state="error"] {
  display: flex;
  align-items: center;
  padding: 1.7rem 2.8rem;
  color: #fff;
  background: #0094cb;
}
.event-pay .event-send-status[data-state="error"] { background: #e64c45; }
.event-pay .event-send-status[data-state="success"]::before,
.event-pay .event-send-status[data-state="error"]::before {
  content: "";
  width: 2.5rem;
  height: 2.5rem;
  min-width: 20px;
  min-height: 20px;
  flex-shrink: 0;
  margin-right: 1.5rem;
  background: url(../images/dest/check-circle.svg) center / contain no-repeat;
}
.event-pay .event-send-status[data-state="error"]::before {
  background-image: url(../images/dest/alert-circle.svg);
}
.event-pay.event-is-sending [type="submit"] {
  color: #25b0e0 !important;
  background: transparent;
  border-color: #25b0e0 !important;
  cursor: wait !important;
  opacity: 1;
  pointer-events: none;
}
.event-pay .event-send-spinner {
  display: inline-block;
  flex-shrink: 0;
  width: 1.8rem;
  height: 1.8rem;
  min-width: 16px;
  min-height: 16px;
  margin-right: 1rem;
  border: 2px solid rgba(37,176,224,.2);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: event-send-spin .8s linear infinite;
}
@keyframes event-send-spin { to { transform: rotate(360deg); } }
@media (max-width: 48em) {
  .event-pay .form__btn { gap: 2.5rem; }
  .event-pay .event-send-status { font-size: max(14px, 3rem); }
  .event-pay .event-send-status[data-state="success"],
  .event-pay .event-send-status[data-state="error"] { padding: 2.5rem 3rem; }
  .event-pay .event-send-status::before { margin-right: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .event-pay .event-send-spinner { animation: none; }
}
