.registration__form-wr .input {
  position: relative;
}
.password-eye {
  background-image: url(images/eye.svg);
  position: absolute;
  right: 15px;
  top: 43px;
  width: 20px;
  height: 16px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;
}
.password-eye.active {
  background-image: url(images/eye-active.svg);
}

.registration__form-wr .input.is-invalid .password-eye {
  bottom: 47px;
}

.re-pass-reg,
.re-conf-pass-reg {
  position: relative;
}

.reg__title {
  padding: 4px 40px 4px 0;
  color: var(--color-dark6);
  font-weight: 700;
  font-size: 16px;
  line-height: 21px;
}

#reg.modal {
  max-width: 550px;
}

.re-phone-reg {
  margin-top: 36px;
}

#reg .input--required {
  margin-bottom: 24px;
}

.reg__back.button.button-secondary,
.reg-submit-form.button.button-primary {
  margin-top: 12px;
  width: 100%;
  padding: 18px;
  text-align: center;
  font-weight: 600;
  font-size: 12px;
  line-height: 14px;
}

.reg-submit-form.button.button-primary {
  margin: 0;
}

.reg__agree {
  margin-top: 12px;
  color: var(--color-gray5);
  font-size: 14px;
  line-height: 18px;
  text-align: center;
}

.reg__agree a {
  color: var(--color-gray5);
  text-decoration: underline;
}

@media (max-width: 768px) {
  #reg.modal {
    height: 90vh;
    vertical-align: bottom;
    width: 100%;
    max-width: unset;
  }

  #reg.modal {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .reg__form {
    height: calc(90vh - 246px);
    overflow-y: scroll;
  }
}

.privacy-block {
  margin-bottom: 1.5rem !important;
}

.privacy-block input {
  width: 1rem;
  min-width: 1rem;
  height: 1rem;
  margin-top: 6px;
  vertical-align: top;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  border: 2px solid var(--color-primary);
  appearance: none;
  color-adjust: exact;
  background-size: auto;
  transition: all 0.3s ease-in-out;
  transform: translateY(-0.25rem);
  cursor: pointer;
  border-radius: 0.125rem;
  display: inline-block;
}

.privacy-block input:checked {
  background-color: transparent;
  border-color: var(--color-primary);
  background-image: url('data:image/svg+xml,%3csvg width="9" height="8" viewBox="0 0 9 8" fill="none" xmlns="http://www.w3.org/2000/svg"%3e%3cpath d="M3.42069 6.91431C3.47956 6.99648 3.55717 7.06343 3.64708 7.10962C3.73699 7.1558 3.83661 7.1799 3.93769 7.1799C4.03877 7.1799 4.13839 7.1558 4.2283 7.10962C4.31821 7.06343 4.39582 6.99648 4.45469 6.91431L8.66669 1.07431C8.74269 0.968313 8.66669 0.820312 8.53669 0.820312H7.59869C7.39469 0.820312 7.20069 0.918312 7.08069 1.08631L3.93869 5.44631L2.51469 3.47031C2.39469 3.30431 2.20269 3.20431 1.99669 3.20431H1.05869C0.928691 3.20431 0.852691 3.35231 0.928691 3.45831L3.42069 6.91431V6.91431Z" fill="%23eb5806"/%3e%3c/svg%3e');
}

.privacy-block label {
  width: calc(100% - 33px);
  margin-left: 12px;
}

.privacy-block .error_message {
  display: none;
}

.privacy-block.has-error .error_message {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #eb5806;
}

.privacy-block.has-error input {
  border-color: var(--color-red5);
}