/* 防滚动穿透-防止弹窗后面的页面跟随手指滑动 */
.lockScroll {
  position: absolute;
  overflow: hidden;
}
.white-bg {
  background-color: #fff;
}

/* 涉及置底的底部菜单栏、按钮、弹窗等样式规范 */
.ui-bottom-panel {
  position: fixed;
  bottom: 0;
  width: 100%;
}

/* 底部菜单栏 */
.ui-bottom-panel .ui-bottom-menu-panel {
  display: flex;
  justify-content: space-around;
  background: #fff;
  box-shadow: 0 0 5px 1px rgba(170, 170, 170, 0.2);
  color: #262626;
  font-size: 0.11rem;
  padding-bottom: constant(safe-area-inset-bottom); /* 兼容ios<11.2 */
  padding-bottom: env(safe-area-inset-bottom); /* 兼容ios 11.2+ */
}
.ui-bottom-panel .ui-bottom-menu-panel .ui-menu-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.07rem 0 0.04rem;
}
.ui-bottom-panel .ui-bottom-menu-panel .ui-menu-item.active {
  color: #fc5847;
}
.ui-bottom-panel .ui-bottom-menu-panel .ui-menu-item img {
  width: 0.21rem;
  height: 0.21rem;
  margin-bottom: 0.03rem;
}

/* 底部弹窗 */
.bottom-pop-box {
  width: 100%;
  z-index: 101;
  background-color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  border-top-right-radius: 0.1rem;
  border-top-left-radius: 0.1rem;
  padding: 0.21rem 0.24rem;
  color: #262626;
  text-align: center;
  font-size: 0.18rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-bottom: calc(
    0.15rem + constant(safe-area-inset-bottom)
  ); /* 兼容ios<11.2 */
  padding-bottom: calc(
    0.15rem + env(safe-area-inset-bottom)
  ); /* 兼容ios 11.2+ */
}

.bottom-pop-box .msg-title {
  font-size: 0.18rem;
  font-weight: bold;
}

.bottom-pop-box .msg-content {
  margin: 0.15rem 0;
  overflow: auto;
  display: flex;
  align-items: center;
  height: 1.7rem;
}

.bottom-pop-box .msg-button-box {
  display: flex;
  justify-content: space-between;
  height: 0.44rem;
  line-height: 0.44rem;
  border: none;
  width: 100%;
}

.bottom-pop-box .msg-button-box button {
  border-radius: 0.07rem;
  font-size: 0.15rem;
  margin-right: 0.18rem;
  flex: 1;
}

.bottom-pop-box .msg-button-box button:first-of-type {
  background: #f8f8fa;
  color: #727272;
  border: 1px solid #d2d2d5;
}

.bottom-pop-box .msg-button-box button:last-of-type {
  background: #fc5847;
  color: #fff;
  border: 1px solid #fc5847;
  margin-right: 0;
}

/* 底部按钮（带透明度） */
.ui-bottom-button-box {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: #fff;
  padding: 0.15rem;
}

.ui-bottom-button-box.opacity {
  height: 1.2rem;
  padding: 0 0.53rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
  padding-bottom: calc(
    0.15rem + constant(safe-area-inset-bottom)
  ); /* 兼容ios<11.2 */
  padding-bottom: calc(
    0.15rem + env(safe-area-inset-bottom)
  ); /* 兼容ios 11.2+ */
}

.ui-bottom-button-box .ui-bottom-button {
  width: 100%;
  background: #fc5847;
  border-radius: 0.07rem;
  font-size: 0.16rem;
  color: #fff;
  text-align: center;
  height: 0.44rem;
  line-height: 0.44rem;
}

/* 置底按钮 */
.yui-bottom-box-panel {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #fff;
  padding: 0.1rem 0 0.15rem;
  padding-bottom: calc(
    0.15rem + constant(safe-area-inset-bottom)
  ); /* 兼容ios<11.2 */
  padding-bottom: calc(
    0.15rem + env(safe-area-inset-bottom)
  ); /* 兼容ios 11.2+ */
  box-shadow: 0 0 5px 1px rgba(170, 170, 170, 0.2);
  z-index:99;
}

.yui-bottom-box-panel .ui-bottom-panel {
  position: static;
}

.yui-bottom-box-panel .ui-bottom-button-box {
  padding: 0;
  align-items: center;
  margin: 0 0.15rem;
  width: calc(100% - 0.3rem);
}

.ui-bottom-button-box button {
  border-radius: 0.07rem;
  font-size: 0.15rem;
  margin-right: 0.15rem;
  flex: 1;
  height: 0.44rem;
  line-height: 0.44rem;
  margin-top: 0.05rem;
}

.ui-bottom-button-box button:disabled {
  opacity: 0.5;
}

.ui-bottom-button-box button:first-of-type {
  background: #fff7f8;
  color: #ff3f3d;
  border: 1px solid #ff3f3d;
}

.ui-bottom-button-box button:last-of-type {
  background: #fc5847;
  color: #fff;
  border: 1px solid #fc5847;
  margin-right: 0;
}

/* 协议勾选框 */
.yui-bottom-box-panel .ui-protocol-box {
  display: flex;
  margin: 0 0.15rem 0.05rem;
  align-items: flex-start;
}

.yui-bottom-box-panel .ui-protocol-box .ui-checkbox input {
  width: 0.15rem;
  height: 0.15rem;
  vertical-align: top;
}

.yui-bottom-box-panel .ui-protocol-box .ui-checkbox input:before {
  background-position: top left;
  left: 0;
  top: 0.03rem;
}

.yui-bottom-box-panel .ui-protocol-box .ui-checkbox input:checked:before {
  background-image: url(../../img/common/checked.png);
  background-position: top left;
  left: 0;
  top: 0.03rem;
}

.yui-bottom-box-panel .ui-protocol-box label {
    margin-left: 0;
  padding-left: 0.1rem;
  font-size: 0.13rem;
  color: #727272;
  line-height: 0.2rem;
}

.yui-bottom-box-panel .ui-protocol-box label span {
  color: #ff3f3d;
}

/* 提示文字 */
.yui-bottom-box-panel .ui-tips-box {
  font-size: 0.13rem;
  color: #f38200;
  text-align: center;
  line-height: 0.2rem;
  margin-bottom: 0.05rem;
}

/* 图标按钮 */
.ui-bottom-button-box .icon-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.12rem;
  color: #262626;
  margin: 0.05rem 0.12rem 0 0.1rem;
}

.ui-bottom-button-box .icon-button img {
  width: .16rem;
  height: .16rem;
  margin-bottom: .03rem;
}

.ui-bottom-button-box div.icon-button:last-of-type {
  margin-right: 0.25rem;
}

/* 高亮文案+事件入口 */
.ui-bottom-panel .ui-entrance-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e6e6ea;
  padding: 0 0.15rem 0.1rem;
  margin-bottom: 0.1rem;
  font-size: 0.13rem;
  color: #727272;
}

.ui-bottom-panel .ui-entrance-box p:last-of-type {
  background: url("../../img/common/icon-r.png") no-repeat;
  background-size: 0.05rem 0.09rem;
  background-position: right center;
  padding-right: 0.11rem;
}
