/* 内容管理页面样式 */
.content-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.search-bar {
    display: flex;
    gap: 10px;
}

#search-input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 300px;
}

.content-list {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

#content-table {
    width: 100%;
    border-collapse: collapse;
}

#content-table th, #content-table td {
    padding: 12px 15px;
}

#content-table th:first-child, #content-table td:first-child {
    width: 40px;
    text-align: center;
}

#content-table th:nth-child(2), #content-table td:nth-child(2) {
    width: 60px;
    text-align: center;
}

#content-table th:nth-child(6), #content-table td:nth-child(6) {
    width: 80px;
    text-align: center;
}

#content-table th:nth-child(7), #content-table td:nth-child(7) {
    width: 100px;
    text-align: center;
}

#content-table th:last-child, #content-table td:last-child {
    width: 150px;
    text-align: center;
}
/* 编辑按钮 */
.action-btn {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 3px;
    font-size: 12px;
}
.edit-btn {
    background-color: #3498db;
    color: white;
}

.delete-btn {
    background-color: #e74c3c;
    color: white;
}
.edit-btn, .delete-btn {
	border: none;
	margin: 0 6px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 5px;
}

.page-btn {
    padding: 8px 15px;
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 4px;
    cursor: pointer;
}

.page-btn.active {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
}

.page-btn:hover:not(.active) {
    background-color: #f5f7fa;
}

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

.modal-content {
    background-color: white;
    width: 800px;
    max-width: 90%;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    overflow: hidden;
}

.modal-header {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ecf0f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
}

.close-modal {
    font-size: 24px;
    cursor: pointer;
    color: #7f8c8d;
}

.modal-body {
    padding: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.modal-footer {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #ecf0f1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-secondary {
    padding: 8px 15px;
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 4px;
    cursor: pointer;
}
.edit-btn
#editBack, #editAllow {
	
}