.loader {
   position: fixed;
   top: 0;
   left: 0;
   height: 100%;
   width: 100vw;
   background: #ffffffe6;
   display: flex;
   align-items: center;
   justify-content: center;
   z-index: 9999;
}
.spinner {
   width: 48px;
   height: 48px;
   border-radius: 50%;
   position: relative;
   animation: rotate 1s linear infinite;
}
.spinner::before,
.spinner::after {
   content: "";
   box-sizing: border-box;
   position: absolute;
   inset: 0px;
   border-radius: 50%;
   border: 5px solid #fff;
   animation: prixClipFix 2s linear infinite;
}
.spinner::after {
   transform: rotate3d(90, 90, 0, 180deg);
   border-color: #ff3d00;
}

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

@keyframes prixClipFix {
   0% {
      clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);
   }
   50% {
      clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);
   }
   75%,
   100% {
      clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);
   }
}

/*Custom css for loader end-->*/

/*Custom css for alert start*/
.blur {
   filter: blur(1px);
}
/* Overlay background */
.alert-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.5);
   display: flex;
   align-items: center;
   justify-content: center;
   visibility: hidden;
   opacity: 0;
   transition: opacity 0.3s ease-in-out, visibility 0.3s;
    z-index: 9999999;
}

/* Alert Box */
.alert-box {
    background: white;
    padding: 30px 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    min-width: 300px;
    max-width: 500px;
}
.alert-title {
   margin-bottom: 10px;
   font-size: 21px;
}
.alert-message {
   margin-bottom: 20px;
   font-size: 16px;
}

.alert-btn {
   background: #007bff;
   color: white;
   border: none;
   padding: 10px 20px;
   border-radius: 5px;
   cursor: pointer;
   font-size: 14px;
}

.alert-btn:hover {
   background: #0056b3;
}

/* Show alert when active */
.show-alert {
   visibility: visible !important;
   opacity: 1  !important;
}