@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
html,body{
  display: grid;
  height: 100%;
  width: 100%;
  place-items: center;
  background: #f2f2f2;
  /* background: linear-gradient(-135deg, #c850c0, #4158d0); */
}
::selection{
  background: #52d041;
  color: #fff;
}
.wrapper{
  width: 380px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0px 15px 20px rgba(0,0,0,0.1);
  position: relative;
}
.wrapper .title{
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  line-height: 40px;
  color: #fff;
  user-select: none;
  border-radius: 15px 15px 0 0;
  padding: 20px;
  background: linear-gradient(-135deg, #73a074, #477e45);
}

.wrapper .webtittle{
  font-size: 14px;
}
.wrapper .logo-wrapper{
  position: absolute;
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%);
 
}
.wrapper .logo{
  width: 80px;
}
.wrapper form{
  padding: 10px 30px 50px 30px;
}
.wrapper form .field{
  height: 50px;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 30px;
  position: relative;
}
.wrapper form .field input,
.wrapper form .field select{
  height: 100%;
  width: 100%;
  outline: none;
  font-size: 17px;
  padding-left: 20px;
  border: 1px solid lightgrey;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.wrapper form .field .selector option:hover{
  background: limegreen !important;
}

.wrapper form .field input:focus,
form .field input:valid,
.wrapper form .field select:focus,
form .field select:valid{
  border-color: #62d041;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}


.wrapper form .field label{
  position: absolute;
  top: 50%;
  left: 20px;
  color: #999999;
  font-weight: 400;
  font-size: 17px;
  pointer-events: none;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}
form .field input:focus ~ label,
form .field input:valid ~ label,
form .field select:focus ~ label,
form .field select:valid ~ label{
  top: 0%;
  font-size: 16px;
  color: #298820;
  background: #fff;
  transform: translateY(-50%);
}
form .content{
  display: flex;
  width: 100%;
  height: 50px;
  font-size: 16px;
  align-items: center;
  justify-content: space-around;
  margin-top: -20px;
}
form .content .checkbox{
  display: flex;
  align-items: center;
  justify-content: center;
}
form .content input{
  width: 15px;
  height: 15px;
  background: red;
}
form .content label{
  color: #262626;
  user-select: none;
  padding-left: 5px;
}
form .content .pass-link{
  color: "";
}
form .field input[type="submit"]{
  color: #fff;
  border: none;
  padding-left: 0;
  margin-top: -10px;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  background: linear-gradient(-135deg, #73a074, #477e45);
  transition: all 0.3s ease;
}
form .field input[type="submit"]:active{
  transform: scale(0.95);
}

form .signup-link{
  color: #262626;
  margin-top: 20px;
  text-align: center;
}
form .pass-link a,
form .signup-link a{
  color: #2baf31;
  text-decoration: none;
}
form .pass-link a:hover,
form .signup-link a:hover{
  text-decoration: underline;
}

.invalid-feedback{
  text-align: center;
  font-size: 10px;
}

#register-title{
  font-size: 17px;
 }
 #resend-verification-msg{
   margin-top: 0px;
   text-align: justify;
 }
 #resend-button{
  margin-top: 60px;
 }

 #password-reset-msg{
  margin-top: 20px;
  text-align: justify;
 }
 #reset-password-email{
  margin-top: 80px ;
 }


/*PRELOADER*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent; /* or any color */
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; 
}

#preloader img {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }


 #preloader.active {
  opacity: 1;
  pointer-events: all;
}


.error {
  color: red;
  font-size: 12px;
  margin-top: 2px;
}



/* Styling the input when it's in a loading state */
#user-register.btn-loading {
    background-color: #6c757d !important;
    cursor: not-allowed;
    opacity: 0.8;
    background-image: linear-gradient(
        45deg, 
        rgba(255, 255, 255, 0.15) 25%, 
        transparent 25%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.15) 50%, 
        rgba(255, 255, 255, 0.15) 75%, 
        transparent 75%, 
        transparent
    );
    background-size: 40px 40px;
    animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
    from { background-position: 40px 0; }
    to { background-position: 0 0; }
}

#login-btn.btn-loading {
    background-color: #555 !important;
    cursor: not-allowed;
    background-image: linear-gradient(
        45deg, 
        rgba(255, 255, 255, 0.1) 25%, 
        transparent 25%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.1) 75%, 
        transparent 75%, 
        transparent
    );
    background-size: 40px 40px;
    animation: loading-stripes 1s linear infinite;
}

@keyframes loading-stripes {
    from { background-position: 40px 0; }
    to { background-position: 0 0; }
}