body,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.select2-container--default .select2-search--inline .select2-search__field{
    font-family: "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.css-input input + span {
    margin-top: 0px;
}
#main-container{
    overflow: visible;
}
/* 后台logo */
.logo, .logo-text {
    max-height: 34px;
}
.dolphin-header {
    padding: 8px 10px 1px 6px;
}
.text-modern {
    color: #1F98CA;
}
/* 顶部导航 */
#header-navbar {
    min-height: 50px;
}
.content-mini.content-mini-full {
    padding: 0 10px 0 0;
}
.nav-header {
    margin-top: 6px;
}
.nav-pills > li > a {
    font-weight: normal;;
    padding: 15px 17px;
    border-radius: 0;
}
.side-header{
    min-height: 50px;
}
.header-navbar-fixed #main-container{
    padding-top: 50px;
    background: #f1f1f1;
}
#page-footer{
    padding: 13px 30px 13px;
}
.btn,
.form-control{
    border-radius: 5px; font-size: 12px; font-weight: normal;
}
.form-control{height: 31px;}
.dropdown-menu{ font-size: 12px; font-weight: normal;}
.notice-circle {
    position: absolute;
    right: 25px;
    top: -2px;
    font-size: 12px;
}
/* 表单元素 */
.form-group .css-checkbox {
    margin-right: 10px;
}
.help-block {
    font-size: 12px;
    font-style: normal;
}
div.tagsinput {
    padding: 6px 12px 1px 6px;
}

/* 文件上传 */
.file-item.thumbnail{
    display: inline-block;
    position: relative;
    margin-right:15px;
    float: left;
}
.file-item.thumbnail .info{
    display: none;
}
.file-item.thumbnail .remove-picture{
    position: absolute;
    right: -5px;
    top: -5px;
    font-size: 18px;
    color: #CA4949;
    cursor: pointer;
    display: none;
    z-index: 5;
}
.file-item.thumbnail .remove-picture:hover{
    color: #EC6969;
}
.file-item.thumbnail .move-picture{
    background: gainsboro;
    padding: 2px;
    cursor: move;
    color: #ABABAB;
    position: absolute;
    left: -6px;
    top: -5px;
    border-radius: 50%;
    display: none;
    z-index: 5;
}
.file-item.thumbnail:hover .remove-picture,
.file-item.thumbnail:hover .move-picture{
    display: block;
}
.file-item .progress.progress-xs{
    margin-bottom: 5px;
    margin-top: 5px;
}
.file-item .error,
.file-item .img-state{
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    color: white;
    text-align: center;
    height: 20px;
    font-size: 14px;
    line-height: 20px;
}
.file-item .error{
    background: rgba(255, 0, 0, 0.67);
}
.file-item .success{
    background: rgba(25, 167, 75, 0.78);
}
.uploader-list .list-group-item img{
    width: 40px;
    height: 40px;
}
.file-item .remove-file{
    color: #CA4949;
    cursor: pointer;
}
.file-item .remove-file:hover{
    color: #EC6969;
}
.file-item .fa-check {
    color: #68C39F;
    margin-top: 3px;
}

/* 图标选择 */
.js-icon-picker .input-group-addon {
    cursor: pointer;
}
#icon_search {
    padding: 15px;
}
#icon_tab .nav-tabs {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0 15px;
}
#icon_tab i {
    font-size: 2em;
}
.js-icon-list {
    padding-left: 0;
    padding-bottom: 1px;
    margin-bottom: 20px;
    list-style: none;
    overflow: hidden;
}
.js-icon-list li{
    float: left;
    width: 5%;
    padding: 15px;
    margin: 0 -1px -1px 0;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    border: 1px solid #ddd;
    cursor: pointer;
}
.js-icon-list li:hover {
    background-color: #F5F5F5;
}
.js-icon-list li code {
    display: none;
}

