.loader-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 9999;
}

.loader-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.loader-content {
  text-align: center;
  color: white;
  font-family: sans-serif;
}

.spinner {
  width: 40px;
  height: 40px;
  stroke: white;
  stroke-linecap: round;
  animation: spin 1s linear infinite;
}

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

.loader-text {
  margin-top: 10px;
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { opacity: 0.4; }
  50% { opacity: 1; }
}