.ds-input-text {
  width: 100%;
  position: relative;

  &.ds-input-textarea {
    height: 100%;
  }

  span {
    line-height: 1 !important;
  }

  > .helper {
    @include helper-small-1;
    margin-top: 4px;

    &.error {
      color: var(--text-error);
    }
  }

  .icon-info {
    color: var(--icon-tertiary);
  }

  &.disabled {
    color: var(--text-on-disabled);
    cursor: not-allowed;

    input {
      cursor: not-allowed;
    }
  }

  .character-counter {
    @include helper-small-1;
    color: var(--text-placeholder);
    position: absolute;
    bottom: 12px;
    left: 16px;
  }
}

.ds-end-adornments {
  display: flex;
  align-items: center;
  gap: 8px;
}
