@charset "UTF-8";


body,html {
    max-width: 100vw;
    overflow-x: hidden;
    font-family: Arial, sans-serif; /* 设置字体 */
    color: #333; /* 文字颜色 */
    line-height: 1.6; /* 行高设置 */
    font-size: 16px; /* 字体大小 */
    background: linear-gradient(120deg, #ffffff 0%, #f2f4f6 50%, #ffffff 100%);
}



/* 页脚样式 */
footer {
    padding: 20px; /* 内边距 */
    text-align: center; /* 内容居中 */

}

/* 头部和导航样式 */
header.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1200;
    background: rgba(255,255,255,0.85); /* 半透明白色 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    height: 64px; /* 建议与侧边栏 top 保持一致 */
    display: flex;
    align-items: center;
    backdrop-filter: blur(8px); /* 毛玻璃效果，提升质感 */
}

/* 内容样式设置 */
.neirong {
    width: 100%;
    margin: auto; /* 水平居中，移除了原先的上边距设置 */
    max-width: 1960px; /* 确保有一个最大宽度 */
    min-height: 600px; /* 设置一个最低高度，根据需要可以调整 */
    padding-top: 64px; /* 与header高度一致 */
}

    
/* 浏览器宽度小于 768px 时，宽度设置为 100% */
@media (max-width: 1000px) {
    .neirong {
        width: 100%;
    }
}

/* 用户样式 */
.user-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}
.user-link {
    display: inline-block;
    padding: 8px 16px;
    color: #555;
    background: #f6f6f6;
    border-radius: 5px;
    text-decoration: none;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.user-link:hover {
    background: #e6f0ff;
    color: #06539b;
}
.user-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    min-width: 140px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
    border-radius: 8px;
    z-index: 1202;
    padding: 12px 16px;
}
.user-dropdown:hover .user-menu,
.user-dropdown:focus-within .user-menu {
    display: block;
}
.user-menu a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    margin-right: 8px;
    transition: color 0.2s;
}
.user-menu a:hover {
    color: #06539b;
}

.user {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.user p {
    margin-right: 10px;
}

.user a {
    color: #555;
    text-decoration: none;
    margin-right: 10px;
}

.user a:hover {
    text-decoration: underline;
    
}

.user-apps-bar {
    display: flex;
    align-items: center;
    max-width: 220px;
}

.user-apps-bar a {
    margin-right: 12px;
}
.user-apps-bar a:last-child {
    margin-right: 0;
}

/* logo样式 */

.header-logo a {
    color: #006ce8;
    text-decoration: none;
    font-size: 20px;
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 45px;
    margin-right: 10px;
}

@media (max-width: 1000px) {
    .header-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    .header-logo a {
        justify-content: center;
        align-items: center;
        display: flex;
        font-size: 18px;

    }
    .header-logo img {
        height: 25px;
        margin-right: 10px;
    }
}




/* 主导航样式 */
.navigation {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    padding: 0 10px;
}

.navigation ul {
    list-style-type: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.navigation li {
    position: relative; /* 为二级导航定位 */
    margin-left: 20px;
}


.navigation a {
    color: #555;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 15px;
    display: block;
    position: relative; /* 设置为相对定位，为伪元素定位提供基准 */
    overflow: hidden; /* 防止伪元素溢出导航项 */
}


.navigation a:hover, .navigation a.active {
    color: #06539b; /* 修改为蓝色 */
    text-decoration: none; /* 移除默认的下划线 */
}



/* 二级菜单样式 */
.submenu {
    display: none; /* 默认不显示二级菜单 */
    position: absolute;
    background-color: #f3f3f3; /* 设置背景色 */
    box-shadow: 0 8px 16px rgba(0,0,0,0.2); /* 添加阴影 */
    min-width: 260px; /* 设置最小宽度 */
    z-index: 1000; /* 确保二级菜单在其他内容之上 */
    left: 0; /* 与父项对齐 */
    top: 100%; /* 放在父项下方 */
}

.navigation li:hover .submenu {
    display: block; /* 当鼠标悬停在父项上时显示二级菜单 */
}

.submenu li {
    border-bottom: 1px solid #f0f0f0; /* 为子项添加分隔线 */
}

.submenu a {
    padding: 8px 20px; /* 设置子项链接的padding */
    color: #555; /* 统一文字颜色 */
    text-decoration: none; /* 移除下划线 */
    display: block; /* 确保链接填充整个li */
}

.submenu a:hover {
    background-color: #f9f9f9; /* 鼠标悬停背景色 */
    color: #333; /* 鼠标悬停文字颜色 */
}


/* 汉堡按钮样式 */
.nav-toggle {
    display: none;  /* 默认隐藏 */
    flex-direction: column;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 10px;
    z-index: 1100;
}
.nav-toggle span {
    display: block; /* 显示为块元素 */
    height: 4px;
    margin: 5px 0;
    background: #333;
    border-radius: 2px;
    transition: 0.3s;
}

/* 抽屉导航样式 */
@media (max-width: 1000px) {
    .nav-toggle {
        display: flex !important;
        position: fixed;
        z-index: 1201;
        background: #fff;
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        border: none;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
    }
    .nav-toggle span {
        background: #333;
        height: 3px;
        margin: 4px 0;
        border-radius: 2px;
        width: 28px;
        display: block;
        transition: all 0.3s;
        position: relative;
    }

    /* 展开时变成向下箭头 */
    .nav-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .navigation {
        position: fixed;
        top: 0;
        left: -260px;
        width: 240px;
        height: 100vh;
        background: linear-gradient(135deg, rgba(9,25,54,0.92) 0%, rgba(12,38,85,0.92) 100%);
        box-shadow: 4px 0 24px rgba(30,60,114,0.12);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 70px;
        transition: left 0.35s cubic-bezier(.77,0,.18,1);
        z-index: 1100;
        border-top-right-radius: 18px;
        border-bottom-right-radius: 18px;
        overflow-y: auto;
    }

    .navigation.open {
        left: 0;
    }
    .navigation.open ~ .nav-toggle {
        left: 240px; /* 菜单宽度 */
    }
    .navigation ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
        line-height: 0.1; /* 调整抽屉导航ul的行高 */

    }
    .navigation li {
        width: 100%;
        margin: 0;
        border-bottom: 0px solid rgba(255, 255, 255, 0.08);
    }
    .navigation a {
        display: flex;
        align-items: center;
        width: 100%;
        font-size: 18px;
        color: #fff;
        padding: 16px 28px;
        letter-spacing: 1px;
        transition: background 0.2s, color 0.2s, padding-left 0.2s;
        position: relative;
    }
    .navigation a:hover, .navigation a.active {
        background: rgba(255,255,255,0.12);
        color: #ffe082;
    }
    .submenu {
        position: static;
        box-shadow: none;
        min-width: 0;
        background: #223a5f;
        display: none;
        padding-left: 18px;
    }
    .navigation li:focus-within > .submenu,
    .navigation li:hover > .submenu {
        display: block;
    }
    .submenu a {
        font-size: 16px;
        color: #cfd8dc;
        padding: 12px 24px;
        background: none;
    }
    .submenu a:hover {
        color: #ffe082;
        background: rgba(255,255,255,0.06);
    }
    .navigation::-webkit-scrollbar {
        width: 6px;
        background: transparent;
    }
    .navigation::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.15);
        border-radius: 3px;
    }
}

