.system-action-progress {
    position: fixed;
    z-index: 20000;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    overflow: hidden;
    background: rgba(32, 164, 100, .14);
    pointer-events: none;
}

.system-action-progress[hidden] {
    display: none !important;
}

.system-action-progress-bar {
    width: 0;
    height: 100%;
    background: #20a464;
    transition: width .2s ease;
}

.system-action-progress-bar.is-active {
    width: 82%;
    animation: system-action-progress-pulse 1s ease-in-out infinite alternate;
}

@keyframes system-action-progress-pulse {
    from { width: 22%; }
    to { width: 82%; }
}

.system-action-button.is-loading,
button[data-system-action-loading="true"] {
    cursor: wait !important;
    opacity: .82;
}

.system-action-spinner {
    display: inline-block;
    width: .9em;
    height: .9em;
    margin-right: .5em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    vertical-align: -.1em;
    animation: system-action-spin .65s linear infinite;
}

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

.system-action-feedback-message {
    margin-top: .45rem;
    font-size: .875rem;
}

.system-action-feedback-message.is-success { color: #187a43; }
.system-action-feedback-message.is-error { color: #b42318; }

@media (prefers-reduced-motion: reduce) {
    .system-action-progress-bar.is-active,
    .system-action-spinner {
        animation-duration: 2.5s;
    }
}
