@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    scroll-behavior: smooth;
    list-style: none;
}

body {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    justify-content: center;
}

.form_member{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}



.success_wrapper{
  height: 400px;
  width: 340px;
  background: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0 5px 10px 5px rgba(0,0,0,0.15);
  border-radius: 8px;
  transition: display 0.6s ease-in;
  
}

.successtext{
  color: #f6c356;
  font-size: 20px;
  margin: 5px 0;
}

.mem_id{
  font-weight: 600;
  font-size: 12px;
}

.success_wrapper .dash-btn{
  padding: 5px 10px;
  border: none;
  background: #0572cc;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  margin: 30px 0;
}

.container{
  width: 390px;
  margin-top: 80px;
  background: #fffffff8;
  text-align: center;
  display: flex;
  flex-direction: column;
  border-radius: 5px;
  padding: 50px 25px 10px 25px;
  box-shadow: 0 5px 10px 5px rgba(0,0,0,0.15);
  transition: display 0.6s ease-out;
}
.container header{
  font-size: 35px;
  font-weight: 600;
  margin: 0 0 30px 0;
}
.container .form-outer{
  width: 100%;
  overflow: hidden;
}
.container .form-outer form{
  display: flex;
  width: 400%;
}
.form-outer form .page{
  padding: 0 25px;
  width: 25%;
  transition: margin-left 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.form-outer form .page .title{
  text-align: left;
  font-size: 25px;
  position: relative;
  font-weight: 500;
  left: -30%;
  float: right;
}
.form-outer form .page .field{
  width: 330px;
  height: 45px;
  margin: 20px 0;
  display: flex;
  position: relative;
}

form .page .field select,
form .page .field input{
  height: 100%;
  width: 100%;
  padding: 0 14px;
  font-size: 17px;
  font-weight: 400;
  color: #000;
  border: 1px solid #58585883;
  border-bottom-width: 3px;
  border-radius: 6px;
  outline: none;
  transition: all 0.3s ease;
  text-decoration:none;
}

.form-label {
  position: absolute;
  top: 50%;
  left: 14px;
  color: #333;
  font-weight: 400;
  font-size: 17px;
  pointer-events: none;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

select:focus ~ .form-label,
select:valid ~ .form-label, 
input:valid ~ .form-label, 
input:valid ~ .form-label{
  top: 0%;
  font-size: 13px;
  color: #4158d0;
  background: #fffffff8;
  transform: translateY(-50%);
}

form .page .field select:focus,
form .page .field select:valid,
form .page .field input:focus,
form .page .field input:valid{
  border-color: #4070f4;
  background: #fff;
}

form .page .field input.active{
  animation: shake 200ms ;
  border-color: red !important;
}
@keyframes shake {
  0%,100%{ transform: translate(0);}
  25%{ transform: translate(4px);}
  75%{ transform: translate(-4px);}
}
form .page .field select.active{
  animation: shake 200ms ;
  border-color: red !important;
}
@keyframes shake {
  0%,100%{ transform: translate(0);}
  25%{ transform: translate(4px);}
  75%{ transform: translate(-4px);}
}

.loader{
  display: none;
  flex-direction: column;
  justify-content: center;
  left: 15px;
  top: 50px;
  position: absolute;
  user-select: none;
}

.loader span{
  position: absolute;
  height: 5px;
  width: 5px;
  background: #059718;;
  border-radius: 50%;
  transform: rotate(calc((360deg / 10) * var(--i))) translateY(8px);
  animation: rotatedots 1s linear infinite;
  animation-delay: calc(var(--i) * 0.1s);
  opacity: 0;
  pointer-events: none;

}

.loader.active{
  display: flex;
}
@keyframes rotatedots {
  0%{
    opacity: 1;
  }
50%{
    opacity: 0;
  }
100%{
    opacity: 0;
  }
}

.confirmDetails{
  text-align: left;
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: space-between;
}

.confirmImg{
  width: 50px;
  height: 50px;
  border: 1px solid #060170;
  border-radius: 8px;
  object-fit: cover;
}

.headings input{
  height: 30px;
  width: 70%;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  background: #53ff4d49;
  border: 1px solid #58585883;
  border-bottom-width: 1.5px;
  border-radius: 6px;
  outline: none;
  transition: all 0.3s ease;
  text-decoration:none;
}
.headings{
  display: flex;
  margin: 10px 0;
  width: 100%;
  font-weight: 600;
  justify-content: space-between;
}
.finalPage{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-direction: column !important;
}

.final{
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  display: none;
}

.rzp_load.active{
  display: flex;
}
.processing.active{
  display: flex;
}
.verfication_success.active{
  display: flex;
}
.sending_data.active{
  display: flex;
}
.failed.active{
  display: flex;
}


.load{
  position: relative;
  font-size: 12px;
  margin-left: 18px;
  color: #059718;
}

.load_text{
  position: relative;
  font-size: 14px;
  font-weight: 600;
  margin: 10px 0;
  color: #059718;
}
.failed_text{
  color: #da0303;
}

.failed button{
  padding: 10px 20px;
  color: #fff;
  background: #0051ff;
  outline: none;
  border: none;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 0 10px 5px rgba(0, 38, 255, 0.5);
  cursor: pointer;
}


/* 
.membership_details{
  display: flex;
  flex-direction: column;
  text-align: left;
  margin: 25px 0 25px -50px;
  font-size: 18px;
}

.mem{
  font-family: 'Roboto';
  font-size: 18px;
  margin: 10px 0;
}
.mem span{
  color: #0572cc;
}

.mem.amount span {
  font-weight: 600;
} */


.image{
  display: flex;
  margin: 45px 0;
  align-items: center;
}
#upload{
  font-size: 17px;
  color: transparent;
}

#previewImage{
  width: 80px;
  height: 80px;
  border: 1px solid #060170;
  border-radius: 8px;
  margin-right: 15px;
  object-fit: cover;
}


