.map-search {
  margin-bottom: 32px;
  width: 645px;
  position: relative;

  form {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;

    button {
      height: 100%;
      width: 100px;
      border-radius: 0px 6px 6px 0px;
      background: rgb(72, 159, 225);
      color: white;
    }
  }

  &__input {
    height: 100%;
    display: flex;
    flex: 1;
    align-items: center;
    box-sizing: border-box;
    border: 1px solid rgb(197, 198, 197);
    border-radius: 6px 0px 0px 6px;

    img {
      width: 50px;
    }

    input {
      padding: 10px 0;
      padding-left: 5px;
      width: 100%;
      height: 100%;
      border: none;
      font-size: 18px;
    }
  }

  &__recs {
    width: 100%;
    max-height: 200px;
    position: absolute;
    top: 110%;
    left: 0;
    z-index: 10000;
    border-radius: 6px;

    background-color: #fff;
    box-shadow: 0px 12px 16px 0px rgba(58, 69, 75, 0.1),
      0px 4px 6px 0px rgba(58, 69, 75, 0.15);
    overflow: hidden;
    overflow-y: auto;

    ul {
      li:first-child {
        button {
          border-radius: 6px 6px 0px 0px;
        }
      }

      li:last-child {
        button {
          border-radius: 0px 0px 6px 6px;
        }
      }
    }

    button {
      padding: 20px;
      height: 60px;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      text-align: start;
      width: 100%;
      font-size: 18px;
      font-weight: 500;
    }

    button:hover {
      background-color: #f5f5f5;
    }
  }
}

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