/* Preloader Container */
#prelContainer {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #f8f9fa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-in-out;
}

/* Logo Container */
.prelLogo {
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 5px;
  margin-bottom: 1rem;
  color: #343a40;
}

/* Spinner Animation */
.prelSpinner {
  width: 60px;
  height: 60px;
  border: 5px solid #2262c6;
  border-radius: 50%;
  border-top-color: #e5be66;
  animation: prelSpin 1s ease-in-out infinite;
  margin-bottom: 1rem;
}

/* Loading Text */
.prelText {
  font-size: 1rem;
  letter-spacing: 3px;
  color: #e5be66;
  font-weight: 500;
  text-transform: uppercase;
}

/* Progress Bar */
.prelProgress {
  width: 200px;
  height: 3px;
  background-color: #e9ecef;
  margin-top: 1rem;
  border-radius: 4px;
  overflow: hidden;
}

.prelProgressBar {
  height: 100%;
  width: 0%;
  background-color: #2262c6;
  transition: width 0.4s ease;
}

/* Spinner Animation */
@keyframes prelSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .prelLogo {
    font-size: 2rem;
  }

  .prelSpinner {
    width: 50px;
    height: 50px;
  }

  .prelProgress {
    width: 150px;
  }
}

@media (max-width: 576px) {
  .prelLogo {
    font-size: 1.5rem;
  }

  .prelSpinner {
    width: 40px;
    height: 40px;
    border-width: 4px;
  }

  .prelProgress {
    width: 120px;
  }
}