.cloud-loading {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: radial-gradient(circle at 50% 35%, #fafff9 0, #f4f7f1 65%, #eaf2eb 100%);
  color: #174e3d;
  text-align: center;
}

.cloud-loading-inner { display: grid; justify-items: center; gap: 24px; }
.cloud-loading p { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: .02em; }

/* Adapted from the globe loader supplied by the user (Uiverse.io, JkHuger). */
.cloud-loading .section-path {
  position: relative;
  width: 238px;
  height: 76px;
  border-radius: 38px;
  background: #dcebe0;
  box-shadow: inset -2px 20px 10px #173f2d0f, inset -2px 30px 10px #173f2d0a, 0 12px 30px #173f2d12;
  border: 3px solid #ffffffbf;
  overflow: hidden;
}

.cloud-loading .globe {
  position: relative;
  width: 66px;
  height: 66px;
  overflow: hidden;
  margin: 2px;
  border-radius: 50%;
  box-shadow: 0 8px 20px #153f34a1;
  animation: moneymate-rotate-ball 4s ease-in-out infinite;
}

@keyframes moneymate-rotate-ball {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(162px); }
}

.cloud-loading .globe::after {
  position: absolute;
  width: 5px;
  height: 12px;
  content: '';
  left: 40px;
  top: 15px;
  border-radius: 50%;
  z-index: 2;
  background: #ffffff40;
  box-shadow: 0 0 14px 7px #ffffff40;
}

.cloud-loading .globe::before {
  position: absolute;
  inset: 0;
  content: '';
  border-radius: 50%;
  z-index: 1;
  box-shadow: inset 0 0 15px #0e3229;
  opacity: .45;
}

.cloud-loading .wrapper {
  position: absolute;
  width: 528px;
  height: 528px;
  top: 0;
  left: -462px;
  animation: moneymate-move-ball 4s ease-in-out infinite;
}

@keyframes moneymate-move-ball {
  0%, 100% { left: -462px; }
  50% { left: 0; }
}

.cloud-loading .wrapper span {
  position: absolute;
  width: 33px;
  height: 528px;
  top: 0;
  left: 0;
  background: #277657;
  box-shadow: inset 0 0 25px #174e3d;
}

.cloud-loading .wrapper span:nth-child(2n) { background: #195b47; }
.cloud-loading .wrapper span:nth-child(2) { left: 33px; }
.cloud-loading .wrapper span:nth-child(3) { left: 66px; }
.cloud-loading .wrapper span:nth-child(4) { left: 99px; }
.cloud-loading .wrapper span:nth-child(5) { left: 132px; }
.cloud-loading .wrapper span:nth-child(6) { left: 165px; }
.cloud-loading .wrapper span:nth-child(7) { left: 198px; }
.cloud-loading .wrapper span:nth-child(8) { left: 231px; }
.cloud-loading .wrapper span:nth-child(9) { left: 264px; }
.cloud-loading .wrapper span:nth-child(10) { left: 297px; }
.cloud-loading .wrapper span:nth-child(11) { left: 330px; }
.cloud-loading .wrapper span:nth-child(12) { left: 363px; }
.cloud-loading .wrapper span:nth-child(13) { left: 396px; }
.cloud-loading .wrapper span:nth-child(14) { left: 429px; }
.cloud-loading .wrapper span:nth-child(15) { left: 462px; }
.cloud-loading .wrapper span:nth-child(16) { left: 495px; }

@media (prefers-reduced-motion: reduce) {
  .cloud-loading .globe, .cloud-loading .wrapper { animation: none; }
}
