/* components/EquestrianLoader.module.css */

.loaderContainer {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(190, 168, 150, 0.2);
  width: 100%;
  height: 100%;
  z-index: 1000; /* Ensure it appears above other content */
}

.loader {
  display: inline-block;
  width: 80px;
  height: 80px;
  position: relative;
  margin-bottom: 10px;
}

.horseshoe {
  width: 80px;
  height: 80px;
  border: 8px solid transparent;
  border-top: 8px solid #4f3b2e; /* A darker brown for a 'horseshoe' color */
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
  position: relative;
}

.horseshoe::before {
  content: "";
  position: absolute;
  width: 40%;
  height: 10%;
  background-color: #4f3b2e; /* Dark brown bar to mimic horseshoe shape */
  top: 15%;
  left: 30%;
  border-radius: 2px;
}
.dot {
  display: inline-block;
  animation: wave 1.2s infinite ease-in-out;
  font-size: 2rem;
  color: #333;
}

.dot:nth-child(1) {
  animation-delay: 0s;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

.text {
  font-family: Arial, sans-serif;
  color: #4f3b2e;
  font-size: 1.2rem;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes wave {
  0%,
  60%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-10px);
  }
}
