.add-page {
  min-height: 100vh;
  background: #f5f5f7;
}

/* ═══ 顶部模式提示条 ═══ */
.add-page__mode-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  font-size: 15px;
  font-weight: 600;
  color: white;
}

.add-page__mode-bar--edit {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* ═══ 表单卡片分组 ═══ */
.add-page__card {
  margin: 12px 12px 0;
  border-radius: 12px;
  background: white;
  overflow: hidden;
}

/* ═══ NutUI Form/CellGroup 样式覆盖 ═══ */
.add-page__card .nut-cell-group {
  border-radius: 12px;
  overflow: hidden;
}

.add-page__card .nut-cell::after {
  left: 16px;
  right: 16px;
  border-color: #f0f0f0;
}

.add-page__card .nut-form-item .nut-cell__title {
  font-size: 15px;
  font-weight: 500;
  color: #374151;
}

.add-page__card .nut-form-item .nut-input {
  font-size: 15px;
  color: #111827;
}

.add-page__card .nut-form-item .nut-input__inner {
  font-size: 15px;
  color: #111827;
}

.add-page__card .nut-cell__value {
  font-size: 15px;
  color: #111827;
}

/* ═══ 章节标题 ═══ */
.add-page__section-title {
  display: flex;
  align-items: center;
  padding: 16px 16px 8px;
  font-size: 13px;
  font-weight: 600;
  color: #9ca3af;
  letter-spacing: 0.5px;
}

.add-page__section-title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: #3b82f6;
  margin-right: 8px;
}

/* ═══ 接待人员选择 ═══ */
.add-page__receptionist-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}

.add-page__receptionist-value {
  display: flex;
  align-items: center;
}

.add-page__receptionist-name {
  font-size: 15px;
  color: #111827;
  margin-right: 8px;
}

.add-page__receptionist-placeholder {
  font-size: 15px;
  color: #d1d5db;
}

.add-page__receptionist-clear {
  display: flex;
  align-items: center;
  padding: 4px;
}

/* ═══ 日期选择器触发器 ═══ */
.add-page__date-trigger {
  display: flex;
  align-items: center;
  padding: 8px 0;
}

.add-page__date-text {
  font-size: 15px;
  color: #111827;
}

.add-page__date-placeholder {
  font-size: 15px;
  color: #d1d5db;
}

/* ═══ 底部按钮区 ═══ */
.add-page__footer {
  position: fixed;
  z-index: 50;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(255, 255, 255, 1) 60%, rgba(255, 255, 255, 0));
}

.add-page__submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);

  &:active {
    opacity: 0.85;
  }

  &::after {
    display: none;
  }
}

.add-page__submit-btn--disabled {
  opacity: 0.5;
  pointer-events: none;
}

.add-page__bottom-spacer {
  height: 100px;
  width: 100%;
}

/* ═══ 审核状态区 ═══ */
.add-page__status-section {
  margin: 12px 12px 0;
  border-radius: 12px;
  overflow: hidden;
}

.add-page__status-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}

.add-page__status-label {
  font-size: 14px;
  color: #6b7280;
}

.add-page__status-value {
  font-size: 14px;
  color: #374151;
}

/* ═══ Popup 选择接待人员 ═══ */
.add-page__picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.add-page__picker-title {
  font-size: 17px;
  font-weight: 600;
  color: #111827;
}

.add-page__picker-cancel {
  font-size: 15px;
  color: #3b82f6;
  padding: 4px 8px;
}

.add-page__picker-search {
  padding: 12px 12px 8px;
}

.add-page__picker-list {
  flex: 1;
  overflow-y: auto;
}

.add-page__picker-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #f5f5f5;
}

.add-page__picker-item:active {
  background: #f9fafb;
}

.add-page__picker-item-info {
  display: flex;
  flex-direction: column;
}

.add-page__picker-item-name {
  font-size: 15px;
  font-weight: 500;
  color: #111827;
}

.add-page__picker-item-phone {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 2px;
}

.add-page__picker-item-selected {
  font-size: 14px;
  font-weight: 600;
  color: #3b82f6;
}

.add-page__picker-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.add-page__picker-empty-text {
  font-size: 14px;
  color: #d1d5db;
}
