
/* ===== Page Spinner Overlay ===== */
.spinner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.679);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10010;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  pointer-events: none;
}

.spinner-overlay.active {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
  cursor: wait;
}

/* Logo wrapper — floats up and down */
.spinner-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem;
  border-radius: 1rem;
  background: rgb(253, 254, 255);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  animation: spinner-float 4s ease-in-out infinite;
}

/* Logo image — breathes in and out */
.spinner-logo {
  width: 90px;
  display: block;
  animation: spinner-breathe 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes spinner-breathe {
  0%, 100% { transform: scale(0.95); opacity: 0.7; }
  50%       { transform: scale(1.12); opacity: 1;   }
}

@keyframes spinner-float {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-8px); }
}
