#app-loading {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  #app-loading { background: #1a1a1a; }
}
.app-loader-ring {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-ring {
  position: absolute;
  border-radius: 50%;
  border: 3px solid transparent;
}
.app-ring-1 {
  width: 100px; height: 100px;
  border-top-color: #a78bfa;
  border-right-color: #a78bfa;
  animation: app-spin 1.2s linear infinite;
}
.app-ring-2 {
  width: 76px; height: 76px;
  border-top-color: #60a5fa;
  border-left-color: #60a5fa;
  animation: app-spin 1.8s linear infinite reverse;
}
.app-ring-3 {
  width: 52px; height: 52px;
  border-top-color: #34d399;
  border-right-color: #34d399;
  animation: app-spin 1.0s linear infinite;
}
.app-loader-text {
  font-size: 12px;
  font-family: sans-serif;
  letter-spacing: 2px;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.4);
  animation: app-pulse 1.5s ease-in-out infinite;
}
@media (prefers-color-scheme: dark) {
  .app-loader-text { color: rgba(255, 255, 255, 0.5); }
}
@keyframes app-spin {
  to { transform: rotate(360deg); }
}
@keyframes app-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
