  
        

        /* Markdown内容美化样式 */
.markdown-content {
  line-height: 1.8;
  color: #333;
}
.markdown-content h1 {
  font-size: 24px;
  font-weight: bold;
  margin: 20px 0 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}
.markdown-content h2 {
  font-size: 20px;
  font-weight: bold;
  margin: 18px 0 12px;
}
.markdown-content h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 10px;
}
.markdown-content p {
  margin: 10px 0;
}
.markdown-content ul, .markdown-content ol {
  margin: 10px 0 10px 24px;
}
.markdown-content ul {
  list-style-type: disc;
}
.markdown-content ol {
  list-style-type: decimal;
}
.markdown-content a {
  color: #409eff;
  text-decoration: underline;
}
.markdown-content blockquote {
  border-left: 4px solid #eee;
  padding: 8px 12px;
  margin: 10px 0;
  background-color: #f9f9f9;
  color: #666;
}
.markdown-content pre {
  background-color: #f5f5f5;
  padding: 12px;
  border-radius: 4px;
  overflow-x: auto;
  margin: 10px 0;
}
.markdown-content code {
  font-family: "Consolas", "Monaco", monospace;
  background-color: #f5f5f5;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
}

/* 矿业专业表格样式 */
 /* 矿业技术文档表格专业样式 */
.markdown-content table {
  border-collapse: collapse;
  border: 1px solid #e5e7eb;
  width: 100%;
  margin-bottom: 1.5rem;
}

.markdown-content th, 
.markdown-content td {
  border: 1px solid #e5e7eb;
  padding: 0.75rem 1rem;
  vertical-align: top;
}

.markdown-content th {
  background-color: #f9fafb;
  font-weight: 600;
  text-align: left;
}

/* 表头特殊样式 */
.markdown-content thead th {
  background-color: #dbeafe;
  color: #1e40af;
  font-weight: 700;
}

/* 表格行交替背景色 */
.markdown-content tbody tr:nth-child(odd) {
  background-color: white;
}

.markdown-content tbody tr:nth-child(even) {
  background-color: #f9fafb;
}

/* 关键参数高亮 */
.markdown-content tbody tr td.critical-param {
  background-color: #fffbeb;
  border-left: 4px solid #f59e0b;
  padding-left: 0.75rem;
}

/* 响应式表格 - 水平滚动 */
.markdown-content table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* 打印优化 */
@media print {
  .markdown-content table {
    border: 1px solid #000;
  }
  .markdown-content th, 
  .markdown-content td {
    border: 1px solid #000;
    page-break-inside: avoid;
  }
}

 /* 美化滚动条 */
.news-list-container::-webkit-scrollbar {
	width: 5px;
}

.news-list-container::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
}

.news-list-container::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 10px;
}

.news-list-container::-webkit-scrollbar-thumb:hover {
	background: #aaa;
}       
                /* 聊天区域 */
        .chat-container {
            display: flex;
            flex-direction: column;
            flex: 1;   	

			align-items: center;
			justify-content: center;
			height: 100%;
			padding: 20px;
			text-align: center;
			max-width: 1000px;
			margin: 0 auto;
			width: 90%;
			overflow: hidden; /* 防止内部元素撑开容器 */	
        }
		
		    /* 聊天消息区域 */
        .chat-messages {
			width:100%;
            flex: 1;
            padding: 15px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 15px;
			scrollbar-width: none; /* Firefox */
			-ms-overflow-style: none; /* IE 和 Edge */
        }
		/* Chrome, Safari, Opera等Webkit浏览器 */
		.chat-messages::-webkit-scrollbar {
			display: none;
		}
        .message {
            max-width: 95%;
            padding: 12px 16px;
            border-radius: 18px;
            position: relative;
            animation: fadeIn 0.4s ease;
            line-height: 1.5;
			font-size:14px;
   /*         box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);  */
			
	
	
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .incoming {
            background: white;
     /*       border-top-left-radius: 5px; */
            align-self: flex-start;
         /*   border: 1px solid #eee;  */
			/* 添加以下关键属性 */
			width: 100% !important; /* 确保宽度100% */
		
			overflow: visible !important; /* 允许内部滚动 */
			text-align: left;
        }

        .outgoing {
          font-size: 16px;
          font-weight: normal;
          line-height: 20px;
          padding: 10px 16px 8px 16px;
          background: #0256FF;
            color: white;
            border-radius: 10px;
            align-self: flex-end;
          
        }

        .outgoing > p{
          margin: 0;
        }

        .message-time {
            font-size: 10px;
            margin-top: 6px;
            opacity: 0.7;
            text-align: right;
        }