/*后台主css*/

/** 分页器兼容样式（ThinkPHP Bootstrap 分页器生成的 BS3 风格 HTML + adminlte 的 BS4/5 风格 CSS） **/
.pagination {
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
    margin: 0;
    float: left;
}
.pagination > li {
    display: inline-block;
}
.pagination > li > a,
.pagination > li > span {
    position: relative;
    padding: .375rem .75rem;
    line-height: 1.5;
    color: #007bff;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    margin-left: -1px;
    display: block;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span {
    margin-left: 0;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
}
.pagination > li.active > a,
.pagination > li.active > span,
.pagination > li.active > a:hover,
.pagination > li.active > span:hover,
.pagination > li.active > a:focus,
.pagination > li.active > span:focus {
    z-index: 3;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}
.pagination > li.disabled > a,
.pagination > li.disabled > span,
.pagination > li.disabled > a:hover,
.pagination > li.disabled > span:hover,
.pagination > li.disabled > a:focus,
.pagination > li.disabled > span:focus {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
    cursor: not-allowed;
}
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    color: #0056b3;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

/** 表单验证错误 **/
.dataForm .error {
    color: #ff0000;
    border-color: #dd4b39;
}

/*数据列表页选择全部*/
.dataCheckAllLabel {
    margin-bottom: 0;
}

/*重置表单*/
.dataFormReset {
    margin-left: 30px;
}

/*添加数据页面继续添加div*/
.createContinueDiv {
    margin-top: 4px;
}

/*数据列表筛选表单*/
.dataSearch .searchGroup {
    margin-right: 8px;
}


/*数据列表导入表单*/
.dataImport .importGroup {
    margin-right: 5px;
}

.th-nowrap th {
    white-space: nowrap !important;
}


.dataListImg {
    max-width: 32px;
    max-height: 32px;
}

.login-logo a {
    color: #fbfcfc;
}

/* 搜索表单内 form-group 统一 8px 间隔（对齐 mr-2 标准），左间距置 0 避免与 searchGroup 的 margin-right 叠加 */
.searchForm .form-group {
    margin-left: 0;
    margin-right: 8px;
}

.searchGroup .indexSearchDateRange {
    min-width: 190px;
}

.searchGroup .indexSearchDatetimeRange {
    min-width: 320px;
}

#ControlSidebar .controlSidebarCheckLabel {
    color: #c2c7d0;
    font-weight: normal;
}

.skinUl .skinLi {
    float: left;
    width: 33.33333%;
    padding: 5px;
}

.skinLi .skinA {
    display: block;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}


.skinLi .skinA:hover {
    box-shadow: 0 0 6px rgb(255 255 255);
    transition: all .2s ease-in-out;
}


.skinA .skinLogoSpan {
    display: block;
    width: 20%;
    float: left;
    height: 7px;
}

.skinA .skinNavbarSpan {
    display: block;
    width: 80%;
    float: left;
    height: 7px;
}


.skinA .skinSidebarSpan {
    display: block;
    width: 20%;
    float: left;
    height: 20px;
}

.skinA .skinContentSpan {
    display: block;
    width: 80%;
    float: left;
    height: 20px;
}

/*地图搜索框容器*/
.mapInputContainer {
    z-index: 20;
    position: absolute;
    min-width: 200px;
    width: 50%;
    text-align: center;
    top: 15px;
    left: 25%;
}

.mapTipsContainer {
    z-index: 20;
    position: absolute;
    min-width: 200px;
    height: 25px;
    width: 80%;
    bottom: 8px;
    left: 10%;
    opacity: 0.65;
    background: #0c525d;
    border-radius: 8px;
    text-align: left;
}

.mapTipsContainer span{
    font-size: 10px;
    background: black;
    height: 25px;
    color: white;
    padding-top: 4px;
}

/**
地图容器
 */
.mapContainer {
    width: 100%;
    height: 350px;
    position: relative;
}

.importContainer{
    height: 100%;
    padding: .05rem;
}

.importFileInput{
    height: 100%;
}


.importFileLabel{
    height: 100%;
}

.importFileLabel::after {
    padding: 4px 10px 2px 10px;
    content: "浏览";

}

.smallSelect .select2-container--default .select2-selection--single{
    height: 1.95rem;
}

.smallSelect .select2-container--default .select2-selection--single .select2-selection__rendered {
    margin-top: -7px;
}

.viewCheckAuth{
    display: none;
}

/* =============================================
   左侧菜单层级样式优化 - 三级菜单视觉区分
   ============================================= */

/* 一级菜单项：保持默认样式，字号稍大、加粗 */
.nav-sidebar > .nav-item > .nav-link {
    font-size: 1rem;
    font-weight: 500;
}

/* 一级菜单选中：与二级选中背景色保持一致 */
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: rgba(255, 255, 255, .9) !important;
    color: #343a40 !important;
    box-shadow: none;
}

/* 二级菜单容器：整体缩进，左侧加浅色边框指示线 */
.nav-sidebar .nav-treeview.menu-sub-level-1 {
    padding-left: 8px;
    margin-left: 0;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

/* 二级菜单项（父级/叶子）：字号缩小，减少内边距 */
.nav-sidebar .nav-treeview.menu-sub-level-1 > .nav-item > .nav-link {
    font-size: 0.9em;
    padding-top: 6px;
    padding-bottom: 6px;
}

/* 三级菜单容器：更深缩进 + 更浅的边框 */
.nav-sidebar .nav-treeview.menu-sub-level-2 {
    padding-left: 8px;
    margin-left: 0;
    border-left: 2px solid rgba(255, 255, 255, 0.06);
}

/* 三级菜单项（叶子节点）：最小字号，降低透明度 */
.nav-sidebar .nav-treeview.menu-sub-level-2 > .nav-item > .nav-link {
    font-size: 0.85em;
    padding-top: 5px;
    padding-bottom: 5px;
    opacity: 0.78;
}

/* 三级菜单项 hover/active 时恢复正常透明度 */
.nav-sidebar .nav-treeview.menu-sub-level-2 > .nav-item > .nav-link:hover,
.nav-sidebar .nav-treeview.menu-sub-level-2 > .nav-item > .nav-link.active {
    opacity: 1;
}

/* 一级叶子节点保持默认样式 */
.menu-leaf-level-0 {
    font-size: 1rem;
}

/* 二级叶子节点 */
.menu-leaf-level-1 {
    font-size: 0.9em;
}

/* 三级叶子节点 */
.menu-leaf-level-2 {
    font-size: 0.85em;
    opacity: 0.78;
}
.menu-leaf-level-2:hover,
.menu-leaf-level-2.active {
    opacity: 1;
}

/* 展开箭头也随层级缩小 */
.nav-sidebar .nav-treeview.menu-sub-level-1 > .nav-item > .nav-link > p > .fa-angle-left {
    font-size: 0.85em;
}
.nav-sidebar .nav-treeview.menu-sub-level-2 > .nav-item > .nav-link > p > .fa-angle-left {
    font-size: 0.72em;
}