/* ============================================
   仿微信投诉页面 - WeUI 自定义样式
   基于 WeChat WeUI 2.x，仅补充导航栏等缺失组件
   ============================================ */

/* 页面基础 */
body {
  background-color: #ededed;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
}

/* 自定义导航栏（WeUI无此组件） */
.nav-bar {
  height: 44px;
  background-color: #ededed;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: .5px solid #d9d9d9;
}
.nav-bar .nav-title {
  font-size: 17px;
  font-weight: 500;
  color: #000;
}
.nav-bar .nav-close {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 28px;
  color: #000;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
}

/* WeUI 微调 */
.weui-cells {
  margin-top: 0;
}
.weui-cells__title {
  color: #888;
}

/* 二级流�?指示 */
.flow-indicator {
  padding: 12px 16px;
  font-size: 13px;
  color: #888;
  background: #f8f8f8;
}

/* 表单提交按钮区域 */
.submit-btn-area {
  padding: 24px 16px;
}

/* WeUI agree复选框替换 */
.checkbox-wrapper {
  padding: 12px 16px;
  background: #fff;
}
.checkbox-wrapper .weui-cells {
  margin-top: 0;
  border-radius: 0;
}
.checkbox-wrapper .weui-agree {
  padding: 0;
}

/* 提示文字 */
.hint-text {
  font-size: 12px;
  color: #888;
  padding: 5px 16px;
  line-height: 1.4;
}

/* 输入�?*/
input.weui-input {
  text-align: right;
}

/* weui-btn 微调 �?/
.weui-btn_primary {
  background-color: #07c160;
}
.weui-btn_primary:active {
  background-color: #06ad56;
}

/* 底部链接 */
.weui-footer {
  padding: 20px 0;
}
.weui-footer__link {
  color: #576b95;
}

/* 单选选项页 */
.option-page {
  background: #fff;
  min-height: calc(100vh - 44px);
}
.option-page .weui-cell {
  font-size: 17px;
}
.option-page .weui-cell.selected {
  background-color: #f9f9f9;
}
.option-page .weui-cell.selected .weui-cell__bd {
  color: #07c160;
}

/* Toast */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,.75);
  color: #fff;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 6px;
  z-index: 9999;
  display: none;
}
.toast.show { display: block; }

/* 响应式 */
@media (max-width: 430px) {
  body { max-width: 100%; }
}
