/* === 左侧菜单样式调整 === */

.main-sidebar {
    width: 288px;
}

body:not(.sidebar-mini-md) .content-wrapper {
    margin-left: 288px;
}

.sidebar-mini.sidebar-collapse .main-sidebar:hover {
    width: 288px;
}

.sidebar-mini.sidebar-collapse .main-sidebar:hover .nav-item .nav-link {
    justify-content: flex-start;
}

.main-sidebar .sidebar .nav-sidebar .nav-item > .nav-link {
    color: #61738e;
    margin-right: 0;
    display: flex;
    align-items: center;
    font-size: 16px;
    box-sizing: border-box;
}

.main-sidebar .nav-treeview.nav .nav-item .nav-link {
    box-sizing: border-box;
    padding-left: 95px !important;
}

[class*=sidebar-light-] .nav-treeview>.nav-item>.nav-link.active {
    color: #2F80ED !important;
}

[class*=sidebar-light-] .nav-treeview>.nav-item>.nav-link.active::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 70px;
    width: 10px;
    border: 5px solid #ff4e01;
}

[class*=sidebar-light-] .nav-sidebar .nav-treeview >.nav-item:first-child a:before {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

[class*=sidebar-light-] .nav-sidebar .nav-treeview >.nav-item:last-child a:before {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.main-sidebar .sidebar .nav-sidebar .nav-item > .nav-link i {
    color: #333;
}

/* 菜单展开样式 */

.main-sidebar .nav .nav-item .nav-link {
    padding: 12px 40px !important;
    line-height: 20px;
}


.nav-sidebar>.nav-item>.nav-link.active {
    background: linear-gradient(90deg, #ff8900 0%, #ff4c00 100%) !important;
    color: white !important;
}

.nav-sidebar>.nav-item>.nav-link.active i.icon-system {
    background-color: white;
}

.nav-sidebar>.nav-item.has-treeview.menu-open>.nav-link {
    background: linear-gradient(90deg, #ff8900 0%, #ff4c00 100%) !important;
    color: white !important;
}

.nav-sidebar>.nav-item.has-treeview.menu-open>.nav-link i.icon-system {
    background-color: white;
}
.nav-sidebar>.nav-item.has-treeview.menu-open>.nav-link i {
    color: white;
}

.nav-sidebar > .nav-item > .nav-treeview .nav-link p {
    font-size: 12px !important;
}


.sidebar-mini.sidebar-collapse .main-sidebar .nav-item .nav-link {
    display: flex;
    justify-content: center;
}

[class*=sidebar-light-] .nav-sidebar>.nav-item>.nav-treeview {
    padding: 12px 0;
    position: relative;
}

[class*=sidebar-light-] .nav-sidebar>.nav-item>.nav-treeview::before {
    content: '';
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 70px;
    width: 10px;
    background-color: #D5C9C9;
    border-radius: 8px;
}

.nav-sidebar > .nav-item > .nav-treeview > .nav-item.nav-link {
    position: relative;
}
.nav-sidebar
    > .nav-item
    > .nav-treeview
    > .nav-item:last-child
    > .nav-link::before {
    height: 100%;
    top: 0;
}

.nav-sidebar .nav-item > .nav-link {
    margin-bottom: 0 !important;
}

/* 鼠标经过样式 */
.main-sidebar .sidebar .nav-sidebar .nav-item > .nav-link:hover {
    /* background-color: #ffd7cc !important; */
    color: #ff4e01;
    /* background: linear-gradient(90deg, #ff8900 0%, #ff4c00 100%) !important; */
}
.main-sidebar
    .sidebar
    .nav-sidebar
    .nav-item
    > a.nav-link
    > p
    > .fa-angle-left::before {
    content: "" !important;
}

.header-navbar .navbar-container ul.nav li.dropdown-user .dropdown-menu-right {
    right: 12px !important;
    top: 60px !important;
}

html,
.dcat-admin-body {
    background-color: #fafafa !important;
}

.main-sidebar,
.navbar-wrapper,
.iframe-tab-container {
    background-color: #ffffff !important;
}

.dcat-admin-body.sidebar-collapse .navbar-wrapper {
    padding-left: 80px;
}

.dcat-admin-body.sidebar-collapse.sidebar-closed .navbar-wrapper {
    padding-left: 0;
}

.dcat-admin-body .navbar-wrapper {
    padding-left: 288px;
}

.m-breadcrumb {
    display: flex;
    flex-direction: column;
    color: white;
}

.m-breadcrumb .m-breadcrumb-title {
    font-size: 32px;
}

.m-breadcrumb .m-breadcrumb-sub-title {
    font-size: 10px;
}

.m-breadcrumb .m-breadcrumb-sub-title span:last-child {
    color: #ff4e01;
}


.wrapper {
    background-color: #fafafa !important;
}
.content-body {
    padding: 1.5rem 2rem;
}
.content-body .content {
    padding: 2rem 0.5rem 2rem 1.5rem;
    border-radius: 25px;
    background-color: #ffffff;
}
.main-footer {
    background-color: #fafafa !important;
}

.header-navbar.fixed-top {
    left: 0 !important;
    background-color: #000000 ;
}

.navbar-wrapper {
    background-color: #000000 !important;
    height: 80px;
}
.navbar-container {
    height: 80px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-sizing: border-box;
    color: white;
}

.navbar-container * {
    box-sizing: border-box;
}

.navbar-wrapper .navbar-collapse {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.user-nav span {
    color: white;
}

.layout-fixed .main-sidebar {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 9px 0px 16px 0px rgba(0, 0, 0, 0.06) !important;
    background-color: #000000;
}

.main-menu .navbar-header {
    position: relative;
}

.layout-fixed .main-sidebar::before {
    background-color: #ffffff;
    opacity: 1;
}

.navbar-header {
    background-color: #fff;
}
.sidebar {
    background-color: #fff;
}
.content-wrapper {
    background-color: #fafafa;
}

.iframe-tab-container {
    /* display: none; */
    top: 80px !important;
    display: none;
}

.iframe-tab-container + .iframe-tab-wrapper {
    padding: 80px 0 0 0 !important;
}

.table-responsive.table-wrapper {
    max-width: 100%;
    overflow: hidden;
    overflow-x: auto;
}

@media (max-width: 991px) {
    body:not(.sidebar-mini-md) .iframe-tab-container {
        margin-left: 0 !important;
    }
    .wrapper {
        padding: 0 !important;
        min-height: 100vh !important;
    }

    .iframe-tab-container.iframe-tab-wrapper {
       height:100vh !important;
    }

    .main-sidebar, .main-sidebar:before {
        margin-left: -288px !important;
    }

    .dcat-admin-body .navbar-wrapper {
        padding-left: 0 !important;
    }
}



.main-menu .navbar-header .nav-item {
    margin-top: 10px;
    margin-bottom: 25px;
}

.table-responsive > .table > thead > tr {
    background: linear-gradient(to right, #ff4e02, #ff8202) !important;
}

.table-responsive .table-wrap {
    max-height: 100% !important;
}

.table-responsive .data-table thead tr {
    background: linear-gradient(to right, #ff4e02, #ff8202) !important;
}
.table-responsive .data-table thead th {
    background-color: transparent !important;
    color: #ffffff;
}
.table-responsive > .table > thead > tr > th:first-child {
    box-shadow: 0 -8px 0 0 #ffffff !important;
}
.table-responsive > .table > thead > tr > th:last-child {
    box-shadow: 0 -8px 0 0 #ffffff !important;
}
.table-responsive > .table > thead > tr > th {
    background-color: transparent !important;
}
.table-responsive > .table > thead > tr > th {
    position: relative;
    color: #ffffff;
}

.table-responsive.table-wrapper > table > tbody > tr:nth-child(even) {
    background-color: #fafafa !important;
}

.box-footer > .d-sm-inline {
    display: none !important;
}

.box-footer {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    padding-top: 20px;
}

.pagination {
    box-shadow: none !important;
}
.pagination > .page-item {
    margin: 0 3px;
    width: 32px;
    height: 32px;
}
.pagination > .page-item > .page-link {
    width: 32px;
    height: 32px;
    border-radius: 32px !important;
    color: #000;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #f1f1f1;
    /* padding: 0 5px; */
    font-weight: normal;
}
.pagination > .page-item:first-child {
    border: 1px solid #f1f1f1;
    /* margin-right: 5px; */
}
.pagination > .page-item:last-child {
    border: 1px solid #f1f1f1;
    /* margin-left: 5px; */
}
.pagination .page-item.active {
    background-color: #fff;
}
.pagination .page-item.disabled > .page-link {
    background-color: #e9ebec;
}
.pagination .page-item.active .page-link {
    background-color: #ff4000;
    color: #ffffff;
    border: none;
}
.pagination .page-item:not(.previous, .next, .active) .page-link {
    background-color: #fff;
    border: 1px solid #f1f1f1;
}
.pagination .page-item.disabled:not(.previous, .next) .page-link {
    background-color: #fff;
    border: none;
}

.btn.btn-primary.grid-refresh, .btn.btn-primary.dialog-create, .table-responsive .top .pull-right .btn.btn-primary  {
    color: #ffffff !important;
    height: 46px;
    line-height: 46px;
    background-color: #000000 !important;
    border-radius: 24px !important;
    border: none !important;
    box-shadow: 0 3px 1px -2px rgb(0 0 0 / 7%), 0 2px 2px 0 rgb(0 0 0 / 7%), 0 1px 5px 1px rgb(0 0 0 / 7%) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.btn.btn-primary.grid-refresh:active, .btn.btn-primary.grid-refresh:hover {
    color: #ffffff !important;
    height: 46px;
    background-color: #000000 !important;
    border-radius: 24px !important;
}

.quick-search-form .form-control {
    height: 46px !important;
    border-radius: 24px !important
}
.table-responsive .tables-container {
    margin-top: 0 !important;
}

.table-filter .form-control {
    height: 46px !important;
    max-height: 46px !important;
}
.table-filter label:after {
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.filter-button-search-wrapper .filter-search-wrapper {
    height: 46px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}


.filter-button-search-wrapper .filter-search {
    flex: 1;
    position: relative;
    border-radius: 25px !important;
    user-select: none;
    background-color: #FAFAFA;
    height: 46px !important;
    width: 46px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #EEEAEA;
    transition: all 0.3s ease;
}

.filter-button-search-wrapper .filter-search:hover {
    background-color: rgba(255, 255, 255, 0.5);
}
.filter-button-search-wrapper .filter-search .icon.show-filter {
    cursor: pointer !important;
    margin-top: 4px;
}
.filter-button-search-wrapper .filter-search .icon.show-filter.is-active {
    background-color: #FF4000;
}

.filter-button-search-wrapper .icon {
    display: flex;
    align-items: center;
    position: relative;
}

.filter-button-search-wrapper .filter-search-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 58px;
    font-size: 14px;
    color: #000;
}

.filter-input .input-group-sm .select2-container--default .select2-selection--multiple {
    min-height: 30px !important;
    padding: 12px;
    font-size: 1rem;
    line-height: 1!important;
    display: flex;
    align-items: center;
}

.filter-input .select2-container .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 !important;
    margin: 0 !important;
}

.filter-input .select2-container .select2-selection--multiple .select2-selection__rendered:has(.select2-selection__choice)  {
    flex: 1;
}

.filter-input .select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin: 0 !important;
    padding: 4px !important;
    line-height: 100% !important;
}

.filter-input .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus, .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    background-color: #FF4000 !important;
    border-radius: 4px;
}

.filter-input .select2-selection__clear {
    height: auto !important;
    margin: 0 !important;
    font-size: 18px !important;
    padding: 0 12px !important;
    float: none !important;
    order: 3;
}

/* tag Start */
.merchant-info-table > tbody > tr > td > .tag {
    position: relative;
}

/* 状态标签的基础样式 */
.table-responsive > .merchant-info-table > tbody > tr > td > .tag.success,
.table-responsive > .merchant-info-table > tbody > tr > td > .tag.warning,
.table-responsive > .merchant-info-table > tbody > tr > td > .tag.error {
    height: 24px;
    border-radius: 28px;
    padding: 2px 20px;
    position: relative;
    display: inline-block;
}

/* 状态标签前的圆点基础样式 */
.table-responsive > .merchant-info-table > tbody > tr > td > .tag.success::before,
.table-responsive > .merchant-info-table > tbody > tr > td > .tag.warning::before,
.table-responsive > .merchant-info-table > tbody > tr > td > .tag.error::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50px;
    margin: 4px -14px;
}

/* Success 状态 */
.table-responsive > .merchant-info-table > tbody > tr > td > .tag.success {
    color: #66c069;
    width: 74px;
    background-color: #dcf6dd;
}

.table-responsive > .merchant-info-table > tbody > tr > td > .tag.success::before {
    background-color: #66c069;
}

/* Warning 状态 */
.table-responsive > .merchant-info-table > tbody > tr > td > .tag.warning {
    color: #f2b600;
    width: 93px;
    background-color: #fff4d3;
}

.table-responsive > .merchant-info-table > tbody > tr > td > .tag.warning::before {
    background-color: #f2b600;
}

/* Error 状态 */
.table-responsive > .merchant-info-table > tbody > tr > td > .tag.error {
    color: #ff002e;
    width: 93px;
    background-color: #ffecef;
}

.table-responsive > .merchant-info-table > tbody > tr > td > .tag.error::before {
    background-color: #ff002e;
}

/* tag End */


/* 弹窗 */
.swal2-container >.swal2-show {
    width: 582px;
    height: 223px;
    border-radius: 16px;
}
.swal2-container >.swal2-show >.swal2-actions >.btn-primary,
.swal2-container >.swal2-show >.swal2-actions >.btn-white {
    width: 251px;
    height: 48px !important;
    border-radius: 30px !important;
    font-size: 16px !important;
    border: none;
}
.swal2-container > .swal2-show >.swal2-actions >.btn-primary {
    background-color: #ff4000;
    color: #fff;
}

.swal2-container > .swal2-show > .swal2-actions >.btn-white {
    background-color: #e5e5e5e5;
    color: #000;
}
.swal2-container > .swal2-show > .swal2-header {
    margin: auto;
    margin-top: -24px;
}
.swal2-container > .swal2-show > .swal2-header .swal2-title {
    font-weight: 600 !important;
    color: #000;
    font-size: 24px;
}
/* 去除图标 */
.swal2-container > .swal2-show > .swal2-header >.swal2-icon {
    height: auto;
}
.swal2-container > .swal2-show > .swal2-header >.swal2-icon.swal2-question::before {
  content: "";
}
.swal2-container > .swal2-show > .swal2-header >.swal2-icon.swal2-question {
    border: none;
}
/* 弹窗 End*/

/* 修改action图标样式 */
.table-responsive .table tbody tr td:last-child {
    padding: 0 0 0 6.7px;
}
.table-responsive .table tbody tr td i{
    font-size: 18px;
}
.table-responsive .table tbody tr td .icon-eye,.icon-edit {
    color: #000;
}
.table-responsive .table tbody tr td .icon-trash {
    color: #FF4000;
}
.table-responsive .table tbody tr td .icon-eye:hover,
.table-responsive .table tbody tr td .icon-edit:hover {
    color: #FF4000;
}

/* User页面Status开关控件 */
.table-responsive .table tbody tr td .switchery-small {
    border-radius: 20px;
    width: 60px;
    height: 30px;
}
.table-responsive .table tbody tr td .switchery-small > small {
    height: 22px;
    width: 22px;
}
.table-responsive .table tbody tr td .switchery > small {
    top: 4px;
}

/* User页面Status开关控件 */
.table-responsive .table tbody tr td .switchery-small {
    border-radius: 20px;
    width: 60px;
    height: 30px;
}
.table-responsive .table tbody tr td .switchery-small > small {
    height: 22px;
    width: 22px;
}
.table-responsive .table tbody tr td .switchery > small {
    top: 4px;
}


/* 修改download图标颜色 */
.table-responsive > .table > tbody > tr > td > a > .icon-download {
    color: #000;
    font-size: 18px;
}
.table-responsive > .table > tbody > tr > td > a > .icon-download:hover {
    color: #FF4000;
}



/* 修改download图标颜色 */
.table-responsive > .table > tbody > tr > td > a > .icon-download {
    color: #000;
    font-size: 18px;
}
.table-responsive > .table > tbody > tr > td > a > .icon-download:hover {
    color: #FF4000;
}

/* Download Report 按钮样式 */
.download-popup .download-box-header {
  display: flex;
  align-items: center;
  background: linear-gradient(270deg, #FF4000 0%, #EE782A 100%);
  font-size: 16px;
  color: white;
  padding: 12px 14px;
  border-radius: 8px 8px 0 0;
}
.download-popup .download-box-header .download-popup-close {
    padding-left: 90px;
    cursor: pointer;
}
.download-popup form {
    padding: 12px 14px;
}
.download-popup form .dropdown {
    padding-top: 10px;
}
.download-popup .dropdown .btn {
    width: 270px;
    height: 40px;
    border-radius: 10px;
    background-color: #f8f8f8 !important;
}
/* 添加button外边框颜色 */
.download-popup .dropdown .btn:focus {
    outline: none !important;
    border-color: #EE782A !important;
    box-shadow:none !important;
}
.download-popup .dropdown .dropdown-menu {
    width: 270px;
    line-height: 32px;
    background-color: #f8f8f8;
    font-size: 16px;
    padding: 0;
    border: 1px solid #eee;
    border-radius: 10px;
}
.download-popup .dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
}
.download-popup .dropdown .dropdown-toggle::after {
    font-size: 24px;
}
.download-popup .dropdown .dropdown-menu a {
    padding-left: 18px;
    border-bottom:1px solid #eee;
}
.download-popup .dropdown .dropdown-menu a:hover {
    background-color: #fff;
}

/* 去除原始下拉框三角箭头 */
.download-popup .dropdown .dropdown-menu:before {
    content: none;
}
/* .download-popup .dropdown .dropdown-menu a span {
    font-size: 11px;
    background-color: #FF4000;
    color: #fff;
    padding: 1px 12px;
    border-radius: 10px;
    margin-left: 16px;
} */
/* .download-popup .dropdown .dropdown-menu a:first-child::after{
    content:"Suggested";
    font-size: 11px;
    background-color: #FF4000;
    color: #fff;
    padding: 1px 12px;
    border-radius: 10px;
    margin-left: 16px;
} */
/* Download Report input样式 */
.download-popup form input {
    border: none;
    width: 270px;
    height: 46px;
    border-radius: 23px;
    background-color: #000;
    color: #fff;
    margin-top: 90px;
}
.download-popup form input:hover {
    background-color: #FF4000;
}
/* Download Report 按钮样式 End*/