/* 返回顶部样式 */
#back-to-top {
    position: fixed;
    bottom: 50px;
    right: 20px;
    z-index: 999;
    /* 移除背景、边框、圆角、阴影等，仅保留定位 */
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
/* 表格样式 */
table {
    width: 100%; /* 表格宽度 */
    border-collapse: collapse; /* 合并边框 */
    margin: 20px 0; /* 表格与周围元素的间距 */
    font-size: 14px; /* 字体大小 */
    text-align: left; /* 文本左对齐 */
    table-layout: auto; /* 表格布局自动 */
}

th, td {
    padding: 12px 15px; /* 单元格内边距 */
    border-bottom: 1px solid #dddddd; /* 单元格底部边框 */
    word-wrap: break-word; /* 自动换行 */
}

th {
    background-color: #f5f5f5; /* 表头背景颜色 */
    font-weight: bold; /* 表头字体加粗 */
    border-bottom: 2px solid #444444; /* 表头底部边框加重 */
}

tr:nth-child(even) {
    background-color: #f9f9f9; /* 偶数行背景颜色 */
}

tr:hover {
    background-color: #ffffff; /* 悬停行背景颜色 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 悬停行投影效果 */
    transition: box-shadow 0.3s ease-in-out; /* 投影效果过渡 */
    cursor: pointer; /* 鼠标样式 */

}






/* 链接与分页 */
a {
    color: #005288; /* 正常状态下的颜色 */
    text-decoration: none;

}

a:hover {
    color: #0004d2; /* 鼠标悬停时的颜色 */
    text-decoration: underline;
}


.icpagination {
    text-align: center; /* 设置翻页控件靠右显示 */
    margin: 15px 0; /* 上下外边距为20px，左右为0 */
}

.step-links {
    display: inline-block; /* 使链接行内显示 */
}

.step-links a {
    text-decoration: none; /* 去掉下划线 */
    padding: 5px 10px; /* 链接的内边距 */
    border-radius: 5px; /* 边框圆角 */
}


/* Excel导出按钮样式 */
a[href$="export=true"] {
    background-color: #4f584f;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    display: inline-block;
}

a[href$="export=true"]:hover {
    background-color: #367c39;
}


/* 商标查询子菜单 */
.tmcd {
    background-color: #ffffff; /* 白色背景 */
    margin: 30px auto; /* 上边距30px，水平居中 */
    padding: 10px; /* 增加一些内部空间 */
    border-radius: 8px; /* 圆角边框 */
    display: flex; /* 使用flex布局以便居中 */
    justify-content: center; /* 水平居中子元素 */
    max-width: 1000px; /* 最大宽度为1000px */
}

.tmcddh {
    list-style: none; /* 移除列表符号 */
    padding: 0; /* 移除内边距 */
    margin: 0; /* 移除外边距 */
    display: flex; /* 保持flex布局 */
    justify-content: center; /* 子项水平居中排列 */
    width: 100%; /* 宽度填满父容器 */
    background-color: #ffffff; /* 白色 */
}


.tmcddh li {
    margin-right: 10px; /* 每个子项右边距10px */

}

/* 链接基本样式 */
.tmcddh a {
    display: block; /* 让链接填满整个列表项 */
    padding: 8px 16px; /* 链接填充 */
    text-decoration: none; /* 移除下划线 */
    color: #333; /* 深灰色文字 */
    font-size: 16px; /* 默认字体大小 */
    border-radius: 4px; /* 链接圆角 */
    transition: all 0.3s ease-in-out; /* 平滑过渡效果，应用到所有变化 */
}

/* 链接悬停与焦点样式 */
.tmcddh a:hover, .tmcddh a:focus {
    color: #0056b3; /* 悬停时的文字颜色 */
}

/* 链接激活样式 */
.tmcddh a.active {
    font-size: 18px; /* 加大字体 */
    color: #0056b3; /* 字体颜色改变 */
}


