/* 覆盖Element-Plus样式 */
:root {
    --el-color-primary: #0052cc;
    --el-button-hover-bg-color: #0065FF;
    --el-color-primary-light-3: #0065FF;
    --el-color-primary-light-5: #0065FF;
    --el-button-hover-border-color: #0747A6;
    --el-color-primary-dark-2: #0747A6;
    --el-border: 1px solid #172b4d;
    --el-border-color: #172b4d;
    --el-input-hover-border-color: #172b4d;
    --el-text-color-secondary: #000000;
    --el-input-icon-color:  #000000;
    --el-input-text-color: #000000;
    --el-text-color-regular: #000000;
    --el-border-color-hover: #172b4d;
    --el-text-color-placeholder: #6B778C;
    --el-border-radius-base: 0;
    --el-border-radius-small: 0;
    --el-border-radius-large: 0;
    --el-border-radius: 0;
    --el-fill-color-light: f4f5f7;
    --el-table-header-bg-color: #dedede;
    --el-table-tr-bg-color: #dedede;
}

:root, .el-button {
}

.form .el-input input:-webkit-autofill,
.form .el-input input:-webkit-autofill:hover,
.form .el-input input:-webkit-autofill:focus {
    -webkit-text-fill-color: #172b4d !important;       /* 字体颜色 */
    caret-color: #172b4d;
    transition: background-color 5000s ease-in-out 0s !important; /* 防止回闪 */
}

/* 覆盖自动填充背景（Firefox） */
.form .el-input input:-moz-autofill {
    box-shadow: 0 0 0 1000px #ffffff inset !important; /* 背景色 */
    color: #172b4d !important;                         /* 字体颜色 */
}

.el-input__prefix {
    color: #000000;
}


/* 表格 */
.el-form-item {
    margin-bottom: 16px;
}
.el-form--inline .el-form-item {
    display: inline-block;
    margin-right: 10px;
    vertical-align: top;
}
/* 弹窗 */
.el-dialog__header {
    margin-right: 0px;
}
.el-menu-item, .el-sub-menu__title, .el-sub-menu .el-menu-item{
    height: 44px;
    line-height: 44px;
}
.el-range-editor.el-input__inner{
    padding: 0 15px;
}
.el-date-editor .el-range-separator{
    line-height: 30px;
}
.el-select .el-input .el-select__caret{
    color: #2e2e2e;
}
.el-table .cell.el-tooltip{
    color: #000000;
    font-size: 14px;
    padding: 0 6px;
}
.el-table__body tr.hover-row>td.el-table__cell{
    background-color: #D2C1FF;
}
.el-table thead{
    font-size: 14px;
    color: #000000;
    background-color: #c2c2c2;
}
.el-scrollbar__bar.is-horizontal{
    height: 16px;
}

.el-sub-menu__title:hover{
    background: #07c160;
}
.el-table th.el-table__cell, .el-table.is-scrolling-none th.el-table-fixed-column--right{
    background-color:#dedede;
}


/* 菜单样式 */
.theme_0_0 .el-header {
    padding: 0;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
}
.theme_0_0 .el-header li {
    display: inline;
    margin: 0 10px;
    line-height: 50px;
}
.theme_0_0 .el-header span,.el-header i{
    cursor: pointer;
    outline: none;
}
.theme_0_0 .el-header >>> .is-dot{
    top: 16px;
    left: 2px;
}