/* 加载层 */
#loading {
    position: fixed;
    width: 100%;
    height:100%;
    z-index: 20180101;
    background: rgba(255, 255, 255, 0.16);
}
#loading .loading-box {
    background-color: rgba(0, 0, 0, 0.62);
    z-index: 20180102;
    position: fixed;
    padding: 10px;
    border-radius: 4px;
    margin-left: -50px;
    margin-top: -24px;
    color: #FFF;
    left: 50%;
    top: 50%;
}
#loading i {
    float: left;
    margin-right: 5px;
}
#loading .loding-text {
    margin-top: 3px;
    display: inline-block;
}

/* markdown编辑器 */
.editormd-fullscreen {
    z-index: 9999;
}

/* 联动下拉 */
.select-box {
    float: left;
    padding: 0 0 0 15px;
}

/* 分组 */
.block .block-content.block-group {
    overflow: visible;
}

/* 表格 */
.table{
    margin-bottom: 0;
}
.table-cell{
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    box-sizing: border-box;
    min-height: 22px;
}
.data-table-toolbar {
    margin-bottom: 10px;
}
.builder-table-wrapper{
    position: relative;
    border: 1px solid #E9E9E9;
    border-bottom: 0;
    border-right: 0;
    margin-bottom: 20px;
}
.builder-table{
    width: inherit;
    height: 100%;
    max-width: 100%;
    overflow: inherit;
    border-right: 1px solid #E9E9E9;
    border-bottom: 1px solid #E9E9E9;
    position: relative;
}
.builder-table:before{
    width: 100%;
    height: 1px;
    left: 0;
    bottom: 0;
    z-index: 1;
}
.builder-table-head{
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.builder-table-body{
    overflow: auto;
    margin-top: -1px;
}
#builder-table-main {
    margin-bottom: 0px;
}
.builder-table-left{
    position: absolute;
    left: 0;
    top: 0;
    box-shadow: 2px 0 6px -2px rgba(0,0,0,.2);
}
.builder-table-left:before,
.builder-table-right:before{
    content: "";
    width: 100%;
    height: 1px;
    background-color: #dddee1;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 4;
}
.builder-table-left-head,
.builder-table-right-head{
    overflow: hidden;
}
.builder-table-left-body{
    overflow: hidden;
    position: relative;
    z-index: 3;
}
.builder-table-right{
    position: absolute;
    right: 0;
    left: auto;
    top: 0;
    box-shadow: -2px 0 6px -2px rgba(0,0,0,.2);
    overflow: hidden;
    height: 50px;
}
.builder-table-head table,
.builder-table-left-head table,
.builder-table-left-body table,
.builder-table-right-head table,
.builder-table-right-body-inner table,
#builder-table-main{
    table-layout: fixed;
}
.builder-table-right-head{
    position: absolute;
    right: 0;
}
.builder-table-right-body{
    overflow: hidden;
    position: relative;
    z-index: 3;
    margin-top: 50px;
}
.builder-table-right-body-inner{
    position: absolute;
    right: 0;
}
.builder-table-right-header{
    position: absolute;
    top: -1px;
    right: 0;
    background-color: #f8f8f9;
    width: 17px;
    height: 52px;
    border-top: 1px solid #E9E9E9;
}
.table>caption+thead>tr:first-child>td,
.table>caption+thead>tr:first-child>th,
.table>colgroup+thead>tr:first-child>td,
.table>colgroup+thead>tr:first-child>th,
.table>thead:first-child>tr:first-child>td,
.table>thead:first-child>tr:first-child>th{
    border-left: 0;
    border-top: 0;
}
.table>colgroup+thead>tr:first-child>th:last-child{
    border-right: 0;
}
.table-bordered > tbody > tr > td:first-child{
    border-left: 0;
}
.table-bordered > tbody > tr > td:last-child{
    border-right: 0;
}
.table>thead:first-child>tr:first-child>th:last-child{
    border-right: 0;
}
.table-hover > tbody > tr > td.active:hover,
.table-hover > tbody > tr > th.active:hover,
.table-hover > tbody > tr.active:hover > td,
.table-hover > tbody > tr:hover > .active,
.table-hover > tbody > tr.active:hover > th,
.table-hover > tbody > tr:hover {
    background-color: #FFFCEF;
}
.js-table-checkable tbody tr, .js-table-sections-header > tr {
    cursor: default;
}
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th {
    font-family: "Microsoft Yahei", "Source Sans Pro", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    white-space: nowrap;
}
.table > thead > tr > th > .pull-right {
    margin-right: -40px;
}
.table-builder{
    border-left: 0;
    border-right: 0;
    border-top:0;
    background: #fff;
}
.table-builder .css-checkbox {
    margin: 2px 0;
}
.table-builder .switch.switch-sm {
    margin: 0;
}
.table-builder thead .fa {
    padding-left: 5px;
}
.table-builder > tbody > tr > td {
    vertical-align: middle;
    padding: 10px;
    min-width: 0;
    min-height: 48px;
    box-sizing: border-box;
    text-overflow: ellipsis;
}
.table-builder > tbody > tr > td .image {
    height: 40px;
}
.table-empty .empty-info{
    background: #fff;
    padding: 100px 0;
    font-size: 20px;
    color: #C7C7C7;
}
.table-hover > tbody > tr.hover{
    background-color: #FFFCEF;
}
.pagination {
    margin: 0;
}
.pagination-info {
    line-height: 30px;
}
.data-table-toolbar .go-page{
    width: 45px;
    text-align: center;
    float: left;
    margin-right: 5px;
}
.data-table-toolbar .nums {
    float: right;
    width: 45px;
    text-align: center;
    margin-left: 5px;
}
.data-table-toolbar .nums-info {
    margin-top: 6px;
    margin-right: 5px;
}
.search-bar {
    width: 280px;
}
@media screen and (max-width: 425px){
    .search-bar {
        width: 100%;
        margin-bottom: 10px;
        float: none!important;
    }
}

