/* 文档容器样式 */
.document-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

/* 文档头部样式 */
.document-header {
    background-color: #8bc34a;
    padding: 20px;
    color: white;
    position: relative;
}

.document-header h1 {
    text-align: center;
    font-size: 24px;
    margin: 0;
}

.back-button {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.arrow {
    margin-right: 5px;
    font-size: 20px;
}

/* 文档内容样式 */
.document-content {
    padding: 30px;
}

section {
    margin-bottom: 30px;
}

section:last-child {
    margin-bottom: 0;
}

h2 {
    color: #5d4037;
    font-size: 22px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

h3 {
    color: #795548;
    font-size: 18px;
    margin-bottom: 10px;
    margin-top: 20px;
}

p {
    color: #616161;
    line-height: 1.6;
    margin-bottom: 15px;
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    color: #616161;
    line-height: 1.6;
    margin-bottom: 8px;
}

.faq-item, .policy-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child, .policy-item:last-child {
    border-bottom: none;
}

.last-updated {
    font-style: italic;
    color: #9e9e9e;
    text-align: right;
    margin-bottom: 20px;
}

/* 文档页脚样式 */
.document-footer {
    padding: 20px;
    text-align: center;
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
}

/* 响应式设计 */
@media (max-width: 600px) {
    .document-header h1 {
        font-size: 20px;
        margin-left: 30px;
        text-align: left;
    }

    .document-content {
        padding: 20px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 16px;
    }
}