/* Custom overrides (kept separate from compiled Tailwind CSS) */

/* ========== Elegant Page Loader ========== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafbfc;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: loaderFadeIn 0.4s ease-out;
}

.loader-logo-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-ring {
  position: absolute;
  inset: 0;
  width: 80px;
  height: 80px;
  animation: loaderOrbit 1.2s linear infinite;
}

.loader-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: saturate(1.05) contrast(1.03);
  animation: loaderBreath 2s ease-in-out infinite;
}

.loader-tagline {
  font-size: 12px;
  color: #94a3b8;
  font-style: italic;
  letter-spacing: 0.02em;
  text-align: center;
}

@keyframes loaderOrbit {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderBreath {

  0%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes loaderFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}