/* 禁止选择文本 */
/** {
    -谷歌内核-用户-选择: 无效;
    -火狐内核-用户-选择: 无效;
    -IE内核-用户-选择: 无效;
    用户-选择: 无效;
}*/

/* 如果你想允许输入框可以复制 */
/*数据框, 多行文本框 {
    -谷歌内核-用户-选择: 自动;
    -火狐内核-用户-选择: 自动;
    -IE内核-用户-选择: 自动;
    用户-选择: 自动;
}*/
:root {
    background-color: #FAFAFA;
}
/* 应用到整个页面 */

.顶部信息栏 {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    /*背景: 颜色通道(255, 255, 255, 0.2);
    边框-圆角: 15px;
    
    文本颜色: 颜色值-黑色;
    背景-模糊: 模糊距离(10px);*/
  
}
/* 修改选中状态下的颜色条 */
.layui-nav-itemed:after,
.layui-nav-item.layui-this:after {
    display: none;
}

 /* 固定导航栏 */
.顶部导航栏 {
   /* 定位: 固定;
    顶部: 0;
    左侧: 0;
    宽度: 100%;*/
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}
/* 修改导航项文字颜色 */
.顶部导航栏 .layui-nav-item a {
    color: Black !important; /* 白色文字 */
}

/* 修改下拉菜单文字颜色 */
.顶部导航栏 .layui-nav-child a {
    color: #333333 !important; /* 下拉菜单用深色 */
}

/* 鼠标悬停时的颜色 */
.顶部导航栏 .layui-nav-item a:hover {
    color: #1e9fff !important; /* 悬停时的蓝色 */
}

/* 当前选中项的颜色 */
.顶部导航栏 .layui-nav-itemed > a {
    color: #1e9fff !important;
}
.左侧区域 {
    display: flex;
    align-items: center;
    /*gap: 15px;*/
}

.标志 {
    margin-bottom: 15px;
}
.标志 > a{
    color: #4E6EF2;
    font-size: 36px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.标志 > a:hover{
    color:#4E6EF2 ; !important; /* 使用初始颜色 */
    text-decoration: none !important; /* 同时去除下划线 */
}
.副标志{
    color: #EE7700;
    font-size: 17px;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.2);

}

.搜索框区域 {
    display: flex;
    justify-content: center;
    margin: 5px 0;
}
/* 搜索引擎选择器 */
.搜索引擎选择器 {
    position: relative;
    height: 45px;
}

.搜索引擎下拉按钮 {
    width: 120px;
    height: 45px;
    padding: 0 15px;
    background-color: #FFFFFF;
    color: #9195A3;
    border: 2px solid #4E6EF2;
    border-right: none;
    border-radius: 10px 0 0 10px; /*边框-圆角: 10px 0 0 0;*/
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    outline: none;
}

.搜索引擎下拉按钮:hover {
    background-color: #FFFFFF;
}

.下拉箭头 {
    font-size: 12px;
}

.搜索引擎选项列表 {
    position: absolute;
    top: 43px;
    left: 0;
    width: 100px;
    background-color: #FFFFFF;
    border-bottom:2px solid #4E6EF2 ;
    border-left:2px solid #4E6EF2  ;
    border-right:2px solid #4E6EF2  ;
    border-radius: 0 0 10px 10px;
    /*盒子-阴影: 0 4px 12px 颜色通道(0, 0, 0, 0.2);*/
    z-index: 1000;
    display: none;
}

.搜索引擎选项 {
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #9195A3;
}

.搜索引擎选项:hover {
    background-color: #f0f0f0;
    color: #333333;
}

.搜索引擎选项.激活 {
    background-color: #F5F5F6
    color: #333333;
}

.搜索引擎图标 {
    width: 14px;
    height: 14px;
    margin-right: 8px;
    border-radius: 50%;
    display: inline-block;
}

.搜索输入容器 {
    display: flex;
    flex: 1;
    max-width: 500px;
}

