.input__wrapper {
  position: relative;
  margin-bottom: 0;
  margin-right: 10px;
  width: calc(100% - 119px);

  input,
  textarea {
    padding: 10px 15px;
    width: 100%;
    height: 40px;
    outline: none;
    resize: none;
    background: #ffffff;
    border: 1px solid #cccccc;
    box-sizing: border-box;
    box-shadow: inset 0px 3px 0px rgba(0, 0, 0, 0.045);
    border-radius: 2px;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 130%;
    /* or 18px */

    &::placeholder {
      color: #ccc;
    }

    /* Accent_gray */

    &:-webkit-autofill {
      -webkit-box-shadow: inset 0 0 0 50px #fefefd !important;
      /* Цвет фона */
      -webkit-text-fill-color: #000000 !important;
      /* цвет текста */
      color: #000000 !important;
      /* цвет текста */
    }

    &:-webkit-autofill:focus {
      -webkit-box-shadow: inset 0 0 0 50px #fefefd !important;
      /* Цвет фона */
      -webkit-text-fill-color: #000000 !important;
      /* цвет текста */
      color: #000000 !important;
      /* цвет текста */
    }
  }

  textarea {
    overflow: auto;
    height: 70px;
  }

  &.active {
    .label {
      top: -12px;
      font-size: 12px;
    }
  }
}

.label {
  transition: all 0.2s;
  margin-bottom: 7px;
  position: relative;
  font-weight: bold;
  display: flex;
  font-family: 'Montserrat';
  font-style: normal;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.error {
  transition: all 0.2s;
  position: absolute;
  bottom: -17px;
  color: #e04c57;
  font-weight: 400;
  font-size: 13px;
}

@media (max-width: 700px) {
  .form__wrapper {
    .label,
    input,
    textarea {
      font-size: 14px;
    }
  }
}

@media (max-width: 500px) {
  .input__wrapper {
    margin-bottom: 0;
    margin-right: 0;
    width: 100%;
  }
}
