/* ===== QR Code Popup Modal ===== */
.msb-qr-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.msb-qr-modal.is-active {
  display: flex;
}

.msb-qr-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 30, 66, 0.54);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.msb-qr-modal__dialog {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 640px;
  box-shadow: 0 8px 32px rgba(9, 30, 66, 0.16);
  overflow: hidden;
}

.msb-qr-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-bottom: 1px solid #DEE5EF;
}

.msb-qr-modal__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #091E42;
  line-height: 24px;
}

.msb-qr-modal__close {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
  padding: 0;
  margin: 0;
  margin-left: 12px;
}

.msb-qr-modal__close:hover {
  background: #F7F8F9;
}

.msb-qr-modal__body {
  padding: 32px 24px 40px;
  text-align: center;
}

.msb-qr-modal__desc {
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 400;
  color: #505F79;
  line-height: 1.5;
}

.msb-qr-modal__qr-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.msb-qr-modal__qr-wrap img {
  display: block;
}

.msb-qr-modal__qr-wrap canvas {
  display: block;
}