/* 商标综合查询搜索框样式 */
.tmsosuo {
    max-width: 1000px; /* 容器最大宽度 */
    margin: 30px auto; /* 上下边距60px，水平居中 */
    text-align: center; /* 文本居中 */
    display: flex; /* 使用Flexbox布局 */
    justify-content: center; /* 水平居中对齐 */
    align-items: center; /* 垂直居中对齐 */
}

.tmsosuo form {
    display: flex; /* 使用Flexbox布局 */
    width: 85%; /* 表单宽度占满父容器 */
    align-items: center; /* 垂直居中对齐 */
    position: relative; /* 相对定位，为子元素绝对定位做准备 */
}

.tmsosuo .tm-duoxuan-select {
    position: absolute; /* 绝对定位 */
    left: 0; /* 靠左对齐 */
    height: 100%; /* 高度100%与父容器相同 */
    border: none; /* 无边框 */
    border-top-left-radius: 20px; /* 左上角圆角 */
    border-bottom-left-radius: 20px; /* 左下角圆角 */
    outline: none; /* 移除聚焦时的轮廓 */
    background: transparent; /* 背景透明 */
    padding: 0px 5px; /* 内边距，左右各10px */
    z-index: 2; /* 层叠顺序，确保在输入框之上 */
    color: #00337f;
}

.tmsosuo .tm-input-text {
    flex-grow: 1; /* 弹性占满剩余空间 */
    border-radius: 20px; /* 全边框圆角 */
    border: 2px solid #d3d1d1; /* 边框颜色和粗细 */
    padding: 15px 100px 15px 90px; /* 内边距，特别留出左侧和右侧空间 */
    outline: none; /* 移除聚焦时的轮廓 */
    transition: all 0.3s ease-in-out; /* 过渡效果，平滑变化 */
    width: 100%; /* 宽度100% */
}

.tmsosuo .tm-input-text:focus {
    border-color: #0c5ab4; /* 聚焦时边框颜色 */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* 聚焦时添加阴影效果 */
}

.tmsosuo #tm-searchButton {
    position: absolute; /* 绝对定位 */
    right: 0; /* 靠右对齐 */
    top: 0; /* 顶部对齐 */
    bottom: 0; /* 底部对齐 */
    height: 100%; /* 高度100% */
    border-radius: 0 20px 20px 0; /* 右侧圆角 */
    border: none; /* 无边框 */
    background-color: #0f4baa; /* 按钮背景颜色 */
    color: white; /* 文字颜色 */
    cursor: pointer; /* 鼠标指针形状 */
    outline: none; /* 移除聚焦时的轮廓 */
    padding: 0 20px; /* 内边距，左右各20px */
    z-index: 2; /* 层叠顺序，确保在输入框之上 */
}

.tmsosuo #tm-searchButton:hover {
    background-color: #0056b3; /* 悬停时背景颜色变深 */
}

.tmsosuo #search-button{
    position: absolute; /* 绝对定位 */
    right: 0; /* 靠右对齐 */
    top: 0; /* 顶部对齐 */
    bottom: 0; /* 底部对齐 */
    height: 100%; /* 高度100% */
    border-radius: 0 20px 20px 0; /* 右侧圆角 */
    border: none; /* 无边框 */
    background-color: #0f4baa; /* 按钮背景颜色 */
    color: white; /* 文字颜色 */
    cursor: pointer; /* 鼠标指针形状 */
    outline: none; /* 移除聚焦时的轮廓 */
    padding: 0 20px; /* 内边距，左右各20px */
    z-index: 2; /* 层叠顺序，确保在输入框之上 */
}

.tmsosuo #search-button:hover {
    background-color: #0056b3; /* 悬停时背景颜色变深 */
}

.tm-leibie-button {
    display: inline-block; /* 行内块显示 */
    cursor: pointer; /* 鼠标指针形状 */
    margin-left: 0px; /* 左边距10px */
    position: absolute; /* 绝对定位 */
    right: -70px; /* 根据需要调整 */
}

.tm-leibie-button p {
    background-color: #ffffff; /* 背景颜色 */
    color: rgb(7, 66, 118); /* 文字颜色 */
    border: none; /* 无边框 */
    padding: 10px 15px; /* 内边距，上下10px，左右15px */
    font-size: 16px; /* 字体大小 */
    border-radius: 5px; /* 圆角 */
    transition: background-color 0.3s, color 0.3s; /* 背景和颜色过渡效果 */
    margin: 0; /* 无外边距 */
}

.tm-leibie-button:hover p {
    background-color: #ffffff; /* 悬停时背景颜色变为白色 */
    color: #084f97; /* 悬停时文字颜色变化 */
}

.tm-fenleibiao {
    display: none; /* 初始不显示 */
    position: absolute; /* 绝对定位 */
    background-color: rgba(181, 218, 255, 0.5); /* 白色背景，增加透明度 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 阴影效果 */
    padding: 15px; /* 内边距10px */
    border-radius: 20px; /* 圆角 */
    z-index: 3; /* 层叠顺序，确保在最前面 */
    max-width: 775px; /* 调整宽度以适应10个标签 */
    top: 110%; /* 定位在触发元素的下方 */
    text-align: left; /* 文本居左对齐 */

}

.tm-fenleibiao label {
    display: inline-block; /* 行内块显示，允许横向排列 */
    width: 65px; /* 设置每个标签的宽度 */
    height: 30px;
    margin-right: 5px; /* 右侧外边距，控制标签间距 */
    margin-bottom: 5px; /* 底部外边距，保留底部空间 */
}

.tm-fenleibiao input[type="checkbox"]:checked {
    accent-color: #0750af; /* CSS4 新属性，用于改变输入元素的颜色，如复选框 */
}

