body {
    width: 100%;
    /* min-width: 820px; */
    margin: 0;
    padding-top: 50px;
    /* 为logo留出空间 */
    font-family: Arial, sans-serif;
}
header {
    position: absolute;
    top: 0;
    left: 0;
    height: 120px;
    width: 100%;
    display: flex;
    justify-content: center;
    /* 水平居中 */
    align-items: center;
    /* 垂直居中 */
}
footer {
    background-color: #FFFFFF;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    clear: both;
    margin-top: auto; /* 调整负外边距以适应实际情况 */
}
/* 版权信息样式 */
.copyright {
    max-width: 960px; /* 设置最大宽度，保持响应式 */
    margin: 0 auto; /* 居中对齐 */
    text-align: center;
    /* 水平居中 */
    justify-content: center;
}

.copyright p {
    margin: 0; /* 清除段落默认外边距 */
}

/* 链接样式 */
.copyright a {
    color: #666; /* 设置链接文字颜色与正文一致 */
    text-decoration: none; /* 去掉下划线 */
}

.copyright a:hover {
    color: #333; /* 鼠标悬停时更改链接颜色 */
    text-decoration: underline; /* 添加下划线 */
}
.chart-container-parent {
    width: 100%; /* 自动填充父容器宽度 */
    max-width: 820px; /* 设置最大宽度，可根据实际需求调整 */
    margin: 0 auto; /* 居中显示 */
    border-collapse: collapse;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0;
    padding-left: 10px;
}

.chart-container {
    margin: 0;
    padding: 0;
}
.table-container {
    width: 100%;
    /* 这将使得div宽度与父容器宽度相同，当父容器是body或html且它们的宽度设为100%时，div会横跨整个屏幕 */
    box-sizing: border-box;
    /* 包含内边距和边框在总宽度之内 */

    /* 如果需要的话，还可以添加其他响应式框架如Bootstrap的类名 */
    /* 或者使用max-width来限制最大宽度，用于响应式设计 */
    /* max-width: 100%; */
}
/* Corrected CSS selector: Apply styles directly to .red-border-column elements */
table.custom-table {
    border-collapse: separate;
}
.red-border-column {
    border-color: red !important;
    border-style: solid !important;
    border-width: 1px !important; /* 根据需要调整边框宽度 */
}
/* 使用类名 ".custom-table" 来限定样式仅应用于拥有该类名的表格 */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    table-layout: fixed; 
}

