.app-boot-screen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--regular-loader-bg, linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%));
  font-family: "Geist Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.app-boot-screen--overlay {
  z-index: 99999;
  opacity: 1;
  transition: opacity 180ms ease-out;
}

.app-boot-screen--react {
  z-index: 9998;
}

.app-boot-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
}

.app-boot-logo {
  box-sizing: border-box;
  width: 72px;
  height: 72px;
  padding: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.app-boot-logo-icon {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
}

.app-boot-spinner {
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid var(--regular-loader-spinner-track, rgba(59, 130, 246, 0.18));
  border-top-color: var(--regular-loader-spinner-head, #3b82f6);
  animation: app-boot-spin 0.9s linear infinite;
  will-change: transform;
}

.app-boot-copy {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: center;
}

.app-boot-label {
  margin: 0;
  color: var(--regular-loader-text, #64748b);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.app-boot-subtitle {
  margin: 0;
  color: rgba(100, 116, 139, 0.92);
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 20rem;
}

.app-boot-badge {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.app-boot-screen--sso .app-boot-shell {
  gap: 1.1rem;
}

@keyframes app-boot-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

[data-theme="dark"] .app-boot-logo {
  background: rgba(15, 23, 42, 0.82);
  border-color: rgba(148, 163, 184, 0.15);
  box-shadow: 0 14px 32px rgba(2, 6, 23, 0.34);
}

[data-theme="dark"] .app-boot-badge {
  background: rgba(96, 165, 250, 0.15);
  color: #bfdbfe;
}

[data-theme="dark"] .app-boot-subtitle {
  color: #cbd5e1;
}
