/* لودینگ اکو روم */
#rr-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(29, 78, 216, .35), transparent 55%),
    radial-gradient(900px 500px at -10% 110%, rgba(15, 118, 110, .4), transparent 50%),
    linear-gradient(165deg, #042f2e 0%, #0f172a 48%, #0b3b4a 100%);
  color: #fff;
  opacity: 1;
  visibility: visible;
  transition: opacity .55s ease, visibility .55s ease;
}
#rr-loader.is-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#rr-loader.is-mini .rr-loader-inner { transform: scale(.92); }
.rr-loader-inner {
  text-align: center;
  padding: 1.5rem;
}
.rr-loader-orbit {
  width: 92px;
  height: 92px;
  margin: 0 auto 1.1rem;
  position: relative;
}
.rr-loader-orbit::before,
.rr-loader-orbit::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
}
.rr-loader-orbit::before {
  border-top-color: #5eead4;
  border-right-color: rgba(94, 234, 212, .25);
  animation: rr-spin 1.1s linear infinite;
}
.rr-loader-orbit::after {
  inset: 10px;
  border-bottom-color: #93c5fd;
  border-left-color: rgba(147, 197, 253, .2);
  animation: rr-spin 1.7s linear infinite reverse;
}
.rr-loader-mark {
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f766e, #1d4ed8);
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: .04em;
  font-size: 1.05rem;
  box-shadow: 0 10px 28px rgba(15, 118, 110, .35);
}
.rr-loader-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}
.rr-loader-sub {
  margin: .35rem 0 0;
  font-size: .88rem;
  color: rgba(226, 232, 240, .78);
}
.rr-loader-dots {
  display: flex;
  justify-content: center;
  gap: .35rem;
  margin-top: .9rem;
}
.rr-loader-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5eead4;
  animation: rr-dot 1s ease-in-out infinite;
}
.rr-loader-dots span:nth-child(2) { animation-delay: .15s; background: #93c5fd; }
.rr-loader-dots span:nth-child(3) { animation-delay: .3s; }

#rr-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  z-index: 10001;
  transform-origin: right center;
  transform: scaleX(0);
  background: linear-gradient(90deg, #5eead4, #38bdf8, #1d4ed8);
  box-shadow: 0 0 12px rgba(45, 212, 191, .7);
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}
#rr-progress.is-on { opacity: 1; }

@keyframes rr-spin { to { transform: rotate(360deg); } }
@keyframes rr-dot {
  0%, 80%, 100% { transform: translateY(0); opacity: .35; }
  40% { transform: translateY(-6px); opacity: 1; }
}

button.is-loading,
.btn.is-loading {
  position: relative;
  pointer-events: none;
  color: transparent !important;
}
button.is-loading::after,
.btn.is-loading::after {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  animation: rr-spin .7s linear infinite;
}
