/* Preloader Styles */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hide preloader when JS marks it as hidden */
.preloader.-is-hidden {
  display: none !important;
}

.preloader__icon {
  width: 100px;
  height: 100px;
  padding: 20px;
  background: #FAFAFA;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite ease-in-out;
}

.preloader-logo {
  width: 50px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Animation for the preloader */
@keyframes pulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  50% { 
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  }
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .preloader__icon {
    width: 80px;
    height: 80px;
    padding: 15px;
  }
  
  .preloader-logo {
    width: 40px;
  }
}
