.hgms-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-add, #2868c7);
}
.hgms-loader-page { width: 100%; min-height: max(220px, calc(100dvh - 188px)); }
.hgms-loader-screen { position: fixed; inset: 0; z-index: 1000; background: var(--color-canvas, #f7f8fa); }
.hgms-login-body .hgms-loader-screen { background: var(--color-sidebar); }
.hgms-loader-inline { display: inline-flex; min-height: 24px; color: inherit; vertical-align: middle; }
.hgms-loader-dots { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 40px; }
.hgms-loader-dots > span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: hgms-dot-wave 1.2s cubic-bezier(.45, 0, .55, 1) infinite;
}
.hgms-loader-dots > span:nth-child(2) { width: 13px; height: 13px; animation-delay: .15s; }
.hgms-loader-dots > span:nth-child(3) { animation-delay: .3s; }
.hgms-loader-inline .hgms-loader-dots { height: 24px; gap: 6px; }
.hgms-loader-inline .hgms-loader-dots > span { width: 5px; height: 5px; }
.hgms-loader-inline .hgms-loader-dots > span:nth-child(2) { width: 8px; height: 8px; }
@keyframes hgms-dot-wave {
  0%, 60%, 100% { transform: scale(.85); opacity: .45; }
  30% { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hgms-loader-dots > span { animation: none; opacity: .8; }
}