.btn-group-vertical>.btn,
.btn-group>.btn{
    float: none;
}

/* 菜单页面 */
#menu_list {
    margin-bottom: 20px;
}
.dd3-handle {
    background: #ECECEC;
    cursor: move;
}
.dd3-handle:before {
    color: #A0A0A0;
}
.dd3-content {
    background: #f9f9f9;
    color: #5A5A5A;
}
.dd3-content:hover {
    background: #ECECEC;
    color: #5A5A5A;
}
.dd3-content .link {
    margin-left: 10px;
    font-weight: normal;
}
.dd3-content .action {
    display: inline-block;
    margin-left: 10px;
}
.dd3-content .list-icon{
    color: #5A5A5A;
    margin-left: 10px;
    display: none;
}
.dd3-content .list-icon:hover,
.dd-disable .list-icon:hover{
    color: #9A9A9A;
}
.dd-disable .dd3-content{
    background: #FFD5D0;
    color: #D2847B;
}
.dd-disable .dd3-content:hover{
    background: #FDC7C1;
}
.dd3-content:hover .list-icon{
    display: inline;
}
.dd-disable .dd3-handle{
    background: #FDC7C1;
}
.dd-disable .dd3-handle:hover{
    background: #E49D9D;
}
.dd3-item > button[data-action="collapse"],
.dd3-item > button[data-action="expand"] {
    color: #5A5A5A;
}
.dd-placeholder,
.dd-empty {
    background: #FFFFF3;
    border: 1px dashed #F3DDC6;
}

.connectedSortable {
    overflow: hidden;
}
.connectedSortable .sortable-item {
    border: 1px solid #DADADA;
    margin-right: 10px;
    padding: 8px 10px;
    background: #F7F7F7;
    cursor: move;
}
.connectedSortable .sortable-item:hover {
    background: #EFEFEF;
}

/* 模块、插件 */
.module-list h3 {
    font-weight: 300;
    font-size: 24px;
}

/* 访问授权 */
.auth-node {}
.auth-node-top {
    padding: 8px 20px;
}
.auth-node-parent {
    margin-bottom: 20px;
}
.auth-node-child {
    margin-left: 20px;
}
.auth-node-child .auth-node-child {
    margin-left: 20px;
    margin-bottom: 10px;
}

