/* Loading Screen Styles - Minimalist Matching Welcome Banner */
.app-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eff1f6; /* grey-150 - light background */
  z-index: 9999;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow: hidden;
}

/* Decorative Background Circles */
.background-circles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: #4f64a0; /* inl-steel-blue */
  opacity: 0.12; /* reduced opacity for light background */
}

/* Content Container */
.loading-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  gap: 1.25rem; /* slightly more space to balance larger logo */
}

/* Logo */
.loading-logo {
  width: 96px; /* increased from 72px */
  height: 96px; /* increased from 72px */
  animation: pulse 2s ease-in-out infinite;
}

.loading-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

/* Spinner Container */
.spinner-container {
  position: relative;
  width: 80px; /* increased from 56px */
  height: 80px; /* increased from 56px */
}

/* Spinner */
.spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.spinner::before,
.spinner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.spinner::before {
  width: 100%;
  height: 100%;
  border: 4px solid rgba(79, 100, 160, 0.2); /* steel-blue with light opacity */
  border-top-color: #4f64a0; /* inl-steel-blue - solid for visibility */
  animation: spinner 1s linear infinite;
}

.spinner::after {
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  border: 4px solid rgba(242, 122, 31, 0.2); /* orange with light opacity */
  border-top-color: #f27a1f; /* inl-orange - solid for visibility */
  animation: spinner 1.5s linear infinite reverse;
}

/* Animations */
@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.85;
  }
}

/* Responsive Design */
@media (max-width: 640px) {
  .loading-logo {
    width: 60px;
    height: 60px;
  }

  .spinner-container {
    width: 48px;
    height: 48px;
  }
}
