body {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: #f4f4f4;
}

h1 {
    color: #333;
}

.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    padding: 10px 20px;
    font-size: 14px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background: #005a87;
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.memo-item {
    background: white;
    border: 1pxsolid#ddd;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.memo-content {
    margin-bottom: 12px;
    line-height: 1.6;
}

.memo-meta {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.memo-time {
    font-size: 12px;
    color: #888;
}

.attachments {
    margin-top: 10px;
}

.attachment-item {
    display: inline-block;
    background: #f0f0f0;
    padding: 4px8px;
    margin: 2px;
    border-radius: 4px;
    font-size: 12px;
}

.attachment-download {
    margin-left: 8px;
    color: #007cba;
    text-decoration: none;
    font-size: 12px;
}

.attachment-download:hover {
    text-decoration: underline;
}

pre {
    background: #f6f8fa;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    padding: 12px;
    margin: 10px 0;
    overflow-x: auto;
}

pre code {
    font-family: Consolas, Monaco, 'AndaleMono', monospace;
    font-size: 13px;
}

.error {
    color: red;
    background: #ffe6e6;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}

#loadMore {
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*模态框样式*/
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5%auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modalh2 {
    margin-top: 0;
}

.form-group {
    margin-bottom: 15px;
}

textarea {
    width: 100%;
    min-height: 120px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
    font-family: inherit;
}

.modal-buttons {
    text-align: right;
    margin-top: 20px;
}

.modal-buttons button {
    margin-left: 10px;
}

.cancel {
    background: #6c757d;
}

.cancel:hover {
    background: #545b62;
}

.comment-item {
    margin-bottom: 12px;
    padding: 8px;
    border-left: 3px solid #007cba;
    background: #f9f9f9;
    border-radius: 4px;
}

.comment-meta {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.comment-content {
    font-size: 14px;
}

.comments-list {
    margin-top: 10px;
}