form[data-custom-form].is-submitting {
    cursor: wait;
}

form[data-custom-form].is-submitting button[type="submit"],
form[data-custom-form].is-submitting input[type="submit"] {
    cursor: wait;
    opacity: 0.75;
    pointer-events: none;
}

.custom-form__spinner {
    display: inline-block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: custom-form-spin 0.7s linear infinite;
}

.custom-form__status {
    margin-top: 12px;
    color: #515151;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}

.js-custom-form-error {
    display: block;
}

@keyframes custom-form-spin {
    to {
        transform: rotate(360deg);
    }
}