/* The loading indicator of the whole system (aj-busy.js): a thin bar at the top at once, then (when the wait is not short) a veil with the
   Aljhood mark turning like a spinner; a small pill for the data that loads inside a page. */
#aj-busy-bar { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 100001; pointer-events: none; opacity: 0; transition: opacity .25s ease; }
#aj-busy-bar > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #1F7073, #F0BB41); border-radius: 0 3px 3px 0; transition: width 8s cubic-bezier(.1, .7, .2, 1); }
#aj-busy-bar.is-on { opacity: 1; }
#aj-busy-bar.is-on > i { width: 82%; }

#aj-busy-veil { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; padding: 24px;
  background: rgba(232, 240, 240, .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: progress; }
#aj-busy-veil.is-on { display: flex; animation: aj-busy-in .22s ease both; }
.aj-busy__card { min-width: 240px; max-width: 420px; padding: 26px 34px 22px; border-radius: 24px; text-align: center; background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(15, 69, 71, .12); box-shadow: 0 24px 60px rgba(15, 69, 71, .22); font-family: inherit; color: #142222; }
.aj-busy__mark { width: 74px; height: 74px; object-fit: contain; display: block; margin: 0 auto 12px; animation: aj-busy-spin 1.15s linear infinite; }
.aj-busy__text { font-size: 16px; font-weight: 700; color: #0F4547; }
.aj-busy__sub { margin-top: 4px; font-size: 12.5px; color: #4A5757; min-height: 18px; }
.aj-busy__retry { margin-top: 10px; height: 38px; padding: 0 22px; border: 0; border-radius: 999px; background: #1F7073; color: #fff; font: inherit; font-weight: 700; cursor: pointer; display: none; }
#aj-busy-veil.is-late .aj-busy__retry { display: inline-block; }

#aj-busy-pill { position: fixed; bottom: 18px; inset-inline: 0; margin-inline: auto; width: max-content; z-index: 99999; display: none; align-items: center; gap: 10px;
  padding: 8px 16px 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); border: 1px solid rgba(15, 69, 71, .14); box-shadow: 0 10px 30px rgba(15, 69, 71, .2);
  font-size: 13px; font-weight: 600; color: #0F4547; pointer-events: none; }
#aj-busy-pill.is-on { display: inline-flex; animation: aj-busy-in .2s ease both; }
#aj-busy-pill img { width: 24px; height: 24px; object-fit: contain; animation: aj-busy-spin 1.15s linear infinite; }

.aj-is-busy { cursor: progress; }
@keyframes aj-busy-spin { to { transform: rotate(360deg); } }
@keyframes aj-busy-pulse { 0%, 100% { opacity: .45; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes aj-busy-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .aj-busy__mark, #aj-busy-pill img { animation: aj-busy-pulse 1.6s ease-in-out infinite; }
  #aj-busy-bar > i { transition: none; }
}