.custom-table th,
.custom-table td {
    width: calc(100% / 12); /* 假设您有12列，将总宽度平均分配给每一列 */
    border: 1px solid #ddd;
    padding: 4px;
    /* 保留原有 padding 或根据需求调整 */
    text-align: center;
    font-size: 12px;
    /* 添加字体大小控制，这里设置为 12 像素 */
}
.custom-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.custom-table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}
.custom-table2 {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

.custom-table2 th,
.custom-table2 td {
    border: 1px solid #ddd;
    padding: 4px;
    /* 保留原有 padding 或根据需求调整 */
    text-align: left;
    font-size: 14px;
    /* 添加字体大小控制，这里设置为 12 像素 */
}
.custom-table3 {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

.custom-table3 th,
.custom-table3 td {
    border: 1px solid #ddd;
    padding: 0;
    /* 保留原有 padding 或根据需求调整 */
    text-align: left;
    font-size: 12px;
}
.custom-table4 {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

.custom-table4 th,
.custom-table4 td {
    border: 1px solid #ddd;
    padding: 4px;
    /* 保留原有 padding 或根据需求调整 */
    text-align: left;
    font-size: 14px;
}
#chartContainer {
    width: 600px;
    height: 400px;
}
.logo {
    position: absolute;
    left: 5px;
    /* logo距离左侧的距离 */
    top: 5px;
    /* logo距离顶部的距离 */
    height: 40px;
    /* logo高度 */
    width: auto;
}

h1 {
    margin: 0;
    padding: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

/* 用于隐藏解释说明的样式 */
.explanation {
    display: none;
    margin-top: 10px;
    margin-left: 10px;
    color: purple;
    /* 设置文本颜色为紫色 */
    font-size: 12px;
    /* 缩小字体大小 */
    line-height: 1.4;
    /* 设置行高，使文本显示更紧凑 */
}

.explanation p {
    margin: 5px 0;
    /* 为段落设置上下边距，使其更紧凑 */
}

.title-with-button {
    display: flex;
    /* 启用 Flexbox 布局 */
    align-items: center;
    /* 垂直居中对齐 */
}

.title-with-button h3 {
    margin-right: 10px;
    /* 在标题和按钮之间添加一些空间 */
}

/* 日期时间输入控件的样式 */
input[type="datetime-local"] {
    padding: 5px;
    /* 增加内边距 */
    font-size: 16px;
    /* 增加字体大小 */
    border: 2px solid #007bff;
    /* 边框样式 */
    border-radius: 4px;
    /* 轻微圆角 */
    background-color: #f8f9fa;
    /* 背景颜色 */
    width: 110px;
    /* 控制宽度 */
    cursor: pointer;
    /* 鼠标悬停时的指针样式 */
}

/* 设置项目列的最小和最大宽度 */
th:first-child,
td:first-child {
    min-width: 80px;
    /* 最小宽度 */
    max-width: 80px;
    /* 最大宽度 */
    word-wrap: break-word;
    /* 如果内容过长，则自动换行 */
}

/* Flexbox 布局样式 */
.form-row {
    display: flex;
    justify-content: flex-start;
}

.form-row div:not(:first-child) {
    margin-left: 20px;
    /* 例如，从第二个元素开始左边距为 20px */
}

/* 圆形提交按钮的样式 */
input[type="submit"]:hover {
    background-color: #004d00;
    /* 鼠标悬停时的背景色 */
}

.input-submit_yc {
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50%;
    font-size: 20px;
    /* 增加字体大小 */
    line-height: 60px;
    text-align: center;
    /* 文本居中对齐 */
    background-color: green;
    /* 背景颜色 */
    color: white;
    /* 文字颜色 */
    border: none;
    /* 移除边框 */
    cursor: pointer;
    /* 鼠标悬停时的指针样式 */
    transition: background-color 0.3s;
    /* 平滑颜色过渡效果 */
}
.input-submit_yc:hover {
    background-color: #004d00;}

.input-submit-wz {
    width: 100%;
    /* 宽度增加到 90px */
    height: 50px;
    /* 高度增加到 90px */
    padding: 0;
    border-radius: 15px;
    font-size: 20px;
    /* 增加字体大小 */
    line-height: 50px;
    /* 行高设置为 90px 以垂直居中文字 */
    text-align: center;
    /* 文本居中对齐 */
    background-color: green;
    /* 背景颜色 */
    color: white;
    /* 文字颜色 */
    border: none;
    /* 移除边框 */
    cursor: pointer;
    /* 鼠标悬停时的指针样式 */
    transition: background-color 0.3s;
    /* 平滑颜色过渡效果 */
}

/* 切换按钮的样式 */
.toggle-button {
    padding: 5px 5px;    /* 增加内边距 */
    font-size: 14px;    /* 增加字体大小 */
    background-color: #007bff;    /* 按钮背景颜色 */
    color: white;    /* 文字颜色 */
    border: none;    /* 无边框 */
    border-radius: 5px;    /* 圆角 */
    cursor: pointer;    /* 鼠标悬停时的指针样式 */
    margin: 2px;    /* 边距 */
    transition: background-color 0.3s;    /* 平滑颜色过渡效果 */
}

.toggle-button:hover {
    background-color: #0056b3;    /* 鼠标悬停时的背景色 */
}
.tag { 
    /* 样式化标签样式 */
    background-color: #eee;
    border: 1px solid #ccc;
    padding: 2px 4px;
    margin-right: 4px;
    display: inline-block;
    border-radius: 4px;
    font-size: 0.8em;

    /* 添加过渡动画以实现平滑的颜色变化 */
    transition: background-color 0.3s, border-color 0.3s;

    /* 鼠标悬停时的样式 */
    &:hover {
        background-color: #ddd;
        border-color: #999;
        
        /* 自定义鼠标指针样式 */
        cursor: pointer;
    }
}
.result-popup { /* 样式化结果显示div层 */ position: absolute; background-color: #fff; border: 1px solid #ccc; padding: 10px; z-index: 100; font-size: 10px;}
.highlight {
    /* 更醒目的背景颜色，选择一种在深色背景下清晰可见的浅色 */
    background-color: #FFA500; /* 背景色 */
    border-radius: 4px; /* 添加圆角以提升视觉效果 */
    padding: 0 8px; /* 添加内边距，使高亮文字与周围内容保持间距 */
    box-decoration-break: clone; /* 保证换行时高亮效果一致 */
    color: #ffffff; /* 文字颜色为纯白色，确保在任何背景下都有良好的可读性 */
    font-weight: bold;
    line-height: 1.5; /* 调整为合适的行高 */
    
    /* 添加阴影效果 */
    text-shadow: 2px 2px 4px rgba(1, 1, 1, 0.3); /* 阴影参数：水平偏移、垂直偏移、模糊半径、颜色和透明度 */
}

/* 如果需要对行内元素进行高亮 */
.highlight.inline {
    display: inline;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* 背景颜色代替文本颜色，仅适用于支持该特性的浏览器 */
}
#symptomsInput,
#tagsContainer {
    display: inline-block;
    vertical-align: middle; /* 可选：使两个元素垂直居中 */
}
#queryResult {
    display: none;
    position: absolute;
    width: fit-content;
    max-width: 80%;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 1rem;
    z-index: 999;
    border-radius: 5px;
    max-height: 500px; /* 根据需求设置一个适合的最大高度 */
    height: 500px;
    /* 添加以下样式 */
    padding-right: 20px; /* 留出关闭按钮的空间 */
    padding-top: 20px;
}
#queryResultContainer {
    position: relative;
    height: 498px; /* 您可以自定义这个高度或使用max-height */
    overflow-y: auto;
  }
  
  .result-content {
    padding-right: 15px; /* 留出滚动条的空间 */
  }
.close-button-queryResult {
    position: absolute;
    top: -5px;
    right: 0px;
    background-color: transparent;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #6c757d;
    z-index: 9999; /* 确保按钮在结果内容之上 */
}
.relative-container {
    position: relative;/* 添加一个相对定位的容器，以便#queryResult基于此定位 */
}
#now_datetime,
#era-datetime {
    display: inline-block;
    /* 或者使用 display: inline; */
    margin-right: 5px;
    /* 如果需要的话，添加一些右边距 */
}

#now_datetime,
#open-point,
#matching-point {
    font-size: 18px;
    /* Change the size as needed */
    font-weight: bold;
    /* Makes the font bold */
    color: blue;
}

