/* Loading screen - professional spinner and branding */
.app-loading {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  z-index: 9999;
}

.app-loading__spinner {
  width: 48px;
  height: 48px;
  border: 3px solid #e2e8f0;
  border-top-color: #0ea5e9;
  border-radius: 50%;
  animation: app-loading-spin 0.8s linear infinite;
}

.app-loading__title {
  margin: 1.25rem 0 0.25rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.app-loading__text {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 400;
}

@keyframes app-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Error block (shown if app fails to load) */
.app-loading #jhipster-error {
  padding: 2rem;
  max-width: 42rem;
  margin: 0 auto;
  overflow: auto;
  text-align: left;
}
