.ActionButton_primaryButton__WJPgz,
.ActionButton_secondaryButton__LxVQL {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.ActionButton_primaryButton__WJPgz {
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.ActionButton_secondaryButton__LxVQL {
  border-width: 0.762px;
  border-style: solid;
  border-color: var(--gray-disabled);
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  min-width: 80px;
  position: relative;
  color: var(--gray-dark);
  background-color: var(--neutral-background-1);
}

.ActionButton_secondaryButton__LxVQL:hover:not(:disabled) {
  background-color: var(--gray-lightest);
}

.ActionButton_secondaryButton__LxVQL:focus:not(:disabled) {
  box-shadow: inset 0 0 0 2px var(--focus-border);
}

.ActionButton_secondaryButton__LxVQL:disabled {
  cursor: not-allowed;
}

.ActionButton_secondaryButton__LxVQL:disabled:focus {
  box-shadow: inset 0 0 0 2px var(--focus-border);
}

.ActionButton_primaryButtonEnabled__8gyu0 {
  position: relative;
  background-color: var(--brand-background);
  color: var(--neutral-background-1);
}

.ActionButton_primaryButtonEnabled__8gyu0:hover:not(:disabled) {
  background-color: var(--blue-csc-hover);
}

.ActionButton_primaryButtonEnabled__8gyu0:focus:not(:disabled) {
  background-color: var(--blue-csc-hover);
  outline: 2px solid var(--neutral-background-1);
  outline-offset: 1px;
}

.ActionButton_primaryButtonDisabled__gPXK6 {
  cursor: not-allowed;
  position: relative;
  background-color: var(--gray-disabled);
  color: var(--gray-mid);
}

.ActionButton_primaryButtonDisabled__gPXK6:focus {
  box-shadow: inset 0 0 0 2px var(--focus-border);
}

.ActionButton_primaryButton__WJPgz:focus,
.ActionButton_secondaryButton__LxVQL:focus {
  outline-offset: 1px;
  outline: none;
}

.ActionButton_spinner__j5aO1 {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--gray-dark);
  border-top-color: transparent;
  border-radius: 50%;
  animation: ActionButton_spin__qRINK 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

.ActionButton_spinnerInner__TOkoC {
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes ActionButton_spin__qRINK {
  to {
    transform: rotate(360deg);
  }
}

/* State icon - displays alongside label/spinner when stateIcon prop is provided */
.ActionButton_icon__d83B1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
}

/* Button label - text determined by loadingLabel, stateLabel, or label prop */
.ActionButton_label__6YgR8 {
  flex: 1;
  text-align: center;
}

/* Progress bar container - requires parent with position: relative */
.ActionButton_progressBar__zGDZY {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 0 0 0.5rem 0.5rem;
  overflow: hidden;
}

/* Progress bar fill - width set via inline style (0-100%) */
.ActionButton_progressFill__FG9vx {
  height: 100%;
  background-color: currentColor;
  transition: width 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  .ActionButton_primaryButton__WJPgz,
  .ActionButton_secondaryButton__LxVQL,
  .ActionButton_spinner__j5aO1,
  .ActionButton_progressFill__FG9vx {
    transition: none;
    animation: none;
  }
}
