@import "../../Shared/variables.scss";

.search-bar {
  height: 52px;
  width: 645px;
  display: flex;

  button {
    width: 101px;
    border-radius: 0px 6px 6px 0px;
    background-color: $light-blue;
    color: white;
  }

  &__input {
    display: flex;
    align-items: center;
    flex: 1;

    border-radius: 6px 0px 0px 6px;
    border: 1px solid var(--grey-for-mask, #c5c6c5);

    img {
      height: 24px;
      width: 50px;
    }

    input {
      width: 100%;
      height: 100%;
      border: none;
      font-size: 18px;
    }
    ::placeholder {
      color: #c5c6c5;
      font-size: 16px;
    }
  }
}

@media screen and (max-width: 768px) {
  .search-bar {
    width: 100%;
  }
}
