.qb-input {
    --qb-input-text-color: var(--qb-text-color-regular);
    --qb-input-border: var(--qb-border);
    --qb-input-hover-border: var(--qb-border-color-hover);
    --qb-input-focus-border: var(--qb-color-primary);
    --qb-input-transparent-border: 0 0 0 1px transparent inset;
    --qb-input-border-color: var(--qb-border-color);
    --qb-input-border-radius: var(--qb-border-radius-base);
    --qb-input-bg-color: var(--qb-fill-color-blank);
    --qb-input-icon-color: var(--qb-text-color-placeholder);
    --qb-input-placeholder-color: var(--qb-text-color-placeholder);
    --qb-input-hover-border-color: var(--qb-border-color-hover);
    --qb-input-clear-hover-color: var(--qb-text-color-secondary);
    --qb-input-focus-border-color: var(--qb-color-primary);
    --qb-input-width: 100%;
}

.qb-input {
    --qb-input-height: var(--qb-component-size);
    position: relative;
    font-size: var(--qb-font-size-base);
    display: inline-flex;
    width: var(--qb-input-width);
    line-height: var(--qb-input-height);
    box-sizing: border-box;
    vertical-align: middle;
}

.qb-input::-webkit-scrollbar {
    z-index: 11;
    width: 6px;
}

.qb-input::-webkit-scrollbar:horizontal {
    height: 6px;
}

.qb-input::-webkit-scrollbar-thumb {
    border-radius: 5px;
    width: 6px;
    background: var(--qb-text-color-disabled);
}

.qb-input::-webkit-scrollbar-corner {
    background: var(--qb-fill-color-blank);
}

.qb-input::-webkit-scrollbar-track {
    background: var(--qb-fill-color-blank);
}

.qb-input::-webkit-scrollbar-track-piece {
    background: var(--qb-fill-color-blank);
    width: 6px;
}

.qb-input .qb-input__clear,.qb-input .qb-input__password {
    color: var(--qb-input-icon-color);
    font-size: 14px;
    cursor: pointer;
}

.qb-input .qb-input__clear:hover,.qb-input .qb-input__password:hover {
    color: var(--qb-input-clear-hover-color);
}

.qb-input .qb-input__count {
    height: 100%;
    display: inline-flex;
    align-items: center;
    color: var(--qb-color-info);
    font-size: 12px;
}

.qb-input .qb-input__count .qb-input__count-inner {
    background: var(--qb-fill-color-blank);
    line-height: initial;
    display: inline-block;
    padding-left: 8px;
}

.qb-input__wrapper {
    display: inline-flex;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    padding: 1px 11px;
    background-color: var(--qb-input-bg-color, var(--qb-fill-color-blank));
    background-image: none;
    border-radius: var(--qb-input-border-radius, var(--qb-border-radius-base));
    cursor: text;
    transition: var(--qb-transition-box-shadow);
    transform: translateZ(0);
    box-shadow: 0 0 0 1px var(--qb-input-border-color, var(--qb-border-color)) inset;
}

.qb-input__wrapper:hover {
    box-shadow: 0 0 0 1px var(--qb-input-hover-border-color) inset;
}

.qb-input__wrapper.is-focus {
    box-shadow: 0 0 0 1px var(--qb-input-focus-border-color) inset;
}

.qb-input {
    --qb-input-inner-height: calc(var(--qb-input-height, 32px) - 2px);
}

.qb-input__inner {
    width: 100%;
    flex-grow: 1;
    -webkit-appearance: none;
    color: var(--qb-input-text-color, var(--qb-text-color-regular));
    font-size: inherit;
    height: var(--qb-input-inner-height);
    line-height: var(--qb-input-inner-height);
    padding: 0;
    outline: none;
    border: none;
    background: none;
    box-sizing: border-box;
}

.qb-input__inner:focus {
    outline: none;
}

.qb-input__inner::placeholder {
    color: var(--qb-input-placeholder-color, var(--qb-text-color-placeholder));
}

.qb-input__inner[type=password]::-ms-reveal {
    display: none;
}

.qb-input__inner[type=number] {
    line-height: 1;
}

.qb-input__prefix {
    display: inline-flex;
    white-space: nowrap;
    flex-shrink: 0;
    flex-wrap: nowrap;
    height: 100%;
    line-height: var(--qb-input-inner-height);
    text-align: center;
    color: var(--qb-input-icon-color, var(--qb-text-color-placeholder));
    transition: all var(--qb-transition-duration);
    pointer-events: none;
}

