/* pages/search/index.wxss */

page {
  background: #f5f5f5;
}

/* 顶部 */

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104rpx;
  /* box-shadow: 0 0 10rpx 10rpx #eaeaea; */
  /* border-top: 1rpx solid #f5f5f5; */
  padding: 0 30rpx;
  box-sizing: border-box;
  background: #fff;
}

.map {
  display: flex;
  align-items: center;
  /* white-space: nowrap; */
  font-size: 28rpx;
  /* padding: 0 10rpx 0 20rpx; */
  color: #999;
  margin-right: 15rpx;
  padding-left: 26rpx;
  box-sizing: border-box;
}

.location {
  width: 28rpx;
  height: 34rpx;
  padding-right: 10rpx;
}

.location image {
  width: 100%;
  height: 100%;
}

.map .cityname {
  color: #006be7;
  font-size: 36rpx;
  max-width: 120rpx;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  word-break: break-all;
}

.arrow-down {
  transform: rotate(90deg);
  margin-left: 10rpx;
}

.search {
  flex: 1;
  height: 64rpx;
  background: #FFFFFF;
  border-radius: 10rpx;
  border: 2rpx solid #0070F2;
  font-size: 24rpx;
  padding: 18rpx 20rpx;
  box-sizing: border-box;
  /* border: 4rpx solid #0177ff; */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-content {
  font-size: 28rpx;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search .i_search {
  width: 29rpx;
  height: 29rpx;
  display: flex;
  align-items: center;
}

.search .i_search image {
  width: 100%;
  height: 100%;
}

.placeholder {
  font-size: 26rpx;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: #CCCCCC;
}

.search-input {
  flex: 1;
  margin-left: 15rpx;
  font-size: 26rpx;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
}

.btn-search {
  height: 66rpx;
  width: 128rpx;
  color: #fff;
  font-size: 28rpx;
  text-align: center;
  line-height: 66rpx;
  background: #0177ff;
  border-radius: 34rpx;
  margin-left: 15rpx;
}

.cancel {
  font-size: 32rpx;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: #444444;
  margin-left: 30rpx;
}

/* 搜索历史 */

.topic {
  padding: 0 30rpx;
  color: #333;
  font-size: 28rpx;
  margin-top: 60rpx;
  box-sizing: border-box;
}

.topic .topic-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80rpx;
}

.topic-header .history-title {
  font-family: SourceHanSansCN-Normal;
  font-weight: 400;
  color: #333;
  font-size: 28rpx;
}

.topic-header image {
  width: 27rpx;
  height: 39rpx;
}

.record {
  display: inline-block;
  height: 65rpx;
  line-height: 65rpx;
  text-align: center;
  padding: 0 20rpx;
  margin-right: 20rpx;
  margin-bottom: 20rpx;
  font-size: 28rpx;
  color: #666;
  background-color: #ebebeb;
  border-radius: 6rpx;
}