.theme_0_0 .routerPage iframe {
    border: none;
    width: 100%;
    height: calc(100vh - 91px);
}
/* 附属菜单样式 */
.theme_0_0 .subsidiaryMenu .el-menu-item-group__title{
    display: none;
}
.theme_0_0 .subsidiaryMenu ul{
    display: flex;
    justify-content:space-between;
}
.theme_0_0 .subsidiaryMenu ul li:first-child{
    min-width: 70%;
}
.theme_0_0 .subsidiaryMenu ul li:last-child{
    padding: 0 !important;
    min-width: 30%;
    text-align: center;
}
.theme_0_0 .subsidiaryMenu ul li:last-child span{
    box-sizing: border-box;
    padding: 2px 4px;
    border: 1px solid #cccccc;
}
/* 主区域 */
.theme_0_0 .el-main {
    padding: 0;
    overflow: hidden;
}
/* 标签样式 */
.theme_0_0 .el-main>>>.homeLabel .el-tabs__nav {
    border-top: none !important;
    border-radius: 0 !important;
    border:initial;
    border-right: 1px solid #E4E7ED !important;
}
.theme_0_0 .el-main>>>.homeLabel .el-tabs__header {
    margin: 0;
}
.theme_0_0 .el-main>>>.homeLabel .el-tabs__content {
    display: none;
}
.theme_0_0 .el-main>>>.homeLabel #tab-home span {
    display: none;
}
.theme_0_0 .el-main>>>.homeLabel .is-active {
    border-bottom: none !important;
}
.theme_0_0 .el-main>>>.homeLabel .el-tabs__header {
    border: none;
    box-sizing: border-box;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .1);
    z-index: 1;
}
.theme_0_0 .el-main>>>.homeLabel .el-tabs__nav-wrap {
    margin-bottom: 0;
}
.theme_0_0 .el-main .routerPage {
    overflow: auto;
    box-sizing: border-box;
    height: calc(100% - 40px);
}

.theme_0_0 .th_header__user{
    height: 50px;
}
.theme_0_0 .th_header__user_img{
    height: 50px;
    float: left;
}
.theme_0_0 .th_header__user_img img{
    height: 36px;
    border-radius: 36px;
    margin: 7px 0;
}
.theme_0_0 .th_header__user_name{
    height: 50px;
    line-height: 50px;
    float: left;
    color: #FFFFFF;
    padding: 0 8px;
}
/* Home */
.theme_0_0 .container{
    height: 100vh;
}
.theme_0_0 .content{
    height: 100vh;
}
.theme_0_0 .el-aside {
    position: relative;
    height: 100vh;
    background-color: #001529;
    color: #FFFFFF;
}
.theme_0_0 .el-aside .el-scrollbar {
    height: calc(100% - 50px);
}
.theme_0_0 .el-aside .el-menu {
    border-right: none;
    z-index: 2;
}
.theme_0_0 .el-aside .el-menu:not(.el-menu--collapse) {
    width: 220px;
}
.theme_0_0 .el-aside>>>.el-menu--collapse>.menuList>.el-submenu>.el-submenu__title span {
    height: 0;
    width: 0;
    overflow: hidden;
    visibility: hidden;
    display: inline-block;
}
.theme_0_0 .el-aside>>>.el-submenu__icon-arrow {
    right: 10px;
    margin-top: -5px;
}
.theme_0_0 .el-aside>small{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    text-align: center;
    color: #999;
    letter-spacing: 1px;
    z-index: 1;
    cursor: pointer
}
.theme_0_0 .theme_0_0 .el-aside .logo{
    box-sizing: border-box;
    border-bottom: 1px solid #006de0;
    background: #0f86ea;
    height: 50px;
}
.theme_0_0 .el-aside .logo span {
    color: #f5f5f5;
    display: block;
    font-size: 16px;
    line-height: 50px;
    text-align: center;
    letter-spacing: 1px;
    cursor: pointer;
}
.theme_0_0 .el-aside .logo i{
    color: #fff;
    display: block;
    font-size: 24px;
    line-height: 50px;
    text-align: center;
    padding: 13px 18px;
}
.theme_0_0 .el-aside .el-scrollbar{
    box-sizing: border-box;
    border-right: 1px solid #E4E7ED;
}
.theme_0_0 .el-header {
    box-sizing: border-box;
    background: #001529;
    color: #f5f5f5;
    height: 50px;
}
.theme_0_0 .menuList[level="1"]{
    background: #001529;
}
.theme_0_0 .menuList[level="2"]{
    background: #001529;
}
.theme_0_0 .menuList[level="3"]{
    background: #001529;
}
.theme_0_0 .el-submenu__title,.theme_0_0 .el-menu-item{
    color: #FFFFFF;
    font-size: 14px;
}
.theme_0_0 .el-menu-item.is-active{
    border-left: 4px solid #026459;
    background-color: #009688;
    color: #FFFFFF;
}
.theme_0_0 .el-menu-item:not(.is-active):focus,
.theme_0_0 .el-menu-item:not(.is-active):hover,
.theme_0_0 .el-submenu__title:not(.is-active):hover{
    background: #07c160;
}
.theme_0_0 .el-main .homeLabel .is-active {
    color: #000;
    background: #f7f7f7;
}
.theme_0_0 .el-tabs__header{
    margin: 0;
    background-color: #FFFFFF;
}
.theme_0_0 .content .top_tool{
    padding: 0;
}
.theme_0_0 .el-menu--collapse .el-sub-menu__title span{
    display: none;
}
.theme_0_0 .el-sub-menu__title{
    color: #FFFFFF;
    font-size: 14px;
}