#treatment-point {
    font-size: 16px;
    /* Change the size as needed */
    font-weight: bold;
    /* Makes the font bold */
    color: rgb(255, 106, 0);
}

#era-datetime {
    font-size: 18px;
    /* Change the size as needed */
    font-weight: bold;
    /* Makes the font bold */
    color: brown;
}

.base64-image {
    width: 500px;
    height: auto;
}

.readonly-input {
    border: none;
    outline: none;
    background-color: transparent;
    color: black;
    font-size: 16px;
    padding: 10px;
    /* 增加内边距 */
    font-size: 12px;
    /* 增加字体大小 */
}

.container {
    width: 80%;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

h2 {
    color: #333;
    text-align: center;
}

.question {
    margin-bottom: 10px;
}

.answer {
    margin-bottom: 20px;
}

label {
    font-weight: bold;
}

.full-width {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.small-width {
    width: 100px;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* 添加按钮居中样式 */
.button-container {
    text-align: center;
    margin-top: 20px;
}

.diagnosis-options {
    font-size: 12px;
    /* 缩小字体大小 */
    color: purple;
    /* 设置字体颜色为紫色 */
    line-height: 1.5;
    /* 设置行高 */
    display: flex;
    /* 使用 flex 布局 */
    flex-wrap: wrap;
    /* 允许内容换行 */
}

.diagnosis-options label {
    margin-right: 10px;
    /* 在每个复选框之间添加一些空间 */
    white-space: nowrap;
    /* 防止文本换行 */
}

/* 调整表格和所有输入框的基本字体大小 */
.table-small-font,
input.small-input,
input.small2-input,
input.medium-input,
input.medium2-input,
input.short-input,
input.long-input,
input.longlong-input{
    font-size: 10px;
}

/* 设置输入框的宽度 */
input[type="text"].short-input {
    width: 30px;
}
input[type="number"].short-input {
    width: 45px;
}
input[type="number"].small-input {
    width: 40px;
}
input[type="number"].small2-input {
    width: 60px;
}
input[type="text"].small2-input {
    width: 70px;
}
input[type="text"].medium-input {
    width: 100px;
}
input[type="text"].medium2-input {
    width: 80px;
}
input[type="text"].long-input {
    width: 200px;
}
input[type="text"].longlong-input {
    width: 700px;
}
.input-container {
    position: relative;
    display: inline-block;
  }
  
.short-input {
    text-align: left; /* 确保数字靠右对齐 */
    width: 100%; /* 输入框宽度充满其容器 */
    box-sizing: border-box; /* 包含边框和内边距的宽度计算 */
    border: 1px solid #ccc; /* 输入框边框样式 */
    border-radius: 4px;
    padding-left:  4px;
    padding-right: 4px; /* 为单位预留空间 */
  }
  
  .unit-marker {
    position: absolute;
    right: 4px; /* 调整单位与输入框右侧的距离 */
    top: 50%;
    transform: translateY(-50%); /* 垂直居中单位文本 */
    pointer-events: none; /* 防止单位被点击影响输入 */
    color: #999; /* 单位颜色，可按需调整 */
  }
/* 设置处方解释部分的样式 */
.prescription-explanation {
    border: 2px dotted rebeccapurple;
    /* 紫红色边框 */
    word-wrap: break-word;
    /* 自动换行 */
    max-width: 100%;
    /* 确保不会超过容器宽度 */
    padding: 5px;
    /* 内部四周留点空白 */
    font-size: 12px;
}

.prescription-explanation p,
.prescription-explanation b,
.prescription-explanation label,
.prescription-explanation ul,
.prescription-explanation ul li {
    margin-bottom: 2px;
    /* 统一设置底部间距 */
    line-height: 1.2;
    /* 统一设置行高 */
}

.prescription-explanation ul {
    padding-left: 20px;
    /* 列表缩进 */
    list-style-position: inside;
    /* 列表符号位置 */
    margin-top: 1px;
    /* 与前面元素的间距 */
    margin-bottom: 0;
    /* 列表底部间距 */
}

.prescription-explanation ul li {
    padding-top: 2px;
    /* 列表项顶部填充 */
    padding-bottom: 2px;
    /* 列表项底部填充 */
}

.prescription-explanation p {
    margin-top: 5px;
    /* 段落顶部间距 */
    line-height: 1.2;
    /* 统一设置行高 */
}

.doctor {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.doctor img.doctor-headshot {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 10px;
}

.doctor-info {
    flex-grow: 1;
}

.doctor-description {
    margin: 0;
    font-size: 14px;
    /* 调整字体大小 */
    line-height: 1.4;
    word-wrap: break-word;
    /* 使文本自动换行 */
}

.doctor-buttons button {
    padding: 6px 12px;
    margin-right: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.doctor-buttons button:hover {
    background-color: #45a049;
}

.recommended-services {
    margin-top: 20px;
    padding: 15px;
    background-color: #f7f7f7;
    /* 浅灰色背景 */
    border-radius: 5px;
    /* 圆角边框 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* 轻微的阴影效果 */
}

.recommended-services h3 {
    margin-top: 0;
    margin-bottom: 10px;
    /* 标题下的间距 */
    color: #333;
    /* 标题颜色 */
    font-size: 18px;
    /* 标题字体大小 */
}

.recommended-services p {
    margin: 0;
    color: #555;
    /* 正文颜色 */
    font-size: 14px;
    /* 正文字体大小 */
    line-height: 1.5;
    /* 行高 */
}

.button {
    padding: 6px 12px;
    margin-right: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.button:hover {
    background-color: #45a049;
}

/* 订单页面模态窗口 */
.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 99999;
    padding: 20px;
    /* 防止内容紧贴边缘 */
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 680px;
    width: auto;
    /* 宽度自适应内容 */
    margin: auto;
    /* 水平居中 */
}

.modal-content .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-content .close:hover,
.modal-content .close:focus {
    color: black;
    text-decoration: none;
}

.modal-content h2 {
    color: #333;
    margin-bottom: 15px;
    /* 减少底部外边距 */
    font-size: 24px;
}

.modal-content h2 label#channelName {
    color: #6528b0;
    font-size: inherit;
    /* 继承 h2 的字体大小 */
}

.modal-content form {
    display: flex;
    flex-direction: column;
}

.modal-content form .form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    /* 减少底部外边距 */
}

.modal-content form .form-field {
    flex: 1;
    margin-right: 10px;
}

.modal-content form .form-field:last-child {
    margin-right: 0;
}

.modal-content form input[type="text"],
.modal-content form input[type="number"],
.modal-content form select,
.modal-content form textarea {
    padding: 8px;
    /* 调整填充 */
    margin-bottom: 10px;
    /* 减少底部外边距 */
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    width: 90%;
}

.modal-content form textarea {
    resize: vertical;
    /* 允许垂直调整大小 */
}

.modal-content form button {
    background-color: #4CAF50;
    /* 绿色背景 */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.modal-content form button:hover {
    background-color: #45a049;
    /* 深绿色 */
}

.modal-content label {
    font-size: 14px;
}

.modal-content p {
    margin: 5px 0;
    /* 减少上下外边距 */
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 0px;
    /* 根据需要调整内边距，这里减少了上下内边距 */
}

.modal-logo {
    height: 40px;
    /* 根据需要调整高度 */
    width: auto;
}

.modal-h2 {
    text-align: center;
    margin-top: 1px;
    /* 减少标题的上边距 */
    margin-bottom: 1px;
    /* 根据需要也可以调整下边距 */
    /* 其他样式 */
}

.prescription-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.prescription-item {
    position: relative;
    display: block;
    /* 使用块级布局 */
    margin-bottom: 10px;
    margin-top: 10px;
    border: 1px solid #ddd;
    padding: 8px;
    border-radius: 5px;
    background-color: #f8f8f8;
}

.item-name,
.item-quantity {
    margin-top: 1px;
    margin-bottom: 2px;
    /* 进一步缩小底部间距 */
    font-size: 12px;
}
.item-wild {
    position: absolute;
    top: -3px;
    left: 1px;
    color: green;
    font-weight: bold;
    font-size: 10px;
}
.item-decoction {
    position: absolute;
    bottom: 1px;
    right: 1px;
    color: red;
    font-weight: bold;
    font-size: 10px;
}
.item-price {
    position: absolute;
    bottom: 1px;
    left: 1px;
    color: blue;
    font-weight: bold;
    font-size: 10px;
}

.prescription-total {
    display: block;
    /* 确保是块级元素 */
    padding: 8px 0;
    font-weight: bold;
    text-align: right;
}
.wuyun-img-male {
    width: 400px;
    height: 400px;
    background-image: url('/static/images/wx-bg-male.webp');
    background-repeat: no-repeat;
    background-position: center center; /* 或根据需要调整背景位置 */
    background-size: cover; /* 或 contain, 或具体的宽度和高度 */
}
.wuyun-img-female {
    background-image: url('/static/images/wx-bg-female.webp');
    background-repeat: no-repeat;
    background-position: center center; /* 或根据需要调整背景位置 */
    background-size: cover; /* 或 contain, 或具体的宽度和高度 */
}
/* 响应式布局，小屏幕时的样式 */
@media screen and (max-width: 600px) {
    .prescription-item {
        flex-direction: column;
        align-items: start;
    }
}
.parent-container {
    display: grid;
    place-items: center;
  }
/* 文本阴影样式 */
#study h3,
#study label,
#weibing h1 {
    text-shadow: 0 0.¼em 0.05em rgba(0, 0, 0, 0.1); /* 可根据需要调整阴影参数 */
}

/* 字体大小和样式 */
#study h3 {
    font-size: 18px; /* 或您希望的较小字号 */
}

#study .explanation p {
    font-size: 12px; /* 或您希望的较小字号 */
}

#study label {
    font-size: 14px; /* 或您希望的较小字号 */
}

