#page-preloader {
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
}

#page-preloader .spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #ccc;
  border-top-color: #007aff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

body.loaded #page-preloader {
  opacity: 0;
  visibility: hidden;
}