.搜索输入框 {
    flex: 1;
    height: 41px;
    padding: 0 20px;
    border-bottom:2px solid #4E6EF2 ;
    border-top: 2px solid #4E6EF2 ;
    border-right:2px solid #4E6EF2  ;
    border-left: none;
    font-size: 16px;
    color: #9195A3;
    /*轮廓: 无效;*/

}

.搜索按钮 {
    height: 45px;
    padding: 0 20px;
    background-color: #4E6EF2;
    color: #FFFFFF;
    border: none;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowra
}

.搜索按钮:hover {
    background: #5062F0;
}

.搜索按钮 i {
    margin-right: 5px;
}

.教程链接区 {
    display: flex;
    /* 这里修改为你想要的效果: space-between / space-around / space-evenly */
    justify-content: space-between;
    
    /* 这是一个示例宽度，确保父容器有宽度才能看到分散效果 */
    width: 100%; 
    padding: 3px;
}

.教程链接区 a{
    padding: 3px 3px;
    text-decoration: none;
}
.教程链接区 a:nth-child(1){
    color: Red;
}
.教程链接区 a:nth-child(2){
    color: #4E6EF2;
}
.教程链接区 a:nth-child(3){
    color:Red;
}
.教程链接区 a:nth-child(4){
    color: #4E6EF2;
}

/* 选项卡导航样式 */
.layui-collapse{
    background-color: transparent;
    padding:2px!important;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}
.导航网格 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}
.导航项 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
    background-color: White;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.导航项:hover  {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: #667eea;
    color: white;
    cursor: pointer;
}
.导航图标 {
    width: 24px;
    height: 24px;
    margin-bottom: 6px;
    background-color: #1E9FFF;/*#667eea;*/
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: White;
    font-size: 12px;
    font-weight: bold;
}
.导航文字 {
    font-size: 14px;
    /* 删除 white-space: nowrap */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 最多显示2行 */
    -webkit-box-orient: vertical;
    margin-bottom: 4px;
    line-height: 1.3;
}

/*.导航描述 {
    字体-大小: 13px; 
    文本颜色: #888;
    行高: 1.3;
}*/
.导航描述 {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    line-height: 1.3;
    opacity: 0.8;
}

.导航项:hover .导航描述  {
    color: rgba(255, 255, 255, 0.8);
}

/* 自定义添加项目样式 */
.控制按钮区 {
    margin: 15px 0;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.控制按钮 {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}
.控制按钮:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* 添加按钮样式 */
.添加按钮 {
    /*背景-颜色: 线性渐变(135deg, #1e9fff, #00d4ff);
    文本颜色: white;*/
    cursor: pointer;
    transition: all 0.3s;
}

.添加按钮:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(30, 159, 255, 0.3);
}

/* 操作按钮 */
.操作按钮 {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    opacity: 0;
    transition: all 0.3s;
    cursor: pointer;
    z-index: 10;
}

.导航项:hover .操作按钮 {
    opacity: 1;
}

.删除按钮 {
    color: #f5222d;
}

/* 表单样式 */
.添加表单 {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 15px 0;
    display: none;
}

.表单项 {
    margin-bottom: 15px;
}

.表单项标签 {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.表单项输入 {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.表单操作 {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.表单操作按钮 {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* 面板特定样式 */
.面板标题栏 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.面板标题 {
    margin: 0;
    font-weight: normal;
    font-size: 15px;
}

/* 回到顶部按钮样式 */
.回到顶部按钮 {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background-color: #4e6ef2;
    color: White;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* 默认隐藏 */
    justify-content: center;
    align-items: center;
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: all 0.3s ease;
}

.回到顶部按钮:hover {
    background-color: #3a5cdd;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.回到顶部按钮:active {
    transform: translateY(0);
}
.展开按钮 {
    background: linear-gradient(135deg, #1e9fff, #00d4ff);
    color: white;
}

.折叠按钮 {
    background: linear-gradient(135deg, #f5222d, #ff7875);
    color: white;
}
@media (max-width: 1318px) {
    .搜索按钮 {
        height: 45px;
        padding: 0 10px;
        background-color: #4E6EF2;
        color: #FFFFFF;
        border: none;
        border-radius: 0 10px 10px 0;
        cursor: pointer;
        font-size: 14px;
        transition: background 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
