/**
 * ============================================================================
 * 采集员名单页样式  (mobile/css/collectors.css)
 * ----------------------------------------------------------------------------
 * 复用 base.css 的 CSS 变量与通用组件（卡片 / 按钮 / 输入框 / Toast）。
 * 本文件只补充名单列表、我的信息卡、申请弹层等专属样式。
 * ============================================================================
 */

/* 页头说明条 */
.page-tip {
  font-size: 13px;
  color: var(--color-text-secondary);
  background: #eef3fb;
  border-radius: 10px;
  padding: 10px 14px;
  margin: 12px 0 4px;
  line-height: 1.6;
}

.section-title {
  font-size: 15px;
  font-weight: 700;
  margin: 20px 4px 10px;
  color: var(--color-text);
}

/* ====================== 我的信息卡 ====================== */
.my-card .my-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.my-label {
  color: var(--color-text-secondary);
  font-size: 14px;
}
.my-value {
  font-weight: 600;
  font-size: 15px;
  max-width: 60%;
  text-align: right;
  word-break: break-all;
}
.my-dev {
  font-size: 12px;
  color: var(--color-text-secondary);
  font-weight: 400;
}
.my-note {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: 10px;
}
.my-note.ok {
  color: #2e9e5b;
}
.my-fix-btn {
  margin-top: 16px;
}

/* ====================== 采集员名单列表 ====================== */
.collector-list {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.collector-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border-light);
}
.collector-item:last-child {
  border-bottom: none;
}
.collector-item.me {
  background: rgba(26, 115, 232, 0.06);
}
.ci-name {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.me-badge {
  font-size: 11px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 6px;
  padding: 1px 6px;
  font-weight: 600;
}
.ci-sub {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-top: 3px;
}
.ci-dev {
  font-size: 11px;
  color: #9aa7bd;
  max-width: 45%;
  text-align: right;
  word-break: break-all;
}
.btn-fix {
  flex: none;
  font-size: 13px;
  color: var(--color-primary);
  background: rgba(26, 115, 232, 0.1);
  border-radius: 8px;
  padding: 7px 12px;
  font-weight: 600;
}

/* ====================== 我的改名申请 ====================== */
.req-list {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.req-item {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border-light);
}
.req-item:last-child {
  border-bottom: none;
}
.req-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.req-old {
  color: var(--color-text-secondary);
}
.req-arrow {
  color: #9aa7bd;
}
.req-new {
  font-weight: 600;
}
.req-status {
  margin-left: auto;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 6px;
}
.st-pending  { background: #fff4e5; color: #ff6d00; }
.st-approved { background: #e7f6ec; color: #2e9e5b; }
.st-rejected { background: #fdecea; color: #e5484d; }
.req-note {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-top: 6px;
}
.req-time {
  font-size: 11px;
  color: #9aa7bd;
  margin-top: 4px;
}
.empty-row {
  padding: 20px;
  text-align: center;
  color: #9aa7bd;
  font-size: 14px;
}

/* ====================== 申请更正 底部弹层 ====================== */
.sheet-mask {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 10000;
}
.sheet {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
}
.sheet-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.sheet-tip {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 14px;
  line-height: 1.6;
}
.sheet-tip b {
  color: var(--color-primary);
}
.sheet-label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin: 12px 0 6px;
}
.field-err {
  display: none;
  margin-top: 8px;
  font-size: 13px;
  color: #e5484d;
}
.sheet-btns {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.sheet-btns .btn {
  flex: 1;
}

/* ====================== 底部：备案号悬挂（与首页 home.css 保持一致） ====================== */
.site-footer {
  margin-top: var(--space-xl);
  padding-bottom: calc(var(--space-lg) + env(safe-area-inset-bottom, 0px));
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.beian-links {
  font-size: 12px;
  line-height: 1.9;
}

.beian-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  margin: 0 6px;
}

.beian-links a:hover,
.beian-links a:active {
  color: var(--color-primary);
  text-decoration: underline;
}

/* 备案号与下方说明同处 .site-footer 内时，去掉 .footer-note 自带的上边距，避免间距过大 */
.site-footer .footer-note {
  margin-top: 0;
}

/* 公安备案图标：覆盖 base.css 全局 img{display:block}，使其与文字同行居中显示 */
.beian-links img {
  display: inline-block;
  vertical-align: middle;
  width: 14px;
  height: 14px;
  margin-right: 4px;
}
