.popup, .popup2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.8);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  overflow: auto;
  /*cursor: pointer;*/
}
.popup.open, .popup2.open {
  opacity: 1;
  visibility: visible;
}
.popup__body {
  cursor: default;
  position: relative;
  max-width: 548px;
  min-height: 420px;
  overflow: auto;
  background: #fff;
  border-radius: 10px;
  padding: 30px 40px;
}
.popup__title {
  text-align: center;
  font-weight: 700;
  font-size: 25px;
  line-height: 30px;
  margin-bottom: 15px;
}
.popup__close {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  background: url(../images/icons/close.svg) center center/contain no-repeat;
}
.popup__close:hover {
  background: url(../images/icons/close_fill.svg) center center/contain
    no-repeat;
}
.popup__subtitle {
  max-width: 365px;
  margin: 0 auto;
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
  letter-spacing: 0;
  text-align: center;
  opacity: 0.5;
  margin-bottom: 30px;
}
.popup__text {
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
  letter-spacing: 0;
  text-align: center;
  opacity: 0.5;
  margin-bottom: 15px;
}
.popup__form-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
}
.popup__form-input {
  max-width: 100%;
  width: 100%;
  height: 45px;
  background: transparent;
  border: 1px solid #141414;
  padding: 12px;
  font-size: 18px;
  line-height: 21px;
  border-radius: 3px;
}
.popup__form-btn {
  height: 45px;
}
.check {
  cursor: pointer;
  margin-bottom: 30px;
  margin-top: 30px;
  display: block;
}
.check__input {
  position: absolute;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.check__box {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-left: 30px;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
}
.check__box::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 22px;
  background: url(../images/icons/check_no.svg) center center/contain no-repeat;
}
.check__box__text {
  display: block;
  max-width: 420px;
}
.check__input:checked + .check__box::before {
  background: url(../images/icons/check_1.svg) center center/contain no-repeat;
}
.check__cricle {
  min-height: 20px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-left: 25px;
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  vertical-align: middle;
}
.check__cricle::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fefefe;
  border: 3px solid #141414;
}
.check__cricle__text {
  display: block;
  max-width: auto;
  vertical-align: middle;
  padding-right: 10px;
}
.check__input:checked + .check__cricle::before {
  background: #141414;
  border: 3px solid #141414;
}
.check__box__error::before {
    border: 1px solid red;
}
@media (max-width: 767.98px) {
  .popup__body {
    padding: 20px 15px 15px 25px;
  }
  .popup__title {
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 5px;
  }
  .popup__close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
  }
  .popup__subtitle {
    max-width: 365px;
    margin: 0 auto;
    text-align: center;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    margin-bottom: 10px;
  }
  .popup__text {
    font-weight: 500;
    font-size: 12px;
    line-height: 14px;
    margin-bottom: 15px;
  }
  .popup__form-row {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
  }
  .popup__form-input {
    max-width: 224px;
    width: 100%;
    height: 45px;
    background: transparent;
    border: 1px solid #ed4d1f;
    padding: 12px;
    font-size: 18px;
    line-height: 21px;
    border-radius: 3px;
    margin-bottom: 10px;
  }
  .popup__form-btn {
    height: 45px;
  }
  
  #step2_login .popup__subtitle, #step2_login .popup__text {display:none !important;}
}
.check__opacity {
  opacity: 0;
}

.popup .login-card__title,.popup2 .login-card__title {
	margin-bottom: 20px;
}
.popup .input-def__label,.popup2 .input-def__label {
	font-weight: 600;
}
.popup .input-def__item,.popup2 .input-def__item {
	font-size: 22px;
	text-align: center;
	letter-spacing: 3px;
}
.popup .login-card,.popup2 .login-card {
	position: relative;
}

#confirm_phone {
	color: blue;
	text-decoration-line: underline;
}