body {
    background-color: #f7f8fa;
    color: #1d2129;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.doc-container {
    max-width: 1000px;
    margin: 100px auto 40px;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.doc-header {
    border-bottom: 1px solid #e5e6eb;
    padding-bottom: 24px;
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.doc-header-content {
    flex: 1;
}

.doc-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1d2129;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e5e6eb;
    border-radius: 6px;
    color: #4e5969;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.copy-btn:hover {
    background: #f2f3f5;
    color: #1d2129;
    border-color: #c9cdd4;
}

.copy-btn i {
    font-size: 14px;
}

.doc-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #86909c;
    font-size: 14px;
}

.method-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: #e8ffea;
    color: #00b42a;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #b7eb8f;
}

.api-path {
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    background: #f2f3f5;
    padding: 4px 8px;
    border-radius: 4px;
    color: #4e5969;
}

h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 40px 0 20px;
    padding-left: 12px;
    border-left: 4px solid #165dff;
    line-height: 1.2;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 16px;
    color: #4e5969;
}

p {
    line-height: 1.6;
    color: #4e5969;
    margin-bottom: 16px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 14px;
}

th, td {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e6eb;
    text-align: left;
}

th {
    background-color: #f7f8fa;
    color: #1d2129;
    font-weight: 500;
}

td {
    color: #4e5969;
}

.code-block {
    position: relative;
    background: #f7f8fa;
    padding: 20px;
    border-radius: 8px;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #4e5969;
    margin-bottom: 24px;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 500px;
    border: 1px solid #e5e6eb;
    white-space: pre-wrap;
}

.code-block-copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #e5e6eb;
    border-radius: 6px;
    color: #4e5969;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
}

.code-block-copy-btn:hover {
    background: #fff;
    color: #1d2129;
    border-color: #c9cdd4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.code-block-copy-btn i {
    font-size: 14px;
}

.param-required {
    color: #f53f3f;
    font-weight: 500;
}

.param-optional {
    color: #86909c;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #165dff;
    text-decoration: none;
    margin-bottom: 20px;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}