/* Protocol Content Styles - 实验协议内容样式 */

/* 主要内容容器 */
.protocol-content {
    background: white;
    border-radius: 10px;
    padding: 40px;
    /* margin: 20px 0; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: none;
    font-family: Arial, sans-serif !important;
    line-height: 1.3;
}

/* 协议标题 */
.protocol-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
    line-height: 1.2;
}

/* 小节标题 */
.protocol-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #af700b;
    margin: 20px 0 10px 0;
    border-bottom: 2px solid #dca854;
    padding-bottom: 5px;
    line-height: 1.2;
}

/* 表格样式 */
.protocol-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.protocol-table th {
    background: linear-gradient(135deg, #bf8d4e 0%, #dca854 100%);
    color: white;
    padding: 10px 15px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.protocol-table td {
    padding: 8px 15px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    line-height: 1.3;
}

.protocol-table tbody tr:nth-child(odd) {
    background-color: #fff9f5;
}

.protocol-table tbody tr:nth-child(even) {
    background-color: #ffffff;
}

.protocol-table tbody tr:hover {
    background-color: #fff1dc;
    /* transform: translateY(-1px); */
    transition: all 0.3s ease;
}

/* 试剂名称特殊样式 */
.reagent-name, .reagent-name * {
    color: #bf8d4e;
    font-weight: 600;
    /* font-style: italic; */
}

/* 步骤列表样式 */
.protocol-steps {
    margin: 15px 0;
}

.protocol-steps ol {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
}

.protocol-steps li {
    counter-increment: step-counter;
    margin: 10px 0;
    padding: 10px 15px;
    background: linear-gradient(135deg, #fff 0%, #fff9f5 100%);
    border-left: 4px solid #bf8d4e;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    font-size: 14px;
    line-height: 1.4;
}

.protocol-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: -12px;
    top: 10px;
    background: linear-gradient(135deg, #bf8d4e 0%, #dca854 100%);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* 无编号列表样式 */
.protocol-list {
    margin: 15px 0;
}

.protocol-list ol,
.protocol-list ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.protocol-list li {
    margin: 10px 0;
    padding: 10px 15px;
    background: linear-gradient(135deg, #fff 0%, #fff9f5 100%);
    border-left: 4px solid #bf8d4e;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    font-size: 14px;
    line-height: 1.4;
}

/* 注意事项样式 */
.protocol-note {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border: 2px solid #f9ca24;
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    position: relative;
    line-height: 1.3;
}

.protocol-note::before {
    content: "⚠️ Note";
    font-weight: bold;
    color: #e67e22;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
    line-height: 1.2;
}

.protocol-note p {
    margin: 4px 0;
    color: #8b4513;
    font-size: 14px;
    line-height: 1.3;
}

/* 设备列表样式 */
.equipment-list {
    background: #fff1dc;
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid #dca854;
}

.equipment-list h4 {
    color: #af700b;
    font-size: 16px;
    margin-bottom: 10px;
    border-bottom: 2px solid #bf8d4e;
    padding-bottom: 3px;
    line-height: 1.2;
}

.equipment-list ul {
    list-style: none;
    padding-left: 0;
}

.equipment-list li {
    padding: 5px 0;
    border-bottom: 1px solid #f5e6d3;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
    color: #333;
    line-height: 1.3;
}

.equipment-list li::before {
    content: "🔬";
    position: absolute;
    left: 0;
    top: 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .protocol-content {
        padding: 15px;
        margin: 10px 0;
    }
    
    .protocol-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .protocol-table th,
    .protocol-table td {
        padding: 6px 8px;
        font-size: 12px;
    }
    
    .protocol-steps li,
    .protocol-list li {
        padding: 8px 12px;
        font-size: 13px;
        margin: 8px 0;
    }
    
    .protocol-steps li::before {
        width: 20px;
        height: 20px;
        left: -10px;
        top: 8px;
        font-size: 10px;
    }
}

/* 动画效果 */
.protocol-content {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 特殊高亮文本 */
.highlight-text {
    background: linear-gradient(135deg, #bf8d4e, #dca854);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

/* 数值强调样式 */
.value-emphasis {
    background: linear-gradient(135deg, #bf8d4e 0%, #af700b 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 15px;
    font-weight: bold;
    display: inline-block;
    margin: 0 2px;
}