/* Markdown内容显示样式 */
.markdown-display {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.8;
    color: #333;
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin: 10px 0;
}

.markdown-display h1,
.markdown-display h2,
.markdown-display h3,
.markdown-display h4,
.markdown-display h5,
.markdown-display h6 {
    margin: 25px 0 15px 0;
    font-weight: bold;
    line-height: 1.4;
    color: #2c3e50;
}

.markdown-display h1 {
    font-size: 32px;
    border-bottom: 3px solid #3498db;
    padding-bottom: 12px;
    margin-bottom: 25px;
}

.markdown-display h2 {
    font-size: 26px;
    border-bottom: 2px solid #bdc3c7;
    padding-bottom: 10px;
    color: #34495e;
}

.markdown-display h3 {
    font-size: 22px;
    color: #2980b9;
}

.markdown-display p {
    margin: 15px 0;
    text-align: justify;
}

.markdown-display ul,
.markdown-display ol {
    margin: 15px 0;
    padding-left: 35px;
}

.markdown-display li {
    margin: 8px 0;
}

.markdown-display blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e6f3ff 100%);
    border-left: 5px solid #3498db;
    color: #555;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.markdown-display code {
    background: #f1f2f6;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    color: #e74c3c;
    border: 1px solid #e8eaed;
}

.markdown-display pre {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.markdown-display pre code {
    background: transparent;
    padding: 0;
    color: inherit;
    border: none;
}

.markdown-display table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.markdown-display th,
.markdown-display td {
    padding: 15px 18px;
    text-align: left;
    border-bottom: 1px solid #e8eaed;
}

.markdown-display th {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
}

.markdown-display tr:nth-child(even) {
    background: rgba(52, 152, 219, 0.03);
}

.markdown-display tr:hover {
    background: rgba(52, 152, 219, 0.08);
}

.markdown-display a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.markdown-display a:hover {
    color: #2980b9;
    border-bottom-color: #2980b9;
}

.markdown-display strong,
.markdown-display b {
    font-weight: bold;
    color: #2c3e50;
}

.markdown-display em,
.markdown-display i {
    font-style: italic;
    color: #7f8c8d;
}
