@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

.loading-spinner {
  width: 24px;
  height: 24px;
  margin-left: 12px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-left-color: #4F46E5;
  border-radius: 50%;
  display: inline-block;
  animation: rotate 1s linear infinite;
}

.loading-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #13151B;
  gap: 16px;
}

.progress-container {
  width: 240px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #4F46E5, #818CF8, #4F46E5);
  background-size: 200% auto;
  animation: shimmer 2s linear infinite;
  border-radius: 8px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.status-text-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  margin-top: 8px;
}

.status-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  display: inline-block;
}