.container {
  padding: 10px;
  box-sizing: border-box;
  min-height: 100vh;
  background-color: #E8EDE5;
}

.title {
  font-size: 18px;
  color: #3D5A4C;
  margin: 15px 0;
  text-align: center;
  font-weight: bold;
}

.subtitle {
  font-size: 12px;
  color: #8A9A8A;
  text-align: center;
  margin-bottom: 15px;
}

/* 搜索容器样式 */
.search-container {
  display: flex;
  align-items: center;
  background-color: white;
  border-radius: 20px;
  padding: 0 10px;
  margin: 0 auto 15px;
  width: 80%;
  height: 35px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.search-input {
  flex: 1;
  height: 100%;
  font-size: 14px;
  color: #333;
  padding: 0 5px;
  border: none;
  outline: none;
  background: transparent;
}

.search-icon {
  font-size: 16px;
  color: #999;
}

/* 密码分类样式 */
.password-section {
  background-color: white;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.password-category {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 0.5px solid #f0f0f0;
}

.password-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.category-title {
  font-size: 14px;
  color: #5F8A6A;
  font-weight: bold;
  margin-right: 5px;
}

.category-content {
  font-size: 14px;
  color: #666;
}

/* 数字部分样式 */
.numbers-section {
  background-color: white;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.section-title {
  font-size: 16px;
  color: #3D5A4C;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
}

.numbers-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.number-card {
  background-color: white;
  border-radius: 8px;
  padding: 12.5px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.number-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.number-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.number-circle text {
  font-size: 16px;
  font-weight: bold;
}

.number-name {
  font-size: 14px;
  color: #3D5A4C;
  font-weight: bold;
}

.keywords-section {
  display: flex;
  flex-direction: column;
  gap: 7.5px;
}

.keyword-group {
  display: flex;
  align-items: flex-start;
}

.keyword-title {
  font-size: 14px;
  font-weight: bold;
  margin-right: 2.5px; /* 减小间距，让关键词紧跟冒号 */
  color: #000000; /* 改成黑色 */
}

/* 去掉正负向颜色区分 */
.keyword-group.positive .keyword-title,
.keyword-group.negative .keyword-title {
  color: #000000; /* 改成黑色 */
}

.keyword-content {
  font-size: 16px; /* 加大一号字号 */
  color: #000000; /* 改成黑色 */
  line-height: 1.5;
  text-align: left; /* 居左对齐 */
  flex: 1; /* 让关键词占满剩余空间 */
}

/* 版权信息样式 */
.copyright {
  font-size: 12px;
  color: #000000;
  text-align: center;
  margin-top: 20px;
  padding-bottom: 10px;
}

/* 淡入动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 上滑动画 */
@keyframes slideUp {
  from {
    transform: translateY(25px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 模态框样式 */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
  background-color: white;
  border-radius: 10px;
  width: 85%;
  max-height: 75vh;
  overflow-y: auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease-in-out;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8F8F8 100%);
  border: 0.5px solid #E8E8E8;
}

/* 自定义滚动条样式 */
.modal-content::-webkit-scrollbar {
  width: 4px;
}

.modal-content::-webkit-scrollbar-track {
  background: #F0F0F0;
  border-radius: 2px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #C0C0C0;
  border-radius: 2px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: #A0A0A0;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12.5px 17.5px;
  border-bottom: 0.5px solid #F0F0F0;
  background: linear-gradient(90deg, #E8EDE5 0%, #FFFFFF 100%);
  border-radius: 10px 10px 0 0;
}

.modal-title {
  font-size: 18px;
  font-weight: bold;
  color: #3D5A4C;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.close-btn {
  font-size: 22px;
  color: #8A9A8A;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  background-color: #F1F4EE;
}

.close-btn:hover {
  background-color: #DCE8D8;
  color: #5F8A6A;
  transform: rotate(90deg);
}

.modal-body {
  padding: 17.5px;
  background-color: #FFFFFF;
  border-radius: 0 0 10px 10px;
}

.modal-description {
  font-size: 15px;
  color: #333333;
  line-height: 1.8;
  text-align: justify;
  letter-spacing: 0.5px;
  padding: 5px 0;
  background-color: #FFFFFF;
  border-radius: 5px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.02);
  text-indent: 30px;
}

/* 为长文本添加段落间距 */
.modal-description::before {
  content: "";
  display: block;
  height: 5px;
}

.modal-description::after {
  content: "";
  display: block;
  height: 5px;
}

/* 为描述文本添加换行间距 */
.modal-description br {
  line-height: 2;
}

.number-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.number-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  margin-right: 10px;
}

.number-title {
  font-size: 14px;
  color: #333333;
  font-weight: 500;
}

.keywords-section {
  margin-top: 10px;
}

.keyword-group {
  margin-bottom: 10px;
}

.keyword-title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
  display: block;
}

.positive .keyword-title {
  color: #008000;
}

.negative .keyword-title {
  color: #FF0000;
}

.keyword-content {
  font-size: 12px;
  color: #666666;
  line-height: 1.6;
}

.analysis-section {
  margin-top: 15px;
}

.analysis-item {
  margin-bottom: 15px;
}

.analysis-title {
  font-size: 14px;
  color: #7A9E7E;
  margin-bottom: 5px;
  display: block;
}

.analysis-desc {
  font-size: 12px;
  color: #666666;
  line-height: 1.6;
}

/* 分享按钮样式 */
.share-btn {
  width: 80%;
  height: 45px;
  line-height: 45px;
  background-color: #5F8A6A !important;
  color: #FFFFFF !important;
  font-weight: bold !important;
  border-radius: 22.5px !important;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px auto 5px;
  border: none;
}

/* 分享按钮文本样式 */
.share-text {
  font-size: 16px;
  font-weight: bold;
  color: #FFFFFF;
}

/* 对话客服按钮样式 */
.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;
}

