.profile-edit-container {
  min-height: 100vh;
  background: #000000;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  padding-bottom: 60rpx;
}

/* 滑动容器样式 */
.scroll-container {
  height: calc(100vh - 88rpx);
  overflow-y: auto;
  padding-bottom: 60rpx;
}

/* 导航栏样式 */
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 88rpx;
  padding: 0 30rpx;
  /* background-color: #6e0000; */
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-back {
  width: 88rpx;
  height: 88rpx;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.back-icon {
  font-size: 40rpx;
  color: #ffffff;
}

.nav-title {
  font-size: 36rpx;
  font-weight: 600;
  color: #ffffff;
}

.nav-save {
  width: 88rpx;
  height: 88rpx;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.save-text {
  font-size: 32rpx;
  color: #07c160;
  font-weight: 500;
}

/* 头像区域样式 */
.avatar-section {
  display: flex;
  justify-content: center;
  padding: 60rpx 0;
}

.avatar-container {
  position: relative;
  width: 200rpx;
  height: 200rpx;
  border-radius: 50%;
  overflow: hidden;
  border: 4rpx solid #333333;
}

.avatar {
  width: 100%;
  height: 100%;
}

.avatar-upload {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60rpx;
  height: 60rpx;
  background-color: #555455;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4rpx solid #1a1a1a;
}

.upload-icon {
  font-size: 36rpx;
  color: #ffffff;
  font-weight: bold;
}

/* 信息区域样式 */
.info-section {
  margin: 0 40rpx 50rpx;
  background-color: #242424;
  border-radius: 20rpx;
  padding: 40rpx;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30rpx 0;
  border-bottom: 2rpx solid #333333;
}

.info-item:last-child {
  border-bottom: none;
}

.info-label {
  font-size: 32rpx;
  color: #cccccc;
  width: 140rpx;
}

.info-value {
  font-size: 32rpx;
  color: #ffffff;
  flex: 1;
  text-align: right;
}

.nickname-container,
.signature-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
}

.edit-icon {
  font-size: 28rpx;
  color: #07c160;
  margin-left: 10rpx;
}

.signature {
  text-align: right;
  color: #999999;
}

/* 关于我区域样式 */
.about-section {
  padding: 40rpx 32rpx;
  margin: 0 40rpx 50rpx;
  background-color: #242424;
  border-radius: 24rpx;
}

.resume-section {
  margin: 0 40rpx 50rpx;
  padding: 40rpx;
  background-color: #242424;
  border-radius: 20rpx;
}

.resume-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30rpx 0;
}

.resume-value {
  color: #f5f5f5;
  font-size: 28rpx;
  line-height: 1.5;
}

/*   更多   */
.more-section {
  margin: 0 40rpx 50rpx;
  background-color: #242424;
  border-radius: 20rpx;
  padding: 40rpx;
}

.section-title {
  font-size: 34rpx;
  font-weight: 600;
  margin-bottom: 30rpx;
  color: #ffffff;
}

.section-subtitle {
  font-size: 30rpx;
  color: #cccccc;
  margin: 20rpx 0;
}

.about-item,
.more-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30rpx 0;
  border-bottom: 2rpx solid #333333;
}

.about-item:last-child,
.more-item:last-child {
  border-bottom: none;
}

.about-label,
.more-label {
  font-size: 32rpx;
  color: #cccccc;
  width: 160rpx;
}

.about-content,
.more-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
}

.about-value,
.more-value {
  font-size: 32rpx;
  color: linear-gradient(123deg, #8361FB 15.54%, #70AAFC 39.58%, #F0F8FB 62.43%, #F07BFF 90.28%);
  text-align: right;
  margin-right: 10rpx;
}

.arrow-icon {
  font-size: 32rpx;
  color: #666666;
}

.basic-info {
  margin-top: 30rpx;
}

.basic-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30rpx 0;
  border-bottom: 2rpx solid #333333;
}

.basic-info-item:last-child {
  border-bottom: none;
}

/* 弹窗样式 */
.modal-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.modal-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #242424;
  border-radius: 30rpx 30rpx 0 0;
  padding: 30rpx;
  z-index: 1001;
}

.modal-title {
  font-size: 36rpx;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30rpx;
  color: #ffffff;
}

.modal-input {
  width: 100%;
  height: 80rpx;
  background-color: #333333;
  border-radius: 10rpx;
  padding: 0 20rpx;
  font-size: 32rpx;
  color: #ffffff;
  margin-bottom: 30rpx;
}

.modal-textarea {
  width: 100%;
  height: 200rpx;
  background-color: #333333;
  border-radius: 10rpx;
  padding: 20rpx;
  font-size: 32rpx;
  color: #ffffff;
  margin-bottom: 30rpx;
  line-height: 1.5;
}

.modal-buttons {
  display: flex;
  justify-content: space-between;
}

