.form__search {
  anchor-name: --searchBox;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-height: 2.9rem;
  container-type: inline-size;

  .form__search-top {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 1.4rem;
    padding: 0.7rem 1.4rem;
    gap: 0.5rem;
    background-color: var(--color-gray-60);
  }
  .form__search-input {
    border-radius: 1.4rem;
    background-color: transparent;
    border: none;
    width: 100%;
    height: 100%;
    padding: 0.9rem 0.6rem 0.8rem;
  }
  .form__search-input:focus {
    outline: none;
    background-color: transparent;
  }
  &:focus-within .form__search-top {
    background-color: var(--color-white);
    border: 0.1rem solid var(--color-gray-60);
  }

  .form__search-input:focus-visible,
  .form__search-.form__search-input {
    outline: none;
  }


  .form__search-button {
    padding: 0;
    color: #8e8e8e;

    svg {
      width: 1.3rem;
      height: 1.3rem;
    }
  }

  .form__search-delete{
    display: none;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.7rem;
    svg{
      width: 12px;
      height: 12px;
      color: #8e8e8e;
    }
  }
}
