/* Minimalistic Loading Screen */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(20, 20, 30, 0.95);
  z-index: 9999;
  transition: opacity 0.3s ease-out;
}

.simple-loader {
  background: rgba(37, 37, 55, 0.95);
  border: 1px solid rgba(173, 118, 247, 0.3);
  border-radius: 12px;
  padding: 20px;
  width: 320px;
  max-width: 90%;
}

.simple-loader h3 {
  color: #ff79c6;
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 15px 0;
  text-align: center;
}

.loader-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 15px;
}

.progress-bar {
  height: 100%;
  background: #8be8fd;
  width: 0%;
  transition: width 0.5s ease;
}

.loader-message {
  color: #8be8fd;
  font-size: 14px;
  text-align: center;
  margin-bottom: 15px;
}

.loader-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  margin-right: 10px;
}

/* Active step */
.step.active {
  color: rgba(255, 255, 255, 0.9);
}

.step.active .step-dot {
  background-color: #8be8fd;
}

/* Completed step */
.step.completed {
  color: rgba(255, 255, 255, 0.7);
}

.step.completed .step-dot {
  background-color: #50fa7b;
}

/* Hide when loaded */
.loader-container.loaded {
  opacity: 0;
  visibility: hidden;
}

/* Resource Image Fix */
.resource-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
}