/* Custom CSS extracted from previous inline styles for Eazyhunt */

:root {
  --primary: #FF3B30;
  --primary-dark: #c1271b;
}

/* Utility classes to mirror Tailwind-config colours in case CDN config fails */
.text-primary {
  color: var(--primary) !important;
}
.bg-primary {
  background-color: var(--primary) !important;
}
.bg-primary-dark {
  background-color: var(--primary-dark) !important;
}
.hover\:bg-primary-dark:hover {
  background-color: var(--primary-dark) !important;
}
.border-primary {
  border-color: var(--primary) !important;
}

/* Optional: smooth scroll behaviour for browsers that need explicit CSS */
html {
  scroll-behavior: smooth;
}

/* === Preloader Bar === */
/* From Uiverse.io by sawantyash11 */
.loader {
  display: block;
  --height-of-loader: 4px;
  --loader-color: #ff0000;
  width: 130px;
  height: var(--height-of-loader);
  border-radius: 30px;
  background-color: #000000;
  position: relative;
}

.loader::before {
  content: "";
  position: absolute;
  background: var(--loader-color);
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  border-radius: 30px;
  animation: moving 1s ease-in-out infinite;
}

@keyframes moving {
  50% {
    width: 100%;
  }

  100% {
    width: 0;
    right: 0;
    left: unset;
  }
}
@media screen and (max-width: 768px) {
  #signup {
    align-items: center;
  }
}