#study ul li {
    font-size: 12px; /* 或您希望的较小字号 */
}

#weibing h1 {
    font-size: 1.2em; /* 或根据需要设置一个较小的值 */
}

#weibing label,
#weibing input[type="text"],
#weibing select,
#weibing textarea,
#weibing .full-width,
#weibing .small-width,
#weibing .question label,
#weibing .button-container input[type="submit"] {
    font-size: 0.9em; /* 或根据需要设置一个较小的值 */
}

#weibing input[type="text"][readonly],
#weibing input[type="text"].small-width,
#weibing input[type="text"].full-width {
    font-size: inherit; /* 使用父级元素（如<label>）的字体大小 */
}
.floating-layer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    visibility: hidden;
    background-color: rgba(240, 240, 240, 0.8);
    padding: 10px;
    border-radius: 5px;
    z-index: 999;
}

.floating-layer img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}
 
.pulse-labels {
    position: absolute;
    top: -10px; /* 调整距离顶部的距离，使标签位于图片上方 */
    left: 80px;
    right: 50px;
    display: flex;
    justify-content: space-between; /* 使三个标签均匀分布 */
    align-items: center; /* 使标签垂直居中对齐 */
}
.pulse-labels span {
  font-size: 1.2em; /* 增大字体大小 */
  font-weight: bold; /* 加粗字体 */
  color: #333; /* 更深的灰色，提高对比度，您可以根据背景色调整 */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* 添加文字阴影，增加立体感 */
}
.timeline-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.timeline-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 0rem;
}

.timeline-marker {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: #ccc;
    margin-right: 1rem;
}

.timeline-content {
    flex: 1;
}

.timeline-middle {
    position: relative;
    /* 添加相对定位 */
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translateX(-50%);
    /* 使用translateX代替left */
    width: 1px;
    height: 100%;
    background-color: #ccc;
}

/* 新增的规则 */
.timeline-item:last-child::before {
    display: none;
}