.pufel-global-preloader {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  transition: opacity 220ms ease;
}

.pufel-global-preloader.is-leaving {
  opacity: 0;
}

.pufel-global-preloader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 12px;
  min-width: 160px;
}

.pufel-global-preloader-logo {
  max-width: 120px;
  max-height: 56px;
  object-fit: contain;
}

.pufel-global-preloader-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.pufel-global-preloader-subtitle {
  margin: 0;
  font-size: 13px;
  opacity: 0.9;
  text-align: center;
}

.pufel-global-preloader-indicator {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-top-color: #10b981;
  animation: pufelGlobalSpin 800ms linear infinite;
}

.pufel-global-preloader-dots {
  display: flex;
  gap: 6px;
}

.pufel-global-preloader-dots > span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #10b981;
  animation: pufelGlobalPulse 1000ms ease-in-out infinite;
}

.pufel-global-preloader-dots > span:nth-child(2) {
  animation-delay: 120ms;
}

.pufel-global-preloader-dots > span:nth-child(3) {
  animation-delay: 240ms;
}

.pufel-global-preloader-progress {
  width: 180px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.pufel-global-preloader-progress > span {
  display: block;
  height: 100%;
  width: 40%;
  background: #10b981;
  animation: pufelGlobalProgress 1.1s ease-in-out infinite;
}

@keyframes pufelGlobalSpin {
  to { transform: rotate(360deg); }
}

@keyframes pufelGlobalPulse {
  0%, 100% { transform: scale(0.85); opacity: 0.6; }
  50% { transform: scale(1); opacity: 1; }
}

@keyframes pufelGlobalProgress {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}
