body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

li {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 10px;
    color: #1a1a1a;  /* 加深 */
}

.code {
    text-indent: 5px;
    margin-left: 2px;
    padding: 10px;
    background-color: #e3e3e3;
    border: 1px solid #000;
    -moz-border-radius-topright: 10px;
    -moz-border-radius-bottomleft: 10px;
    -webkit-border-top-right-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    font-family: monospace;
    overflow-x: auto;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    flex: 1;
}

.sidebar {
    width: 20%;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar h2 {
    margin: 20px 0 30px;
    font-size: 18px;
    color: #1a1a1a;  /* 加深 */
}

.sidebar p {
    margin: 5px 0;
    font-size: 16px;
    color: #1a1a1a;  /* 加深 */
}

.sidebar a {
    text-decoration: none;
    color: #1a1a1a;  /* 加深 */
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: normal;
    padding: 5px 0;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 5px;
}

.sidebar a:hover {
    background-color: #e0e0e0;
    color: #000;
}

.content {
    width: 75%;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    min-height: 800px;
    background-color: #fff;
}

.content h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #1a1a1a;  /* 加深 */
    font-weight: bold;
}

.content hr {
    border: 3px dashed #ccc;
    margin-bottom: 20px;
}

.content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #1a1a1a;  /* 加深 */
}

.content a {
    text-decoration: none;
    color: #0056b3;  /* 加深蓝色，提高可见度 */
}

.content a:hover {
    text-decoration: underline;
    color: #003d80;
}

.content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.footer {
    text-align: right;
    margin-top: 20px;
    font-size: 16px;
    color: #1a1a1a;  /* 加深 */
}

.footer a {
    color: #0056b3;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* doc-9 的软件介绍块 */
.software-intro {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.software-intro h2 {
    margin-top: 0;
    font-size: 20px;
    color: #1a1a1a;
}

/* doc-13、doc-14 的提示框 */
.note {
    font-size: 18px;
    background-color: #eef7ff;
    border-left: 5px solid #007bff;
    padding: 10px 15px;
    margin: 20px 0;
    border-radius: 5px;
    color: #1a1a1a;
}

.warning {
    font-size: 18px;
    background-color: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 10px 15px;
    margin: 20px 0;
    border-radius: 5px;
    color: #1a1a1a;
}

/* doc-14 的快捷键样式 */
kbd {
    display: inline-block;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 2px 6px;
    font-family: monospace;
    font-size: 14px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.1);
    margin: 0 2px;
}

/* doc-3 等页面的 h3 样式 */
h3 {
    color: #1a1a1a;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

/* 响应式：手机屏幕适配 */
@media screen and (max-width: 900px) {
    .container {
        width: 95%;
        flex-direction: column;
        padding: 15px;
    }

    .sidebar {
        width: 100%;
        padding: 20px;
        margin-bottom: 20px;
    }

    .sidebar a {
        display: inline-block;
        margin-right: 8px;
        margin-bottom: 8px;
        padding: 4px 10px;
        background-color: #e8e8e8;
        border-radius: 20px;
        font-size: 14px;
    }

    .sidebar a:hover {
        background-color: #d0d0d0;
        padding-left: 10px;
    }

    .content {
        width: 100%;
        padding: 15px;
        min-height: auto;
    }

    .content h1 {
        font-size: 22px;
    }

    .content p,
    .content li,
    li {
        font-size: 16px;
    }

    .code {
        font-size: 14px;
        overflow-x: auto;
    }
}

@media screen and (max-width: 480px) {
    .container {
        width: 98%;
        padding: 10px;
    }

    .content h1 {
        font-size: 20px;
    }

    .content p,
    .content li,
    li {
        font-size: 15px;
    }
}
