 body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        margin: 0;
        padding: 0;
        background-color: #f5f5f5;
        color: #333;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box; /* 保证元素的宽度包括边框和内边距 */
        overflow-x: hidden; /* 防止横向滚动 */
    }

    * {
        box-sizing: border-box; /* 所有元素都采用 box-sizing: border-box */
    }

    .container {
        width: 90%;
        max-width: 1200px;
        margin: 20px auto;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 20px; /* 增加主内容和侧边栏之间的间距 */
    }

    .header {
        width: 100%;
        max-width: 1300px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        padding: 10px 20px;
        border-radius: 10px;
        overflow: hidden; /* 防止元素溢出引起滚动 */
    }

    .header .logo {
        display: flex;
        align-items: center;
        padding: 0px 0px 0px 30px;
    }

    .header .logo svg {
        height: 30px;
        margin-right: 10px;
        fill: #0078d4;
    }

    .header .logo span {
        font-size: 1.2em;
        font-weight: bold;
        color: #333;
    }

    .header .search-bar {
        display: flex;
        align-items: center;
        border: 1px solid #ddd;
        border-radius: 20px;
        padding: 5px 10px;
        flex-grow: 1;
        max-width: 300px;
    }

    .header .search-bar input {
        border: none;
        outline: none;
        padding: 5px;
        font-size: 0.9em;
        background-color: transparent;
        width: 100%;
    }

    .header .search-bar button {
        background-color: transparent;
        border: none;
        cursor: pointer;
        padding: 5px;
    }

    .header .search-bar button svg {
        height: 20px;
        fill: #999;
        transition: fill 0.3s ease;
    }

    .header .search-bar button:hover svg {
        fill: #0078d4;
    }

    .main-content {
        width: 70%;
        padding: 20px;
        border-radius: 10px;
    }

    .main-content h1 {
        font-size: 2em;
        margin-bottom: 20px;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
        color: #0078d4;
    }

    .main-content .sub-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
    }

    .main-content .sub-header .search-count,
    .main-content .sub-header .progress {
        font-size: 0.9em;
        color: #777;
    }

    .main-content .actions {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

    .main-content .actions > * {
        margin-right: 10px;
        font-size: 0.9em;
        color: #777;
        cursor: pointer;
        transition: color 0.3s ease;
    }

    .main-content .actions > *:hover {
        color: #0078d4;
    }

    .main-content .actions svg {
        height: 18px;
        fill: #777;
        vertical-align: middle;
        transition: fill 0.3s ease;
    }

    .main-content .actions > *:hover svg {
        fill: #0078d4;
    }

    .main-content h2 {
        font-size: 1.5em;
        margin-bottom: 15px;
        margin-top: 20px;
        color: #333;
    }

    .main-content p {
        font-size: 1em;
        line-height: 1.8;
        margin-bottom: 20px;
        color: #555;
    }

    .sidebar {
        width: 28%;
        padding: 20px;
        border-radius: 10px;
    }

    .sidebar h2 {
        font-size: 1.2em;
        margin-bottom: 15px;
        border-bottom: 1px solid #eee;
        padding-bottom: 5px;
        color: #0078d4;
    }

    .sidebar ol {
        padding-left: 20px;
    }

    .sidebar li {
        font-size: 0.9em;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .sidebar li a {
        color: #0078d4;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .sidebar li a:hover {
        text-decoration: underline;
        color: #005bb5;
    }

    .sidebar li .source {
        display: block;
        font-size: 0.8em;
        color: #777;
        margin-top: 5px;
    }

    @media (max-width: 900px) {
        .container {
            flex-wrap: wrap;
            flex-direction: column;
        }
        .main-content, .sidebar {
            width: 100%;
            order: 1;
        }
        .header .search-bar {
            max-width: 200px;
            margin-top: 10px;
        }
    }

    /* 代码块样式 */
    pre {
        background-color: #f8f9fa;
        border: 1px solid #ddd;
        border-radius: 5px;
        padding: 15px;
        overflow-x: auto;
        font-family: 'Courier New', Courier, monospace;
        font-size: 0.9em;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    code {
        background-color: #f8f9fa;
        padding: 2px 4px;
        border-radius: 3px;
        font-family: 'Courier New', Courier, monospace;
        font-size: 0.9em;
        color: #d63384;
    }

    /* 有序列表和无序列表样式 */
    ul, ol {
        margin-bottom: 20px;
        padding-left: 20px;
    }

    ul li, ol li {
        font-size: 1em;
        line-height: 1.8;
        color: #555;
        margin-bottom: 10px;
    }

    ul li::marker {
        color: #0078d4;
    }

    ol li::marker {
        color: #0078d4;
        font-weight: bold;
    }

    /* 加粗样式 */
    strong, b {
        color: #333;
        font-weight: bold;
    }

    /* 引用样式 */
    blockquote {
        border-left: 4px solid #0078d4;
        padding: 10px 20px;
        margin: 20px 0;
        background-color: #f8f9fa;
        color: #555;
        font-style: italic;
    }

    blockquote p {
        margin: 0;
    }

    /* 超链接样式 */
    a {
        color: #0078d4;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    a:hover {
        color: #005bb5;
        text-decoration: underline;
    }

    /* 表格样式 */
    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 5px;
        overflow: hidden;
    }

    table th, table td {
        padding: 12px 15px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }

    table th {
        background-color: #f8f9fa;
        font-weight: bold;
        color: #333;
    }

    table tr:hover {
        background-color: #f1f1f1;
    }

    /* 图片样式 */
    img {
        max-width: 100%;
        height: auto;
        border-radius: 5px;
        margin-bottom: 20px;
    }

    /* 分割线样式 */
    hr {
        border: 0;
        height: 1px;
        background-color: #ddd;
        margin: 20px 0;
    }
.blog-footer {
    width: 100%;
    padding: 30px 0;
    background-color: #f5f5f5;
    border-top: 1px solid #eaeaea;
    margin-top: 40px;
    text-align: center;
    font-size: 0.9em;
    color: #666;
}
.footer-bottom {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-bottom div {
    line-height: 1.6;
}
.blog-footer a {
    color: #0078d4;
    text-decoration: none;
    transition: color 0.3s ease;
}
.blog-footer a:hover {
    color: #005bb5;
    text-decoration: underline;
}
/* 响应式调整 */
@media (max-width: 600px) {
    .blog-footer {
        padding: 20px 0;
        font-size: 0.85em;
    }
    
    .footer-bottom {
        padding: 0 15px;
    }
}


     .tip-box {
background-color: #f0f8ff;
  border-left: 5px solid #1e90ff;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 13px;
        }
