button[data-pending-action="true"] {
  cursor: progress !important;
  opacity: .8;
}

.pending-action-content,
.push-notifications[data-pending-action="true"] .action-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
}

button[data-pending-action="true"] > .pending-action-content { width: 100%; }

.pending-action-indicator,
.push-notifications[data-pending-action="true"] .action-label::before {
  width: .8em;
  height: .8em;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: pending-action-spin .65s linear infinite;
  content: '';
}

@keyframes pending-action-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .pending-action-indicator,
  .push-notifications[data-pending-action="true"] .action-label::before { animation: none; }
}
