.container {
  background-color: #E8EDE5;
  min-height: 100vh;
  padding: 10px;
}

/* 免责声明 */
.disclaimer-bar {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 8px;
  background: rgba(5, 150, 105, 0.06);
  border-radius: 5px;
  border-left: 2px solid #059669;
}

.disclaimer-text {
  font-size: 11px;
  color: #059669;
  line-height: 1.6;
}

/* 底部导航样式 */
simple-nav {
  display: block;
  border-bottom: 0.5px solid #5F8A6A;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

/* 页面内容底部边框 */
.page-content {
  border-bottom: 0.5px solid #5F8A6A;
  padding-bottom: 10px;
}

/* 底部下载按钮容器 */
.bottom-download-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
  margin-top: 10px;
  margin-bottom: 60px; /* 为底部导航留出空间 */
  border-top: 0.5px solid #5F8A6A;
}



/* 底部下载按钮 */
.bottom-download-container .download-btn {
  font-size: 14px;
  color: #FFFFFF;
  background-color: #5F8A6A;
  padding: 6px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bottom-download-container .download-btn:hover {
  background-color: #4A6B56;
  transform: scale(1.05);
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  margin-bottom: 15px;
}

.title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.title {
  font-size: 18px;
  font-weight: bold;
  color: #5F8A6A;
  margin-bottom: 5px;
}

.download-btn {
  font-size: 12px;
  color: #5F8A6A;
  background-color: #FFFFFF;
  padding: 4px 8px;
  border-radius: 8px;
  border: 0.5px solid #5F8A6A;
  cursor: pointer;
  line-height: normal;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  margin-top: 7.5px;
}

.download-btn:hover {
  background-color: #5F8A6A;
  color: #FFFFFF;
}

.privacy-agree-btn {
  font-size: 12px;
  color: #FFFFFF;
  background-color: #2E7D52;
  padding: 4px 10px;
  border-radius: 8px;
  line-height: normal;
  display: inline-flex;
  align-items: center;
  margin-top: 7.5px;
}

.info-section {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.label {
  font-size: 14px;
  color: #8A9A8A;
  width: auto;
  margin-right: 2.5px;
}

.value {
  font-size: 14px;
  color: #5F8A6A;
  font-weight: 500;
}

.results-container {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 10px 15px;
  margin-bottom: 10px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.result-item {
  display: flex;
  align-items: center;
  margin-bottom: 12.5px;
  padding: 7.5px 0;
  border-bottom: 0.5px solid #DCE8D8;
}

.result-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.result-label {
  font-size: 14px;
  color: #8A9A8A;
  width: auto;
  margin-right: 2.5px;
  font-weight: bold;
}

.result-value {
  font-size: 14px;
  color: #8B0000;
  font-weight: 500;
}

.section-title {
  font-size: 16px;
  font-weight: bold;
  color: #5F8A6A;
  margin-bottom: 10px;
  display: block;
}

/* 章节头部样式 */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 0.5px solid #5F8A6A;
}

.section-header .section-title {
  margin-bottom: 0;
}

.section-header .download-btn {
  font-size: 12px;
  color: #FFFFFF;
  background-color: #5F8A6A;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.section-header .download-btn:hover {
  background-color: #4A6B56;
  transform: scale(1.05);
}

.peak-challenge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.peak-challenge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  background-color: #F1F4EE;
  border-radius: 6px;
  width: calc(50% - 5px);
  box-sizing: border-box;
}

.peak-challenge-label {
  font-size: 12px;
  color: #8A9A8A;
  margin-bottom: 5px;
  font-weight: bold;
}

.peak-challenge-value {
  font-size: 14px;
  color: #5F8A6A;
  font-weight: 500;
  text-align: left;
}

/* 高峰和挑战阶段样式 */
.peak-challenge-phase {
  background-color: #F1F4EE;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 15px;
  width: 100%;
  box-sizing: border-box;
}

/* 分析卡片样式 */
.analysis-card {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 12.5px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* 阶段标题样式 */
.phase-title {
  font-size: 14px;
  font-weight: bold;
  color: #5F8A6A;
  margin-bottom: 10px;
  text-align: left;
  border-bottom: none;
  padding-bottom: 0;
}

/* 阶段标题样式 */
.phase-section-title {
  font-size: 16px;
  font-weight: bold;
  color: #5F8A6A;
  margin-bottom: 10px;
  text-align: center;
  background-color: rgba(139, 111, 90, 0.1);
  padding: 5px;
  border-radius: 4px;
  width: 100%;
}

/* 修改高峰挑战项的样式，使其在阶段内显示更好 */
.peak-challenge-phase .peak-challenge-item {
  width: 100%;
  margin-bottom: 7.5px;
  flex-direction: row;
  align-items: flex-start;
  padding: 7.5px;
  background-color: rgba(255, 255, 255, 0.6);
}

.peak-challenge-phase .peak-challenge-label {
  margin-right: 2.5px;
  margin-bottom: 0;
  width: auto;
  font-weight: bold;
}

.peak-challenge-phase .peak-challenge-value {
  flex: 1;
  text-align: left;
  font-weight: 500;
}

.analysis-content {
  background-color: transparent;
  border-radius: 0;
  padding: 0;
  margin-top: 7.5px;
  margin-bottom: 0;
  box-shadow: none;
}

/* 确保职场表现部分的推荐职业正确显示加粗效果 */
.analysis-content rich-text {
  font-size: 12px !important;
  color: #4A6B56 !important;
  line-height: 1.5 !important;
  display: inline;
  margin: 0 0 0 4px;
}

.analysis-content rich-text strong {
  font-weight: bold !important;
  color: #5F8A6A !important;
  font-size: 12px !important; /* 保持与其他文字相同的字体大小 */
}

.analysis-title {
  font-size: 14px;
  font-weight: bold;
  color: #5F8A6A;
  display: block;
  margin-bottom: 5px;
}

.analysis-subtitle {
  font-size: 14px;
  font-weight: bold;
  color: #5F8A6A;
  display: inline;
  margin-bottom: 0;
}

.analysis-desc {
  font-size: 12px;
  color: #4A6B56;
  line-height: 1.6;
  display: block;
  white-space: pre-wrap;
  margin: 0 0 7.5px 0;
  text-align: justify;
}

/* 分析区块样式 */
.analysis-section {
  background-color: transparent;
  border-radius: 0;
  padding: 2.5px 0;
  margin-bottom: 2.5px;
  box-shadow: none;
}

/* 标题行 */
.analysis-title {
  font-size: 14px;
  font-weight: bold;
  color: #5F8A6A;
  display: block;
  margin-bottom: 7.5px;
  margin-top: 0;
}

/* 副标题和描述行 */
.analysis-section > .analysis-subtitle {
  display: inline;
  font-weight: bold;
  margin-right: 2px;
}

.analysis-section > .analysis-desc {
  display: inline;
  margin-left: 2px;
  white-space: pre-wrap;
  color: #4A6B56;
}

.analysis-section:last-child {
  margin-bottom: 0;
}

/* 调整分析内容样式 */
.analysis-content {
  margin-top: 7.5px;
  margin-bottom: 0;
  padding: 7.5px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 6px;
}

/* 调整高峰挑战阶段内的分析内容样式，去除数字与解析内容之间的空行 */
.peak-challenge-phase .analysis-content {
  margin-top: 0;
  padding-top: 0;
  background-color: transparent;
  border-radius: 0;
}

/* 调整高峰挑战阶段内的解析描述样式，去除上下边距 */
.peak-challenge-phase .analysis-content .analysis-desc {
  margin: 0;
  padding: 0;
  background-color: transparent;
}

/* 分析区块样式 */
.analysis-section {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  display: block;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* 单个解析样式 */
.single-analysis {
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  padding: 7.5px;
  margin-top: 7.5px;
  box-shadow: 0 0.5px 2px rgba(0, 0, 0, 0.03);
}

/* 解析副标题样式 */
.analysis-subtitle {
  font-size: 13px;
  font-weight: bold;
  color: #5F8A6A;
  display: inline;
  margin-bottom: 0;
}

/* 单个解析样式 */
.single-analysis {
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  padding: 7.5px;
  margin-top: 7.5px;
  box-shadow: 0 0.5px 2px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.single-analysis .analysis-subtitle {
  display: inline;
  font-weight: bold;
  margin-right: 2px;
}

.single-analysis .analysis-desc {
  display: inline;
  margin-left: 2px;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* 特质项样式 - 用于缺乏数和次天赋的每个项目 */
.trait-item {
  margin-bottom: 10px;
}

.trait-item:last-child {
  margin-bottom: 0;
}

/* 数字样式 - 安哥拉红 */
.number-text {
  color: #8B0000; /* 安哥拉红 */
  font-weight: bold;
}

/* 特质数字显示容器 - 已移除，改为每个解析前显示 */

/* 解析前的数字样式 */
.trait-number-before-desc {
  display: inline;
  margin-right: 4px;
}

.trait-number-before-desc {
  display: inline;
  margin-right: 2px;
}

.trait-number-before-desc .number-text {
  display: inline;
  margin-right: 2px;
  vertical-align: middle;
}

.trait-item {
  margin-bottom: 10px;
  display: block;
}

.trait-number-before-desc {
  display: inline;
  margin-right: 2px;
  float: none;
}

.trait-item .analysis-desc {
  display: inline;
}

/* 小副标题样式 */
.analysis-subtitle-small {
  font-size: 12px;
  font-weight: bold;
  color: #5F8A6A;
  display: block;
  margin-bottom: 4px;
}

/* 对话客服按钮样式 */
.consultation-btn-container {
  position: fixed;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
}

.consultation-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: #5F8A6A;
  border-radius: 10px;
  padding: 5px;
  font-size: 7px;
  border: 0.5px solid #5F8A6A;
}

.btn-icon {
  margin-bottom: 2.5px;
  font-size: 9px;
}

.btn-text {
  font-weight: bold;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 2px;
}

/* 格式选择弹窗 */
.format-picker-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.format-picker-dialog {
  width: 100%;
  background: #fff;
  border-radius: 12px 12px 0 0;
  padding: 15px;
  animation: slideUp 0.3s ease;
}

.format-picker-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 15px;
}

.format-option {
  display: flex;
  align-items: center;
  padding: 12.5px 10px;
  margin-bottom: 7.5px;
  background: #f8f8f8;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.format-option:active {
  background: #e8e8e8;
  transform: scale(0.98);
}

.format-icon {
  font-size: 22px;
  margin-right: 10px;
  width: 30px;
  text-align: center;
}

.format-info {
  display: flex;
  flex-direction: column;
}

.format-name {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  margin-bottom: 3px;
}

.format-desc {
  font-size: 12px;
  color: #999;
}

/* PDF推荐标签 */
.format-badge {
  display: inline-block;
  font-size: 10px;
  color: #fff;
  background: #FF6B35;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 5px;
  vertical-align: middle;
  font-weight: normal;
}

.format-option-recommend {
  background: #FFF8F5;
  border: 1px solid #FFD4C2;
}

.format-option-recommend:active {
  background: #FFE8DD;
}

.format-cancel {
  text-align: center;
  padding: 10px;
  font-size: 14px;
  color: #999;
  margin-top: 5px;
  border-top: 0.5px solid #eee;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}