.page {
  min-height: 100vh;
  background-color: #F7F7F7;
  padding-bottom: env(safe-area-inset-bottom);
}

/* 导航栏样式 */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: #F7F7F7;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-back {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-icon {
  width: 24px;
  height: 24px;
}

.nav-title {
  font-size: 17px;
  font-weight: 600;
  color: #000000;
}

/* 容器样式 */
.container {
  padding-bottom: 40px;
}

/* 单元格组样式 */
.cell-group {
  margin-top: 12px;
  background-color: #FFFFFF;
  border-top: 0.5px solid #EEEEEE;
  border-bottom: 0.5px solid #EEEEEE;
}

.cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background-color: #FFFFFF;
  line-height: 1.4;
  font-size: 17px;
  border: none;
  border-radius: 0;
  margin: 0;
  width: 100% !important;
  font-weight: normal;
}

.cell::after {
  display: none;
}

.cell:not(:last-child) {
  border-bottom: 0.5px solid #EEEEEE;
  margin-left: 16px;
  padding-left: 0;
}

.cell-label {
  color: #333333;
  width: 80px;
  text-align: left;
}

.cell-value {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #000000;
  text-align: right;
}

/* 头像单元格 */
.avatar-cell {
  padding: 12px 16px;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  margin-right: 8px;
  background-color: #F0F0F0;
}

/* 输入框样式 */
.cell-input {
  width: 100%;
  height: 24px;
  text-align: right;
  color: #000000;
}

.picker-value {
  flex: 1;
  margin-right: 4px;
}

.picker-value.placeholder {
  color: #CCCCCC;
}

.phone-text {
  color: #999999;
}

.readonly-cell {
  background-color: #FFFFFF;
}

/* 按钮区域 */
.btn-area {
  margin-top: 40px;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1; /* 占据剩余空间 */
  justify-content: space-between; /* 上下分布 */
}

.save-btn {
  width: 184px !important;
  height: 48px;
  line-height: 48px;
  background-color: #07C160;
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  padding: 0;
  margin-bottom: auto; /* 按钮靠上 */
}

.save-btn[disabled] {
  background-color: #F2F2F2;
  color: #CCCCCC;
}

.reward-tip {
  margin-top: 64px; /* 增加上边距，使其远离按钮 */
  margin-bottom: 40px; /* 增加下边距，使其不贴底 */
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  color: #B06AB3;
  font-weight: 500;
}
