
/*//-------------------------loding css*/
/* Full-screen overlay */
.loading-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
  display: flex; /* Use flexbox for centering */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensure it's on top of other content */
  visibility: hidden; /* Hidden by default 
  opacity: 0; /* Fade out effect */
  transition: visibility 0s, opacity 0.5s linear; /* Transition for fading */
}

.loading-popup.show {
  visibility: visible;
  opacity: 1;
}

.spinner {
  border: 4px solid #f3f3f3; /* Light grey */
  border-top: 4px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite; /* Spinner animation */
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-popup p {
  color: white;
  margin-top: 10px;
}

/*----------------------end loading css*/


/* Alert box (hidden by default) */
/*.top-alert {*/
/*  position: fixed;*/
 /* top:60px; /* hidden above screen */
/*  left: 50%;*/
/*  transform: translateX(-50%);*/
  /*background-color: #4caf50; /* green */
/*  color: white;*/
/*  padding: 15px 25px;*/
/*  border-radius: 8px;*/
/*  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);*/
/*  z-index: 10000;*/
/*  transition: top 0.4s ease;*/
/*  font-family: sans-serif;*/
/*}*/

/* When visible */
/*.top-alert.show {*/
  /*top: 20px; /* slide into view */
/*}*/