/* ================= 凭证 ================= */
#page-voucher {
  background: #f6f7f9;
}

#page-voucher .container {
  position: relative;
  background: #f6f7f9;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 0 0 1.6rem;
}

/* 彩色渐变背景图 */
#page-voucher .bg-image {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* ===== 卡片 ===== */
#page-voucher .card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0.48rem;
  margin: 0.4rem 0.48rem 0;
  padding: 0.32rem 0.48rem;
}

/* ===== 凭证区 ===== */
#page-voucher .proof-title {
  font-size: 0.36rem;
  font-weight: 500;
  color: #000;
  text-align: center;
  padding-bottom: 0.32rem;
}

/* 二维码 */
#page-voucher .qr-box {
  width: 100%;
  display: flex;
  justify-content: center;
}

#page-voucher .qr-wrap {
  position: relative;
  width: 3.2rem;
  height: 3.2rem;
  flex-shrink: 0;
}

#page-voucher .qr-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* 已核销标签：白字深灰底，左右拉满横贯二维码 */
#page-voucher .verified-tag {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  background: #4a4f52;
  color: #fff;
  font-size: 0.25rem;
  font-weight: 500;
  padding: 0.2rem 0;
  text-align: center;
  box-sizing: border-box;
  z-index: 2;
}

#page-voucher .off-tips {
  font-size: 0.24rem;
  color: #000;
  margin-top: 0.08rem;
  text-align: center;
}

#page-voucher .proof-line {
  border-top: 0.02rem dashed #c8c9cc;
  margin-top: 0.18rem;
}

#page-voucher .expire-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  margin-top: 0.18rem;
}

#page-voucher .expire-title {
  font-size: 0.28rem;
  color: #969799;
  white-space: nowrap;
}

#page-voucher .refresh {
  font-size: 0.28rem;
  color: #bd2626;
  margin-left: 0.16rem;
  white-space: nowrap;
}

#page-voucher .proof-tips {
  font-size: 0.28rem;
  color: #969799;
  line-height: 0.38rem;
  margin-top: 0.18rem;
  text-align: center;
}

#page-voucher .proof-tips.scan {
  margin: 0.18rem 0 0;
}

/* ===== 预约信息区 ===== */
#page-voucher .head-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.36rem;
  font-weight: 500;
  color: #000;
}

#page-voucher .head-icon-img {
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.1rem;
  flex-shrink: 0;
}

#page-voucher .part-service {
  display: flex;
  align-items: flex-start;
  padding: 0.32rem 0;
  margin: 0.16rem 0 -0.32rem;
}

#page-voucher .service-icon {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 0.2rem;
  margin-right: 0.2rem;
  flex-shrink: 0;
}

#page-voucher .service-title {
  flex: 1;
  font-size: 0.28rem;
  font-weight: 500;
  color: #000;
  line-height: 0.42rem;
}

/* 信息行：标签左 + 值右对齐 */
#page-voucher .part-row {
  display: flex;
  align-items: flex-start;
  margin-top: 0.48rem;
}

#page-voucher .part-title {
  width: 1.76rem;
  flex-shrink: 0;
  font-size: 0.28rem;
  color: #000;
}

#page-voucher .part-content {
  flex: 1;
  font-size: 0.28rem;
  color: #000;
  text-align: right;
  word-break: break-all;
}

#page-voucher .part-content.nowrap {
  white-space: nowrap;
  word-break: normal;
}

#page-voucher .part-content.red {
  color: #bd2626;
  font-weight: 500;
}

#page-voucher .part-line {
  height: 0.02rem;
  background: #ebedf0;
  margin-top: 0.48rem;
}

/* ===== 底部菜单 ===== */
#page-voucher .bottom-btn-box {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.46rem;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

#page-voucher .menu {
  display: flex;
  width: 100%;
  padding: 0 0.44rem;
  box-sizing: border-box;
}

#page-voucher .menu__item {
  flex: 1;
  height: 0.8rem;
  border-radius: 999px; /* 原 1000rpx：浏览器不识别 rpx，改为大像素值实现胶囊形 */
  background: #ededef;
  font-size: 0.28rem;
  font-weight: 700;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#page-voucher .menu__item + .menu__item {
  margin-left: 0.2rem;
}

#page-voucher .menu__item-icon {
  width: 0.28rem;
  height: 0.28rem;
  margin-right: 0.06rem;
  flex-shrink: 0;
}
