/* ===== PRELOADER OVERLAY ===== */
.preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

/* ===== SVG SIZE ===== */
.brand-loader {
  width: 96px;
  height: 96px;
  animation: pulse 1.4s ease-in-out infinite;
}

/* ===== CHECK ANIMATION ===== */
.check {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: drawCheck 1.4s ease-in-out infinite;
}

/* ===== SPARKLES ===== */
.sparkles circle {
  fill: #66bb6a;
  opacity: 0;
  animation: sparkle 1.8s infinite ease-in-out;
}

.sparkles circle:nth-child(2) {
  animation-delay: 0.6s;
}

.sparkles circle:nth-child(3) {
  animation-delay: 1.2s;
}

/* ===== KEYFRAMES ===== */
@keyframes drawCheck {
  0% {
    stroke-dashoffset: 120;
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  70% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -120;
    opacity: 0;
  }
}

@keyframes sparkle {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(0.5);
    opacity: 0;
  }
}

@keyframes pulse {
  50% {
    transform: scale(1.05);
  }
}
