/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Transparent background */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  width: 300px;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
}

/* Loader Styles */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
  display: none; /* Hide by default */
  justify-content: center; /* Centers content horizontally */
  align-items: center; /* Centers content vertically */
  pointer-events: none; /* Prevent user interaction */
  z-index: 9998; /* Keep the loader behind the modal */
}

/* Loader Image */
.loader img {
  width: 100px; /* Adjust size as needed */
  height: auto;
  animation: spinZoom 2s infinite, fadeInOut 4s ease-in-out infinite; /* Combined spin and zoom, synchronized timing */
}
#fp{
  margin-left: 30px;
}

/* Loader Text */
.loader-text {
  margin-top: 20px;
  font-size: 20px;
  color: #333; /* Neutral text color */
  font-family: Arial, sans-serif;
  animation: zoomText 2s infinite alternate, fadeInOut 4s ease-in-out infinite; /* Text zoom and fadeInOut, synchronized */
}

/* Keyframes for Combined Spin and Zoom */
@keyframes spinZoom {
  0% {
    transform: rotate(0deg) scale(1); /* Start with no rotation and no zoom */
  }
  50% {
    transform: rotate(180deg) scale(1.3); /* Rotate halfway and zoom in */
  }
  100% {
    transform: rotate(360deg) scale(1); /* Complete the rotation and zoom back */
  }
}

/* Keyframes for Zoom for Text */
@keyframes zoomText {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2); /* Zoom in for text */
  }
  100% {
    transform: scale(1);
  }
}

/* Keyframes for Fade In/Out */
@keyframes fadeInOut {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
