	/* 基础样式 */
    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        font-family: 'Arial', sans-serif;
    }
    /* 重置 WordPress 主题可能干扰的样式 */
    body {
        margin: 0 !important;
        padding: 0 !important;
        position: relative; /* 为 body 提供相对定位上下文 */
        /*background-image:url('/lmcms/static/img/cos.webp'); */
    }

    /* 整体布局 */
    .custom-auth-page {
        display: flex;
        margin: 0;
        font-family: Arial, sans-serif;
        padding-top: 60px; /* 为 WordPress 头部留出空间 */
        min-height: calc(100vh - 60px); /* 减去头部高度 */
        position: relative; /* 为子元素提供相对定位上下文 */
    }

    /* 左侧目录树样式 */
    .custom-auth-page .custom-sidebar {
        width: 220px;
        background-color: var(--lmcms-bg);
        padding: 20px;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        position: fixed; /* 固定在页面左侧 */
        top: 60px; /* 从 WordPress 头部下方开始 */
        left: 0; /* 固定在左侧 */
        height: calc(100vh - 60px); /* 动态计算高度，减去头部高度 */
        overflow-y: auto; /* 允许目录内容滚动 */
        font-size: 16px;
    }

    .custom-auth-page .custom-sidebar h2 {
        margin-top: 0; /* 确保标题显示 */
        font-size: 1.5em;
        color: #333;
    }

    .custom-auth-page .custom-sidebar ul {
        list-style-type: none;
        padding: 0;
    }

    .custom-auth-page .custom-sidebar ul li {
        margin: 10px 0;
    }

    .custom-auth-page .custom-sidebar ul li a {
        text-decoration: none;
        color: #333;
        display: block;
        padding: 5px;
        border-radius: 5px;
        background-color: #e0f7ff;
        transition: background-color 0.3s, color 0.3s;
    }

    .custom-auth-page .custom-sidebar ul li a:hover {
        background-color: var(--focus-color);
        color: white;
    }

    .custom-auth-page .custom-sidebar ul li a.active {
        background-color: var(--focus-color);
        color: white;
        font-weight: bold;
    }

    /* 右侧内容区样式开始 */
    .custom-auth-page .custom-content {
        margin-left: 210px; /* 留出目录树的空间 */
        margin-right: 30px; /* 右侧缩进 */
        padding: 20px;
        flex: 1;
        overflow-y: auto; /* 允许右侧内容滚动 */
        min-height: calc(100vh - 60px); /* 动态计算高度，减去头部高度 */
    }
/* 或者只禁止特定区域的图片点击 */
.button-icon img, 
.card-icon img, 
.custom-content img {
    pointer-events: none;
}
	
/* 搜索样式开始 */
        .sousou {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 16vh;
            /*background-color: #f5f5f5;*/
            padding: 20px;
        }
	        .search-container {
            width: 100%;
            max-width: 600px;
            position: relative;
        }
        
        .search-engine-selector {
            position: absolute;
            top: -50px;
            left: 0;
            display: flex;
            gap: 10px;
            padding: 5px;
            background: white;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .search-wrapper:hover .search-engine-selector {
            opacity: 1;
            visibility: visible;
        }
        
        .engine-option {
            padding: 5px 10px;
            border-radius: 3px;
            cursor: pointer;
            font-size: 14px;
            transition: background 0.2s;
        }
        
        .engine-option:hover {
            background: #f0f0f0;
        }
        
        .engine-option.active {
            background: #4285f4;
            color: white;
        }
        
        .search-wrapper {
            position: relative;
            width: 100%;
        }
        
        .search-input {
            width: 100%;
            padding: 12px 50px 12px 20px;
            border: 1px solid #ddd;
            border-radius: 30px;
            font-size: 16px;
            outline: none;
            transition: all 0.3s;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .search-input:focus {
            border-color: #4285f4;
            box-shadow: 0 2px 10px rgba(66, 133, 244, 0.3);
        }
        
        .search-btn {
            position: absolute;
            right: 10px;
            top: 10px;
            width: 36px;
            height: 36px;
            border: none;
            background: #4285f4;
            border-radius: 50%;
            color: white;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: background 0.3s;
        }
        
        .search-btn:hover {
            background: #3367d6;
        }
        
        .search-icon {
            font-size: 18px;
        }
		/* 搜索样式结束 */

        /* 主容器样式 */
        .container {
            width: 100%;
            max-width: 1600px;
            margin: 0 auto;
        }

        /* ============== Tab区域样式 ============== */
        .tab-container {
            width: 100%;
            background: white;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            margin-bottom: 20px;
            overflow: visible !important; /* 关键修复：允许内容溢出 */
        }
        
        .tab-menu {
            display: flex;
            height: 50px;
            background: #f0f0f0;
            border-bottom: 1px solid #ddd;
            padding: 0 15px;
            align-items: center;
        }
        
        .menu-icon {
            width: 24px;
            height: 24px;
            margin-right: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #4285f4;
            color: white;
            border-radius: 4px;
            font-size: 14px;
        }
        
        .tab-item {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s;
            height: 100%;
            position: relative;
            color: #000000;
        }
        
        .tab-item.active {
            font-weight: bold;
            color: var(--focus-color);
        }
        
        .tab-item.active:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--focus-color);
        }
        
        .nav-tab-content {
            padding: 15px;
            display: none;
        }
        
        .nav-tab-content.active {
            display: block;
        }
        
        /* 固定每行10个按钮 */
        .button-container {
            display: grid;
            grid-template-columns: repeat(10, 1fr);
            gap: 10px;
        }
        
        .button-item {
            text-align: center;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 14px;
            overflow: hidden;
        }
        
        .button-link {
            display: block;
            text-decoration: none;
            color: #333;
            padding: 8px 0;
            transition: all 0.2s;
            border-radius: 8px;
        }
        
        .button-link:hover {
            background-color: #ff8d00;
            color: white;
            border-radius: 8px;
        }
        
        .button-icon {
            width: 30px;
            height: 30px;
            margin: 0 auto 5px;
            /*background-color: #f0f0f0;*/
            display: flex;
            align-items: center;
            justify-content: center;
            /*border-radius: 3px;*/
            transition: all 0.2s;
            border-radius: 8px;
        }
        
        /* ============== 卡片区域样式 ============== */
        .card-container {
    width: 100%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px; /* 添加底部间距 */
}
        
