body { 
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}

.container {
    display: flex;
    height: 100vh;
}

.centered-title {
      text-align: center;
      font-size: 18px;
      margin-bottom: 5px;
    }

.menu-bar {
    width: 30%;
    background-color: #333;
    color: white;
    padding: 10px;
    box-sizing: border-box;
}

.menu-bar ul {
    list-style-type: none;
    padding: 0;
}

.menu-bar li {
    margin: 10px 0;
}

.menu-bar a {
    color: white;
    text-decoration: none;
}

.menu-bar2 ul {
    list-style-type: none;
    padding: 0;
}

.menu-bar2 a {
    color: white;
    text-decoration: none;
}

.menu-bar3 ul {
    list-style-type: none;
    padding: 0;
}

.menu-bar3 a {
    color: white;
    text-decoration: none;
}

.menu-bar4 ul {
    list-style-type: none;
    padding: 0;
}

.menu-bar4 a {
    color: white;
    text-decoration: none;
}

.chat-container {
    width: 70%;
    box-sizing: border-box;
    padding: 20px;
    background-color: #f4f4f4;
}

.bot-message {
    background-color: #f1f0f0;
    color: #333;
    margin-right: auto;
}

.loading-indicator {
    display: none;
    color: #666;
    font-style: italic;
    padding: 10px;
}

.message-area {
    height: 80%;
    border: 1px solid #ccc;
    padding: 10px;
    overflow-y: auto;
    box-sizing: border-box;
}

.input-area input {
    width: 600px; /* 固定像素宽度 */
    min-width: 200px; /* 最小宽度限制 */
    max-width: 1200px; /* 最大宽度限制 */
    height:60px;
}


.tooltip-container {
  display: flex;
  gap: 100px; /* 控制两个span之间的间距 */
}

.tooltip-trigger {
  position: relative;
  cursor: pointer;
  padding: 8px 12px;
  background-color: #f0f0f0;
  border-radius: 4px;
}

.tooltip-content {
  position: absolute;
  z-index: 100;
  width: 200px;
  padding: 10px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  
  /* 初始隐藏 */
  opacity: 0;
  visibility: hidden;
  
  /* 定位在触发元素下方 */
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  
  /* 平滑过渡效果 */
  transition: all 0.3s ease;
}

.tooltip-trigger:hover .tooltip-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
}

/* 添加小箭头 */
.tooltip-content::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent white transparent;
}

.pre-wrap {
  white-space: pre-wrap;
}

.object-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  font-family: sans-serif;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  overflow: hidden;
}

.object-table th {
  background-color: #009879;
  color: white;
  text-align: left;
  padding: 12px 15px;
  font-weight: bold;
  position: sticky;
  top: 0;
}

.object-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #dddddd;
}

.object-table tr:nth-child(even) {
  background-color: #f3f3f3;
}

.object-table tr:last-of-type {
  border-bottom: 2px solid #009879;
}

.object-table tr:hover {
  background-color: #f1f1f1;
  cursor: pointer;
}