/* Loading Screen - Matching iOS OnboardingFlow loading state */

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.loading-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: auto;
  padding: 20px;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loading-logo {
  width: 150px;
  height: 150px;
  border-radius: 30px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(26, 127, 230, 0.15);
  animation: breathe 2s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 4px 16px rgba(26, 127, 230, 0.15);
  }
  50% { 
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(26, 127, 230, 0.15);
  }
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(194, 196, 181, 0.2);
  border-top: 3px solid #ff6f61;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}

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

.loading-text {
  font-size: 17px; /* iOS body */
  font-weight: 500; /* iOS medium */
  color: var(--brokerly-text-secondary);
  text-align: center;
  margin: 0;
}