@media (max-width: 768px) {
    .tmsosuo {
        flex-direction: column; /* 在小屏幕上使元素垂直堆叠 */
        align-items: stretch; /* 拉伸元素以填充容器宽度 */
        margin: 10px auto; /* 上下边距60px，水平居中 */
        width:100%;

    }
}



/* 商标查询结果导出样式 */

.tm-daochu{

}

.container-btn-file {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    background-color: #005ea2;
    color: #fff;
    border-style: none;
    padding: 0.7em 1em;
    border-radius: 0.5em;
    overflow: hidden;
    z-index: 1;
    box-shadow: 4px 8px 10px -3px rgba(0, 0, 0, 0.356);
    transition: all 250ms;
  }
  
.container-btn-file > svg {
    margin-right: 1em;
  }
  .container-btn-file::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0;
    border-radius: 0.5em;
    background-color: #197dc5;
    z-index: -1;
    transition: all 350ms;
  }
  .container-btn-file:hover::before {
    width: 100%;
  }
  



/* 商标查询结果类别统计样式，添加上下边距 */
.tm-chaxun {
    margin-top: 20px;
    margin-bottom: 14px;
    font-family: Arial, sans-serif; /* 设置字体 */


}

/* 段落样式 */
.tm-chaxun p {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}
.tm-chaxun span {
    font-size: 14px;
    color: #f90000;
    margin-bottom: 10px;
    font-weight: bold; /* 表头字体加粗 */


}


/* 列表容器样式 */
.tm-chaxun ul {
    list-style: none; /* 去掉默认列表样式 */
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px; /* 调整间距 */
    overflow: hidden; /* 隐藏超出的内容 */
    max-height: 100px; /* 默认显示第一行，高度根据需要调整 */
    transition: max-height 0.3s ease;
}

/* 列表项样式 */
.tm-chaxun ul li {
    flex: 1 1 calc(11.11% - 10px); /* 每行显示9个项目，并考虑间距 */
    max-width: 100px; /* 每个项目的最大宽度 */
    margin: 5px;
    padding: 10px;
    background-color: #ffffff; /* 背景色 */
    border: 1px solid #ddd; /* 边框 */
    text-align: center;
    border-radius: 5px; /* 圆角 */
    transition: transform 0.3s ease, background-color 0.3s ease; /* 添加过渡效果 */
}

/* 鼠标悬停效果 */
.tm-chaxun ul li:hover {
    background-color: #dcf4fd; /* 悬停背景色 */
    transform: scale(1.05); /* 放大效果 */
}

/* 展开状态样式 */
.tm-chaxun ul.expanded {
    max-height: none; /* 取消高度限制 */
}

/* 按钮样式 */
.tm-chaxun .toggle-btn {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 16px;
    color: #646464;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #ffffff; /* 悬停背景色 */

}

.tm-chaxun .toggle-btn:hover {
    background-color: #f6fbff;
    color: #0860c4;
}

/* 响应式布局，当窗口宽度小于768px时，每行显示3个项目 */
@media (max-width: 768px) {
    .tm-chaxun ul li {
        flex: 1 1 calc(33.33% - 10px); /* 每行显示3个项目，并考虑间距 */
    }
}


/* 商标近似查询结果样式 */
.tmsosuo-js {
    max-width: 1000px; /* 宽度设为80%以适应容器宽度 */
    margin: 60px auto 0; /* 上边距120px，水平居中 */
    text-align: center; /* 文本居中 */
    margin-bottom: 60px; /* 下边距 */

}

