.bm-wechat-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  color: #64748b;
  font-size: 13px;
}

.bm-wechat-divider::before,
.bm-wechat-divider::after {
  content: "";
  height: 1px;
  background: #e5e7eb;
}

.bm-wechat-admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(22, 163, 74, .28);
  border-radius: 8px;
  color: #14532d;
  background: #f0fdf4;
  cursor: pointer;
  font-weight: 800;
}

.bm-wechat-admin-btn:hover {
  border-color: rgba(22, 163, 74, .48);
  background: #dcfce7;
}

.bm-wechat-admin-btn:disabled {
  cursor: wait;
  opacity: .68;
}

.bm-wechat-admin-btn span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  background: #16a34a;
  font-size: 13px;
}

.bm-wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, .5);
}

.bm-wechat-modal[hidden] {
  display: none;
}

.bm-wechat-dialog {
  position: relative;
  width: min(360px, 100%);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  text-align: center;
  box-shadow: 0 22px 58px rgba(15, 23, 42, .18);
}

.bm-wechat-dialog h2 {
  margin: 0 0 8px;
  color: #172033;
  font-size: 20px;
}

.bm-wechat-dialog p {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 13px;
}

.bm-wechat-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.bm-wechat-qr {
  display: grid;
  place-items: center;
  width: 220px;
  height: 220px;
  margin: 0 auto 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f8fafc;
}

.bm-wechat-qr img {
  width: 204px;
  height: 204px;
}

.bm-wechat-status {
  min-height: 22px;
  color: #176b87;
  font-size: 13px;
  font-weight: 800;
}

.bm-wechat-status.is-failed {
  color: #b42318;
}