/* 修正后的 card-header 样式 */
.card-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between; /* 关键修改：使左右元素分开 */
}

/* 标题容器样式 */
.card-header-title-container {
    display: flex;
    align-items: center;
    flex-grow: 1; /* 允许标题区域增长 */
}
        
        .card-header-icon {
            width: 24px;
            height: 24px;
            margin-right: 3px;
            /*background: #4285f4;*/
            color: white;
            /*border-radius: 4px;*/
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
        }
        
        .card-header-title {
            font-weight: bold;
            font-size: 16px;
            color: #000;
            margin-left: 3px; /* 图标和标题间距 */
        }
        
        /* 固定每行6个卡片 */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 15px;
            padding: 15px;
        }
        
        @media (max-width: 1200px) {
            .card-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .card-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        .card-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    padding: 12px;
    border: 1px solid #eee;
    height: 80px; /* 固定卡片高度 */
    width: 100%; /* 确保宽度统一 */
}
/* 添加悬停效果 */
        .card-item:hover {
		    background-color: #eb86e326;
		    cursor: pointer;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            border-color: #ff26bcc7;
        }
        
        .card-icon {
            width: 40px;
            height: 40px;
            background: #f0f0f0;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            flex-shrink: 0;
            color: #4285f4;
            font-size: 18px;
        }
        
        .card-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直居中内容 */
    min-height: 56px; /* 图标高度40px + 间距 */
}
        
        .card-title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 4px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
        
        .card-subtitle {
    font-size: 12px;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制为两行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 2.8em; /* 两行高度(line-height 1.4 * 2) */
    height: 39px;
}
		.card-link {
    text-decoration: none; /* 移除下划线 */
    color: inherit; /* 继承父元素颜色 */
    display: block; /* 使链接占据整个卡片区域 */
}

    /* 右侧内容区样式结束 */

    /* Footer 样式 */
    footer {
        position: relative; /* 确保 footer 是定位元素 */
        z-index: 2; /* 设置更高的 z-index，使其置于 .custom-sidebar 上层 */
    }
	

/*鼠标悬停显示的css（新增）*/

/* 工具提示容器 - 修改后 */
.tooltip-container {
    position: relative;
    display: inline-block;
    overflow: visible !important; /* 关键修复：允许内容溢出 */
    z-index: 1; /* 确保在正常堆叠上下文中 */
}

/* 工具提示触发元素 - 修改后 */
.tooltip-trigger {
    text-decoration: none;
    color: black;
    position: relative; /* 新增 */
    display: block; /* 确保填充整个按钮区域 */
}

/* 工具提示文本 - 修改后 */
.tooltip-text {
    display: none;
    width: 220px;
    background-color: green;
    color: #fff;
    text-align: justify;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1000; /* 确保在最上层 */
    bottom: calc(100% + 10px); /* 调整位置 */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0;
    pointer-events: none; /* 防止干扰 */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 箭头样式 - 修改后 */
.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: green transparent transparent transparent;
}

/* 悬停状态 - 修改后 */
.tooltip-trigger:hover + .tooltip-text,
.tooltip-text:hover {
    display: block;
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* 新增 card-header 右侧 tab 样式 */
.card-header-tabs {
    display: flex;
    gap: 5px;
    margin-left: 20px; /* 与标题保持间距 */
}

.card-header-tab {
    padding: 5px 12px;
    background-color: #fff;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.card-header-tab:hover {
    background-color: #e0e0e0;
}

.card-header-tab.active {
    background-color: var(--focus-color);
    color: white;
    border-color: var(--focus-color);
}
/* 卡片内容区域样式 */
.card-content-wrapper {
    position: relative;
    min-height: 20px; /* 根据内容调整 */
}

/* 单个tab内容区域 */
.card-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.card-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}