.tmsosuo-js h2 {
    background: linear-gradient(to right, #f71919, #2575fc); /* 渐变色背景 */
    -webkit-background-clip: text; /* 背景裁剪为文字 */
    -webkit-text-fill-color: transparent; /* 文字颜色透明，显示背景 */
    font-size: 36px; /* 字体大小 */
    margin-bottom: 60px; /* 下边距 */
}

.tmsosuo-js input { 
    margin-bottom: 10px; /* 下边距 */
    font-size: 18px; /* 字体大小 */

}

.tmsosuo-js button { 
    margin-bottom: 10px; /* 下边距 */
    font-size: 18px; /* 字体大小 */
    width: 120px;
    height: 50px;

}

.tmsosuo-js .help-fenlei {
    text-align: left; /* 文本左对齐 */
    margin-bottom: 20px; /* 下边距 */
}



/* 商标详情页样式 */

.tm-xqybt {
    margin-bottom: 20px; /* 底部边距20px */
    margin: 30px; /* 上边距30px，左右边距30px，底部边距30px（覆盖margin-bottom） */
}


.tm-xqybt h3 {
    font-size: 1.5em;
    margin: 0;
    color: #333;
    transition: font-size 0.3s ease;
}

@media (max-width: 768px) {
    .tm-xqybt h3 {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .tm-xqybt h3 {
        font-size: 1.2em;
    }
}


.tm-xqy {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
}


.left {
    display: flex;
    flex-direction: column;
    width: 50%;
    max-width: 500px;
    margin-right: 20px;
}


.tm-lc .default-view, .tm-lc .list-view {
    cursor: pointer;
}

.tm-lc .list-view {
    display: none;
}

.tm-lc .list-view ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.tm-lc .list-view li {
    flex: 1 1 calc(50% - 10px);
    margin: 5px;
    border: 0px solid #ddd;
    border-radius: 4px;
    padding: 8px;
    box-sizing: border-box;
}

.tm-lc .toggle-button {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    color: #888888;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
}

.tm-img {
    text-align: center;
    margin-bottom: 10px;
    flex: 0 0 auto;
    margin: 10px auto 0; /* 上边距10px，水平居中 */
}

.tm-img img {
    width: 100%;
    max-width: 350px;
    transition: transform 0.3s ease;
}

.tm-img img:hover {
    transform: scale(1.3);
}

.tm-img p, .tm-img a {
    color: #aaa;
    margin: 10px 0;
}

.tm-lc {
    flex: 1;
    margin-bottom: 10px;
    max-width: 600px;

}

.tm-libiao {
    flex: 1;
    width: 100%;
    padding-left: 20px;
}

.tm-libiao ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.tm-libiao li {
    flex: 1 1 33.3%;
    padding: 5px;
    box-sizing: border-box;    
}

.tm-libiao span {
    font-size: 14px;
    
}

/* 浏览器宽度小于 1280px 时，列表项单行排列 */
@media (max-width: 1960px) {
    .tm-libiao li {
        flex: 1 1 50%; /* 每个列表项占 100% 宽度 */
    }
}

/* 浏览器宽度小于 768px 时，列表项单行排列 */
@media (max-width: 768px) {
    .tm-libiao li {
        flex: 1 1 100%; /* 每个列表项占 100% 宽度 */
    }
}




.tm-libiao h4, .tm-lc h4 {
    margin: 10px 0;
}

.tm-libiao span {
    display: inline-block;
    width: 120px;
    font-weight: bold;
    color: #444444;
    margin-right: 5px;
}



/* 首页搜索样式 */
.home {
    background-color: rgba(180, 180, 180, 0.5); /* 半透明背景 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px; /* 添加圆角效果 */
    
}

.homesosuo {
    width: 100%; /* 宽度设置为 85% */
    margin: 20px auto 0 auto; /* 上间距20px，居中对齐 */
    text-align: center; /* 整体居中 */
    padding-top: 120px; /* 上边距 */
    padding-bottom: 120px; /* 下边距 */
  }
  
  .sosuoxx {
    display: flex; /* 使用flexbox进行水平排列 */
    justify-content: center; /* 居中对齐 */
    margin-bottom: 10px; /* 添加一些间隔 */
  }
  
  .sosuoxx .sosuoal {
    margin: 0 5px; /* 按钮之间的间距 */
    padding: 10px 20px;
    border-radius: 20px; /* 圆角按钮 */
    border: none;
    background-color: rgba(255, 255, 255, 0.5); /* 半透明背景 */
    color: rgb(129, 129, 129); /* 默认灰色字体 */
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease-in-out; /* 平滑过渡效果 */
  }
  
  .sosuoxx .sosuoal:hover {
    color: rgb(255, 255, 255); /* 悬停时字体变黑 */
    background-color: rgba(62, 61, 61, 0.5); /* 半透明背景 */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* 投影效果 */


  }
  
  .sosuoxx .sosuoal.selected {
    background-color: rgba(68, 158, 221, 0.8); /* 半透明背景 */
    color: rgb(255, 255, 255); /* 选中后字体颜色 */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* 投影效果 */
  }
  
  .homesosuo input[type="text"],
  .homesosuo button {
    display: inline-block; /* input与button在同一行 */
    vertical-align: middle;
  }
  
  .homesosuo input[type="text"] {
    border: 2px solid #d3d1d1;
    padding: 15px;
    width: 60%; /* 搜索框宽度 */
    border-radius: 20px; /* 圆角边框增加科技感 */
    outline: none; /* 去掉聚焦时的边框 */
    background-color: hsl(0, 0%, 100%); /* 背景颜色 */
    transition: all 0.3s ease-in-out; /* 平滑过渡效果 */
  }
  
  .homesosuo input[type="text"]:focus {
    border-color: #0c5ab4; /* 聚焦时边框颜色变化 */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* 投影效果 */

  }
  
  .homesosuo button {
    padding: 15px 20px;
    border-radius: 20px; /* 圆角按钮 */
    border: none;
    background-color: #0f4baa; /* 按钮背景颜色 */
    color: white;
    cursor: pointer;
    outline: none;
  }
  
  .homesosuo button:hover {
    background-color: #0056b3; /* 鼠标悬停时颜色加深 */
  }
  

/* sidebar_base.html侧边栏样式 */
.main-container {
    display: flex;
    width: 100%;
    min-height: 700px;
    justify-content: center;      /* 新增：让内容整体居中 */
    max-width: 1960px;
    margin: 0 auto;               /* 居中 */
}

.sidebar {
    position: fixed;
    top: 64px; /* 预留顶部导航栏高度 */
    left: 0;
    width: 220px;
    height: calc(100vh - 64px); /* 减去顶部导航栏高度 */
    background: #f7fafd;
    border-right: 1.5px solid #e0e0e0;
    padding: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 12px rgba(30, 60, 114, 0.08); /* 添加右侧投影 */
    transition: width 0.5s cubic-bezier(.4,0,.2,1); /* 平滑动画 */
}

.sidebar.collapsed {
    width: 60px;
}

.sidebar .sidebar-toggle {
    background: none;
    border: none;
    width: 100%;
    text-align: right;
    padding: 8px 12px;
    font-size: 20px;
    cursor: pointer;
    color: #888;
    outline: none;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.sidebar li {
    margin: 0;
    position: relative;
    
}

.sidebar ul ul {
    padding-left: 10px; /* 子级缩进 */
    margin: 0;}

.sidebar ul ul li {
    padding-left: 0;
    border: none;
}

.sidebar a {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
    border-right: 4px solid transparent;
    border-left: none;
}

.sidebar ul ul a {
    font-size: 16px;
    padding: 10px 24px 10px 12px; /* 子级左侧缩进更小 */
    color: #555;
    background: #f9fbfd;
}

.sidebar ul ul a:hover,
.sidebar ul ul a.active {
    background: #eaf3ff;
    color: #197dc5;
    border-right: 4px solid #197dc5;
}

.sidebar li.has-children > a::after {
    content: "▶";
    font-size: 16px;
    margin-left: auto;
    color: #bbb;
    transition: transform 0.2s;
}
.sidebar li.has-children.open > a::after {
    transform: rotate(90deg);
    color: #197dc5;
}

/* 可选：多级收缩/展开动画 */
.sidebar ul ul {
    transition: max-height 0.3s;
    overflow: hidden;
}

.sidebar.collapsed a {
    justify-content: center;
    padding: 12px 0;
    font-size: 16px;
}

.sidebar a.active,
.sidebar a:hover {
    background: #eaf3ff;
    color: #0056b3;
    border-right: 4px solid #197dc5;  /* 蓝色竖条在右侧 */
    border-left: none;

}

.sidebar .sidebar-text {
    margin-left: 8px;
}

.sidebar.collapsed .sidebar-text {
    display: none;
}

/* 内容区左侧留出 sidebar 宽度，并与侧边栏同高固定 */
.content-area {
    flex: 1;
    padding: 0 24px;
    margin-left: 230px;           /* 侧边栏宽度+间隔 */
    overflow-y: auto;
    box-sizing: border-box;
    transition: margin-left 0.3s cubic-bezier(.4,0,.2,1);
}

/* 收起侧边栏时内容区左边距同步缩小 */
.sidebar.collapsed ~ .content-area,
.main-container .sidebar.collapsed ~ .content-area {
    margin-left: 60px;
}

/* 响应式：小屏幕下内容区高度自适应 */
@media (max-width: 900px) {
    .content-area {
        margin-left: 0;
        height: auto;
        min-height: 0;
    }
}



/* 搜索框样式 */
#search-box {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

#search-box:focus {
    outline: none;
    border-color: #0056b3;
}

/* 搜索结果容器样式 */
.search-results-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    margin-left: 150px; /* 与主内容区的布局保持一致 */
    align-items: flex-start; /* 确保子元素高度不会被拉伸 */
}



/* 商标分类列表 */
.tm-list {
    margin: 20px;
}

.tm-list h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}