.qb-input__prefix-inner {
    pointer-events: all;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.qb-input__prefix-inner>:last-child {
    margin-right: 8px;
}

.qb-input__prefix-inner>:first-child,.qb-input__prefix-inner>:first-child.qb-input__icon {
    margin-left: 0;
}

.qb-input__suffix {
    display: inline-flex;
    white-space: nowrap;
    flex-shrink: 0;
    flex-wrap: nowrap;
    height: 100%;
    line-height: var(--qb-input-inner-height);
    text-align: center;
    color: var(--qb-input-icon-color, var(--qb-text-color-placeholder));
    transition: all var(--qb-transition-duration);
    pointer-events: none;
}

.qb-input__suffix-inner {
    pointer-events: all;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.qb-input__suffix-inner>:first-child {
    margin-left: 8px;
}

.qb-input .qb-input__icon {
    height: inherit;
    line-height: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all var(--qb-transition-duration);
    margin-left: 8px;
}

.qb-input__validateIcon {
    pointer-events: none;
}

.qb-input.is-active .qb-input__wrapper {
    box-shadow: 0 0 0 1px var(--qb-input-focus-color, ) inset;
}

.qb-input.is-disabled {
    cursor: not-allowed;
}

.qb-input.is-disabled .qb-input__wrapper {
    background-color: var(--qb-disabled-bg-color);
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: 0 0 0 1px var(--qb-disabled-border-color) inset;
}

.qb-input.is-disabled .qb-input__inner {
    color: var(--qb-disabled-text-color);
    -webkit-text-fill-color: var(--qb-disabled-text-color);
    cursor: not-allowed;
}

.qb-input.is-disabled .qb-input__inner::placeholder {
    color: var(--qb-text-color-placeholder);
}

.qb-input.is-disabled .qb-input__icon {
    cursor: not-allowed;
}

.qb-input.is-exceed .qb-input__wrapper {
    box-shadow: 0 0 0 1px var(--qb-color-danger) inset;
}

.qb-input.is-exceed .qb-input__suffix .qb-input__count {
    color: var(--qb-color-danger);
}

.qb-input--large {
    --qb-input-height: var(--qb-component-size-large);
    font-size: 14px;
}

.qb-input--large .qb-input__wrapper {
    padding: 1px 15px;
}

.qb-input--large {
    --qb-input-inner-height: calc(var(--qb-input-height, 40px) - 2px);
}

.qb-input--small {
    --qb-input-height: var(--qb-component-size-small);
    font-size: 12px;
}

.qb-input--small .qb-input__wrapper {
    padding: 1px 7px;
}

.qb-input--small {
    --qb-input-inner-height: calc(var(--qb-input-height, 24px) - 2px);
}

.qb-input-group {
    display: inline-flex;
    width: 100%;
    align-items: stretch;
}

.qb-input-group__append,.qb-input-group__prepend {
    background-color: var(--qb-fill-color-light);
    color: var(--qb-color-info);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    border-radius: var(--qb-input-border-radius);
    padding: 0 20px;
    white-space: nowrap;
}

.qb-input-group__append:focus,.qb-input-group__prepend:focus {
    outline: none;
}

.qb-input-group__append .qb-select,.qb-input-group__append .qb-button,.qb-input-group__prepend .qb-select,.qb-input-group__prepend .qb-button {
    display: inline-block;
    margin: 0 -20px;
}

.qb-input-group__append button.qb-button,.qb-input-group__append button.qb-button:hover,.qb-input-group__append div.qb-select .qb-select__wrapper,.qb-input-group__append div.qb-select:hover .qb-select__wrapper,.qb-input-group__prepend button.qb-button,.qb-input-group__prepend button.qb-button:hover,.qb-input-group__prepend div.qb-select .qb-select__wrapper,.qb-input-group__prepend div.qb-select:hover .qb-select__wrapper {
    border-color: transparent;
    background-color: transparent;
    color: inherit;
}

.qb-input-group__append .qb-button,.qb-input-group__append .qb-input,.qb-input-group__prepend .qb-button,.qb-input-group__prepend .qb-input {
    font-size: inherit;
}

.qb-input-group__prepend {
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 1px 0 0 0 var(--qb-input-border-color) inset,0 1px 0 0 var(--qb-input-border-color) inset,0 -1px 0 0 var(--qb-input-border-color) inset;
}

.qb-input-group__append {
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    box-shadow: 0 1px 0 0 var(--qb-input-border-color) inset,0 -1px 0 0 var(--qb-input-border-color) inset,-1px 0 0 0 var(--qb-input-border-color) inset;
}

.qb-input-group--prepend>.qb-input__wrapper {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.qb-input-group--prepend .qb-input-group__prepend .qb-select .qb-select__wrapper {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 1px 0 0 0 var(--qb-input-border-color) inset,0 1px 0 0 var(--qb-input-border-color) inset,0 -1px 0 0 var(--qb-input-border-color) inset;
}

.qb-input-group--append>.qb-input__wrapper {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.qb-input-group--append .qb-input-group__append .qb-select .qb-select__wrapper {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    box-shadow: 0 1px 0 0 var(--qb-input-border-color) inset,0 -1px 0 0 var(--qb-input-border-color) inset,-1px 0 0 0 var(--qb-input-border-color) inset;
}

.qb-input-hidden {
    display: none!important;
}
