/**
 * KMDG Pardot Form Handlers: the "processing" state shown while a submission is sent to Pardot.
 * Colors follow the surrounding text (currentColor), so the theme decides them.
 */
.kmdg-pfh__pending {
    display: flex;
    align-items: center;
    gap: 0.6em;
    padding: 1em 0;
    font-weight: 600;
}

/* display:flex above would otherwise override the hidden attribute. */
.kmdg-pfh__pending[hidden] {
    display: none;
}

.kmdg-pfh__spinner {
    flex: none;
    width: 1.5em;
    height: 1.5em;
    animation: kmdg-pfh-spin 0.8s linear infinite;
}

@keyframes kmdg-pfh-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .kmdg-pfh__spinner {
        animation-duration: 2.4s;
    }
}