.tm-list-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* 控制每条记录之间的间距 */
    padding: 0;
    margin: 0 auto; /* 使列表整体居中 */
    list-style-type: none;
    justify-content: flex-start; /* 使子元素居左 */
}

.tm-list-group-item {
    flex: 0 1 calc(10% - 10px); /* 每行显示 9 条记录 */
    box-sizing: border-box;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    text-align: left; /* 标签居左 */
}

@media (max-width: 1360px) {
    .tm-list-group-item {
        flex: 0 1 calc(16.333% - 10px); /* 每行显示 5 条记录，数量不够5个时，居左 */
    }
}


@media (max-width: 800px) {
    .tm-list-group-item {
        flex: 1 1 calc(30.333% - 10px); /* 每行显示 3 条记录 */
    }
}

.tm-list-group-item a {
    text-decoration: none;
    color: #1c6e97;
}

.tm-list-group-item a:hover {
    text-decoration: underline;
}



/* 商标分类查询模块 */
.selected-leib {    
    background-color: #f0f0f0; /* 选中项的背景颜色 */
    font-weight: bold;        /* 选中项的字体加粗 */
}

/* 商标分类查询分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.page-button {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    color: #333;
    padding: 8px 12px;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.page-button:hover {
    background-color: #ddd;
}

.page-button.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.tmfl_ssjg {
    order: 1;
}

.tmfl_ssjg table {
    table-layout: fixed; /* 固定表格布局 */
    flex-direction: column;
    align-items: center; /* 水平居中 */
    justify-content: center; /* 垂直居中 */
    margin: 0 auto; /* 居中 */
    width: 100%;
}

.tmfl_ssjg table thead tr {
    min-width: 50px; /* 设置小的宽度 */
    font-weight: normal;
    font-size: 16px; /* 设置字体大小为 16像素 */
}


.tmfl_page {
    text-align: center;
    margin: 20px 0;
    overflow-x: auto; /* 允许横向滚动 */
    white-space: nowrap; /* 防止分页项换行 */
    margin: 0 auto; /* 居中 */
    padding: 10px;

}

.tmfl_page nav ul {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 5px; /* 缩小间距以适应更多项 */
    overflow-x: auto; /* 防止内容溢出屏幕 */
}

.tmfl_page nav ul li {
    display: inline-block;
    flex-shrink: 0; /* 确保宽度不会自动压缩 */
}

.tmfl_page nav ul li a {
    text-decoration: none;
    color: #007bff;
    padding: 5px 8px; /* 缩小内边距 */
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
    display: inline-block;
    min-width: 30px; /* 设置最小宽度防止太小 */
    text-align: center; /* 居中对齐 */
}

.tmfl_page nav ul li a.page-link {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    cursor: default;
}

.tmfl_page nav ul li a:hover {
    background-color: #0056b3;
    color: #fff;
}

.tmfl_page nav ul li a.page-link:hover {
    background-color: #007bff; /* 保持选中页一致 */
    cursor: default;
}

.tmfl_page nav ul li a[aria-disabled="true"] {
    pointer-events: none;
    opacity: 0.6;
}

.tmfl-help {
    padding: 15px;
    text-align: left; /* 居左对齐 */
}

.tmfl-help p {
    margin: 0;
    color: #e30000;
}


/* 商标分类筛选样式*/
/* 父容器样式 */
.tm-mulu {
    margin: 20px;
    border: 1px solid #f6f6f6;
    border-radius: 5px;
    background-color: #f9f9f9;
    width: 100%;
    margin: 0 auto;
    padding: 10px;
}

