@import url('shared.css');

input {
  /* input.10, input.16 */
  padding: 3px 23px 3px 7px;
  width: 151px;
  /* input.1 */
  background: white;
  /* input.2 */
  color: black;
  /* input.12 */
  text-align: left;
  /* input.4 */
  font-weight: 475;
}

input::placeholder {
  /* input.3 */
  color: rgba(0, 0, 0, 0.3);
  font-weight: 525;
  letter-spacing: -0.2px;
}

.input-wrapper {
  /* input.16 */
  position: relative;
  display: inline-flex;
  align-items: center;
}

#clear {
  /* input.16 */
  position: absolute;
  /* input.16 */
  right: 4px;
  /* input.16 */
  top: 50%;
  /* input.16 */
  transform: translateY(-50%);
  /* input.17 */
  padding: 0;
  /* input.17 */
  border: none;
  /* input.17 */
  border-radius: 0;
  /* input.17 */
  background: none;
  /* input.17 */
  box-shadow: none;
  cursor: pointer;
  /* input.18 */
  color: #bbb;
  /* input.20 */
  opacity: 0;
  /* input.20 */
  pointer-events: none;
  display: flex;
  transition: all var(--transition-duration) var(--transition-easing);
}

#clear.visible {
  /* input.21 */
  opacity: 1;
  /* input.21 */
  pointer-events: auto;
}

#clear:disabled {
  /* input.27 */
  opacity: 0.25;
  /* input.27 */
  pointer-events: none;
}

#clear svg {
  display: block;
  transition: transform var(--transition-duration) var(--transition-easing);
}

#clear:active:hover {
  /* input.24, input.26 */
  color: #999;
}

#clear:focus-visible:active {
  /* input.24 */
  color: #999;
}

#clear:active:hover svg {
  /* input.25, input.26 */
  transform: scale(var(--tap-scale));
}

#clear:focus-visible:active svg {
  /* input.25 */
  transform: scale(var(--tap-scale));
}

@supports (-webkit-hyphens:none) {
  @media (pointer: fine) {
    input {
      /* input.19 */
      padding-right: 21px;
    }
  }
}

@media (hover: none) and (pointer: coarse) {
  input {
    /* input.29 */
    font-weight: 500;
    /* input.30 */
    width: 155px;
    /* input.30 */
    padding-right: 19px;
  }

  input::placeholder {
    /* input.29 */
    font-weight: 500;
  }

  #clear::before {
    /* input.31 */
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    bottom: -8px;
    left: -8px;
  }

  #clear:active {
    /* input.24 */
    color: rgba(0, 0, 0, 0.55);
  }

  #clear:active svg {
    /* input.25 */
    transform: scale(var(--tap-scale));
  }
}
