/* Zibll 高级页脚插件样式 - 保持原版样式 */

/* 清理类名函数输出的类名 */
.tuc-2ea177b2-3b6f7d-0 {
    /* 保持原主题的类名结构 */
}

/* 插件特有的样式，不影响原主题 */
.zibll-footer-plugin-notice {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: #4CAF50;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 99999;
    display: none;
}

/* 设置页面样式 */
.zibll-settings-section {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
    border-left: 4px solid #40e0d0;
}

.zibll-settings-section h3 {
    margin-top: 0;
    color: #333;
}

/* 图片预览 */
.zibll-image-preview {
    max-width: 200px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    background: white;
}

.zibll-image-preview img {
    max-width: 100%;
    height: auto;
    display: block;
}
// 添加CSS样式来隐藏主题页脚
function zibll_hide_theme_footer_css() {
    // 检查是否启用了插件页脚
    if (zibll_advanced_footer_get_option('enable_footer', '1') != '1') {
        return;
    }
    
    echo '<style id="zibll-hide-theme-footer">
    /* 隐藏主题原生页脚 */
    #footer:not(#onecad_new_footer),
    .site-footer:not(#onecad_new_footer),
    .theme-footer:not(#onecad_new_footer),
    .zib-footer:not(#onecad_new_footer),
    .zibll-footer:not(#onecad_new_footer),
    .main-footer:not(#onecad_new_footer),
    .footer-widget:not(#onecad_new_footer),
    .footer-container:not(#onecad_new_footer),
    .footer-area:not(#onecad_new_footer),
    .footer-main:not(#onecad_new_footer),
    .copyright:not(#onecad_new_footer) {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        opacity: 0 !important;
        pointer-events: none !important;
        z-index: -9999 !important;
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
    }
    
    /* 确保插件页脚显示 */
    #onecad_new_footer {
        display: block !important;
        visibility: visible !important;
        position: relative !important;
        opacity: 1 !important;
        z-index: 1000 !important;
        left: auto !important;
        top: auto !important;
    }
    </style>';
}