/* Loading States CSS - Tap Macro v1.3.0 */
/* Enhanced loading states, spinners, and progress indicators */

/* ===== ENHANCED LOADING STATES ===== */
.loading-enhanced {
  animation: pulse 2s infinite;
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.scale-in {
  animation: scaleIn 0.4s ease-out;
}

.bounce-on-hover:hover {
  animation: bounce 0.6s ease-in-out;
}

.slide-in-left {
  animation: slideInLeft 0.5s ease-out;
}

.slide-in-down {
  animation: slideInDown 0.5s ease-out;
}

/* ===== LOADING STATE CONTAINER ===== */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  text-align: center;
  padding: 2rem;
}

.loading-state h2 {
  color: var(--text-primary);
  margin: 1rem 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.loading-state .loading-description {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* ===== PROGRESS BAR ===== */
.loading-progress {
  width: 100%;
  max-width: 300px;
  height: 8px;
  background: var(--bg-secondary);
  border-radius: 4px;
  overflow: hidden;
  margin: 1rem 0;
}

.loading-bar {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--accent-color),
    var(--accent-color-light)
  );
  width: 0%;
  transition: width 0.8s ease-in-out;
  border-radius: 4px;
}

/* ===== LOADING STEPS ===== */
.loading-steps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.loading-step {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.loading-step.active {
  color: var(--accent-color);
  opacity: 1;
  background: var(--bg-secondary);
  transform: translateX(10px);
}

/* ===== ENHANCED LOADING SPINNER ===== */
.loading-spinner.loading-enhanced {
  width: 60px;
  height: 60px;
  border: 4px solid var(--bg-secondary);
  border-top: 4px solid var(--accent-color);
  border-radius: 50%;
  animation:
    spin 1s linear infinite,
    pulse 2s ease-in-out infinite;
}