/* 数据授权 */
table.treetable {
    border: none;
}
table.treetable tr.branch {
    background: none;
}

/* select2 */
.select2-selection__rendered {
    min-width: 200px;
}
.select2-container--open {
    z-index: 1100;
}
.select2-container--default .select2-results__option[aria-selected=true] {
    display: none;
}
.select2-container .select2-dropdown {
    margin-top: -1px;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered,
.select2-container--default.select2-container--focus .select2-selection--multiple .select2-selection__rendered{
    padding-left: 5px;
}
.select2-container--default .select2-search--inline .select2-search__field{
    margin-left: 6px;
}

.uploader-list .danger {
    color: #d26a5c;
}

/* sweetalert */
.sweet-alert p {
    color: #BB2C2C;
    font-family: "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* 隐藏表单项 */
.form_group_hide {
    height: 0;
    overflow: hidden;
    margin: 0;
}
.form_group_hide .btn{
    height:0;
}

/* 百度地图 */
.bmap{
    width:100%;
    height:500px;
    border: 1px solid #ccc;
}
.searchResultPanel{
    border:1px solid #C0C0C0;
    width:150px;
    height:auto;
    display:none;
}

/* 图片裁剪 */
.jcrop-active,
.jcrop-preview-parent{
    display: inline-block;
}
.jcrop-img {
    width: 750px;
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC");
    text-align: center;
    line-height: 0;
}
.jcrop-preview-parent{
    width:100px;
    height:100px;
    overflow:hidden;
    float: right;
}

/* 图片上传 */
.img-link{
    display: inline;
}

/* 时间段搜索 */
.toolbar-btn-action .time-filter {
    display: inline-block;
}
.toolbar-btn-action .input-daterange {
    width: 250px;
}

/* 表单按钮 */
.form-btn-parent {
    margin-top: 22px;
}
.form-btn {
    margin-bottom: 23px;
}
.col-md-12 > .form-btn-parent,
.col-md-12 > .form-btn-parent > .form-btn{
    margin: 0;
}

.breadcrumb {
    padding:10px 14px;
    font-weight: normal;
    border-radius: 0;
}

@media screen and (min-width: 768px){
    /* 面包屑导航 */
    .breadcrumb {
        padding: 10px 30px;
        font-weight: normal;
        border-radius: 0;
    }
}

.js-gallery>img,
.gallery-list .thumbnail>img,
.uploader-list .thumbnail>img {
    cursor: zoom-in;
}
.new-sidebar-footer{ position: absolute; bottom: 0px; left: 0px;  height: 40px; overflow: visible; z-index: 999;}
.new-sidebar-header{
    position: absolute; top: 0px; left: 0px;width: 230px; height: 50px; overflow: hidden; z-index: 999;
}
.new-sidebar-header-logo{
    width: 60px; overflow: hidden; padding: 8px 10px; 
}
.nav-toggle-sidebar{ width: 60px; text-align: center;}
.nav-toggle-sidebar li{ margin: 0; padding: 0; width: 60px; height: 40px; color: #fff;}
.nav-toggle-sidebar li a{ width: 60px; height: 40px; color: #fff;font-size: 18px; padding: 0; line-height: 40px;}
.new-sidebar-header-text{}
.new-sidebar-header-text span{
    font-size: 16px; line-height: 50px; padding-left: 15px;
}
.new-nav{
    padding: 0;
    list-style: none;
}
.new-nav li{
    margin: 0;
    display: block; margin-bottom: 3px;
}
.new-nav-main {
    width: 60px;
    text-align: center;
    color: #fff;
    margin-left: -60px;
}
.new-nav-main li.active {
    background-color: #409EFF;
    padding-left: 5px;
}
.new-nav-main li.active a,
.new-nav-main li.active a i,
.new-nav-main li.active a span {
    color: #409EFF !important;
    background-color: #ffffff;
}
.new-nav-main li a {
    padding: 10px 5px;
    text-align: center;
    display: block;
    transition: background 0.2s, color 0.2s;
}
.new-nav-main li a i {
    font-size: 20px;
    color: #fff;
    transition: color 0.2s;
}
.new-nav-main li a span {
    font-size: 12px;
    display: block;
    color: #fff;
    transition: color 0.2s;
}
.new-nav-main li:not(.active):hover,
.new-nav-main li:not(.active):focus {
    background-color: #409EFF;
    
}
.new-nav-main li:not(.active):hover a,
.new-nav-main li:not(.active):focus a,
.new-nav-main li:not(.active):hover a i,
.new-nav-main li:not(.active):focus a i,
.new-nav-main li:not(.active):hover a span,
.new-nav-main li:not(.active):focus a span {
    color: #fff !important;
}
.new-sidebar-content{
    width: 170px;
    height: 100%;
    position: relative;
    left: 60px;
    background-color: #fff; padding-top: 50px;
}
.new-sidebar-content-menu{
    width: 170px;
}
.new-sidebar-content-menu .nav-main{ margin: 0;}

.new-nav-subnav{
    padding: 0; 
    list-style: none;
    margin: 0;
    background-color: #ffffff;
    display: none;
}
.new-nav-subnav.active{
    display: block;
}

/* 子菜单容器 */
.new-nav-subnav > li {
    position: relative;
    margin: 0;
    border-bottom: 1px solid #e9ecef;
}

.new-nav-subnav > li:last-child {
    border-bottom: none;
}

/* 子菜单标题链接 */
.new-nav-subnav > li > a.nav-submenu {
    display: block;
    padding: 12px 15px;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    background-color: transparent;
}

.new-nav-subnav > li > a.nav-submenu:hover,
.new-nav-subnav > li > a.nav-submenu:focus {
    color: #409EFF;
    background-color: #ecf5ff;
    text-decoration: none;
}

.new-nav-subnav > li > a.nav-submenu:active {
    color: #3a8ee6;
    background-color: #d9ecff;
}

/* 子菜单图标 */
.new-nav-subnav > li > a.nav-submenu > i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
    color: #6c757d;
    transition: color 0.3s ease;
}

.new-nav-subnav > li > a.nav-submenu:hover > i,
.new-nav-subnav > li > a.nav-submenu:focus > i {
    color: #409EFF;
}

/* 展开状态的子菜单 */
.new-nav-subnav > li.open > a.nav-submenu {
    color: #409EFF;
    background-color: #f9f9f9;
}

.new-nav-subnav > li.open > a.nav-submenu > i {
    color: #409EFF;
}

/* 子菜单文本 */
.new-nav-subnav > li > a.nav-submenu > span {
    font-size: 12px;
    color: inherit;
}

/* 子菜单的展开/收起箭头 */
.new-nav-subnav > li > a.nav-submenu:after {
    content: '\f107';
    font-family: 'FontAwesome';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    transition: all 0.3s ease;
    font-size: 12px;
}

.new-nav-subnav > li.open > a.nav-submenu:after {
    content: '\f106';
    color: #409EFF;
    transform: translateY(-50%) rotate(0deg);
}

.new-nav-subnav > li > a.nav-submenu:hover:after {
    color: #409EFF;
}

/* 子菜单下的子列表 */
.new-nav-subnav > li > ul {
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #ffffff;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 子菜单项 */
.new-nav-subnav > li > ul > li {
    margin: 0;
    
}

.new-nav-subnav > li > ul > li:last-child {
    border-bottom: none;
}

/* 子菜单项链接 */
.new-nav-subnav > li > ul > li > a {
    display: block;
    padding: 10px 15px 10px 35px;
    color: #6c757d;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    position: relative;
    background-color: transparent;
}

.new-nav-subnav > li > ul > li > a:hover,
.new-nav-subnav > li > ul > li > a:focus {
    color: #409EFF;
    background-color: #f8f9fa;
    text-decoration: none;
    padding-left: 40px;
}

.new-nav-subnav > li > ul > li > a:active {
    color: #3a8ee6;
    background-color: #ecf5ff;
}

/* 子菜单项图标 */
.new-nav-subnav > li > ul > li > a > i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
    color: #adb5bd;
    transition: color 0.3s ease;
}

.new-nav-subnav > li > ul > li > a:hover > i,
.new-nav-subnav > li > ul > li > a:focus > i {
    color: #409EFF;
}

/* 激活状态的子菜单项 */
.new-nav-subnav > li > ul > li > a.active {
    color: #409EFF;
    background-color: #fff;
    font-weight: 500;
}

.new-nav-subnav > li > ul > li > a.active > i {
    color: #409EFF;
}

/* 激活状态的子菜单项悬停效果 */
.new-nav-subnav > li > ul > li > a.active:hover,
.new-nav-subnav > li > ul > li > a.active:focus {
    color: #3a8ee6;
    background-color: #d9ecff;
}

/* 子菜单展开动画 */
.new-nav-subnav > li > ul {
    max-height: 0;
    opacity: 0;
}

.new-nav-subnav > li.open > ul {
    max-height: 500px;
    opacity: 1;
}

/* 多标签页系统样式 */
#tabs-container {
    height: calc(100vh - 2px);
    display: flex;
    flex-direction: column;
}

.tabs-nav {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 0;
    height: 40px;
    overflow: hidden;
    position: relative;
}

.tabs-nav .nav-tabs {
    border: none;
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tabs-nav .nav-tabs::-webkit-scrollbar {
    display: none;
}

.tabs-nav .nav-tabs > li {
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
    border: none;
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
    min-width: 120px;
    max-width: 200px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    /* 修复闪动问题：确保border不会影响布局 */
    box-sizing: border-box;
}

.tabs-nav .nav-tabs > li:hover {
    background: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    z-index: 2;
}

.tabs-nav .nav-tabs > li.active {
    background: #fff;
    border-bottom: 3px solid #409EFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(64, 158, 255, 0.2);
    z-index: 3;
}

.tabs-nav .nav-tabs > li > a {
    border: none;
    padding: 10px 14px;
    height: 100%;
    display: flex;
    align-items: center;
    color: #6c757d;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    width: 100%;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 4px 4px 0 0;
    /* 修复闪动问题：确保padding不会影响布局 */
    box-sizing: border-box;
}

.tabs-nav .nav-tabs > li.active > a {
    color: #409EFF;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    font-weight: 600;
}

.tabs-nav .nav-tabs > li > a:hover {
    background: linear-gradient(135deg, #f0f2ff 0%, #f8f9fa 100%);
    color: #409EFF;
    transform: scale(1.02);
}

.tabs-nav .nav-tabs > li.active > a:hover {
    background: linear-gradient(135deg, #f0f2ff 0%, #ffffff 100%);
    transform: scale(1.01);
}

.tabs-nav .nav-tabs > li > a > i:first-child {
    margin-right: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tabs-nav .nav-tabs > li:hover > a > i:first-child {
    transform: scale(1.1);
    color: #409EFF;
}

.tabs-nav .nav-tabs > li.active > a > i:first-child {
    color: #409EFF;
    transform: scale(1.1);
}

.tabs-nav .nav-tabs > li > a > span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.tabs-nav .nav-tabs > li:hover > a > span {
    color: #409EFF;
}

.tabs-nav .nav-tabs > li > a > .tab-close {
    margin-left: 6px;
    font-size: 10px;
    opacity: 0.4;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    /* 修复闪动问题：确保关闭按钮不会影响布局 */
    flex-shrink: 0;
}

.tabs-nav .nav-tabs > li > a > .tab-close:hover {
    opacity: 1;
    color: #fff;
    background: #dc3545;
    transform: scale(1.1);
    box-shadow: 0 1px 3px rgba(220, 53, 69, 0.3);
}

.tabs-nav .nav-tabs > li:not(.active) > a > .tab-close {
    display: none;
}

.tabs-nav .nav-tabs > li:hover > a > .tab-close {
    display: flex;
}

/* 添加标签页切换动画 */
.tabs-nav .nav-tabs > li {
    animation: tabSlideIn 0.3s ease-out;
}

@keyframes tabSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 优化滚动按钮样式 */
.tabs-nav .tabs-scroll .btn {
    border: none;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #6c757d;
    padding: 8px 12px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.tabs-nav .tabs-scroll .btn:hover {
    background: linear-gradient(135deg, #409EFF 0%, #337ab7 100%);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(64, 158, 255, 0.3);
}

.tabs-nav .tabs-scroll .btn:disabled {
    color: #adb5bd;
    cursor: not-allowed;
    background: #f8f9fa;
    transform: none;
    box-shadow: none;
}

/* 标签页内容区域 */
.tab-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.tab-pane {
    height: 100%;
    display: none;
    /* 移除默认动画，避免冲突 */
    /* animation: fadeIn 0.3s ease-in-out; */
}

.tab-pane.active {
    display: block;
}

.tab-pane iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
}

/* 标签页滚动按钮容器 */
.tabs-nav .tabs-scroll {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    background: #fff;
    border-left: 1px solid #e9ecef;
    z-index: 10;
}

/* 确保滚动按钮不会遮挡tab内容 */
.tabs-nav .nav-tabs {
    padding-right: 60px;
}

/* 优化淡入动画，减少闪动 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 标签页内容淡入效果 - 优化版本 */
.tab-pane.fade-in {
    animation: tabFadeIn 0.2s ease-out;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 优化标签页切换性能 */
.tab-pane {
    /* 启用硬件加速 */
    transform: translateZ(0);
    /* 优化重绘性能 */
    will-change: opacity, transform;
    /* 确保平滑过渡 */
    backface-visibility: hidden;
}

/* 减少标签页头部动画时间 */
.tabs-nav .nav-tabs > li {
    transition: all 0.2s ease;
}

.tabs-nav .nav-tabs > li > a {
    transition: all 0.2s ease;
}

/* 优化iframe加载 */
.tab-pane iframe {
    /* 启用硬件加速 */
    transform: translateZ(0);
    /* 避免iframe重绘导致的闪动 */
    will-change: transform;
}

/* 标签页切换时的性能优化 */
.tab-content {
    /* 启用硬件加速 */
    transform: translateZ(0);
    /* 优化重绘性能 */
    will-change: transform;
}

/* 右键菜单样式 */
.tab-context-menu {
    position: fixed;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
    min-width: 120px;
}

.tab-context-menu .menu-item {
    padding: 8px 12px;
    cursor: pointer;
    color: #6c757d;
    font-size: 13px;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.2s;
}

.tab-context-menu .menu-item:last-child {
    border-bottom: none;
}

.tab-context-menu .menu-item:hover {
    background-color: #f8f9fa;
    color: #409EFF;
}

.tab-context-menu .menu-item:active {
    background-color: #e9ecef;
}

/*
 * 多标签页系统使用说明
 * ====================
 * 
 * 功能特性：
 * 1. 点击子菜单链接自动创建新标签页
 * 2. 支持标签页切换、关闭
 * 3. 标签页状态自动保存和恢复
 * 4. 键盘快捷键支持
 * 5. 右键菜单功能
 * 6. 标签页水平滚动
 * 
 * 键盘快捷键：
 * - Ctrl + W: 关闭当前标签页
 * - Ctrl + R: 刷新当前标签页
 * - Ctrl + Tab: 切换到下一个标签页
 * - Ctrl + Shift + Tab: 切换到上一个标签页
 * 
 * 右键菜单功能：
 * - 刷新: 刷新当前标签页
 * - 关闭: 关闭当前标签页
 * - 关闭其他: 关闭除当前外的所有标签页
 * - 关闭所有: 关闭所有标签页
 * 
 * 使用方法：
 * 1. 点击左侧导航菜单中的链接
 * 2. 系统会自动创建新标签页并在iframe中打开对应页面
 * 3. 点击标签页可以切换不同的页面
 * 4. 点击标签页上的关闭按钮可以关闭标签页
 * 5. 右键点击标签页可以打开上下文菜单
 */



