@import "../_common.less";

.np-input {
  &::placeholder {
    color: var(--color-content-tertiary);
  }

  &::placeholder,
  &:placeholder-shown{
    [dir="rtl"] & {
      direction: rtl !important;
    }
  }

  &:placeholder-shown[type="email"],
  &:placeholder-shown[type="tel"],
  &:placeholder-shown[type="number"],
  &:placeholder-shown[type="url"] {
    [dir="rtl"] & {
      direction: ltr !important;
    }
  }

  &--shape-rectangle {
    border-radius: var(--radius-small) !important;
  }

  &--shape-pill {
    border-radius: var(--radius-full) !important;
  }
}
