 /* 弹窗样式 */
/** {*/
/*    margin: 0;*/
/*    padding: 0;*/
/*}*/


.health-modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* 背景色 */
}

.health-modal-content {
    background-color: #ffffff; /* 白色背景 */
    margin: 10% auto; /* 调整弹窗位置 */
    border-radius: 10px; /* 圆角 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* 阴影效果 */
    width: 80%;
    max-width: 853px; /* 最大宽度 */

}

.health-modal-header {
    display: flex; /* 使用flex布局 */
    justify-content: space-between; /* 两端对齐 */
    align-items: center; /* 垂直居中 */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    height: 50px;
    padding: 0 26px; /* 左右内边距26px */
}

.health-modal-title {
    margin: 0; /* 去掉默认的margin */
    font-size: 18px; /* 标题字体大小 */
}


.health-header-flex {
    display: flex;
    align-items: center; /* 水平居中对齐 */
    height: 24px;
    line-height: 24px;
    text-align: center;
}

.health-header-flex h2 {
    font-size: 16px;
    font-weight: bold; /* 加粗 */
    color: #4269c9;
    line-height: 24px;
}
.health-icon {
    margin-right: 6px; /* 给图标右边添加一点间距 */
}

.health-core-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 元素上下排列 */
    justify-content: flex-start; /* 元素左对齐 */
    padding-left: 26px;
    padding-right: 26px;
}


.health-core-content .health-tips {
    font-size: 16px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.85); /* 黑色 45%透明度 */
    margin-top: 18px;
    margin-bottom: 5px;
}

.health-core-content .health-url-container {
    width: 90%;
    /* 自动随内容撑开 */
    height: auto;
    line-height: 1.2em;
    /* 允许文本自动换行 */
    white-space: normal;
    /* 溢出的文本将被直接剪切掉 */
    text-overflow: ellipsis;
    overflow: hidden;
}


.health-expanded {
    /* 允许文本自动换行 */
    white-space: normal;
    /* 允许在长单词或URL中间断换行 */
    word-wrap: break-word;
    /* visible:超出部分可见 默认值 */
    overflow: visible;
    /* text-overflow 属性用于设置当文本溢出容器时如何显示文本，clip：默认值，表示溢出的文本会被剪切掉，不显示溢出的部分  ellipsis：表示溢出的文本会以省略号表示*/
    text-overflow: clip;
}

.health-core-content .health-url-container a {
    text-decoration: none;
    font-size: 12px;
    color: #0760fd;
}

.health-right-aligned {
    align-self: flex-end; /* 将该元素对齐到右侧 */
    font-size: 12px;
    height: 17px;
    line-height: 17px;
    color: #0760fd;
    margin-top: -17px;
}



.health-close-button {
    color: rgba(0, 0, 0, 0.45); /* 黑色 45%透明度 */
    font-size: 28px;
    cursor: pointer; /* 鼠标悬停时显示为手型 */
}

.health-close-button:hover,
.health-close-button:focus {
    text-decoration: none;
}




.health-divider {
    border: none; /* 去掉默认边框 */
    border-top: 1px solid #ccc; /* 添加上边框作为分界线 */
    margin: 10px 0; /* 上下边距 */
}

.health-warm-message {
    background-color: #fffbe6; /* 警告背景色 */
    border: 1px solid #FFE58F; /* 边框颜色 */
    width: 100%;
    padding-top: 10px;
    padding-right: 45px;
    padding-left: 39px;
    padding-bottom: 14px;
    border-radius: 2px; /* 圆角 */
    margin-top: 10px;
    margin-bottom: 31px;
    box-sizing: border-box;
}

.health-warm-message .health-title {
    display: flex;
    align-items: center; /* 水平居中对齐 */
    margin-bottom: 10px;
    margin-left: -24px;
    font-size: 12px;
    color: #E4492A;
    font-weight: 800;
}

.health-warm-message p {
    font-size: 12px;
    line-height: 24px;
}


.health-warm-message ul {
    list-style-type: none; /* 去掉默认的列表样式 */
    margin-top: 11px;
    padding: 0; /* 去掉内边距 */
}

.health-warm-message ul li {
    height: 32px;
    line-height: 32px;
    background-color: #FFFFFF;
    margin-bottom: 6px;
    color: rgba(0, 0, 0, 0.88); /* 黑色 45%透明度 */
    padding-left: 10px;
    padding-right: 10px;
    font-size: 12px;
}

.health-recommended-courses {
    margin-top: 10px;
}



.health-course-count {
    font-size: 12px; /* 实验人数字体大小 */
    color: #999999; /* 实验人数颜色 */
    float: right;
}

.health-footer {
    height: 67px;
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    border-top: 1px solid rgba(0, 0, 0, 0.1);

}

/* 按钮样式 */
.health-footer button {
    width: 91px;
    height: 32px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    background-color: #F0F0F0;
    color: #949494;
    transition: background-color 0.3s;
}
