/* ========== 管理后台按钮修复 ========== */

/* 隐藏特定模块的默认对象工具栏 */
.app-core_services #content-main > .object-tools,
.app-digital_solutions #content-main > .object-tools,
.app-digital_asset #content-main > .object-tools,
.app-ai_services #content-main > .object-tools,
.app-system_management:not(.model-feedback):not(.model-feedbackimage) #content-main > .object-tools {
    display: none !important;
}

/* 确保数字资产服务平台和AI服务模块的搜索框布局正确 */
.app-digital_asset #changelist-form,
.app-ai_services #changelist-form {
    margin-top: 15px !important;
}

/* 调整搜索区域的布局 */
.app-core_services #content-main > form,
.app-digital_solutions #content-main > form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.app-core_services #content-main > .object-tools li,
.app-digital_solutions #content-main > .object-tools li {
    margin: 0;
    padding: 0;
    display: inline-block;
}

.app-core_services #content-main > .object-tools a,
.app-digital_solutions #content-main > .object-tools a {
    display: inline-block;
    padding: 8px 15px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.3s;
    white-space: nowrap;
}

.app-core_services #content-main > .object-tools a:hover,
.app-digital_solutions #content-main > .object-tools a:hover {
    background: #2980b9;
    text-decoration: none;
}

.app-core_services #content-main > .object-tools a.addlink,
.app-digital_solutions #content-main > .object-tools a.addlink {
    background: #27ae60;
}

.app-core_services #content-main > .object-tools a.addlink:hover,
.app-digital_solutions #content-main > .object-tools a.addlink:hover {
    background: #229954;
}

.app-core_services #content-main > .object-tools a.changelink,
.app-digital_solutions #content-main > .object-tools a.changelink {
    background: #f39c12;
}

.app-core_services #content-main > .object-tools a.changelink:hover,
.app-digital_solutions #content-main > .object-tools a.changelink:hover {
    background: #d68910;
}