/* Initial page loader styles - will be replaced when module loads */
#root {
  width: 100%;
  min-height: 100dvh;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background);
}

/* Loader Wrapper */
.loader-wrapper {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.loader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
}

.loader-brand .brand-title {
  margin: 0;
  padding: 0;
  line-height: 1.2;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--text-color);
  font-family: var(--font-logo);
  letter-spacing: -0.5px;
}

/* Simple Professional Spinner */
.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-background);
  border-top-color: var(--accent-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Progress Bar */
.loader-progress {
  width: 200px;
  height: 4px;
  background: var(--gray-background);
  border-radius: 2px;
  overflow: hidden;
}

.loader-progress-bar {
  height: 100%;
  background: var(--accent-color);
  border-radius: 2px;
  width: 0%;
  animation: progressFill 2s ease-in-out forwards;
}

.loader-status {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gray-color);
  font-family: var(--font-text);
}

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

@keyframes progressFill {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
