/* 健康检测页面样式 */
.page-header {
  background-color: #1CBBB4;
  color: white;
  padding: 10px 15px;
}

/* 检测介绍样式 */
.intro-section {
  background-color: white;
  margin: 15px;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.intro-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #1CBBB4;
}

.intro-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* 检测方式选择样式 */
.detection-methods {
  display: flex;
  justify-content: space-between;
  margin: 0 15px 20px;
}

.method-item {
  width: 31%;
  background-color: white;
  border-radius: 10px;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 2px solid transparent;
}

.method-item.active {
  border-color: #1CBBB4;
  background-color: rgba(28, 187, 180, 0.05);
}

.method-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.method-icon img {
  width: 100%;
  height: 100%;
}

.method-name {
  font-size: 14px;
  font-weight: 500;
}

/* 面诊检测区域样式 */
.detection-area {
  background-color: white;
  margin: 0 15px 20px;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.detection-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
}

.detection-guide {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.upload-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.upload-area {
  width: 200px;
  height: 200px;
  border: 2px dashed #ddd;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  cursor: pointer;
}

.upload-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

.upload-icon img {
  width: 100%;
  height: 100%;
}

.upload-text {
  font-size: 14px;
  color: #999;
}

.upload-tips {
  width: 100%;
  font-size: 13px;
  color: #999;
}

.upload-tips p {
  margin-bottom: 5px;
}

.upload-tips ul {
  padding-left: 20px;
  margin: 0;
}

.upload-tips li {
  margin-bottom: 3px;
}

/* 健康报告示例样式 */
.report-example {
  margin: 0 15px 20px;
}

.example-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
}

.report-card {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.report-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.report-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.report-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.report-user-info {
  flex: 1;
}

.report-name {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 5px;
}

.report-date {
  font-size: 13px;
  color: #999;
}

.report-content {
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.report-item {
  margin-bottom: 15px;
}

.report-item:last-child {
  margin-bottom: 0;
}

.item-label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
}

.item-value {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.item-value p {
  margin: 0 0 5px;
}

/* AI问答区域样式 */
.qa-section {
  background-color: white;
  margin: 0 15px 20px;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.qa-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.qa-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.chat-container {
  margin-bottom: 15px;
  max-height: 300px;
  overflow-y: auto;
}

.chat-message {
  display: flex;
  margin-bottom: 15px;
}

.chat-message:last-child {
  margin-bottom: 0;
}

.message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.message-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-content {
  max-width: 70%;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.message-content p {
  margin: 0 0 5px;
}

.message-content p:last-child {
  margin-bottom: 0;
}

.chat-message.ai {
  align-items: flex-start;
}

.chat-message.ai .message-avatar {
  margin-right: 10px;
}

.chat-message.ai .message-content {
  background-color: #f5f5f5;
  color: #333;
}

.chat-message.user {
  flex-direction: row-reverse;
  align-items: flex-start;
}

.chat-message.user .message-avatar {
  margin-left: 10px;
}

.chat-message.user .message-content {
  background-color: #1CBBB4;
  color: white;
}

.chat-input {
  display: flex;
  border: 1px solid #eee;
  border-radius: 20px;
  overflow: hidden;
}

.chat-input input {
  flex: 1;
  border: none;
  padding: 10px 15px;
  font-size: 14px;
}

.chat-input input:focus {
  outline: none;
}

.send-btn {
  background-color: #1CBBB4;
  color: white;
  border: none;
  padding: 0 20px;
  font-size: 14px;
}

/* 推荐服务样式 */
.recommended-services {
  padding: 15px;
  margin-bottom: 20px;
}

.rec-title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 15px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.service-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  height: 100px;
}

.service-image {
  width: 100px;
  height: 100px;
  overflow: hidden;
  flex-shrink: 0;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-info {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-name {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 5px;
}

.service-desc {
  font-size: 12px;
  color: #666;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-price {
  font-size: 16px;
  font-weight: 500;
  color: #ff6b6b;
}

.service-time {
  font-size: 12px;
  color: #999;
  padding: 2px 6px;
  background-color: #f5f5f5;
  border-radius: 10px;
}

/* 提交按钮样式 */
.submit-section {
  margin: 20px 15px 30px;
}

.submit-btn {
  width: 100%;
  height: 45px;
  background-color: #1CBBB4;
  color: white;
  border-radius: 22.5px;
  font-size: 16px;
  font-weight: 500;
} 