.Container {
  position: relative;
  display: block;
}

.Input {
  display: flex;
  background: $color-white;
  border: 1px solid $color-darkgray;
  border-radius: rem(28px);
  padding: rem(8px) rem(20px);
  transition: border ease .5s;

  font-family: $font-open-sans;
  font-weight: $font-regular;
  font-size: rem(18px);
  line-height: 100%;
  color: $color-text;
  width: max-content;

  @include iftablet {
    font-size: rem(18px);
  }

  @include iflaptop {
    font-size: rem(20px);
    padding: rem(10px) rem(20px);
  }

  @include ifdesktop {
    font-size: rem(24px);
  }

  &:focus {
    border-color: $color-orange;
    transition: border-color ease .5s;
  }

  &:hover {
    border-color: $color-text;
    transition: border-color ease .5s;
  }

  &:focus:hover {
    border-color: $color-orange;
    transition: border-color ease .5s;
  }

  &_error {
    border-color: $color-error;
  }

  &_fullWidth {
    width: 100%;
  }

  &_ghost {
    background: transparent;
    color: $color-white;

    &:focus {
      border-color: $color-orange;
      transition: border-color ease .5s;
    }

    &:hover {
      border-color: $color-white;
      transition: border-color ease .5s;
    }

    &:focus:hover {
      border-color: $color-orange;
      transition: border-color ease .5s;
    }
  }
}

.Error {
  position: absolute;
  z-index: 2;
  left: rem(8px);
  bottom: rem(-16px);
  font-family: $font-open-sans;
  font-weight: $font-light;
  font-size: rem(12px);
  line-height: 100%;
  color: $color-error;
}