/* components/EquestrianLoader.module.css */

.loaderOverlay {
  position: fixed;
  inset: 0;
  background-color: rgba(239, 230, 221, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  z-index: 1000;
}

.loaderContent {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  animation: fadeIn 0.4s ease-in;
}

.loaderImage {
  animation: spin 1.8s linear infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.text {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: #3f2d23;
  letter-spacing: 0.08rem;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
