:global {
  .dj-input-container {
    position: relative;
    :global {
      .@{ant-prefix}-input {
        height: 42px !important;
        font-size: 14px;
        padding: 11px 10px;
        border-radius: 4px;
        border-color: #c5cddb;
        &:focus {
          border-color: #9eaeca;
          box-shadow: none;
        }
        &:hover {
          border-color: #9eaeca;
        }
        &:disabled {
          background: #f3f5f8;
          cursor: not-allowed;
        }
      }
      .@{ant-prefix}-input-group-addon {
        background: rgba(238, 240, 245, 1);
        border-color: #c5cddb;
      }
      .@{ant-prefix}-input-suffix {
        right: 12px;
        position: absolute;
        top: 50%;
        z-index: 2;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        line-height: 0;
        color: rgba(0, 0, 0, 0.65);
      }
      .@{ant-prefix}-input-prefix {
        left: 12px;
        position: absolute;
        top: 50%;
        z-index: 2;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        line-height: 0;
        color: rgba(0, 0, 0, 0.65);
      }
    }
  }
  .dj-placeholder {
    font-size: 14px;
    color: rgba(157, 164, 178, 1);
    line-height: 20px;
    height: 20px;
    position: absolute;
    left: 10px;
    top: 11px;
    cursor: default;
    pointer-events: none;
    background: transparent;
    &::before {
      content: '';
      display: inline-block;
      position: absolute;
      top: 40%;
      left: 0;
      width: 100%;
      height: 3px;
      background: #fff;
      z-index: 1;
    }
  }

  .has-error .dj-placeholder {
    color: #d0021b !important;
    height: 20px;
    font-size: 12px;
    line-height: 20px;
    top: -10px;
    left: 11px;
  }

  .dj-input {
    &:-webkit-autofill ~ .dj-placeholder {
      height: 20px;
      font-size: 12px;
      color: rgba(157, 164, 178, 1);
      line-height: 20px;
      top: -10px;
      left: 11px;
    }
    &:focus ~ .dj-placeholder {
      height: 20px;
      font-size: 12px;
      color: rgba(157, 164, 178, 1);
      line-height: 20px;
      top: -10px;
      left: 11px;
    }
    &-addonbefore {
      border-bottom-left-radius: 0 !important;
      border-top-left-radius: 0 !important;
    }
    &-addonafter {
      border-bottom-right-radius: 0 !important;
      border-top-right-radius: 0 !important;
    }
  }

  .dj-addonbefore {
    border-bottom-left-radius: 4px !important;
    border-top-left-radius: 4px !important;
    border-right-width: 0 !important;
  }

  .dj-addonafter {
    border-bottom-right-radius: 4px !important;
    border-top-right-radius: 4px !important;
    border-left-width: 0 !important;
  }

  .has-content ~ .dj-placeholder {
    height: 20px;
    font-size: 12px;
    color: rgba(157, 164, 178, 1);
    line-height: 20px;
    top: -10px;
    left: 11px;
  }
}
