.adm-virtual-input {
  --font-size: var(--ldkj-font-size-9);
  --color: var(--ldkj-color-text);
  --placeholder-color: var(--ldkj-color-light);
  --disabled-color: var(--ldkj-color-weak);
  --text-align: left;
  --caret-width: var(--ldkj-virtual-input-caret-width, 2px);
  --caret-color: var(--ldkj-virtual-input-caret-color, var(--ldkj-color-primary));
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  text-align: var(--text-align);
  font-size: var(--font-size);
  line-height: 1.5;
  white-space: nowrap;
  color: var(--color);
}
.adm-virtual-input > * {
  vertical-align: top;
}
.adm-virtual-input-content {
  flex: auto;
  display: inline-block;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  overflow-y: hidden;
  overflow-x: scroll;
  letter-spacing: 1px;
  padding-right: var(--caret-width);
  outline: none;
  scrollbar-width: none;
}
.adm-virtual-input-content::-webkit-scrollbar {
  display: none;
}
.adm-virtual-input-trap {
  width: 10px;
  height: 10px;
  position: absolute;
  opacity: 0;
  left: 0;
}
.adm-virtual-input-placeholder {
  display: block;
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
  text-align: var(--text-align);
  color: var(--placeholder-color);
}
.adm-virtual-input-caret-container {
  display: inline-block;
  width: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  height: 1.3em;
  vertical-align: top;
  position: relative;
}
.adm-virtual-input-caret {
  width: var(--caret-width);
  height: 95%;
  background-color: var(--caret-color);
  position: absolute;
  top: 5%;
  left: 0;
  z-index: 1;
}
.adm-virtual-input-focused {
  outline: none;
}
.adm-virtual-input-focused .adm-virtual-input-caret {
  animation-name: adm-caret-blink;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.adm-virtual-input-disabled {
  color: var(--disabled-color);
}
.adm-virtual-input-caret-dragging .adm-virtual-input-caret {
  animation: none !important;
}
@keyframes adm-caret-blink {
  from {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  80% {
    opacity: 0;
  }
  to {
    opacity: 0;
  }
}
.adm-virtual-input-clear {
  flex: none;
  margin-left: 8px;
  color: var(--placeholder-color);
  padding: 3px;
  cursor: pointer;
}
.adm-virtual-input-clear .antd-mobile-icon {
  display: block;
  font-size: var(--ldkj-font-size-6);
}
