/* Full-page loader — one action at a time (Jay99 admin) */

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

.jay99-page-loader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(247, 247, 251, 0.82);
  align-items: center;
  justify-content: center;
  pointer-events: all;
}

.jay99-page-loader.is-active {
  display: flex;
}

.jay99-page-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: #fff;
  padding: 28px 36px;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.jay99-page-spin {
  display: block;
  width: 44px;
  height: 44px;
  border: 4px solid rgba(95, 104, 195, 0.25);
  border-top-color: #5f68c3;
  border-radius: 50%;
  animation: jay99-spin-keyframes 0.7s linear infinite;
}

.jay99-page-loader-text {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #212121;
}

body.jay99-page-busy {
  overflow: hidden;
}

body.jay99-page-busy .pc-container,
body.jay99-page-busy .pc-sidebar {
  pointer-events: none;
  user-select: none;
}
