.drms-record-action-loading { white-space: nowrap; }
.drms-record-action-spinner,
button[aria-busy="true"]:not(.drms-record-action-loading):not(:has(.spinner-border,.spinner-mini,.fa-spinner))::after,
.drms-file-preview__status:not([hidden])::before {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    vertical-align: -2px;
    animation: drms-record-action-spin .7s linear infinite;
}
.drms-record-action-spinner { margin-right: 7px; }
.drms-record-action-spinner--beside { margin: 0 0 0 7px; }
button[aria-busy="true"]:not(.drms-record-action-loading):not(:has(.spinner-border,.spinner-mini,.fa-spinner))::after { content: ''; margin-left: 7px; }
.btn-corporate.is-processing:not(:has(.spinner-mini))::after { content: ''; display: inline-block; width: 14px; height: 14px; margin-left: 7px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -2px; animation: drms-record-action-spin .7s linear infinite; }
.drms-file-preview__status:not([hidden]) { gap: 9px; }
.drms-file-preview__status:not([hidden])::before { content: ''; }
.drms-esign-image__empty.is-loading::before { content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 7px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -2px; animation: drms-record-action-spin .7s linear infinite; }
.notif-card[aria-busy="true"] { position: relative; }
.notif-card[aria-busy="true"]::after { content: ''; position: absolute; top: 12px; right: 12px; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: drms-record-action-spin .7s linear infinite; pointer-events: none; }
.record-upload-preview-content { position: relative; }
.drms-upload-preview-loading { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 4px; background: rgba(233,238,245,.92); color: #35516f; font-size: 13px; font-weight: 600; }
.drms-upload-preview-loading[hidden] { display: none !important; }
html[data-drms-theme="dark"] .drms-upload-preview-loading { background: rgba(23,30,38,.92); color: #d4e1ef; }
@keyframes drms-record-action-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .drms-record-action-spinner,
    button[aria-busy="true"]:not(.drms-record-action-loading):not(:has(.spinner-border,.spinner-mini,.fa-spinner))::after,
    .btn-corporate.is-processing:not(:has(.spinner-mini))::after,
    .drms-file-preview__status:not([hidden])::before { animation-duration: 1.5s; }
    .drms-esign-image__empty.is-loading::before { animation-duration: 1.5s; }
    .notif-card[aria-busy="true"]::after { animation-duration: 1.5s; }
}
