/* Presentation only: never disable or replace Web Forms submit inputs. */
.auth-submit-shell { position: relative; }
.auth-submit-compact { display: inline-block; min-width: 124px; }
.auth-submit-compact > input { width: 100%; }
.auth-submit-shell.is-auth-submitting > input { color: transparent !important; cursor: wait; }
.auth-submit-shell.is-auth-submitting > span { visibility: hidden; }
[data-auth-form][aria-busy="true"] [data-auth-submit] { cursor: wait; }
.auth-submit-shell.is-auth-submitting::after {
    content: attr(data-loading-label);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 42px;
    color: #fff;
    font: 600 13px/1.3 "Segoe UI", Arial, sans-serif;
    pointer-events: none;
}
.auth-submit-shell.is-auth-submitting::before {
    content: '';
    position: absolute;
    z-index: 1;
    right: 19px;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    box-sizing: border-box;
    border: 2px solid #ffffff66;
    border-top-color: #fff;
    border-radius: 50%;
    animation: auth-submit-spin .75s linear infinite;
    pointer-events: none;
}
.auth-submit-secondary.is-auth-submitting::after { color: #800080; padding: 0 25px 0 0; font-size: 11px; }
.auth-submit-secondary.is-auth-submitting::before { right: 1px; border-color: #80008033; border-top-color: #800080; }
.auth-submit-status {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
@keyframes auth-submit-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .auth-submit-shell.is-auth-submitting::before { animation: none; }
}
