.epy-input {
  border: 1px solid #d9d9d9;
  display: flex;
  align-items: center;
  border-radius: 4px;
  padding-right: 1px;
  transition: border 0.3s, box-shadow 0.3s;
  position: relative;
  font-family: "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial, sans-serif;

  .button {
    border-color: transparent;
    border-radius: 0;
    border-left-color: #ddd;
    background-color: #f9f8f7;
    position: absolute;
    right: 1px;
    top: 0;
    height: 100%;
  }

  .tips {
    position: absolute;
    bottom: -22px;
    margin-bottom: 0;
    color: #f5222d;
    font-size: 14px;
    display: none;
  }

  &-small {
    padding: 4px;
    margin-bottom: 25px;
  }

  &-middle {
    padding: 8px;
    margin-bottom: 25px;
  }

  &-large {
    padding: 12px;
    margin-bottom: 30px;
  }

  &-focus {
    border-color: #0066b3;
    box-shadow: 0 0 6px -1px #0066b3;
  }

  &-error {
    border-color: #f5222d;

    .tips {
      display: block;
    }
  }

  &-error&-focus {
    box-shadow: 0 0 6px -1px #f5222d;
  }

  .label {
    text-align: justify;
    text-align-last: justify;
    text-justify: distribute-all-lines;
    padding: 0 8px;
    color: #999;
    line-height: 32px;
    height: 32px;
    position: relative;

    &.require::before {
      content: '*';
      position: absolute;
      color: #f5222d;
      font-size: 14px;
      left: 0;
      font-family: SimSun,sans-serif;
    }
  }

  .input,
  input {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    flex: 1;
    color: #666;
  }

  .cascader {
    flex: 1;
    color: #666;

    .ant-cascader-input {
      border: 0;
      outline: 0;
      box-shadow: none;
    }
  }
}