.modal-button {
  width: 300rpx;
  height: 80rpx;
  border-radius: 40rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32rpx;
  font-weight: 500;
}

.cancel {
  background-color: #333333;
  color: #999999;
}

.confirm {
  background-color: #07c160;
  color: #ffffff;
}

/* 选择器样式 */
.picker-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.picker-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #242424;
  border-radius: 30rpx 30rpx 0 0;
  padding: 30rpx;
  z-index: 1001;
  max-height: 80vh;
  overflow-y: auto;
}

.picker-title {
  font-size: 36rpx;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30rpx;
  color: #ffffff;
}

.picker-button {
  width: 100%;
  height: 80rpx;
  border-radius: 40rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32rpx;
  font-weight: 500;
  margin-top: 30rpx;
}

/* 星座选择器样式 */
.constellation-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.constellation-item {
  width: 140rpx;
  height: 60rpx;
  background-color: #333333;
  border-radius: 30rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28rpx;
  color: #ffffff;
  margin-bottom: 20rpx;
}

.constellation-item.selected {
  background-color: #07c160;
}

/* 人格类型选择器样式 */
.personality-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.personality-item {
  width: 140rpx;
  height: 60rpx;
  background-color: #333333;
  border-radius: 30rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28rpx;
  color: #ffffff;
  margin-bottom: 20rpx;
}

.personality-item.selected {
  background-color: #07c160;
}

/* 职业和教育选择器样式 */
.search-container {
  display: flex;
  align-items: center;
  background-color: #333333;
  border-radius: 10rpx;
  padding: 0 20rpx;
  margin-bottom: 20rpx;
}

.search-input {
  flex: 1;
  height: 70rpx;
  font-size: 30rpx;
  color: #ffffff;
}

.search-icon {
  font-size: 32rpx;
  color: #999999;
}

.career-scroll,
.education-scroll {
  height: 400rpx;
}

.career-item,
.education-item {
  height: 80rpx;
  display: flex;
  align-items: center;
  padding: 0 20rpx;
  border-bottom: 2rpx solid #333333;
  font-size: 30rpx;
  color: #ffffff;
}

/* 家乡和生日选择器样式 */
.hometown-picker-view,
.birthday-picker-view {
  background-color: #333333;
  border-radius: 16rpx;
  padding: 20rpx;
  margin-bottom: 30rpx;
}

.birthday-picker-view picker-view {
  border-radius: 12rpx;
  overflow: hidden;
}

.birthday-picker-view picker-view-column view {
  font-size: 32rpx;
  color: #ffffff;
  text-align: center;
}

.birthday-picker-view picker-view ::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.hometown-picker,
.birthday-picker {
  margin-bottom: 30rpx;
}

.picker-label {
  font-size: 32rpx;
  color: #cccccc;
  margin-bottom: 10rpx;
  display: block;
}

.picker-text {
  height: 70rpx;
  background-color: #333333;
  border-radius: 10rpx;
  display: flex;
  align-items: center;
  padding: 0 20rpx;
  font-size: 30rpx;
  color: #ffffff;
  margin-bottom: 20rpx;
}

.birthday-picker {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.birthday-picker .picker {
  width: 30%;
}

/* 身高和性别选择器样式 */
.height-picker,
.gender-picker {
  margin-bottom: 30rpx;
}

.slider {
  width: 100%;
  margin: 20rpx 0;
}

.height-value {
  font-size: 32rpx;
  color: #07c160;
  text-align: center;
  margin-top: 10rpx;
}

.gender-options {
  display: flex;
  justify-content: space-around;
  margin-top: 20rpx;
}

.gender-option {
  width: 150rpx;
  height: 70rpx;
  background-color: #333333;
  border-radius: 35rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32rpx;
  color: #ffffff;
}

.gender-option.selected {
  background-color: #07c160;
}

/* 睡眠习惯和社交活跃度选择器样式 */
.sleep-habit-section,
.social-activity-section {
  margin-bottom: 30rpx;
}

.sleep-habit-scroll,
.social-activity-scroll {
  height: 250rpx;
}

.habit-item,
.activity-item {
  height: 70rpx;
  display: flex;
  align-items: center;
  padding: 0 20rpx;
  border-bottom: 2rpx solid #333333;
  font-size: 30rpx;
  color: #ffffff;
}

/* 相机预览样式 */
.camera-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
}

.camera-preview {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.camera-preview image {
  width: 600rpx;
  height: 600rpx;
  object-fit: contain;
}

.preview-buttons {
  display: flex;
  justify-content: space-between;
  width: 600rpx;
  margin-top: 40rpx;
}

.preview-button {
  width: 250rpx;
  height: 80rpx;
  border-radius: 40rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32rpx;
  font-weight: 500;
}

.retake {
  background-color: #333333;
  color: #999999;
}

.use {
  background-color: #07c160;
  color: #ffffff;
}

/* 适配底部安全区域 */
.bottom-space {
  height: 34rpx;
}