@charset "utf-8";

/* 首页积分兑换弹窗 */
.points-modal-overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 50%;
  left: 50%;
  display: none;
  z-index: 9999999;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}
.points-modal-overlay.show {
  display: block;
}
.points-modal {
  position: relative;
  width: calc(100% - 32px);
  max-width: 600px;
  background: url("../images/newsAlertTopBg.png") no-repeat left top #fff;
  background-size: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
  overflow: hidden;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}
.points-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  display: grid;
  place-items: center;
  background: transparent;
  cursor: pointer;
}
.points-modal-close:hover {
  background: rgba(255, 255, 255, .2);
}
.points-modal-head {
  position: relative;
  display: flex;
  align-items: center;
  padding: 20px 25px 0 25px;
  gap: 16px;
  width: 86%;
  margin: 0 auto;
}
.points-modal-gift {
  width: 100%;
  max-width: 120px;
  height: auto;
}
.points-modal-head-text h3 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 7px;
}
.points-modal-head-text p {
  color: rgba(255, 255, 255, .92);
}
.points-modal-body {
  padding: 25px;
  width: 86%;
  margin: -30px auto 0 auto;
}
.points-modal-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 194, 222, 1);
  border-radius: 8px;
  padding: 25px 18px;
  background: #ffffff;
}
.points-modal-box span {
  color: #000000;
}
.points-modal-box strong {
  color: rgba(0, 194, 222, 1);
  font-size: 36px;
  font-weight: 700;
}
.points-modal-box small {
  font-weight: 400;
}
.points-modal-tip {
  margin: 20px 0 22px;
  color: #555;
  line-height: 1.7;
}
.points-modal-actions {
  display: flex;
  gap: 16px;
}
.points-modal-actions .btn {
  flex: 1;
  height: 38px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 18px;
  transition: all .2s;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.points-modal-actions .btn img {
  max-width: 16px;
  margin-left: 10px;
}
.points-modal-actions .btn-primary {
  background: rgba(0, 194, 222, 1);
  color: #fff;
}
.points-modal-actions .btn-gray {
  background: #6f6f6f;
  color: #fff;
}
.points-modal-actions .btn-gray:hover {
  background: #5d5d5d;
}

@media screen and (max-width: 1024px) {
  .points-modal-head-text h3 {
    font-size: 18px;
  }
  .points-modal-head {
    width: 100%;
    padding-top: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .points-modal-body {
    padding: 25px 15px;
    width: 100%;
  }
  .points-modal-gift {
    max-width: 90px;
  }
}
