@keyframes loading-ring-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.app-loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(14, 165, 233, 0.12) 0%, transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(30, 41, 59, 0.14) 0%, transparent 40%),
    linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
}

.loading-shell {
  width: 110px;
  height: 110px;
  border-radius: 28px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 20px 45px rgba(15, 23, 42, 0.14),
    0 2px 8px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(3px);
}

.loading-logo {
  width: 34px;
  height: 34px;
  content: url('/content/images/logos/create-your-humanity.png');
  object-fit: contain;
  z-index: 1;
  opacity: 1;
}

.loading-ring {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid rgba(148, 163, 184, 0.4);
  border-top-color: #0ea5e9;
  border-right-color: #0369a1;
  animation: loading-ring-spin 0.9s linear infinite;
}