.theme_0_0 .el-menu--collapse .el-sub-menu__icon-arrow{
    display: none;
}
@media screen and (max-width: 992px) {
    .theme_0_0 .el-aside {
        transform: translateX(-220px);
    }
    .theme_0_0 .content {
        position: absolute;
        left: 0;
        right: 0;
    }
    .zoom .el-aside {
        transform: translateX(0);
    }
    .zoom .content {
        transform: translateX(220px);
    }
}
.theme_0_0 .avatar {
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #000;
}

/* Pagination 美化：比例协调、交互友好、轻量卡片风格（全局） */
.order-pagination {
    --pg-height: 36px;
    --pg-gap: 8px;
    --pg-pad: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--pg-gap);
    padding: 4px;
    background: #fff;
    border-top: 1px solid var(--el-border-color);
    flex-wrap: wrap;
}
.order-pagination .btn-prev,
.order-pagination .btn-next {
  height: var(--pg-height);
  min-width: var(--pg-height);
  padding: 0 12px;
  border: 1px solid var(--el-border-color);
  transition: all 0.15s ease;
}
.order-pagination .btn-prev:hover,
.order-pagination .btn-next:hover {
  color: var(--el-color-primary);
  border-color: var(--el-color-primary);
  background: var(--el-color-primary-light-9);
}
.order-pagination .el-pager li {
  min-width: var(--pg-height);
  height: var(--pg-height);
  line-height: var(--pg-height);
  margin: 0 4px;
}
.order-pagination .el-pager li:hover {
  background: var(--el-color-primary-light-9);
  color: var(--el-color-primary);
}
.order-pagination .el-pager li.is-active {
  background: var(--el-color-primary);
  color: #fff;
}
/* sizes 与 jumper 输入控件高度适配 */
.order-pagination .el-pagination__sizes .el-input__wrapper,
.order-pagination .el-pagination__jump .el-input__wrapper { height: 32px; }
/* 兼容旧结构 */
.order-pagination .el-input__inner { height: 32px; }
.order-pagination .el-select,
.order-pagination .el-pagination__jump .el-input { width: 100px; }
.order-pagination .el-pagination__total { color: var(--el-text-color-secondary); margin-left: 32px; }
/* 小屏优化 */
@media (max-width: 768px) {
  .order-pagination {
    justify-content: space-between;
    gap: 6px 8px;
    padding: 8px 10px;
  }
  .order-pagination .el-pagination__sizes,
  .order-pagination .el-pagination__jump {
    order: 2;
    flex: 1 1 100%;
    display: flex;
    justify-content: center;
  }
}

/* Search 区域按钮美化（全局） */
.searchFrom .searchButton .el-icon { margin-right: 2px; }
.searchFrom .searchButton:hover { box-shadow: 0 2px 6px rgba(64, 158, 255, 0.22); }
.searchFrom .searchButton:focus { outline: none; }
.searchFrom .searchButton:focus-visible {
  box-shadow: 0 0 0 3px var(--el-color-primary-light-8), 0 1px 2px rgba(64, 158, 255, 0.22);
}
.searchFrom .searchButton.is-loading,
.searchFrom .searchButton.is-disabled { opacity: 0.85; box-shadow: none; cursor: not-allowed; }
@media (max-width: 768px) { .searchFrom .searchButton { width: 100%; justify-content: center; } }
