@charset "UTF-8";

.phoenix-input {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  flex: 1 1 auto;
  width: 100%;
  min-width: 100px;
  font-family: "PingFang SC", "Hiragino Sans GB", STHeitiSC, Helvetica, "Helvetica Neue", "Microsoft YaHei", Tahoma;
  color: #0e1114;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.phoenix-input:hover input {
  border-color: #85c2ff;
}

.phoenix-input:hover input:focus {
  border-color: #5cadff;
}

.phoenix-input:hover input[disabled] {
  border-color: #e6e8eb;
}

.phoenix-input:hover .phoenix-input__tooltip-overflow {
  border-color: #85c2ff;
}

.phoenix-input:hover .phoenix-input__tooltip-overflow--statusDisable {
  border-color: #e6e8eb;
}

.phoenix-input:hover .phoenix-input__tooltip-overflow--statusError {
  border-color: #FF475A;
}

.phoenix-input--statusIsHInt:hover input {
  border-color: #5cadff;
}

.phoenix-input--statusError:hover input {
  border-color: #FF475A;
}

.phoenix-input--statusError:hover input:focus {
  border-color: #FF475A;
}

.phoenix-input__input {
  font-family: "PingFang SC", "Hiragino Sans GB", STHeitiSC, Helvetica, "Helvetica Neue", "Microsoft YaHei", Tahoma;
  box-sizing: border-box;
  width: 100%;
  height: 30px;
  font-size: 12px;
    /* 解决chrome中input文本内容在12px时无法垂直居中的问题 */
  line-height: 28px;
  padding: 0 8px;
  border: 1px solid #e6e8eb;
  border-radius: 3px;
  background-color: white;
  outline: none;
  overflow: hidden;
  cursor: text;
    /* 隐藏IE自带的clear图标 */
}

.phoenix-input__input::-ms-clear {
  width: 0;
  height: 0;
}

.phoenix-input__input::placeholder {
  color: #bfc3c7;
}

.phoenix-input__input:hover {
  border-color: #85c2ff;
}

.phoenix-input__input:focus {
  border-color: #5cadff;
}

.phoenix-input__input[disabled] {
  color: transparent;
  background-color: transparent;
  text-overflow: ellipsis;
  cursor: not-allowed;
}

.phoenix-input__input[disabled]:hover {
  border-color: #e6e8eb;
}

.phoenix-input__input--noEllipsis[disabled] {
  background-color: rgba(230, 232, 235, 0.3);
  color: #33383d;
  cursor: not-allowed;
}

.phoenix-input__input[readonly] {
  pointer-events: none;
}

.phoenix-input__input--sizeLarge {
  height: 32px;
  line-height: 30px;
  font-size: 14px;
}

.phoenix-input__input--sizeSmall {
  height: 26px;
  line-height: 24px;
  font-size: 12px;
}

.phoenix-input__input--hasPrefix {
  padding-left: calc(8px + 4px + 12px);
}

.phoenix-input__input--hasSuffix, .phoenix-input__input--setPadding {
  padding-right: calc(8px + 4px + 12px);
}

.phoenix-input__input--statusDisable .phoenix-input__input--hasEllipsis {
  color: rgba(0, 0, 0, 0) !important;
}

.phoenix-input__input--statusIsHInt {
  border-color: #5cadff;
}

.phoenix-input__input--statusIsHInt:hover {
  border-color: #5cadff;
}

.phoenix-input__input--statusIsHInt:focus {
  border-color: #5cadff;
}

.phoenix-input__input--statusError {
  border-color: #FF475A;
}

.phoenix-input__input--statusError:hover {
  border-color: #FF475A;
}

.phoenix-input__input--statusError:focus {
  border-color: #FF475A;
}

.phoenix-input__input--fixSafariLineHeight {
  line-height: 20px;
}

.phoenix-input__prefix, .phoenix-input__clear, .phoenix-input__suffix {
  position: absolute;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  display: inline-block;
  font-size: 12px;
  line-height: 0;
}

.phoenix-input__prefix {
  left: 8px;
}

.phoenix-input__clear {
  right: 8px;
  cursor: pointer;
  background-color: transparent;
}

.phoenix-input__clear path:nth-child(2) {
  fill: #bfc3c7;
}

.phoenix-input__clear:hover path:nth-child(2) {
  fill: #83898f;
}

.phoenix-input__clear--active path:nth-child(2) {
  fill: #bfc3c7;
}

.phoenix-input__clear--hide {
  display: none;
}

.phoenix-input__suffix {
  right: 8px;
}

.phoenix-input__suffix--hide {
  display: none;
}

.phoenix-input__tooltip-overflow {
  font-family: "PingFang SC", "Hiragino Sans GB", STHeitiSC, Helvetica, "Helvetica Neue", "Microsoft YaHei", Tahoma;
  display: inline-block;
  position: absolute;
  top: 0px;
  left: 0px;
  opacity: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  height: 30px;
  font-size: 12px;
  line-height: 28px;
  padding: 0 8px;
  border: 1px solid #e6e8eb;
  background-color: white;
  box-sizing: border-box;
  border-radius: 3px;
  margin: 0;
}

.phoenix-input__tooltip-overflow--password {
  color: transparent;
  background-color: transparent;
  z-index: -1;
}

.phoenix-input__tooltip-overflow--sizeLarge {
  height: 32px;
  line-height: 30px;
  font-size: 14px;
}

.phoenix-input__tooltip-overflow--sizeSmall {
  height: 26px;
  line-height: 26px;
  font-size: 12px;
}

.phoenix-input__tooltip-overflow--hasPrefix {
  padding-left: calc(8px + 4px + 12px);
}

.phoenix-input__tooltip-overflow--hasSuffix {
  padding-right: calc(8px + 4px + 12px);
}

.phoenix-input__tooltip-overflow--statusDisable {
  background-color: rgba(230, 232, 235, 0.3);
  color: #33383d;
  cursor: not-allowed;
  pointer-events: none;
}

.phoenix-input__tooltip-overflow--statusError {
  border-color: #FF475A;
}
