.investivoq-brand-bg {
  background:
    radial-gradient(circle at center, rgba(27, 207, 224, 0.12), transparent 35%),
    linear-gradient(135deg, #050b18 0%, #07152a 50%, #020611 100%);
}

.investivoq-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(27, 207, 224, 0.12), transparent 35%),
    linear-gradient(135deg, #050b18 0%, #07152a 50%, #020611 100%);
  transition:
    opacity 350ms ease,
    visibility 350ms ease;
  font-family:
    'Segoe UI',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

.investivoq-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.investivoq-loader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 1.5rem;
  text-align: center;
}

.investivoq-logo-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.investivoq-loader-logo {
  width: 86px;
  height: 86px;
  border-radius: 24px;
  object-fit: contain;
  animation: investivoqPulse 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(24, 210, 230, 0.35)) drop-shadow(0 0 34px rgba(34, 115, 255, 0.16));
}

.investivoq-orbit {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.investivoq-orbit::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 2px solid transparent;
  border-top-color: rgba(32, 220, 230, 0.95);
  border-right-color: rgba(37, 111, 255, 0.55);
  animation: investivoqSpin 1.2s linear infinite;
}

.investivoq-loader-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f7fbff;
}

.investivoq-loader-subtitle {
  font-size: 13px;
  color: rgba(220, 232, 245, 0.62);
}

.investivoq-progress {
  width: 220px;
  max-width: min(220px, 70vw);
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.investivoq-progress-bar {
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, #20dce6, #256fff, transparent);
  animation: investivoqProgress 1.25s ease-in-out infinite;
}

@keyframes investivoqPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.92;
  }

  50% {
    transform: scale(1.045);
    opacity: 1;
  }
}

@keyframes investivoqSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes investivoqProgress {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(260%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .investivoq-loader-logo,
  .investivoq-orbit::after,
  .investivoq-progress-bar {
    animation: none;
  }
}

.app-loading-fallback {
  display: none;
  font-family: 'Segoe UI', system-ui, sans-serif;
  max-width: 42rem;
  margin: 2rem auto;
  padding: 0 1.5rem;
  color: #dce8f5;
}

.app-loading-fallback.is-visible {
  display: block;
}
