@charset "UTF-8";
/* 二维码弹层组件（与 qr-modal.ts 配套，不依赖 reset） */
/* IE10：用 class 控制显隐，不用 [hidden] */
.qr-modal.qr-modal-hide {
  display: none !important;
}

.qr-modal {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 16px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.qr-modal-mask {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: #333;
}

.qr-modal-dialog {
  position: relative;
  padding: 0;
  text-align: center;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: #fff;
  border-radius: 4px;
}

.qr-modal-panel {
  position: relative;
  z-index: 1;
  display: inline-block;
  max-width: 90vw;
  text-align: center;
}

.qr-modal-close {
  position: absolute;
  right: -12px;
  top: -12px;
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 999px;
  background: #fff;
  font-size: 18px;
  line-height: 1;
  color: #333;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.qr-modal-img-wrap {
  margin: 0;
}

/* qrcode.js：Canvas 或 table 画在容器内 */
.qr-modal-qrcode-host {
  display: inline-block;
  line-height: 0;
  max-width: 100%;
  background: white;
  padding: 20px;
}

.qr-modal-qrcode-host canvas,
.qr-modal-qrcode-host table {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.qr-modal-qrcode-host canvas {
  -ms-interpolation-mode: bicubic;
}

.qr-modal-tip {
  position: absolute;
  left: 0;
  top: 100%;
  margin: 10px 0 0;
  width: 100%;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  word-break: break-word;
  text-align: center;
  -ms-word-break: break-all;
  word-wrap: break-word;
}

.qr-modal-tip-empty {
  display: none;
}