.loader {
    width: 120px;
    height: 120px;
    border: 10px solid #FFF;
    border-bottom-color: rgb(168 0 91);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    }

    @keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 
.loader-parent{
    width: 100%;
    height: 100vh;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,.5);
    position: fixed;
    z-index: 100000;
}

/*Loader 2*/
.loader2 {
    width: 20px;
    height: 20px;
    border: 2px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: none;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    }

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

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */   
    z-index: 100000; /* Sit on top */
    padding-top: 30px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100vh; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5)/* Fallback color */

}
/* Modal Content */
.modal_content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 50%;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
  }
  
  /* Add Animation */
  @-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
  }
  
  @keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
  }
  
  /* The Close Button */
  .close {
    float: right;
    margin-right: 5px;;
    font-size: 28px;
  }
  
  .close:hover,
  .close:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
  }
  
  .modal_header {
    padding: 2px 16px;
    text-align: center;
  }
  
  .modal_body {
    padding: 25px 25px 50px; 
    line-height: 1.4;
  }
  .modal_footer{
    width:100%;
    padding: 10px 16px;
  }
  .modal_footer > * {
    width:100%;
    display: flex;
    justify-content: space-between;
  }

  .modal_footer > * > button{
    padding:10px 25px;
  }

  @media  only screen and (max-width:767px) {
    .modal_content {
       width:90% !important;
    }
  }

  @media  only screen and (max-width:550px) {
    .modal_content {
       width:90%;
    }
  }

/* Toast Container */
.toast-container {
  position: fixed;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  z-index: 10000000 !important;
}
.toast-container .close{
  position:absolute;
  top: -10px; right: -2px;
}
.toast {
  background-color: #fff;
  color: #0d111c;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  font-size: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  margin-bottom: 10px;
  text-align: center;
}

/* Show class for animation */
.toast-container .show {
  opacity: 1;
  transform: translateY(0);
}
.toast .mainMsg{
  background-color: #0d111c;
  color: #fff;
  padding: 8px 25px;
  margin-top: 15px;
}