.main {
    display: flex;
    min-height: calc(100vh - 60px - 100px); /* 减去header和footer的高度 */
}
a {
    text-decoration: none;
    color: rgb(106, 115, 139);
}
.content-area-left {
    width: 15%;
    background-color: #f5f5f5;
    padding: 30px;
    border-right: 1px solid #ddd;
}

.editor-section {
    margin-bottom: 20px;
}

.editor-section h3 {
    margin-bottom: 10px;
    color: #333;
}

.content-area-right {
    width: 80%;
    padding: 10px 50px;
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 1px 20px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 20px;
}

.toolbar-left {
    display: flex;
    gap: 20px;
}

.toolbar-btn {
    background: none;
    border: none;
    padding: 8px 16px;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    position: relative;
}

.toolbar-btn.active {
    color: #2196F3;
    font-weight: 500;
}

.toolbar-btn.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2196F3;
}


.content-right-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
}

.useCenter-container {
    display: flex;
    background: #fff;
    border-radius: 4px;
    margin-top: 16px;
    div {
        margin: 10px 20px;
    }
}

.right-btn {
    padding: 15px 40px;
    font-size: 18px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: background-color 0.3s;
}

.right-btn:hover {
    background-color: #1976D2;
}

.right-tip {
    color: #666;
    font-size: 14px;
    margin: 0;
}




table {
    width: 100%;
    text-align: start;
    border-radius: 8px 8px 0 0;
    border-collapse: separate;
    border-spacing: 0;
}
.ant-table-thead {
    box-sizing: border-box;
}
.ant-table-thead {
    position: relative;
    color: rgba(0, 0, 0, 0.88);
    font-weight: 600;
    text-align: start;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}
.ant-table-tbody {
    box-sizing: border-box;
}
.ant-table-placeholder {
    background: #ffffff;
    text-align: center;
    color: rgba(0, 0, 0, 0.25);
}
.ant-table-cell{
    transition: background 0.2s, border-color 0.2s;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding: 16px 16px;
    overflow-wrap: break-word;
    box-sizing: border-box;
    text-align: center;
    max-width: 340px;
}

.ant-empty-normal {
    margin-block: 32px;
    color: rgba(0, 0, 0, 0.25);
}

.ant-empty {
    margin-inline: 8px;
    font-size: 14px;
    line-height: 1.5714285714285714;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    font-size: 14px;
    box-sizing: border-box;
}

 .ant-empty-image {
    height: 40px;
    margin-bottom: 8px;
    opacity: 1;
    box-sizing: border-box;
 }

 .ant-empty-description {
    color: rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

.ant-table-row {
    box-sizing: border-box;
}



.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
}

.pagination button {
    padding: 8px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination button:hover:not(:disabled) {
    color: #1890ff;
    border-color: #1890ff;
}

.pagination button:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
}

.pagination span {
    color: #666;
    font-size: 14px;
}

.empty-message, .error-message {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
}

.error-message {
    color: #ff4d4f;
}

#rightContainer {
    min-height: 200px;
    background: #fff;
    border-radius: 4px;
    margin-top: 16px;
}