/* 一级目录和二级目录容器 */
.tm-mulu1-1 {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

/* p 标签样式 */
.tm-mulu1-1 > p {
    margin: 0;
    padding-right: 10px;
    line-height: 1.5;
    width: 100px;
}

/* ul 标签样式 */
.tm-mulu1-1 > ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* li 项目样式 */
.tm-mulu1-1 > ul > li {
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
}

/* li 项目悬停样式 */
.tm-mulu1-1 > ul > li:hover {
    background-color: #e6f7ff;
    border-color: #1890ff;
}

/* li 项目选中样式 */
.tm-mulu1-1 > ul > li.selected {
    background-color: #1890ff;
    color: #fff;
    border-color: #1890ff;
}

/* 清除筛选按钮样式 */
#clear-filter {
    display: block;
    padding: 8px 12px;
    border: none;
    border-radius: 3px;
    background-color: #1890ff;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#clear-filter:hover {
    background-color: #40a9ff;
}


/* 企业信息查询 */
/* 搜索结果容器 */
#search-results {
    margin-top: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 搜索结果列表 */
#search-results ul {
    list-style-type: none;
    padding: 0;
}

#search-results li {
    background-color: #fff;
    margin: 10px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: box-shadow 0.3s ease;
}

/* 悬停效果 */
#search-results li:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 按钮样式 */
#search-results button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 8px 12px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* 按钮悬停效果 */
#search-results button:hover {
    background-color: #0056b3;
}

/* 状态文本样式 */
#search-results li p {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}


/* 博客新闻列表样式 */
.apinews {
    font-family: Arial, sans-serif;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

/* Header Styling */
.apinews h2 {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #444;
}

/* Button Styling */
#buttons {
    text-align: center;
    margin-bottom: 20px;
}

#buttons button {
    font-size: 0.9em;
    margin: 5px;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: #fff;
    background-color: #5a9bd5;
    transition: background-color 0.3s ease;
}

#buttons button:hover {
    background-color: #4a8bc7;
}

/* Results Section */
.result h3 {
    text-align: center;
    color: #666;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.result p {
    text-align: center;
    font-size: 0.95em;
    color: #777;
    margin-bottom: 20px;
}

.result ul {
    list-style: none;
    padding: 0;
}

.result li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.result li:hover {
    background-color: #f1f1f1;
}

/* Image Styling */
.result li img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

/* Title and Hotness */
.result li strong {
    font-size: 1em;
    color: #333;
}

.result li a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.result li a:hover strong {
    color: #5a9bd5;
}

.result li a span {
    font-size: 0.85em;
    color: #888;
}


/* 企业搜索样式 */
.qiyesosuo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px; /* 表单的最大宽度 */
    margin: 0 auto; /* 居中对齐 */
    padding: 20px; /* 内边距 */
}

.qiyesosuo h2 {
    margin-bottom: 15px; /* 标题和表单的间距 */
}

.qiyesosuo form {
    display: flex;
    align-items: center;
    justify-content: center; /* 让输入框和按钮水平居中 */
    width: 100%;
}

.qiyesosuo input[type="text"] {
    border: 2px solid #d3d1d1;
    padding: 15px;
    flex: 1; /* 输入框自动占满剩余宽度 */
    border-radius: 20px;
    outline: none;
    background-color: hsl(0, 0%, 100%);
    transition: all 0.3s ease-in-out;
}

.qiyesosuo input[type="text"]:focus {
    border-color: #0c5ab4;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.qiyesosuo button {
    padding: 15px 20px;
    border-radius: 20px;
    border: none;
    background-color: #0f4baa;
    color: white;
    cursor: pointer;
    outline: none;
    margin-left: 10px; /* 与输入框之间的间距 */
    transition: background-color 0.3s ease-in-out;
}

.qiyesosuo button:hover {
    background-color: #0056b3;
}


/* 企业信息展示 */

.qiyejbxx {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
  }
  
  .qiyejbxx1, .qiyejbxx2 {
    flex: 1;
    min-width: 300px;
    margin-right: 10px;
  }
  
  /* 最后一个不需要右侧间距 */
  .qiyejbxx2 {
    margin-right: 0;
  }
  
  ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }
  
  li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }
  
  /* 最后一个li去掉下边框 */
  li:last-child {
    border-bottom: none;
  }
  
  span {
    color: #363535;
  }
  
  a {
    color: #007bff;
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  .qiyejbxx-top {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
  }
  
  .qiyejbxx-top h3 {
    display: inline-block;
    margin-right: 10px;
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
  }
  
  .qiyejbxx-top .badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 10px;
    font-size: 0.9em;
    color: #ffffff;
    background-color: #28a745;
    border-radius: 12px;
  }
  
  .qiyejbxx-top p {
    margin: 10px 0;
    color: #666;
  }
  


  /* 媒体查询，适应较小屏幕时，容器堆叠 */
  @media (max-width: 768px) {
    .qiyejbxx {
      flex-direction: column;
    }
  
    .qiyejbxx1, .qiyejbxx2 {
      margin-right: 0;
    }
  
    .qiyejbxx-top .badge {
      position: static;
      margin-top: 10px;
    }
  }
  

  /* 复制内容样式 */
.copy-btn {
    display: none;
    cursor: pointer;
    color: rgb(34, 119, 176);
    margin-left: 10px;
    font-size: 14px;
  }
  


  .taxNum-container:hover .copy-btn {
    display: inline;
  }



/* AI 容器的样式 */
ai {
    width: 100%;
    max-width: 700px;
    min-height: 300px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 标题样式 */
ai h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 2rem;
}

