/* ===== 弹窗公共样式（1:1 转换自 service-dialog.vue / download-app-dialog.vue） ===== */

.mask {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 35, 70, 0.55);
  z-index: 999;
  display: none; /* 纯静态版：默认隐藏，加 .show 显示（对应 v-if） */
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.mask.show {
  display: flex;
}

.dialog {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px 20px;
  text-align: center;
}

.close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 18px;
  color: #9aa9bd;
  line-height: 1;
  padding: 4px;
  cursor: pointer;
}

.dlg-title {
  font-size: 21px;
  font-weight: 700;
  color: #1f2d3d;
}

.dlg-sub {
  margin-top: 10px;
  font-size: 13px;
  color: #6b7a90;
}

/* ===== 客服弹窗 ===== */
.qr-card {
  margin: 20px auto 0;
  width: 218px;
}

.qr-card .qr-img {
  width: 100%;
  display: block;
}

.info-banner {
  margin-top: 20px;
  background: #e8f1fd;
  border-radius: 10px;
  padding: 12px 10px;
}

.info-banner .info-line {
  font-size: 13px;
  font-weight: 600;
  color: #1e7bff;
  line-height: 2;
}

/* ===== 下载APP弹窗（覆盖基础弹窗的部分样式，与 vue 版一致） ===== */
.dialog--dl {
  max-height: 92vh;
  padding: 28px 22px 20px;
  overflow-y: auto;
}

.qr-box {
  margin: 18px auto 0;
  width: 216px;
  height: 216px;
  border-radius: 16px;
  background: #f4f5f7;
  padding: 22px;
}

.qr-box .qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 对应 uni image 的 aspectFit */
}

.qr-tip {
  margin-top: 14px;
  font-size: 14px;
  color: #374151;
}

.dl-btn {
  height: 50px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  color: #1f2d3d;
  cursor: pointer;
}

.dl-btn .icon {
  font-size: 20px;
  line-height: 1;
}

/* 安卓：绿色主题（选中态） */
.dl-btn.android.active {
  border-color: #34c77b;
  color: #34c77b;
  background: #f2fbf6;
  font-weight: 600;
}

/* 苹果：黑色主题（选中态） */
.dl-btn.ios.active {
  border-color: #1f2d3d;
  color: #1f2d3d;
  background: #f7f8fa;
  font-weight: 600;
}

.feat-title {
  margin-top: 22px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: #1f2d3d;
}

.feat-grid {
  margin-top: 12px;
  padding-bottom: 4px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 8px;
}

.feat-grid .feat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #4b5563;
  text-align: left;
}

.feat-grid .feat-item .dot {
  font-size: 8px;
  color: #3b82f6;
  line-height: 1;
}
