/* One platform-wide loader: the approved Zreev Z, with a three-second impulse. */
.zreev-loading-indicator,
.manager-transition-spinner,
.pd-loading-indicator,
.specialist-loading-indicator,
.z-ai-progress-spinner,
.specialist-desktop-state.is-loading .specialist-desktop-state-icon,
.specialist-patients-state[data-state="loading"] > span[aria-hidden="true"],
.auth-button.is-loading::after,
.auth-button[aria-busy="true"]::after {
  display: inline-block;
  flex: 0 0 auto;
  width: 24px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: url('/assets/zreev-loading.svg?v=20261029-1') center / contain no-repeat;
  box-shadow: none;
  animation: none;
  transform: none;
  color: transparent;
  font-size: 0;
  vertical-align: middle;
}
.manager-transition-spinner { width: 32px; height: 42px; }
.z-ai-progress-spinner { width: 15px; height: 20px; }
.auth-button.is-loading::after,
.auth-button[aria-busy="true"]::after {
  content: "";
  width: 14px;
  height: 18px;
  filter: brightness(0) invert(1);
}
/* Loading states which previously had text only use the same mark. */
.backend-state[aria-busy="true"]::before,
.loading[role="status"]::before,
.lifecycle-loading::before,
[data-state="loading"]:not(:has(.specialist-desktop-state-icon, .specialist-loading-indicator, .pd-loading-indicator, span[aria-hidden="true"]))::before {
  content: "";
  display: block;
  width: 24px;
  height: 32px;
  margin: 0 auto 12px;
  background: url('/assets/zreev-loading.svg?v=20261029-1') center / contain no-repeat;
}
@media (prefers-reduced-motion: reduce) {
  .zreev-loading-indicator,
  .manager-transition-spinner,
  .pd-loading-indicator,
  .specialist-loading-indicator,
  .z-ai-progress-spinner,
  .specialist-desktop-state.is-loading .specialist-desktop-state-icon,
  .specialist-patients-state[data-state="loading"] > span[aria-hidden="true"],
  .auth-button.is-loading::after,
  .auth-button[aria-busy="true"]::after,
  .backend-state[aria-busy="true"]::before,
  .loading[role="status"]::before,
  .lifecycle-loading::before,
  [data-state="loading"]:not(:has(.specialist-desktop-state-icon, .specialist-loading-indicator, .pd-loading-indicator, span[aria-hidden="true"]))::before {
    background-image: url('/assets/zreev-loading-static.svg?v=20261029-1');
  }
}