/* 对话区域样式 */
#conversation {
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}

/* 每条消息样式 */
#conversation p {
    margin: 10px 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* 用户和AI消息的不同样式 */
#conversation .user {
    color: #007bff;
    font-weight: bold;
}

#conversation .ai {
    color: #28a745;
    font-weight: bold;
}

/* 输入框及按钮区域样式 */
#chat-form {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 输入框样式 */
#user-input {
    width: 80%;
    padding: 12px 15px;
    font-size: 1rem;
    border-radius: 20px;
    border: 1px solid #ccc;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

#user-input:focus {
    border-color: #007bff;
    outline: none;
}

/* 发送按钮样式 */
#chat-form button {
    width: 15%;
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

#chat-form button:hover {
    background-color: #0056b3;
}

#chat-form button:active {
    background-color: #004085;
}


/* 样式定义: 给 <think> 标签包裹的内容加上不同的视觉效果 */
.think-tag {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
    font-style: italic;
}


/* 响应式设计 */
@media (max-width: 768px) {
    ai {
        padding: 20px;
        width: 100%;
        margin: 0 20px;
    }

    #conversation {
        max-height: 300px;
    }

    #chat-form {
        flex-direction: column;
        align-items: stretch;
    }

    #user-input {
        width: 100%;
        margin-bottom: 10px;
    }

    #chat-form button {
        width: 100%;
        margin-top: 10px;
    }
}


/* 专利费用查询界面 */
.patent-card {
    margin-bottom: 1.2em; /* 缩小卡片间距 */
    padding: 1.5em 1.2em 1.2em 1.2em;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 16px 0 rgba(44,62,80,0.08), 0 1.5px 4px 0 rgba(44,62,80,0.03);
    transition: box-shadow 0.2s;
    border: 1px solid #f0f0f0;
}
.patent-card:hover {
    box-shadow: 0 8px 24px 0 rgba(44,62,80,0.13), 0 2px 8px 0 rgba(44,62,80,0.06);
}
.patent-header {
    display: flex;
    align-items: center;
    gap: 2em;
    margin-bottom: 1.2em;
    border-bottom: 1px solid #f2f2f2;
    padding-bottom: 0.7em;
}
.patent-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #2c3e50;
    letter-spacing: 1px;
}
.patent-type {
    color: rgba(31, 31, 31);
    font-size: 1em;
    background: #f6f6f6;
    border-radius: 4px;
    padding: 0.2em 0.8em;
}
.patent-total {
    color: #e67e22;
    font-weight: bold;
    font-size: 1.1em;
    margin-left: auto;
}
.patent-detail-row {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 新增：左对齐 */
    gap: 4em;
    padding: 0.7em 0.5em;
    margin-bottom: 0.1em;
    border-radius: 6px;
    font-size: 1em;
    text-align: left; /* 新增：文本左对齐 */
}
.patent-detail-pn {
    min-width: 120px;
    color:rgb(5, 66, 126);
    font-weight: 500;
}
.patent-detail-type {
    min-width: 200px;
    color: #555;
}
.patent-detail-jine {
    min-width: 80px;
    color: #555;
}
.patent-detail-amount {
    min-width: 80px;
    color: #e67e22;
}
.patent-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2em;
    height: 2em;
    margin-right: 1em;
    background:rgb(149, 149, 149);
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    font-size: 1.1em;
}
.result-container {
    max-width: 1000px;
    margin: 0 auto;
}
#api_test_result {
    background: none;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
    font-size: 1em;
    white-space: normal;
}
#api_test_result pre {
    background: none;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
    font-size: 1em;
    white-space: normal;
}

@media (max-width: 700px) {
    .patent-card {
        padding: 0.8em 0.5em 0.7em 0.5em;
        margin-bottom: 0.7em;
    }
    .patent-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5em;
        margin-bottom: 0.7em;
        padding-bottom: 0.4em;
    }
    .patent-title {
        font-size: 1.1em;
    }
    .patent-type, .patent-total {
        font-size: 0.95em;
    }
    .patent-detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2em;
        padding: 0.4em 0.3em;
        margin-bottom: 0.1em;
        font-size: 0.95em;
    }
    .patent-detail-pn,
    .patent-detail-type,
    .patent-detail-amount {
        min-width: 0;
        font-size: 0.95em;
    }
    .result-container {
        padding: 0 2vw;
    }
}

.add-supervise-btn-success {
    background: #4caf50 !important;
    color: #fff !important;
}
.add-supervise-btn-fail {
    background: #f44336 !important;
    color: #fff !important;
}

.add-supervise-btn {
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
}


/* 博客 */
.bk-show-all-btn {
    width: 80%;
    margin-left: 5%;
    padding: 8px 0;
    color: #050505;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    border: none; /* 隐藏按钮边框 */
    background: #eaf3ff; /* 可选：淡色背景更像按钮 */
}
.bk-show-all-btn:hover {
    color: #0056b3;
    background: #dbe6f3; /* 可选：悬停时背景色 */
}


.bk-article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bk-article-list li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.bk-article-list li:last-child {
    border-bottom: none;
}

.bk-article-img {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bk-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}

.bk-article-img:hover img {
    transform: scale(1.18);
}

.bk-article-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}

.bk-article-title:hover {
    color: #007bff;
    text-decoration: underline;
}

.bk-article-summary {
    color: #666;
    font-size: 0.98rem;
    margin: 6px 0 2px 0;
    line-height: 1.5;
    max-height: 3.2em;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 1200px;
}

.bk-article-meta {
    color: #aaa;
    font-size: 0.92rem;
    margin-right: 12px;
    display: inline-block;
}