.form-input {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 5px;
}
.form-input.verified .form-input__input {
  padding-right: 48px;
}
.form-input.verified .form-input__check {
  opacity: 1;
  visibility: visible;
}
.form-input.verified .form-input__error {
  opacity: 0;
  visibility: hidden;
  max-height: 0;
}
.form-input.error .form-input__input {
  background: #fff5f5;
  border-color: #ff9ca1;
  color: #e0252f;
}
.form-input.error .form-input__check {
  opacity: 0;
  visibility: hidden;
}
.form-input.error .form-input__error {
  opacity: 1;
  visibility: visible;
  max-height: 20px;
}
.form-input.disabled {
  /*.form-input__label {
    color: $grey-medium;
  }*/
  /*.form-input__input {
    border-color: $grey-light;
    background: $gray-background;

    &::placeholder {
      color: $grey-medium;
    }
  }*/
}
.form-input__field {
  position: relative;
}
.form-input__label {
  display: block;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.32;
  color: #3f4041;
  margin-bottom: 5px;
  transition: color 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
  white-space: nowrap;
}
@media (min-width: 768px) {
  .form-input__label {
    font-size: 15px;
  }
}
.form-input__input {
  padding: 13px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eaeaea;
  width: 100%;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.24;
  color: #3f4041;
  transition: border-color 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), background 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
.form-input__input::placeholder {
  color: #959595;
}
.form-input__input:focus {
  border-color: #636363;
}
.form-input__input:disabled {
  border-color: #eaeaea;
  background: #f6f6f6;
  color: #959595;
}
.form-input__input:disabled:hover {
  border-color: #eaeaea;
}
.form-input__input:disabled::placeholder {
  color: #c6c6c6;
}
.form-input__input:hover {
  border-color: #959595;
}
@media (min-width: 768px) {
  .form-input__input {
    padding: 18px 14px;
    font-size: 16px;
  }
}
.form-input__check {
  position: absolute;
  top: 0;
  right: 14px;
  bottom: 0;
  margin: auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), opacity 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
.form-input__check svg {
  width: 100%;
  height: 100%;
  color: #40b231;
}
.form-input__error {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.24;
  color: #e0252f;
  opacity: 0;
  max-height: 0;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), opacity 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), max-height 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
.form-input__password {
  display: none;
  position: absolute;
  top: 0;
  right: 14px;
  bottom: 0;
  margin: auto 0;
  width: 22px;
  height: 22px;
  overflow: hidden;
  cursor: pointer;
}
.form-input__password.show span svg:nth-child(1) {
  opacity: 0;
  visibility: hidden;
}
.form-input__password.show span svg:nth-child(2) {
  opacity: 1;
  visibility: visible;
}
.form-input__password span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}
.form-input__password span svg {
  width: 18px;
  height: 18px;
  transition: opacity 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), visibility 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
.form-input__password span svg:nth-child(2) {
  position: absolute;
  inset: 0;
  margin: auto;
  opacity: 0;
  visibility: hidden;
}
.form-input__password ~ .form-input__check {
  display: none;
}

.input--password + .form-input__password {
  display: block;
}