/* 全局样式 */
:root {
    --primary-color: #2196F3;
    --secondary-color: #FFC107;
    --danger-color: #F44336;
    --success-color: #4CAF50;
    --text-primary: #212121;
    --text-secondary: #757575;
    --background-light: #f5f5f5;
    --border-radius: 8px;
    --box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-light);
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* 标题样式 */
h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}

/* 卡片容器 */
.section-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
}

.section-card:hover {
    transform: translateY(-2px);
}

/* 输入组样式 */
.input-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.input-field {
    position: relative;
}

.input-field label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.input-field select,
.input-field input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    background-color: white;
    color: var(--text-primary);
    height: 38px;
    transition: all 0.2s ease;
}

.input-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.762L10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    padding-right: 2.5rem;
}

.input-field select:hover,
.input-field input:hover {
    border-color: var(--primary-color);
}

.input-field select:focus,
.input-field input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
    outline: none;
}

/* 按钮样式 */
.evaluate-button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 2rem auto;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.evaluate-button:hover {
    background-color: #1976D2;
    transform: translateY(-1px);
}

/* 结果显示样式 */
.evaluation-results {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.toxicity-summary {
    margin-bottom: 2rem;
}

.toxicity-summary h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.toxicity-summary ul {
    list-style: none;
    padding-left: 1rem;
}

.toxicity-summary li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.toxicity-summary li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.final-recommendation {
    background-color: #E3F2FD;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin-top: 2rem;
    border-top: 2px solid var(--primary-color);
    padding-top: 1.5rem;
}

.primary-recommendation {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.additional-measures {
    list-style: none;
    padding-left: 1rem;
}

.additional-measures li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.additional-measures li::before {
    content: "→";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .container {
        margin: 1rem auto;
    }
    
    .section-card {
        padding: 1rem;
    }
    
    .input-group {
        grid-template-columns: 1fr;
    }
    
    .evaluate-button {
        width: 100%;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.toxicity-summary, .final-recommendation {
    animation: fadeIn 0.3s ease-out;
}

.grade-info {
    margin-bottom: 1rem;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
}

.grade-label {
    font-weight: bold;
    color: var(--text-secondary);
    margin-right: 0.5rem;
}

.grade-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
}

.grade-value.severe-grade {
    color: var(--danger-color);
}

.management-details > div {
    margin-bottom: 1.5rem;
}

.management-details h5 {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.management-details p {
    color: var(--text-primary);
    background-color: #f8f9fa;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    margin: 0;
}

.toxicity-details-list {
    list-style: none;
    padding: 0;
}

.toxicity-details-list li {
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
}

.toxicity-details-list li:last-child {
    border-bottom: none;
}

.toxicity-details {
    margin-bottom: 1.5rem;
}

.dose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.dose-item {
    background-color: #f8f9fa;
    padding: 0.75rem;
    border-radius: var(--border-radius);
}

.drug-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.25rem;
}

.dose-value {
    font-weight: bold;
    color: var(--text-primary);
}

.restart-timing,
.subsequent-dose {
    margin-top: 1.5rem;
}

.restart-timing h5,
.subsequent-dose h5 {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.restart-timing p,
.subsequent-dose p {
    background-color: #f8f9fa;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    margin: 0;
} 

/* 添加模块化显示的样式 */
.toxicity-modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.toxicity-module {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 1rem;
}

.toxicity-module h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.module-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toxicity-details {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: var(--border-radius);
}

.management-plan {
    margin-top: 1rem;
}

/* 添加其他非血液学毒性模块的样式 */
.toxicity-module.other-nonhema {
    border-left: 4px solid var(--warning-color);
}

.recommendation-box.severe {
    background-color: #fff3f3;
    border-left: 4px solid var(--danger-color);
    padding: 1rem;
    margin-top: 1rem;
}

.recommendation-box.severe h4 {
    color: var(--danger-color);
    margin-bottom: 0.5rem;
}

.recommendation-box.severe ul {
    list-style-type: none;
    padding-left: 0;
}

.recommendation-box.severe li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.recommendation-box.severe li:before {
    content: "•";
    color: var(--danger-color);
    position: absolute;
    left: 0;
}

.note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-style: italic;
}

.final-recommendation {
    margin-top: 2rem;
    border-top: 2px solid var(--primary-color);
    padding-top: 1.5rem;
}

.recommendation-box {
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.dose-recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.drug-recommendation {
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.drug-recommendation h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--primary-color);
}

.measures-box {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #fff;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

.measures-box ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

.measures-box li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.measures-box li:before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0.5rem;
}

.warning-note {
    margin-top: 1rem;
    padding: 0.5rem;
    background-color: #fff3f3;
    border-left: 4px solid var(--danger-color);
}

/* 添加毒等级相关样式 */
.toxicity-details {
    background: white;
    border-radius: var(--border-radius);
    padding: 1rem;
    border-left: 4px solid var(--primary-color);
}

.grade-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.grade-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.grade-value {
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    background-color: var(--background-light);
    color: var(--text-primary);
}

.grade-value.severe-grade {
    background-color: var(--danger-color);
    color: white;
    animation: pulse 2s infinite;
}

.toxicity-type {
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
}

/* 高等级毒性的特殊样式 */
.toxicity-severe {
    border: 2px solid var(--danger-color);
    background-color: #fff5f5;
}

.management-plan {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* 添加动画效果 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(244, 67, 54, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(244, 67, 54, 0);
    }
}

/* 剂量调优化 */
.dose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.dose-item {
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    text-align: center;
}

.dose-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.dose-value {
    font-weight: bold;
    color: var(--text-primary);
}

.dose-value.hold {
    color: var(--danger-color);
    font-weight: bold;
    background-color: #fff5f5;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--danger-color);
}

.toxicity-severe .dose-value.hold {
    background-color: var(--danger-color);
    color: white;
    border: none;
}

/* 评估模块容器 */
.assessment-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.assessment-modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.assessment-module {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 1rem;
}

.assessment-module:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.assessment-module h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.input-content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.input-with-reference {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.input-with-reference input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-with-reference input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

.grade-reference {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background-color: var(--background-light);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 0.8rem;
}

.grade-reference span {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    border-bottom: 1px dashed #e0e0e0;
}

.grade-reference span:last-child {
    border-bottom: none;
}

.input-warning {
    border-color: var(--danger-color) !important;
    background-color: #fff5f5;
}

.warning-text {
    color: var(--danger-color);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

/* 标题���提示图标容器样式 */
.title-with-tooltip {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

/* 标题文字样式 */
.title-with-tooltip h4 {
    color: var(--primary-color);
    margin: 0;
    padding: 0;
    font-size: 1rem;
    line-height: 20px;
    display: inline-flex;
    align-items: center;
}

/* 提示图标容器样式 */
.tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

/* 提示图标样式 */
.info-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-style: normal;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    line-height: 1;
}

/* 移除其他可能影响对齐的样式 */
.assessment-module h4,
.toxicity-module h4 {
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

/* 提示框样式 */
.tooltip-icon::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    padding: 0.8rem;
    border-radius: var(--border-radius);
    background-color: rgba(33, 33, 33, 0.95);
    color: white;
    font-size: 0.85rem;
    line-height: 1.4;
    white-space: pre-line;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* 提示框显示动画 */
.tooltip-icon:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-8px);
}

/* 添加箭头 */
.tooltip-icon::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(33, 33, 33, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tooltip-icon:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-8px);
}

/* 添加计算结果显示样式 */
.calculated-result {
    margin-top: 1rem;
    padding: 1rem;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
}

.result-display {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

/* 输入字段布局优化 */
.input-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.input-field select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

/* 添加肾功能评估相关样式 */
.grade-value.normal {
    color: var(--success-color);
}

.grade-value.mild {
    color: var(--secondary-color);
}

.grade-value.moderate {
    color: var(--warning-color);
}

.grade-value.severe {
    color: var(--danger-color);
}

.crcl-value {
    margin: 0.5rem 0;
    font-weight: 500;
}

.dose-adjustment {
    margin-top: 1rem;
    padding: 0.8rem;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
}

.drug-dose {
    display: flex;
    justify-content: space-between;
    margin: 0.3rem 0;
}

.warning-message {
    margin-top: 1rem;
    padding: 0.8rem;
    background-color: rgba(244, 67, 54, 0.1);
    border-left: 4px solid var(--danger-color);
    border-radius: var(--border-radius);
}

.warning-message p {
    color: var(--danger-color);
    margin: 0;
}

/* 修改实验室检查值模块的布局 */
.lab-values-section .assessment-modules {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 1.5rem;
}

/* 创建左侧三个指标的容器样式 */
.lab-values-section .assessment-modules > div:not(:last-child) {
    grid-column: 1;
}

/* 肾功能模块样式 */
.lab-values-section .assessment-modules > div:last-child {
    grid-column: 2;
    grid-row: 1 / span 3;
    display: flex;
    flex-direction: column;
}

/* 调整小屏幕响应式布局 */
@media (max-width: 768px) {
    .lab-values-section .assessment-modules {
        grid-template-columns: 1fr;
    }
    
    .lab-values-section .assessment-modules > div:last-child {
        grid-column: 1;
        grid-row: auto;
    }
}

/* 优肾功能模块的输入布局 */
.assessment-module:last-child .input-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0.5rem;
    background-color: white;
    border-radius: var(--border-radius);
}

/* 调整输入字段的样式 */
.assessment-module:last-child .input-field {
    margin-bottom: 0.5rem;
}

.assessment-module:last-child .input-field label {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.assessment-module:last-child .input-field input,
.assessment-module:last-child .input-field select {
    padding: 0.5rem;
    font-size: 0.95rem;
    height: 36px;
}

/* 计算结果显示优化 */
.assessment-module:last-child .calculated-result {
    grid-column: 1 / -1;
    margin-top: 1rem;
    padding: 1rem;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.assessment-module:last-child .calculated-result label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.assessment-module:last-child .result-display {
    background-color: white;
    padding: 0.6rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    min-width: 100px;
    text-align: center;
}

/* 响应式布局优化 */
@media (max-width: 1024px) {
    .assessment-module:last-child .input-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .assessment-module:last-child .input-content {
        grid-template-columns: 1fr;
    }
    
    .assessment-module:last-child .calculated-result {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .assessment-module:last-child .result-display {
        width: 100%;
    }
}

/* 非血学毒性模块的通用样式 */
.toxicity-section .toxicity-modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 三个模块并排显示 */
    gap: 1.5rem;
}

/* 非血液学毒性模块样式优化 */
.toxicity-module {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
}

/* 模块标题样式 */
.toxicity-module h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

/* 下拉选择框容器样式 */
.toxicity-module .input-field {
    margin-bottom: 1rem;
}

/* 下拉框样式优化 */
.toxicity-module select {
    width: 100%;
    padding: 0.6rem 2.5rem 0.6rem 0.8rem; /* 增加右侧padding为箭头留空间 */
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    background-color: white;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.762L10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* 下拉选择框悬停和焦点状态 */
.toxicity-module select:hover {
    border-color: var(--primary-color);
}

.toxicity-module select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
    outline: none;
}

/* 文本输入框样式（用于其他非血液学毒的描） */
.toxicity-module textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    resize: vertical;
    min-height: 80px;
    transition: all 0.2s ease;
}

.toxicity-module textarea:hover {
    border-color: var(--primary-color);
}

.toxicity-module textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
    outline: none;
}

/* 优化恶心呕吐模块的样式 */
.assessment-module .input-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.assessment-module .select-field,
.assessment-module .input-field {
    width: 100%;
}

.assessment-module .input-field input[type="number"] {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    height: 38px;
    transition: all 0.2s ease;
}

.assessment-module .input-field input[type="number"]:hover {
    border-color: var(--primary-color);
}

.assessment-module .input-field input[type="number"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
    outline: none;
}

/* 移除之前的参考显示相关样式 */
.grade-reference {
    display: none;
}

/* 响应式布局 */
@media (max-width: 1024px) {
    .toxicity-section .toxicity-modules {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .toxicity-section .toxicity-modules {
        grid-template-columns: 1fr;
    }
    
    .toxicity-module {
        padding: 1rem;
    }
}

/* 其他非血液学毒模块的特定样式 */
.toxicity-description {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* 下拉选择框和文本框的容器样式 */
.assessment-module .input-content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 0.8rem;
}

/* 下拉选择框和文本框的容器样式 */
.assessment-module .select-field,
.assessment-module .toxicity-description {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* 标签样式统一 */
.assessment-module .select-field label,
.assessment-module .toxicity-description label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* 下拉选择框样式 */
.assessment-module .select-field select {
    width: 100%;
    padding: 0.6rem 2.5rem 0.6rem 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    background-color: white;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.762L10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    transition: all 0.2s ease;
}

/* 文本框样式 */
.assessment-module .toxicity-description textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    transition: all 0.2s ease;
}

/* 悬停和焦点状态 */
.assessment-module .select-field select:hover,
.assessment-module .toxicity-description textarea:hover {
    border-color: var(--primary-color);
}

.assessment-module .select-field select:focus,
.assessment-module .toxicity-description textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
    outline: none;
}

/* 移除所有重复的装饰线样式 */
.title-with-tooltip h4,
.assessment-module h4,
.toxicity-module h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: none; /* 移除所有边框 */
}

/* 为指标标题添加单个装饰线 */
.assessment-module {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 1rem;
}

/* 添加单个蓝色装饰线 */
.assessment-module .title-with-tooltip {
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

/* 确保其他相关样式不会添加额外的边框 */
.assessment-module .input-content {
    border-top: none;
    padding-top: 0.8rem;
}

/* 移除可能存在的其他装饰线 */
.toxicity-description,
.select-field {
    border-bottom: none;
}