input[type="file"] {
  display: none;
}

.image label{
  font-size: 24px;
}

.image label span{
  font-size: 14px;
  margin-left: 8px;
}

.Policy{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -8px 0 14px -100px;

}
.button-flex{
  display: flex;
  flex-direction: column;
}

.error-label{
  color: red;
  font-size: 12px; 
  display: none;
  margin: 4px 0;
}

input[type="checkbox"]{
  height: 20px;
  width: 20px;
  border-radius: 50%;
  margin: 0 10px;
}

input[type="checkbox"]:checked{
  color: #0572cc;
  
}

.Policy .accept{
  font-size: 14px;
}

.Policy .accept a{
  color: #2f00ff;
}

form .page .field button{
  width: 100%;
  height: calc(100% + 5px);
  border: none;
  background: #0572cc;
  margin-top: -20px;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: 0.5s ease;
}


form .page .field button:hover{
  background: #2f00ff;
}
form .page .btns button{
  margin-top: -20px!important;
}
form .page .btns button.prev{
  margin-right: 3px;
  font-size: 17px;
}
form .page .btns button.next{
  margin-left: 3px;
}
.container .progress-bar{
  display: flex;
  margin: 40px 0;
  flex-direction: row;
  user-select: none;
  width: 100%;
}
.container .progress-bar .step{
  text-align: center;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}
.container .progress-bar .step p{
  font-weight: 500;
  font-size: 14px;
  color: #000;
  margin-bottom: 8px;
}
.progress-bar .step .bullet{
  height: 25px;
  width: 25px;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
  transition: 0.2s;
  font-weight: 500;
  font-size: 15px;
  line-height: 25px;
}

.progress-bar .step .bullet.active{
  background: #25b900;
  border-color: #25b900;
}


.progress-bar .step .bullet span{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.progress-bar .step .bullet.active span{
  display: none;
}
.progress-bar .step .bullet:before,
.progress-bar .step .bullet:after{
  position: absolute;
  content: '';
  bottom: 11px;
  right: -51px;
  height: 3px;
  width: 44px;
  background: #262626;
}
.progress-bar .step .bullet.active:after{
  background: #133b5c;
  transform: scaleX(0);
  transform-origin: left;
  animation: animate 0.3s linear forwards;
}
@keyframes animate {
  100%{
    transform: scaleX(1);
  }
}
.progress-bar .step:last-child .bullet:before,
.progress-bar .step:last-child .bullet:after{
  display: none;
}
.progress-bar .step p.active{
  color: #25b900;
  transition: 0.2s linear;
}
.progress-bar .step .check{
  position: absolute;
  left: 50%;
  top: 77%;
  font-size: 15px;
  display: none;
  transform: translate(-50%, -50%);

}
.progress-bar .step .check.active{
  display: flex;
  color: #fff;
}

/* For Chrome, Safari, Edge, and Opera */
.no-spinner::-webkit-outer-spin-button,
.no-spinner::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* For Firefox */
.no-spinner[type="number"] {
  -moz-appearance: textfield;
}

@media (max-width: 768px){
  .footer{
    position: absolute;
    bottom: 0;
  }
}