/*
  Admin CSS
  Purged global admin stylesheet. Keep page-specific plugin CSS on the pages that use those plugins.
*/

@import url(../assets/vendor_components/bootstrap/dist/css/bootstrap.css);
@import url('../assets/local-cdn/css/google-fonts.css');
@import url('../assets/icons/font-awesome/css/font-awesome.css?v=20260728-icons-local');
@import url('../assets/icons/Ionicons/css/ionicons.css?v=20260728-icons-local');
@import url('../assets/icons/material-design-iconic-font/css/materialdesignicons.css?v=20260728-icons-local');
@import url('../assets/icons/themify-icons/themify-icons.css?v=20260728-icons-local');
@import url('../assets/icons/glyphicons/glyphicon.css?v=20260728-icons-local');
@import url(../plugins/sweetalert/sweetalert.min.css);
@import url(../plugins/select2/select2.min.css);
@import url(../assets/vendor_components/datatable/datatables.min.css);
@import url(../plugins/multiple-select/css/bootstrap-select.min.css);
@import url('../assets/local-cdn/jquery-ui/jquery-ui.css');
@import url('../assets/local-cdn/fancybox/jquery.fancybox.min.css');

/* ==========================================================================
   horizontal-menu.css
   ========================================================================== */

@media (min-width: 768px) {

    .layout-top-nav .content-wrapper,
    .layout-top-nav .main-footer {
        width: 100%;
        margin: 0 auto;
    }

    .layout-top-nav.fixed .content-wrapper {
        margin-top: 130px;
    }

    .layout-top-nav.fixed .main-header {
        background: #ffffff;
    }
}

@media (max-width: 767px) {

    .layout-top-nav .content-wrapper,
    .layout-top-nav .main-footer {
        width: 95%;
        margin: 0 auto;
    }
}

.layout-top-nav .main-header {
    width: 100%;
    margin: 0 auto;
}

.layout-top-nav .main-header .navbar {
    border-bottom: none !important;
}

.layout-top-nav #main-menu:before {
    content: '';
}

.layout-top-nav #main-menu {
    clear: both;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.layout-top-nav #main-menu:before {
    display: block;
    height: 1px;
    font: 1px/1px sans-serif;
    overflow: hidden;
}

@media (min-width: 768px) {
    .layout-top-nav #main-menu {
        float: none;
        clear: none;
        margin: 0 auto;
    }

    .layout-top-nav #main-menu:before {
        display: none;
    }

    .layout-top-nav.fixed #main-menu {
        width: 95%;
    }
}

.sm {
    box-sizing: border-box;
    position: relative;
    z-index: 999;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    display: block;
    list-style: none;
    margin: 0;
    line-height: normal;
    direction: ltr;
    text-align: left;
}

.sm ul,
.sm li {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: normal;
    direction: ltr;
    text-align: left;
}

.sm>li>h1,
.sm>li>h2,
.sm>li>h3,
.sm>li>h4,
.sm>li>h5,
.sm>li>h6 {
    margin: 0;
    padding: 0;
}

.sm ul {
    display: none;
}

.sm li,
.sm a {
    position: relative;
}

.sm a {
    display: block;
}

.sm a.disabled {
    cursor: default;
}

.sm::after {
    content: "";
    display: block;
    height: 0;
    font: 0px/0 serif;
    clear: both;
    overflow: hidden;
}

.sm *,
.sm *::before,
.sm *::after {
    box-sizing: inherit;
}

.sm-rtl {
    direction: rtl;
    text-align: right;
}

.sm-rtl ul,
.sm-rtl li {
    direction: rtl;
    text-align: right;
}

@media (min-width: 768px) {
    #main-menu>li>a>.sub-arrow {
        display: none;
    }
}

.layout-top-nav.rtl .content-wrapper,
.layout-top-nav.rtl .main-footer {
    width: 95%;
    margin: 0 auto;
}

.layout-top-nav.rtl .content-wrapper {
    margin: 130px auto 0;
}

/* ==========================================================================
   color_theme.css
   ========================================================================== */

.btn-secondary {
    background-color: #e4e6ef;
    border-color: #e4e6ef;
    color: #172b4c;
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus,
.btn-secondary.active {
    background-color: #c4c8dc !important;
    border-color: #c4c8dc !important;
    color: #172b4c !important;
}

.btn-secondary:disabled {
    background-color: #747ead;
    border-color: #747ead;
    opacity: 0.5;
}

.btn-secondary.disabled {
    background-color: #747ead;
    border-color: #747ead;
    opacity: 0.5;
}

.show>.btn-secondary.dropdown-toggle {
    background-color: #e4e6ef !important;
    border-color: #e4e6ef !important;
    color: #ffffff;
}

.btn-light {
    background-color: #e4e6ef;
    border-color: #e4e6ef;
    color: #000000;
}

.btn-light:hover,
.btn-light:active,
.btn-light:focus,
.btn-light.active {
    background-color: #ffffff !important;
    border-color: #e4e6ef !important;
    color: #000000;
}

.btn-light:disabled {
    background-color: #ffffff;
    border-color: #e4e6ef;
    opacity: 0.5;
}

.btn-light.disabled {
    background-color: #ffffff;
    border-color: white;
    opacity: 0.5;
}

.show>.btn-light.dropdown-toggle {
    background-color: #ffffff !important;
    border-color: #e4e6ef !important;
    color: #000000;
}

.badge-light {
    background-color: #e4e6ef;
    color: #172b4c;
}

.bg-secondary {
    background-color: #e4e6ef !important;
    color: #172b4c;
}

.bg-dark {
    background-color: #172b4c !important;
    color: #ffffff !important;
}

.bg-white {
    background-color: #ffffff;
}

.bg-transparent {
    background-color: transparent !important;
}

.text-dark {
    color: #172b4c !important;
}

a.text-dark:hover,
a.text-dark:focus {
    color: #172b4c !important;
}

.theme-primary.fixed .main-header {
    background: #ffffff;
}

.theme-primary .main-header {
    background: #ffffff;
}

@media (max-width: 767px) {
    .theme-primary.fixed .main-header {
        background-image: #e4e6ef;
    }

    .theme-primary.fixed .main-header.navbar {
        background: none;
    }
}

.theme-primary a:hover,
.theme-primary a:active,
.theme-primary a:focus {
    /* color: #ffffff; */
}

.theme-primary.light-skin .sidebar-menu>li.active.treeview>a {
    background: transparent;
    color: var(--brand-blue) !important;
}

.theme-primary.light-skin .sidebar-menu>li.active.treeview>a>i {
    color: var(--brand-blue);
}

.theme-primary.light-skin .sidebar-menu>li.active.treeview>a>svg {
    color: var(--brand-blue);
    fill: rgba(1, 104, 250, 0.2);
}

.theme-primary.light-skin .sidebar-menu>li.active.treeview>a:after {
    border-color: transparent #fafafa transparent transparent !important;
}

.theme-primary.light-skin .sidebar-menu>li.treeview .treeview-menu li a {
    color: #172b4c;
}

.theme-primary.light-skin.sidebar-mini.sidebar-collapse .sidebar-menu>li.active>a>span {
    background: var(--brand-blue) !important;
}

.theme-primary.light-skin .sidebar-menu>li:hover,
.theme-primary.light-skin .sidebar-menu>li:active,
.theme-primary.light-skin .sidebar-menu>li.active {
    background-color: rgba(81, 86, 190, 0);
    color: var(--brand-blue);
    border-left: 5px solid rgba(81, 86, 190, 0);
}

.theme-primary.light-skin .sidebar-menu>li:hover a,
.theme-primary.light-skin .sidebar-menu>li:active a,
.theme-primary.light-skin .sidebar-menu>li.active a {
    color: var(--brand-blue);
}

.theme-primary.light-skin .sidebar-menu>li:hover a>i,
.theme-primary.light-skin .sidebar-menu>li:active a>i,
.theme-primary.light-skin .sidebar-menu>li.active a>i {
    color: #172b4c;
    background-color: rgba(81, 86, 190, 0);
}

.theme-primary.light-skin .sidebar-menu>li:hover a>svg,
.theme-primary.light-skin .sidebar-menu>li:active a>svg,
.theme-primary.light-skin .sidebar-menu>li.active a>svg {
    color: var(--brand-blue);
    fill: rgba(1, 104, 250, 0.2);
}

.theme-primary.light-skin .sidebar-menu>li.active {
    background-color: rgba(81, 86, 190, 0);
    color: var(--brand-blue);
    border-left: 5px solid var(--brand-blue);
}

.theme-primary.light-skin .sidebar-menu>li.active a {
    color: var(--brand-blue);
    background-color: transparent;
}

.theme-primary.light-skin .sidebar-menu>li.active a>i {
    color: var(--brand-blue);
    background-color: rgba(81, 86, 190, 0);
}

.theme-primary.light-skin .sidebar-menu>li.active a>svg {
    color: var(--brand-blue);
    fill: rgba(1, 104, 250, 0.2);
}

.theme-primary.light-skin .sidebar-menu>li.active .treeview-menu li.active {
    background-color: rgba(81, 86, 190, 0);
    color: var(--brand-blue);
}

.theme-primary.light-skin .sidebar-menu>li.active .treeview-menu li.active a {
    color: var(--brand-blue);
}

.theme-primary.light-skin .sidebar-menu>li.active .treeview-menu li.active a>i {
    color: var(--brand-blue);
    background-color: rgba(81, 86, 190, 0);
}

.theme-primary.light-skin .sidebar-menu>li.active .treeview-menu li a>i {
    color: #172b4c;
    background-color: rgba(81, 86, 190, 0);
}

.theme-primary.light-skin .sidebar-menu>li.active .treeview-menu li.treeview.active {
    background-color: rgba(81, 86, 190, 0);
    color: var(--brand-blue);
}

.theme-primary.light-skin .sidebar-menu>li.active .treeview-menu li.treeview.active a {
    color: var(--brand-blue);
}

.theme-primary.light-skin .sidebar-menu>li.active .treeview-menu li.treeview.active a>i {
    color: var(--brand-blue);
    background-color: rgba(81, 86, 190, 0);
}

.theme-primary.light-skin .sidebar-menu>li.active .treeview-menu li.treeview .treeview-menu li.active {
    background-color: rgba(81, 86, 190, 0);
    color: var(--brand-blue);
}

.theme-primary.light-skin .sidebar-menu>li.active .treeview-menu li.treeview .treeview-menu li.active a {
    color: var(--brand-blue);
}

.theme-primary.light-skin .sidebar-menu>li.active .treeview-menu li.treeview .treeview-menu li.active a>i {
    color: var(--brand-blue);
    background-color: rgba(81, 86, 190, 0);
}

.theme-primary.light-skin .sidebar-menu>li.active .treeview-menu li.treeview .treeview-menu li a {
    color: #172b4c;
}

.theme-primary.light-skin .sidebar-menu>li.active .treeview-menu li.treeview .treeview-menu li a>i {
    color: #172b4c;
    background-color: rgba(81, 86, 190, 0);
}

.theme-primary.rtl.light-skin .sidebar-menu>li.active {
    border-left: 0px solid var(--brand-blue);
    border-right: 5px solid var(--brand-blue);
}

@media (min-width: 768px) {
    .sidebar-mini.sidebar-collapse .sidebar-menu>li.active.menu-open {
        background-color: rgba(81, 86, 190, 0.2);
        color: var(--brand-blue);
    }
}

.theme-primary .btn-primary {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #ffffff;
}

.theme-primary .btn-primary:hover,
.theme-primary .btn-primary:active,
.theme-primary .btn-primary:focus,
.theme-primary .btn-primary.active {
    background-color: #3c40a0 !important;
    border-color: #3c40a0 !important;
    color: #ffffff !important;
}

.theme-primary .btn-primary:disabled {
    background-color: #9b9eda;
    border-color: var(--brand-blue);
    opacity: 0.5;
}

.theme-primary .btn-primary.disabled {
    background-color: #9b9eda;
    border-color: var(--brand-blue);
    opacity: 0.5;
}

.theme-primary .show>.btn-primary.dropdown-toggle {
    background-color: #3c40a0 !important;
    border-color: #3c40a0 !important;
    color: #ffffff;
}

.theme-primary .btn-info {
    background-color: #3596f7;
    border-color: #3596f7;
    color: #ffffff;
}

.theme-primary .btn-info:hover,
.theme-primary .btn-info:active,
.theme-primary .btn-info:focus,
.theme-primary .btn-info.active {
    background-color: #097df0 !important;
    border-color: #097df0 !important;
    color: #ffffff !important;
}

.theme-primary .btn-info:disabled {
    background-color: #97c9fb;
    border-color: #3596f7;
    opacity: 0.5;
}

.theme-primary .btn-info.disabled {
    background-color: #97c9fb;
    border-color: #3596f7;
    opacity: 0.5;
}

.theme-primary .show>.btn-info.dropdown-toggle {
    background-color: #097df0 !important;
    border-color: #097df0 !important;
    color: #ffffff;
}

.theme-primary .btn-success {
    background-color: #0c9a1b;
    border-color: #0c9a1b;
    color: #ffffff;
}

.theme-primary .btn-success:hover,
.theme-primary .btn-success:active,
.theme-primary .btn-success:focus,
.theme-primary .btn-success.active {
    background-color: #03513b !important;
    border-color: #03513b !important;
    color: #ffffff !important;
}

.theme-primary .btn-success:disabled {
    background-color: #09e4a7;
    border-color: #05825f;
    opacity: 0.5;
}

.theme-primary .btn-success.disabled {
    background-color: #09e4a7;
    border-color: #05825f;
    opacity: 0.5;
}

.theme-primary .show>.btn-success.dropdown-toggle {
    background-color: #03513b !important;
    border-color: #03513b !important;
    color: #ffffff;
}

.theme-primary .btn-danger {
    background-color: #ee3158;
    border-color: #ee3158;
    color: #ffffff;
}

.theme-primary .btn-danger:hover,
.theme-primary .btn-danger:active,
.theme-primary .btn-danger:focus,
.theme-primary .btn-danger.active {
    background-color: #da123b !important;
    border-color: #da123b !important;
    color: #ffffff !important;
}

.theme-primary .btn-danger:disabled {
    background-color: #f68fa4;
    border-color: #ee3158;
    opacity: 0.5;
}

.theme-primary .btn-danger.disabled {
    background-color: #f68fa4;
    border-color: #ee3158;
    opacity: 0.5;
}

.theme-primary .show>.btn-danger.dropdown-toggle {
    background-color: #da123b !important;
    border-color: #da123b !important;
    color: #ffffff;
}

.theme-primary .btn-warning {
    background-color: #ffa800;
    border-color: #ffa800;
    color: #ffffff;
}

.theme-primary .btn-warning:hover,
.theme-primary .btn-warning:active,
.theme-primary .btn-warning:focus,
.theme-primary .btn-warning.active {
    background-color: #cc8600 !important;
    border-color: #cc8600 !important;
    color: #ffffff !important;
}

.theme-primary .btn-warning:disabled {
    background-color: #ffcb66;
    border-color: #ffa800;
    opacity: 0.5;
}

.theme-primary .btn-warning.disabled {
    background-color: #ffcb66;
    border-color: #ffa800;
    opacity: 0.5;
}

.theme-primary .show>.btn-warning.dropdown-toggle {
    background-color: #cc8600 !important;
    border-color: #cc8600 !important;
    color: #ffffff;
}

.theme-primary .show>.btn-info.dropdown-toggle {
    background-color: #3596f7 !important;
    border-color: #3596f7 !important;
    color: #ffffff;
}

.theme-primary .alert-success {
    border-color: #05825f;
    background-color: #05825f !important;
    color: #ffffff;
}

.theme-primary .alert-danger {
    border-color: #ee3158;
    background-color: #ee3158 !important;
    color: #ffffff;
}

.theme-primary .alert-warning {
    border-color: #ffa800;
    background-color: #ffa800 !important;
    color: #ffffff;
}

.theme-primary .bg-primary {
    background-color: var(--brand-blue) !important;
    color: #ffffff;
}

.theme-primary .bg-info {
    background-color: #3596f7 !important;
    color: #ffffff;
}

.theme-primary .bg-success {
    background-color: #0c9a1b !important;
    color: #ffffff;
}

.theme-primary .bg-danger {
    background-color: #ee3158 !important;
    color: #ffffff;
}

.theme-primary .bg-warning {
    background-color: #ffa800 !important;
    color: #ffffff;
}

.theme-primary .text-primary {
    color: var(--brand-blue) !important;
}

.theme-primary a.text-primary:hover,
.theme-primary a.text-primary:focus {
    color: var(--brand-blue) !important;
}

.theme-primary .hover-primary:hover,
.theme-primary .hover-primary:focus {
    color: var(--brand-blue) !important;
}

.theme-primary .text-info {
    color: #3596f7 !important;
}

.theme-primary a.text-info:hover,
.theme-primary a.text-info:focus {
    color: #3596f7 !important;
}

.theme-primary .text-success {
    color: #05825f !important;
}

.theme-primary a.text-success:hover,
.theme-primary a.text-success:focus {
    color: #05825f !important;
}

.theme-primary .text-danger {
    color: #ee3158 !important;
}

.theme-primary a.text-danger:hover,
.theme-primary a.text-danger:focus {
    color: #ee3158 !important;
}

.theme-primary .text-warning {
    color: #ffa800 !important;
}

.theme-primary a.text-warning:hover,
.theme-primary a.text-warning:focus {
    color: #ffa800 !important;
}

.theme-primary .box-info {
    background-color: #3596f7 !important;
}

.theme-primary .box.box-solid.box-info>.box-header {
    color: #ffffff;
    background-color: #3596f7;
}

.theme-primary .box.box-solid.box-info>.box-header .btn {
    color: #ffffff;
}

.theme-primary .box.box-solid.box-info>.box-header>a {
    color: #ffffff;
}

.theme-primary .box-controls li>a:hover {
    color: #3c40a0;
}

.theme-primary .box-controls .dropdown.show>a {
    color: #3c40a0;
}

.theme-primary .box-fullscreen .box-btn-fullscreen {
    color: #3c40a0;
}

.theme-primary .badge-primary {
    background-color: var(--brand-blue);
    color: #ffffff;
}

.theme-primary .badge-primary[href]:hover,
.theme-primary .badge-primary[href]:focus {
    background-color: #3c40a0;
}

.theme-primary .badge-secondary {
    background-color: #e4e6ef;
    color: #172b4c;
}

.theme-primary .badge-secondary[href]:hover,
.theme-primary .badge-secondary[href]:focus {
    background-color: #c4c8dc;
}

.theme-primary .badge-info {
    background-color: #3596f7;
    color: #ffffff;
}

.theme-primary .badge-info[href]:hover,
.theme-primary .badge-info[href]:focus {
    background-color: #097df0;
}

.theme-primary .badge-success {
    background-color: #05825f;
    color: #ffffff;
}

.theme-primary .badge-success[href]:hover,
.theme-primary .badge-success[href]:focus {
    background-color: #03513b;
}

.theme-primary .badge-danger {
    background-color: #ee3158;
    color: #ffffff;
}

.theme-primary .badge-danger[href]:hover,
.theme-primary .badge-danger[href]:focus {
    background-color: #da123b;
}

.theme-primary .badge-warning {
    background-color: #ffa800;
    color: #ffffff;
}

.theme-primary .badge-warning[href]:hover,
.theme-primary .badge-warning[href]:focus {
    background-color: #cc8600;
}

.theme-primary .nav-tabs .nav-link.active {
    border-bottom-color: var(--brand-blue);
    background-color: var(--brand-blue);
    color: #ffffff !important;
}

.theme-primary .nav-tabs .nav-link.active:hover,
.theme-primary .nav-tabs .nav-link.active:focus {
    border-bottom-color: var(--brand-blue);
    background-color: var(--brand-blue);
    color: #ffffff;
}

.theme-primary .nav-tabs .nav-item.open .nav-link {
    border-bottom-color: var(--brand-blue);
    background-color: var(--brand-blue);
}

.theme-primary .nav-tabs .nav-item.open .nav-link:hover,
.theme-primary .nav-tabs .nav-item.open .nav-link:focus {
    border-bottom-color: var(--brand-blue);
    background-color: var(--brand-blue);
}

.theme-primary .todo-list .info {
    border-left-color: var(--brand-blue);
}

.theme-primary .todo-list .success {
    border-left-color: #05825f;
}

.theme-primary .todo-list .danger {
    border-left-color: #ee3158;
}

.theme-primary .todo-list .warning {
    border-left-color: #ffa800;
}

.theme-primary .daterangepicker td.active {
    background-color: var(--brand-blue);
}

.theme-primary .daterangepicker td.active:hover {
    background-color: var(--brand-blue);
}

.theme-primary .ranges li:hover,
.theme-primary .ranges li:active,
.theme-primary .ranges li.active {
    border: 1px solid var(--brand-blue);
    background-color: var(--brand-blue);
}

.theme-primary .nav>li>a:hover,
.theme-primary .nav>li>a:active,
.theme-primary .nav>li>a:focus {
    color: var(--brand-blue);
}

.theme-primary .nav-pills>li>a.active {
    border-top-color: var(--brand-blue);
    background-color: var(--brand-blue) !important;
    color: #ffffff;
}

.theme-primary .nav-pills>li>a.active:hover,
.theme-primary .nav-pills>li>a.active:focus {
    border-top-color: var(--brand-blue);
    background-color: var(--brand-blue) !important;
    color: #ffffff;
}

.theme-primary .nav-tabs-custom>.nav-tabs>li a.active {
    border-top-color: var(--brand-blue);
}

.theme-primary .customtab li a.nav-link.active {
    border-bottom: 2px solid var(--brand-blue);
}

.theme-primary .form-control:focus {
    border-color: var(--border);
}

.theme-primary [type=checkbox]:checked.chk-col-success+label:before {
    border-right: 2px solid #05825f;
    border-bottom: 2px solid #05825f;
}

.theme-primary [type=checkbox].filled-in:checked.chk-col-success+label:after {
    border: 2px solid #05825f;
    background-color: #05825f;
}

.theme-primary [type=checkbox]:checked+label:before {
    border-right: 2px solid var(--brand-blue);
    border-bottom: 2px solid var(--brand-blue);
}

.theme-primary [type=checkbox].filled-in:checked+label:after {
    border: 2px solid var(--brand-blue);
    background-color: var(--brand-blue);
}

.theme-primary [type=radio]:checked+label:after {
    border: 2px solid var(--brand-blue);
    background-color: var(--brand-blue);
    z-index: 0;
}

.theme-primary .avatar[class*='status-']::after {
    background-color: var(--brand-blue);
}

.theme-primary .pagination li a.current {
    border: 1px solid var(--brand-blue);
    background-color: var(--brand-blue);
}

.theme-primary .pagination li a.current:hover {
    border: 1px solid var(--brand-blue);
    background-color: var(--brand-blue);
}

.theme-primary .pagination li a:hover {
    border: 1px solid #3c40a0;
    background-color: #3c40a0 !important;
}

.theme-primary .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    border: 1px solid var(--brand-blue);
    background-color: var(--brand-blue);
}

.theme-primary .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    border: 1px solid var(--brand-blue);
    background-color: var(--brand-blue);
}

@media (min-width: 768px) {
    .sidebar-mini.sidebar-collapse .sidebar-menu>li.active.menu-open {
        background-color: rgba(228, 230, 239, 0.2);
        color: #e4e6ef;
    }
}

@media (min-width: 768px) {
    .sidebar-mini.sidebar-collapse .sidebar-menu>li.active.menu-open {
        background-color: rgba(53, 150, 247, 0.2);
        color: #3596f7;
    }
}

@media (min-width: 768px) {
    .sidebar-mini.sidebar-collapse .sidebar-menu>li.active.menu-open {
        background-color: rgba(5, 130, 95, 0.2);
        color: #05825f;
    }
}

@media (min-width: 768px) {
    .sidebar-mini.sidebar-collapse .sidebar-menu>li.active.menu-open {
        background-color: rgba(238, 49, 88, 0.2);
        color: #ee3158;
    }
}

@media (min-width: 768px) {
    .sidebar-mini.sidebar-collapse .sidebar-menu>li.active.menu-open {
        background-color: rgba(255, 168, 0, 0.2);
        color: #ffa800;
    }
}

/* ==========================================================================
   style.css
   ========================================================================== */

:root {
    --primary: #024686;
    --primary-dark: #01345F;
    --primary-light: #EAF3FB;
    --accent: #FF6B2E;
    --accent-dark: #C9470D;
    --accent-light: #FFF1EB;
    --background: #F5F9FC;
    --surface: #FFFFFF;
    --text-primary: #0F172A;
    --text-secondary: #64748B;
    --border: #D7E3EC;
    --success: #16A34A;
    --warning: #F59E0B;
    --danger: #DC2626;
    --info: #0284C7;
    --shadow: 0 6px 20px rgba(2, 70, 134, 0.08);
}

html {
    height: 100%;
    font-size: 14px;
}

body {
    height: 100%;
    background-color: var(--background);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body.layout-boxed {
    height: 100%;
}

.wrapper {
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    background-color: transparent;
    position: relative;
}

.wrapper:before,
.wrapper:after {
    content: " ";
    display: table;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
    color: var(--text-dark, #172b4c);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    font-family: "IBM Plex Sans", sans-serif;
    line-height: 1.5;
    background-color: var(--brand-white, #ffffff);
}


a {
    color: var(--brand-blue, #2f579a);
}

a:hover,
a:active,
a:focus {
    outline: 0;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: "Rubik", sans-serif;
    font-weight: 400;
    line-height: 1.2;
}

h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small,
.h1 small,
.h2 small,
.h3 small,
.h4 small,
.h5 small,
.h6 small {
    font-size: 65%;
}

h4,
.h4,
h5,
.h5,
h6,
.h6 {
    margin-bottom: 0.7142857143rem;
}

.h1,
h1 {
    font-size: 2.3rem;
}

.h2,
h2 {
    font-size: 2.142857142857143rem;
}

.h3,
h3 {
    font-size: 1.7142857142857142rem;
}

.h4,
h4 {
    font-size: 1.2857142857142858rem;
}

.h5,
h5 {
    font-size: 1.1428571428571428rem;
}

.h6,
h6 {
    font-size: 1rem;
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
    margin-top: 0.7142857143rem;
    margin-bottom: 0.7142857143rem;
}

img {
    max-width: 100%;
}

.fw-900 {
    font-weight: 700;
}

.hide {
    display: none !important;
}

.no-padding {
    padding: 0 !important;
}


.list-unstyled {
    list-style: none;
    margin: 0;
    padding: 0;
}

.code-preview {
    border: 1px solid #f3f6f9;
    padding: 20px;
    background-color: #ffffff;
}

code {
    border: 1px solid #f3f6f9;
    background-color: #ffffff;
    border-radius: .25rem;
    padding: .2rem .4rem;
}

.d3-line {
    fill: rgba(255, 255, 255, 0);
}

.rounded10 {
    border-radius: 10px;
}

.b-1 {
    border: 1px solid #f3f6f9 !important;
}

.border {
    border: 1px solid #f3f6f9 !important;
}


.vertical-align {
    font-size: 0;
}

.vertical-align:before {
    display: inline-block;
    height: 100%;
    content: '';
    vertical-align: middle;
}

.media {
    display: flex;
    align-items: flex-start;
}

small,
.small {
    font-weight: 400;
}


.p-0 {
    padding: 0px !important;
}

.p-5 {
    padding: 5px !important;
}

.p-20 {
    padding: 20px !important;
}

.p-30 {
    padding: 30px !important;
}

.p-40 {
    padding: 40px !important;
}

.pb-0 {
    padding-bottom: 0px !important;
}

.ps-15 {
    padding-left: 15px !important;
}

.m-5 {
    margin: 5px !important;
}

.m-15 {
    margin: 15px !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mb-0 {
    margin-bottom: 0px !important;
}

.mb-5 {
    margin-bottom: 5px !important;
}

.mb-15 {
    margin-bottom: 15px !important;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.me-5 {
    margin-right: 5px !important;
}

.me-15 {
    margin-right: 15px !important;
}

.mx-10 {
    margin-left: 10px !important;
    margin-right: 10px !important;
}

.my-15 {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

@media (min-width: 992px) {

    .mt-lg-0 {
        margin-top: 0px !important;
    }
}

.w-100 {
    width: 100px !important;
}

.w-p100 {
    width: 100% !important;
}

.h-p100 {
    height: 100% !important;
}

.fixed .wrapper,
.main-header .logo {
    overflow: hidden;
}

.layout-boxed {
    background: #f3f6f9;
}

.layout-boxed .wrapper {
    width: 95%;
    max-width: 1440px;
    margin: 0 auto;
    min-height: 100%;
    box-shadow: 0px 2px 5px 0px rgba(19, 23, 38, 0.05);
    position: relative;
    background: #f4f5f9;
}

@media (min-width: 1900px) {
    .layout-boxed .wrapper {
        width: 95%;
        max-width: 1850px;
    }
}

.content-wrapper,
.main-footer {
    -moz-transition: transform 0.3s ease-in-out, margin 0.3s ease-in-out;
    -o-transition: transform 0.3s ease-in-out, margin 0.3s ease-in-out;
    -webkit-transition: transform 0.3s ease-in-out, margin 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out, margin 0.3s ease-in-out;
    margin-left: 18.58rem;
    z-index: 820;
}

@media (min-width: 768px) {

    .sidebar-collapse .content-wrapper,
    .sidebar-collapse .main-footer {
        margin-left: 0;
    }
}

.content-wrapper {
    min-height: 100%;
    background-color: #ffffff;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.main-footer {
    background-color: rgba(255, 255, 255, 0);
    padding: 1.5rem 0;
    border-top: 0px solid #cccccc;
    z-index: 1;
    position: relative;
}

.main-footer .nav {
    margin-top: -7px;
}

.fixed .main-header {
    position: fixed;
    z-index: 999;
    top: 0;
    right: 0;
    left: 0;
}

.fixed .main-sidebar {
    position: fixed;
}

.fixed .content-wrapper {
    margin-top: 60px;
}

@media (max-width: 767px) {
    .content-wrapper {
        margin-left: 0;
    }

    .main-footer {
        margin-left: 0;
        text-align: center;
    }

    .fixed .content-wrapper {
        margin-top: 125px;
    }
}

.hold-transition .content-wrapper,
.hold-transition .main-footer,
.hold-transition .main-header .logo,
.hold-transition .main-header .navbar,
.hold-transition .main-sidebar,
.hold-transition .menu-open .fa-angle-left {
    -moz-transition: none;
    -o-transition: none;
    -webkit-transition: none;
    transition: none;
}

.content {
    min-height: 250px;
    padding: 0.75rem 1.5rem 0px 1.5rem;
    margin-right: auto;
    margin-left: auto;
}

.layout-top-nav .content-wrapper .content {
    padding: 0;
    margin-right: auto;
    margin-left: auto;
}

.container>.content {
    padding: 10px 0px 0px 0px;
}

.container>.content>.content-header {
    padding-top: 0px;
}

.container>.content-header {
    padding: 10px 0px 0px 0px;
}

.icon i {
    width: 60px;
    height: 60px;
    text-align: center;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
    line-height: 60px;
    border-radius: 100%;
    margin-right: 30px;
}

.main-header {
    max-height: 125px;
    z-index: 999;
    position: relative;
}

.main-header .navbar {
    -moz-transition: margin-left 0.3s ease-in-out;
    -o-transition: margin-left 0.3s ease-in-out;
    -webkit-transition: margin-left 0.3s ease-in-out;
    transition: margin-left 0.3s ease-in-out;
    margin-bottom: 0;
    margin-left: 18.58rem;
    min-height: 60px;
    border-radius: 0;
    border-bottom: 0px solid rgba(72, 94, 144, 0.16);
    padding: 0 0.75rem;
    box-shadow: none;
}

.main-header .navbar .nav>li.user>a>i {
    margin-right: 5px;
}

.main-header .logo {
    -moz-transition: width 0.3s ease-in-out;
    -o-transition: width 0.3s ease-in-out;
    -webkit-transition: width 0.3s ease-in-out;
    transition: width 0.3s ease-in-out;
    display: block;
    height: 60px;
    font-size: 1.2rem;
    line-height: 60px;
    text-align: left;
    padding: 0 15px;
    position: relative;
    z-index: 999;
}

@keyframes beat {
    to {
        transform: scale(2);
    }
}

.layout-top-nav .main-header .navbar {
    margin-left: 0;
}

@media (max-width: 767px) {
    .main-header {
        position: relative;
        z-index: 999;
    }

    .main-header .logo {
        width: 100%;
        float: none;
        text-align: center;
    }

    .main-header .navbar {
        width: 100%;
        float: none;
        margin: 0;
        z-index: 999;
    }
}

@media (min-width: 768px) {
    .main-header .logo {
        display: block;
    }

    .sidebar-mini.sidebar-collapse .main-header .logo {
        width: 0;
        text-align: center;
        padding: 0;
    }

    .sidebar-mini.sidebar-collapse .main-header .navbar {
        margin-left: 60px;
    }
}

@media (max-width: 767px) {
    .main-header>div {
        width: 100% !important;
        float: none;
        margin-left: 0 !important;
    }

    .main-header>div .logo {
        line-height: normal;
        height: auto;
    }
}

.search-box .app-search {
    position: relative;
    margin: 0px;
    display: block;
    z-index: 110;
    width: 100%;
    top: -50px;
    left: 0px;
}

.search-box .app-search input {
    width: 100.5%;
    padding: 0px 40px 0px 15px;
    border-radius: 50px;
    font-size: 14px;
    -webkit-transition: 0.5s ease-in;
    -o-transition: 0.5s ease-in;
    transition: 0.5s ease-in;
    border: none;
}

.search-box .app-search .srh-btn {
    position: absolute;
    top: 9px;
    cursor: pointer;
    background: #ffffff;
    width: 15px;
    height: 15px;
    right: 15px;
    font-size: 14px;
}

body .main-header .navbar .nav>li.search-box>a:hover,
body .main-header .navbar .nav>li.search-box>a:focus {
    background: none;
}

.dropdown-menu {
    box-shadow: none;
    border-color: #cccccc;
}

.dropdown-menu>li>a {
    color: gray;
}

.dropdown-menu>li>a>i {
    margin-right: 10px;
}

.main-header .navbar-nav>li.dropdown>.dropdown-menu {
    width: auto;
    max-width: 250px;
    padding: 0;
    margin: 0;
    top: 100%;
    border: none;
}

.main-header .navbar-nav>li.dropdown>.dropdown-menu>li {
    position: relative;
}

.main-header .navbar-nav>li.dropdown>.dropdown-menu>li.header {
    background-color: #ffffff;
    border-bottom: 1px solid #f3f6f9;
    color: #172b4c;
    font-size: 14px;
    border-radius: 4px 4px 0 0;
    padding: 0;
}

.main-header .navbar-nav>li.dropdown>.dropdown-menu>li.header>div {
    box-shadow: none;
}

.main-header .navbar-nav>li.dropdown>.dropdown-menu>li.footer>a {
    font-size: 14px;
    padding: 15px 10px;
    text-align: center;
    border-radius: 0 0 4px 4px;
    line-height: 20px;
    display: block;
    width: auto;
    margin: 0;
}

.main-header .navbar-nav>li.dropdown>.dropdown-menu>li.footer>a:hover {
    text-decoration: none;
    font-weight: 300;
}

.main-header .navbar-nav>li.dropdown>.dropdown-menu>li .menu {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: hidden;
}

.main-header .navbar-nav>li.dropdown>.dropdown-menu>li .menu>li>a {
    display: block;
    white-space: nowrap;
    border-bottom: 1px solid #f3f6f9;
}

.main-header .navbar-nav>li.dropdown>.dropdown-menu>li .menu>li>a:hover {
    background: #f3f6f9;
    text-decoration: none;
}

.main-header .navbar-nav>li.dropdown>.dropdown-menu>li .menu>li>a>i {
    width: 20px;
}

@keyframes flipInX {
    0% {
        transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
        transition-timing-function: ease-in;
        opacity: 0;
    }

    40% {
        transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
        transition-timing-function: ease-in;
    }

    60% {
        transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
        opacity: 1;
    }

    80% {
        transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    }

    100% {
        transform: perspective(400px);
    }
}

@-webkit-keyframes flipInX {
    0% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
        -webkit-transition-timing-function: ease-in;
        opacity: 0;
    }

    40% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
        -webkit-transition-timing-function: ease-in;
    }

    60% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
        opacity: 1;
    }

    80% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    }

    100% {
        -webkit-transform: perspective(400px);
    }
}

#loader {
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 999999;
    overflow: visible;
    background: #fff url("../../images/preloaders/1.gif") no-repeat center center;
}


.main-sidebar {
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 60px;
    min-height: 100%;
    width: 18.58rem;
    z-index: 810;
    -webkit-transition: -webkit-transform .3s ease-in-out, width .3s ease-in-out;
    -moz-transition: -moz-transform .3s ease-in-out, width .3s ease-in-out;
    -o-transition: -o-transform .3s ease-in-out, width .3s ease-in-out;
    transition: transform .3s ease-in-out, width .3s ease-in-out;
    border-top-right-radius: 20px;
}

@media (max-width: 991px) {
    .main-sidebar {
        padding-top: 60px;
    }
}

@media (max-width: 767px) {
    .main-sidebar {
        margin-top: 145px;
        padding-top: 0px;
        -webkit-transform: translate(-18.58rem, 0);
        -ms-transform: translate(-18.58rem, 0);
        -o-transform: translate(-18.58rem, 0);
        transform: translate(-18.58rem, 0);
    }

    .sidebar-open .main-sidebar {
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        transform: translate(0, 0);
    }
}

@media (min-width: 768px) {
    .sidebar-collapse .main-sidebar {
        -webkit-transform: translate(-18.58rem, 0);
        -ms-transform: translate(-18.58rem, 0);
        -o-transform: translate(-18.58rem, 0);
        transform: translate(-18.58rem, 0);
    }
}

.sidebar {
    padding-bottom: 10px;
}

.sidebar-form input:focus {
    border-color: transparent;
}

.sidebar-menu {
    list-style: none;
    margin: 0 0px;
    padding: 15px 0px 50px 0px;
}

.sidebar-menu>li {
    position: relative;
    margin: 0 0px;
    padding-left: 25px;
    padding-right: 25px;
    border-radius: 0;
    border-left: 5px solid transparent;
}

.sidebar-menu>li:hover>a,
.sidebar-menu>li:active>a,
.sidebar-menu>li.active>a {
    opacity: 1;
    padding-left: 0px;
    padding-right: 0px;
}

.sidebar-menu>li:active>a,
.sidebar-menu>li.active>a,
.sidebar-menu>li:focus>a {
    font-weight: 500;
}

.sidebar-menu>li.treeview.menu-open {
    background-color: rgba(235, 237, 243, 0) !important;
}

.sidebar-menu>li.treeview.menu-open>a {
    opacity: 1;
}

.sidebar-menu>li>a {
    padding: 10px 0px;
    display: block;
}

.sidebar-menu>li>a>i {
    width: 30px;
    line-height: 28px;
    font-size: 1.5714285714rem;
    display: inline-block;
    vertical-align: middle;
    color: #172b4c;
    text-align: center;
    border-radius: 10px;
    margin-right: 20px;
    background-color: transparent;
}

.sidebar-menu>li>a>svg {
    width: 24px;
    display: inline-block;
    vertical-align: middle;
    color: #485e90;
    text-align: center;
    margin-right: 10px;
    fill: rgba(27, 46, 75, 0.06);
}

.sidebar-menu>li:hover>a>i,
.sidebar-menu>li:active>a>i,
.sidebar-menu>li.active>a>i {
    color: #b5b5c3;
}

.sidebar-menu>li:hover>a>svg,
.sidebar-menu>li:active>a>svg,
.sidebar-menu>li.active>a>svg {
    color: #b5b5c3;
}

.sidebar-menu>li.menu-open>a>i {
    color: #b5b5c3;
}

.sidebar-menu>li.menu-open>a>svg {
    color: #b5b5c3;
}

.sidebar-menu>li .badge {
    margin-right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    line-height: 16px;
    text-align: center;
    font-weight: 300;
    margin-top: 3px;
}

.sidebar-menu>li .label {
    margin-right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    line-height: 16px;
    text-align: center;
    font-weight: 300;
}

.sidebar-menu li.header {
    padding: 15px 25px 15px 25px;
    font-size: 12px;
    font-weight: 400;
    color: #b5b5c3;
    opacity: 0.5;
    text-transform: uppercase;
}

.sidebar-menu li>a>.fa-angle-right {
    width: auto;
    height: auto;
    padding: 0;
    margin-right: 10px;
    -webkit-transition: transform .5s ease;
    -o-transition: transform .5s ease;
    transition: transform .5s ease;
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -8px;
}

.sidebar-menu .menu-open>a>.fa-angle-right {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

.sidebar-menu .active>.treeview-menu {
    display: block;
}

@media (min-width: 768px) {
    .sidebar-mini.sidebar-expanded-on-hover .content-wrapper {
        margin-left: 60px;
    }

    .sidebar-mini.sidebar-expanded-on-hover .main-header .navbar {
        margin-left: 18.58rem;
    }

    .sidebar-mini.sidebar-collapse .content-wrapper {
        margin-left: 60px;
        z-index: 840;
    }

    .sidebar-mini.sidebar-collapse .main-footer {
        margin-left: 60px;
        z-index: 840;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar {
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        transform: translate(0, 0);
        width: 60px;
        z-index: 850;
    }

    .sidebar-mini.sidebar-collapse .sidebar-menu>li {
        position: relative;
        padding: 0px 15px;
        margin: 0 0px;
    }

    .sidebar-mini.sidebar-collapse .sidebar-menu>li>a {
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .sidebar-mini.sidebar-collapse .sidebar-menu>li>a i {
        margin-right: 0;
    }

    .sidebar-mini.sidebar-collapse .sidebar-menu>li>a i.fa.fa-angle-right {
        display: none;
    }

    .sidebar-mini.sidebar-collapse .sidebar-menu>li>a svg {
        margin-right: 0;
        margin-left: 11px;
    }

    .sidebar-mini.sidebar-collapse .sidebar-menu>li>a>span {
        border-top-right-radius: 5px;
        display: none !important;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .sidebar-mini.sidebar-collapse .sidebar-menu>li>a>.pull-right {
        display: none !important;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .sidebar-mini.sidebar-collapse .sidebar-menu>li:not(.treeview)>a>span {
        border-top-right-radius: 5px;
    }

    .sidebar-mini.sidebar-collapse .sidebar-menu>li>.treeview-menu {
        padding-top: 10px;
        padding-bottom: 10px;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
        display: none !important;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .sidebar-mini.sidebar-collapse .sidebar-menu li.header {
        visibility: hidden;
        overflow: hidden;
        width: 0;
        height: 0;
        padding: 0;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .sidebar-mini.sidebar-collapse .sidebar-form {
        display: none !important;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .sidebar-mini:not(.sidebar-mini-expand-feature).sidebar-collapse .sidebar-menu>li:hover>a>span:not(.pull-right) {
        display: none !important;
        position: absolute;
        width: 18.58rem;
        left: 54px;
        text-align: left;
    }

    .sidebar-mini:not(.sidebar-mini-expand-feature).sidebar-collapse .sidebar-menu>li:hover>a>span {
        top: 0;
        margin-left: -15px;
        padding: 14px 0px 14px 30px;
        background-color: inherit;
    }

    .sidebar-mini:not(.sidebar-mini-expand-feature).sidebar-collapse .sidebar-menu>li:hover>a:after {
        display: none;
    }

    .sidebar-mini:not(.sidebar-mini-expand-feature).sidebar-collapse .sidebar-menu>li:hover>.treeview-menu {
        display: block !important;
        position: absolute;
        width: 18.58rem;
        left: 64px;
        top: 0px;
        margin-left: 0;
    }

    .sidebar-mini:not(.sidebar-mini-expand-feature).sidebar-collapse .sidebar-menu>li:hover>.treeview-menu>.treeview .treeview-menu:after {
        content: "";
        position: absolute;
        background: inherit;
        width: 10px;
        height: 10px;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        left: -5px;
        top: 20px;
    }

    .sidebar-mini:not(.sidebar-mini-expand-feature).sidebar-collapse .sidebar-menu>li:hover>.treeview-menu:after {
        content: "";
        position: absolute;
        background: inherit;
        width: 10px;
        height: 10px;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        left: -5px;
        top: 20px;
    }

    .sidebar-collapse .treeview-menu {
        margin-left: -10px !important;
    }

    .control-sidebar-open .content-wrapper {
        margin-right: 345px;
    }

    .control-sidebar-open .main-footer {
        margin-right: 345px;
    }
}

.sidebar-menu {
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-menu>li.header {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

.sidebar-menu>li.header.line {
    background-color: #f3f6f9;
    height: 2px;
    padding: 0;
    margin: 20px 0px;
}

.sidebar-menu>li:hover.header,
.sidebar-menu>li:active.header,
.sidebar-menu>li:focus.header,
.sidebar-menu>li.active.header {
    background: transparent !important;
    border-color: transparent !important;
}

.sidebar-menu li>a {
    position: relative;
    font-weight: 500;
    opacity: 0.9;
    white-space: nowrap;
    align-items: center;
    line-height: 25px;
}

.sidebar-menu li>a>span {
    top: 3px;
    position: relative;
}

.sidebar-menu:hover {
    overflow: visible;
}

.sidebar-menu .treeview-menu>li.active>a {
    opacity: 1;
}

.sidebar-menu .treeview-menu>li.active>a:hover {
    opacity: 1;
}

.sidebar-menu .treeview-menu>li>a:hover {
    opacity: 1;
}

.sidebar-collapse .sidebar-menu.tree {
    padding: 0;
    margin: 0;
}

.sidebar-collapse .sidebar-menu>li:hover>a,
.sidebar-collapse .sidebar-menu>li:active>a,
.sidebar-collapse .sidebar-menu>li.active>a {
    border-radius: 0;
}

.sidebar-collapse .sidebar-menu>li.menu-open>a {
    border-radius: 0;
}

.sidebar-form {
    float: left;
    margin: 20px 10px 10px;
    overflow: hidden;
    text-overflow: clip;
}

.control-sidebar-bg {
    position: fixed;
    z-index: 1000;
    bottom: 0;
    top: 0;
    right: -355px;
    width: 345px;
    -webkit-transition: right .3s ease-in-out;
    -o-transition: right .3s ease-in-out;
    transition: right .3s ease-in-out;
}

.control-sidebar {
    top: 0;
    right: -355px;
    width: 345px;
    -webkit-transition: right .3s ease-in-out;
    -o-transition: right .3s ease-in-out;
    transition: right .3s ease-in-out;
    position: absolute;
    padding: 30px 30px 30px 30px;
    z-index: 9999;
}

.control-sidebar>.tab-content {
    padding: 15px 0px;
}

.control-sidebar.control-sidebar-open {
    right: 0;
}

.control-sidebar.control-sidebar-open.control-sidebar-bg,
.control-sidebar.control-sidebar-open+.control-sidebar-bg {
    right: 0;
}

@media (min-width: 768px) {
    .control-sidebar {
        padding: 30px;
        right: -345px;
        width: 345px;
    }

    .control-sidebar-bg {
        right: -345px;
        width: 345px;
    }
}

@media (max-width: 767px) {
    .control-sidebar {
        padding: 20px;
        width: 300px;
    }

    .control-sidebar-bg {
        width: 300px;
    }
}

.control-sidebar-open .control-sidebar {
    right: 0;
}

.control-sidebar-open .control-sidebar-bg {
    right: 0;
}

.fixed .control-sidebar {
    position: fixed;
    height: 100%;
    overflow-y: auto;
    padding-bottom: 50px;
}


.treeview-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.treeview-menu .treeview-menu {
    padding-left: 20px;
}

.treeview-menu>li {
    margin: 0;
}

.treeview-menu>li>a {
    padding: 5px 5px 5px 25px;
    display: block;
    font-size: 1rem;
}

.treeview-menu>li>a>i {
    width: 20px;
    padding-right: 20px;
    padding-left: 10px;
}

.treeview-menu>li>a>.fa-angle-left {
    width: auto;
}

.sidebar-collapse .treeview-menu>li {
    margin: 0;
}

.sidebar-collapse .treeview-menu>li>a {
    padding: 5px 10px 5px 10px;
}

@media (min-width: 768px) {

    .sidebar-collapse .ps {
        overflow: visible !important;
    }

    .sidebar-collapse .sidebar-menu>li>a {
        padding: 8px 12px;
    }

    .sidebar-collapse .sidebar-menu>li.menu-open>a,
    .sidebar-collapse .sidebar-menu>li.active>a {
        background-color: transparent !important;
    }

    .sidebar-collapse .sidebar-menu .treeview-menu>.treeview {
        position: relative;
    }

    .sidebar-collapse .sidebar-menu .treeview-menu>.treeview .treeview-menu {
        padding: 10px 0px;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
        width: 18.58rem;
        top: 0;
        display: none !important;
    }

    .sidebar-collapse .sidebar-menu .treeview-menu>.treeview:hover>.treeview-menu {
        display: block !important;
        position: absolute;
        left: 18.58rem;
    }
}

#chat-box-body {
    z-index: 9998;
    position: relative;
}

#chat-box-body #chat-circle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    cursor: pointer;
    box-shadow: 0px 3px 16px 0px rgba(0, 0, 0, 0.2), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    transform: scale(1);
    border-radius: 10px;
}

#chat-box-body.show #chat-circle {
    z-index: 0;
    transform: scale(0);
}

.chat-box-toggle {
    cursor: pointer;
}

.chat-box-body {
    position: relative;
    height: 370px;
    height: auto;
    border-bottom: 1px solid #ebedf3;
    border-top: 1px solid #ebedf3;
    overflow: hidden;
}

.chat-box-body:after {
    content: "";
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDIwMCAyMDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAgOCkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGNpcmNsZSBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS4yNSIgY3g9IjE3NiIgY3k9IjEyIiByPSI0Ii8+PHBhdGggZD0iTTIwLjUuNWwyMyAxMW0tMjkgODRsLTMuNzkgMTAuMzc3TTI3LjAzNyAxMzEuNGw1Ljg5OCAyLjIwMy0zLjQ2IDUuOTQ3IDYuMDcyIDIuMzkyLTMuOTMzIDUuNzU4bTEyOC43MzMgMzUuMzdsLjY5My05LjMxNiAxMC4yOTIuMDUyLjQxNi05LjIyMiA5LjI3NC4zMzJNLjUgNDguNXM2LjEzMSA2LjQxMyA2Ljg0NyAxNC44MDVjLjcxNSA4LjM5My0yLjUyIDE0LjgwNi0yLjUyIDE0LjgwNk0xMjQuNTU1IDkwcy03LjQ0NCAwLTEzLjY3IDYuMTkyYy02LjIyNyA2LjE5Mi00LjgzOCAxMi4wMTItNC44MzggMTIuMDEybTIuMjQgNjguNjI2cy00LjAyNi05LjAyNS0xOC4xNDUtOS4wMjUtMTguMTQ1IDUuNy0xOC4xNDUgNS43IiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS4yNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PHBhdGggZD0iTTg1LjcxNiAzNi4xNDZsNS4yNDMtOS41MjFoMTEuMDkzbDUuNDE2IDkuNTIxLTUuNDEgOS4xODVIOTAuOTUzbC01LjIzNy05LjE4NXptNjMuOTA5IDE1LjQ3OWgxMC43NXYxMC43NWgtMTAuNzV6IiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS4yNSIvPjxjaXJjbGUgZmlsbD0iIzAwMCIgY3g9IjcxLjUiIGN5PSI3LjUiIHI9IjEuNSIvPjxjaXJjbGUgZmlsbD0iIzAwMCIgY3g9IjE3MC41IiBjeT0iOTUuNSIgcj0iMS41Ii8+PGNpcmNsZSBmaWxsPSIjMDAwIiBjeD0iODEuNSIgY3k9IjEzNC41IiByPSIxLjUiLz48Y2lyY2xlIGZpbGw9IiMwMDAiIGN4PSIxMy41IiBjeT0iMjMuNSIgcj0iMS41Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTkzIDcxaDN2M2gtM3ptMzMgODRoM3YzaC0zem0tODUgMThoM3YzaC0zeiIvPjxwYXRoIGQ9Ik0zOS4zODQgNTEuMTIybDUuNzU4LTQuNDU0IDYuNDUzIDQuMjA1LTIuMjk0IDcuMzYzaC03Ljc5bC0yLjEyNy03LjExNHpNMTMwLjE5NSA0LjAzbDEzLjgzIDUuMDYyLTEwLjA5IDcuMDQ4LTMuNzQtMTIuMTF6bS04MyA5NWwxNC44MyA1LjQyOS0xMC44MiA3LjU1Ny00LjAxLTEyLjk4N3pNNS4yMTMgMTYxLjQ5NWwxMS4zMjggMjAuODk3TDIuMjY1IDE4MGwyLjk0OC0xOC41MDV6IiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS4yNSIvPjxwYXRoIGQ9Ik0xNDkuMDUgMTI3LjQ2OHMtLjUxIDIuMTgzLjk5NSAzLjM2NmMxLjU2IDEuMjI2IDguNjQyLTEuODk1IDMuOTY3LTcuNzg1LTIuMzY3LTIuNDc3LTYuNS0zLjIyNi05LjMzIDAtNS4yMDggNS45MzYgMCAxNy41MSAxMS42MSAxMy43MyAxMi40NTgtNi4yNTcgNS42MzMtMjEuNjU2LTUuMDczLTIyLjY1NC02LjYwMi0uNjA2LTE0LjA0MyAxLjc1Ni0xNi4xNTcgMTAuMjY4LTEuNzE4IDYuOTIgMS41ODQgMTcuMzg3IDEyLjQ1IDIwLjQ3NiAxMC44NjYgMy4wOSAxOS4zMzEtNC4zMSAxOS4zMzEtNC4zMSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjEuMjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvZz48L3N2Zz4=");
    opacity: 0.1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    position: absolute;
    z-index: -1;
}

#chat-input {
    background: #ffffff;
    width: 100%;
    position: relative;
    height: 47px;
    padding-top: 10px;
    padding-right: 50px;
    padding-bottom: 10px;
    padding-left: 15px;
    border: none;
    resize: none;
    outline: none;
    color: #172b4c;
    border-top: none;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    overflow: hidden;
}

.chat-input>form {
    margin-bottom: 0;
    position: relative;
}

#chat-input::-webkit-input-placeholder {

    color: #ccc;
}

#chat-input::-moz-placeholder {

    color: #ccc;
}

#chat-input:-ms-input-placeholder {

    color: #ccc;
}

#chat-input:-moz-placeholder {

    color: #ccc;
}

.chat-submit {
    position: absolute;
    bottom: 6px;
    right: 10px;
    background: transparent;
    box-shadow: none;
    border: none;
    border-radius: 10px;
    color: #5A5EB9;
    width: 35px;
    height: 35px;
}

.chat-submit:focus {
    outline: none;
}

.chat-logs {
    padding: 15px;
    height: 370px;
    overflow-y: scroll;
}

.chat-logs::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

.chat-logs::-webkit-scrollbar {
    width: 5px;
    background-color: #F5F5F5;
}

.chat-logs::-webkit-scrollbar-thumb {
    background-color: #5156be;
}

@media only screen and (max-width: 500px) {
    .chat-logs {
        height: 40vh;
    }
}

.chat-msg.user div>.msg-avatar img {
    border-radius: 10px;
    float: left;
}

.chat-msg.self div>.msg-avatar img {
    border-radius: 10px;
    float: right;
}

.cm-msg-text {
    background: #f3f6f9;
    padding: 10px 15px 10px 15px;
    color: #666;
    max-width: 75%;
    float: left;
    margin-top: 10px;
    position: relative;
    margin-bottom: 20px;
    border-radius: 10px;
}

.chat-msg {
    clear: both;
}

.chat-msg.self>.cm-msg-text {
    float: right;
    background: #5156be;
    color: white;
}



.content-header {
    position: relative;
    padding: 0 0 1.5rem;
}

.content-header .page-title {
    margin: 0 0px 0 0;
    display: inline-block;
    padding: 0 1.5rem 0 0;
    color: #172b4c;
}

.content-header .breadcrumb-item+.breadcrumb-item::before {
    content: "-";
}

.content-header .breadcrumb {
    padding: 0;
    margin-bottom: 0;
    color: #2f579a;
    background-color: transparent;
}

.content-header .breadcrumb .breadcrumb-item a {
    color: #2f579a;
}

.content-header>.breadcrumb>li>a {
    color: #3b6dc1;
    text-decoration: none;
    display: inline-block;
}

.content-header>.breadcrumb>li>a>i {
    margin-right: 5px;
}

.content-header>.breadcrumb>li+li:before {
    content: '>\00a0';
}

.content-header>.container>.breadcrumb {
    position: relative;
    top: 0;
}

.content-header>.container>.breadcrumb>li>a {
    color: #3b6dc1;
    text-decoration: none;
    display: inline-block;
}

.content-header>.container>.breadcrumb>li>a>i {
    margin-right: 5px;
}

.content-header>.container>.breadcrumb>li+li:before {
    content: '>\00a0';
}

.breadcrumb-item.active {
    color: #172b4c;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #3b6dc1;
}

@media (max-width: 991px) {
    .content-header>.breadcrumb {
        position: relative;
        margin-top: 5px;
        top: 0;
        right: 0;
        float: none;
        background: #666666;
        padding-left: 10px;
    }

    .content-header>.breadcrumb li:before {
        color: #b3b3b3;
    }

    .content-header>.container>.breadcrumb {
        position: relative;
        margin-top: 5px;
        top: 0;
        right: 0;
        float: none;
        background: #666666;
        padding-left: 10px;
    }

    .content-header>.container>.breadcrumb li:before {
        color: #b3b3b3;
    }
}

.left-block {
    height: auto;
    width: 280px;
    position: absolute;
    padding: 0;
    border-right: 1px solid #f3f6f9;
    background-color: white;
}

.left-block .open-left-block {
    position: absolute;
    top: 45%;
    right: -41px;
    z-index: 9;
}

.fixed .left-block {
    height: 100%;
}

.fixed .left-block {
    position: fixed;
    top: 0;
    padding-top: 60px;
    padding-bottom: 60px;
}

@media (max-width: 767px) {
    .left-block {
        left: -280px;
        z-index: 1;
        position: fixed;
        -webkit-transition: -webkit-transform .3s ease-in-out, left .3s ease-in-out;
        -moz-transition: -moz-transform .3s ease-in-out, left .3s ease-in-out;
        -o-transition: -o-transform .3s ease-in-out, left .3s ease-in-out;
        transition: transform .3s ease-in-out, left .3s ease-in-out;
    }

    .left-block.open-panel {
        left: 0;
    }

    .fixed .left-block {
        padding-top: 125px;
    }
}

.scrollable {
    position: relative;
}


.progress {
    margin-bottom: 20px;
    border-radius: 5px;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.progress.sm {
    border-radius: 5px;
    height: 10px;
}

.progress.xs {
    border-radius: 5px;
    height: 7px;
}

.progress.vertical {
    position: relative;
    width: 30px;
    height: 200px;
    display: inline-block;
    margin-right: 10px;
}

.progress.vertical.sm {
    width: 20px;
}

.progress.vertical.xs {
    width: 20px;
}

.table tr>td .progress {
    margin: 0;
}

@media (max-width: 575px) {
    .hidden-xs-down {
        display: none !important;
    }
}

@media (min-width: 576px) {
    .hidden-sm-up {
        display: none !important;
    }
}

.customtab li a.nav-link {
    border: 0px;
    padding: 0.5rem 0.75rem;
    color: #737373;
}


.panel {
    position: relative;
    background-color: #ffffff;
    border: 0 solid transparent;
}

.panel>*:not(.panel-loading):not(.collapsing) {
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
}

.panel.is-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.panel>.alert {
    padding-left: 30px;
    padding-right: 30px;
}

.panel>.alert-dismissible {
    padding-right: 50px;
}

.panel-body {
    position: relative;
    padding: 1.25rem;
}

.panel-body .list-group-item {
    border-radius: 0;
}

.panel-body::after {
    display: block;
    content: "";
    clear: both;
}

.panel-body h1:first-child,
.panel-body h2:first-child,
.panel-body h3:first-child,
.panel-body h4:first-child,
.panel-body h5:first-child,
.panel-body h6:first-child,
.panel-body .h1:first-child,
.panel-body .h2:first-child,
.panel-body .h3:first-child,
.panel-body .h4:first-child,
.panel-body .h5:first-child,
.panel-body .h6:first-child {
    margin-top: 0;
}

.panel-body>*:last-child {
    margin-bottom: 0;
}

.panel-heading {
    position: relative;
    padding: 0;
    border-bottom: 1px solid transparent;
    border-top-right-radius: 0.214rem;
    border-top-left-radius: 0.214rem;
}

.panel-heading+.alert {
    border-radius: 0;
}

.panel-heading>.nav-tabs {
    border-bottom: none;
}

.panel-heading+.nav-tabs {
    margin-top: -0.715rem;
}

.panel-heading>.dropdown .dropdown-toggle {
    color: inherit;
}

.panel-heading+.panel-body {
    padding-top: 0;
}

.panel-heading+.list-group .list-group-item:first-child {
    border-top-width: 0;
}

.panel-title {
    display: block;
    margin-top: 0;
    margin-bottom: 0;
    padding: 1.25rem;
    font-size: 18px;
    color: #4d4d4d;
}

.panel-title>.icon,
.panel-title>.badge {
    margin-right: 10px;
}

.panel-title small,
.panel-title .small {
    color: #737373;
}

.panel-title small>a,
.panel-title .small>a {
    color: inherit;
}

.panel-title>small>a,
.panel-title>.small>a {
    color: inherit;
}

.panel-title>a {
    color: inherit;
}

@media (max-width: 575px) {

    .panel>.alert {
        padding-left: 20px;
        padding-right: 20px;
    }

    .panel>.alert-dismissible {
        padding-right: 40px;
    }
}

.panel>.table {
    margin-bottom: 0;
}

.panel>.table:first-child {
    border-top-right-radius: 0.214rem;
    border-top-left-radius: 0.214rem;
}

.panel>.table:first-child>thead:first-child>tr:first-child {
    border-top-left-radius: 0.214rem;
    border-top-right-radius: 0.214rem;
}

.panel>.table:first-child>thead:first-child>tr:first-child td:first-child {
    border-top-left-radius: 0.214rem;
}

.panel>.table:first-child>thead:first-child>tr:first-child th:first-child {
    border-top-left-radius: 0.214rem;
}

.panel>.table:first-child>thead:first-child>tr:first-child td:last-child {
    border-top-right-radius: 0.214rem;
}

.panel>.table:first-child>thead:first-child>tr:first-child th:last-child {
    border-top-right-radius: 0.214rem;
}

.panel>.table:first-child>tbody:first-child>tr:first-child {
    border-top-left-radius: 0.214rem;
    border-top-right-radius: 0.214rem;
}

.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child {
    border-top-left-radius: 0.214rem;
}

.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child {
    border-top-left-radius: 0.214rem;
}

.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child {
    border-top-right-radius: 0.214rem;
}

.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child {
    border-top-right-radius: 0.214rem;
}

.panel>.table:last-child {
    border-bottom-right-radius: 0.214rem;
    border-bottom-left-radius: 0.214rem;
}

.panel>.table:last-child>thead:last-child>tr:last-child {
    border-bottom-left-radius: 0.214rem;
    border-bottom-right-radius: 0.214rem;
}

.panel>.table:last-child>thead:last-child>tr:last-child td:last-child {
    border-bottom-left-radius: 0.214rem;
}

.panel>.table:last-child>thead:last-child>tr:last-child th:last-child {
    border-bottom-left-radius: 0.214rem;
}

.panel>.table:last-child>thead:last-child>tr:last-child td:first-child {
    border-bottom-right-radius: 0.214rem;
}

.panel>.table:last-child>thead:last-child>tr:last-child th:first-child {
    border-bottom-right-radius: 0.214rem;
}

.panel>.table:last-child>tbody:last-child>tr:last-child {
    border-bottom-left-radius: 0.214rem;
    border-bottom-right-radius: 0.214rem;
}

.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child {
    border-bottom-left-radius: 0.214rem;
}

.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child {
    border-bottom-left-radius: 0.214rem;
}

.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child {
    border-bottom-right-radius: 0.214rem;
}

.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child {
    border-bottom-right-radius: 0.214rem;
}

.panel>.table+.panel-body {
    border-top: 1px solid #cccccc;
}

.panel>.table>tbody:first-child>tr:first-child th,
.panel>.table>tbody:first-child>tr:first-child td {
    border-top: 0;
}

.panel>.table>tr>td:first-child,
.panel>.table>tr>th:first-child {
    padding-left: 30px;
}

.panel>.table>tr>td:last-child,
.panel>.table>tr>th:last-child {
    padding-right: 30px;
}

.panel>.table>thead>tr>td:first-child,
.panel>.table>thead>tr>th:first-child {
    padding-left: 30px;
}

.panel>.table>thead>tr>td:last-child,
.panel>.table>thead>tr>th:last-child {
    padding-right: 30px;
}

.panel>.table>tbody>tr>td:first-child,
.panel>.table>tbody>tr>th:first-child {
    padding-left: 30px;
}

.panel>.table>tbody>tr>td:last-child,
.panel>.table>tbody>tr>th:last-child {
    padding-right: 30px;
}

.panel>.table>tbody:first-child>tr:first-child th,
.panel>.table>tbody:first-child>tr:first-child td {
    border-top: 1px solid #cccccc;
}

.panel>.table>tfoot>tr>td:first-child,
.panel>.table>tfoot>tr>th:first-child {
    padding-left: 30px;
}

.panel>.table>tfoot>tr>td:last-child,
.panel>.table>tfoot>tr>th:last-child {
    padding-right: 30px;
}

.panel>.table-responsive {
    border: 0;
    margin-bottom: 0;
}

.panel>.table-responsive>.table {
    margin-bottom: 0;
}

.panel>.table-responsive>.table caption {
    padding-left: 30px 30px;
    padding-right: 30px 30px;
}

.panel>.table-responsive:first-child>.table:first-child {
    border-top-right-radius: 0.214rem;
    border-top-left-radius: 0.214rem;
}

.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child {
    border-top-left-radius: 0.214rem;
    border-top-right-radius: 0.214rem;
}

.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child {
    border-top-left-radius: 0.214rem;
}

.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child {
    border-top-left-radius: 0.214rem;
}

.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child {
    border-top-right-radius: 0.214rem;
}

.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child {
    border-top-right-radius: 0.214rem;
}

.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child {
    border-top-left-radius: 0.214rem;
    border-top-right-radius: 0.214rem;
}

.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child {
    border-top-left-radius: 0.214rem;
}

.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child {
    border-top-left-radius: 0.214rem;
}

.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child {
    border-top-right-radius: 0.214rem;
}

.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child {
    border-top-right-radius: 0.214rem;
}

.panel>.table-responsive:last-child>.table:last-child {
    border-bottom-right-radius: 0.214rem;
    border-bottom-left-radius: 0.214rem;
}

.panel>.table-responsive:last-child>.table:last-child>thead:last-child>tr:last-child {
    border-bottom-left-radius: 0.214rem;
    border-top-right-radius: 0.214rem;
}

.panel>.table-responsive:last-child>.table:last-child>thead:last-child>tr:last-child td:last-child {
    border-bottom-left-radius: 0.214rem;
}

.panel>.table-responsive:last-child>.table:last-child>thead:last-child>tr:last-child th:last-child {
    border-bottom-left-radius: 0.214rem;
}

.panel>.table-responsive:last-child>.table:last-child>thead:last-child>tr:last-child td:first-child {
    border-bottom-right-radius: 0.214rem;
}

.panel>.table-responsive:last-child>.table:last-child>thead:last-child>tr:last-child th:first-child {
    border-bottom-right-radius: 0.214rem;
}

.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child {
    border-bottom-left-radius: 0.214rem;
    border-bottom-right-radius: 0.214rem;
}

.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child {
    border-bottom-left-radius: 0.214rem;
}

.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child {
    border-bottom-left-radius: 0.214rem;
}

.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child {
    border-bottom-right-radius: 0.214rem;
}

.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child {
    border-bottom-right-radius: 0.214rem;
}

.panel>.table-responsive+.panel-body {
    border-top: 1px solid #cccccc;
}

.panel>.table-responsive>.table-bordered {
    border: 0;
}

.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,
.panel>.table-responsive>.table-bordered>thead>tr>td:first-child {
    border-left: 0;
}

.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,
.panel>.table-responsive>.table-bordered>thead>tr>td:last-child {
    border-right: 0;
}

.panel>.table-responsive>.table-bordered>thead>tr:first-child>th,
.panel>.table-responsive>.table-bordered>thead>tr:first-child>td {
    border-bottom: 0;
}

.panel>.table-responsive>.table-bordered>thead>tr:last-child>th,
.panel>.table-responsive>.table-bordered>thead>tr:last-child>td {
    border-bottom: 0;
}

.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,
.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child {
    border-left: 0;
}

.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,
.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child {
    border-right: 0;
}

.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,
.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td {
    border-bottom: 0;
}

.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,
.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td {
    border-bottom: 0;
}

.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,
.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child {
    border-left: 0;
}

.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,
.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child {
    border-right: 0;
}

.panel>.table-responsive .table>tr>td:first-child,
.panel>.table-responsive .table>tr>th:first-child {
    padding-left: 30px;
}

.panel>.table-responsive .table>tr>td:last-child,
.panel>.table-responsive .table>tr>th:last-child {
    padding-right: 30px;
}

.panel>.table-responsive .table>thead>tr>td:first-child,
.panel>.table-responsive .table>thead>tr>th:first-child {
    padding-left: 30px;
}

.panel>.table-responsive .table>thead>tr>td:last-child,
.panel>.table-responsive .table>thead>tr>th:last-child {
    padding-right: 30px;
}

.panel>.table-responsive .table>tbody>tr>td:first-child,
.panel>.table-responsive .table>tbody>tr>th:first-child {
    padding-left: 30px;
}

.panel>.table-responsive .table>tbody>tr>td:last-child,
.panel>.table-responsive .table>tbody>tr>th:last-child {
    padding-right: 30px;
}

.panel>.table-responsive .table>tfoot>tr>td:first-child,
.panel>.table-responsive .table>tfoot>tr>th:first-child {
    padding-left: 30px;
}

.panel>.table-responsive .table>tfoot>tr>td:last-child,
.panel>.table-responsive .table>tfoot>tr>th:last-child {
    padding-right: 30px;
}

.panel>.table caption {
    padding-left: 30px 30px;
    padding-right: 30px 30px;
}

.panel>.table-bordered {
    border: 0;
}

.panel>.table-bordered>thead>tr>th:first-child,
.panel>.table-bordered>thead>tr>td:first-child {
    border-left: 0;
}

.panel>.table-bordered>thead>tr>th:last-child,
.panel>.table-bordered>thead>tr>td:last-child {
    border-right: 0;
}

.panel>.table-bordered>thead>tr:first-child>th,
.panel>.table-bordered>thead>tr:first-child>td {
    border-bottom: 0;
}

.panel>.table-bordered>thead>tr:last-child>th,
.panel>.table-bordered>thead>tr:last-child>td {
    border-bottom: 0;
}

.panel>.table-bordered>tbody>tr>th:first-child,
.panel>.table-bordered>tbody>tr>td:first-child {
    border-left: 0;
}

.panel>.table-bordered>tbody>tr>th:last-child,
.panel>.table-bordered>tbody>tr>td:last-child {
    border-right: 0;
}

.panel>.table-bordered>tbody>tr:first-child>th,
.panel>.table-bordered>tbody>tr:first-child>td {
    border-bottom: 0;
}

.panel>.table-bordered>tbody>tr:last-child>th,
.panel>.table-bordered>tbody>tr:last-child>td {
    border-bottom: 0;
}

.panel>.table-bordered>tfoot>tr>th:first-child,
.panel>.table-bordered>tfoot>tr>td:first-child {
    border-left: 0;
}

.panel>.table-bordered>tfoot>tr>th:last-child,
.panel>.table-bordered>tfoot>tr>td:last-child {
    border-right: 0;
}

.panel>.list-group {
    margin-bottom: 0;
}

.panel>.list-group .list-group-item {
    border-width: 1px 0;
    border-radius: 0;
    padding-right: 30px;
    padding-left: 30px;
}

.panel>.list-group:first-child .list-group-item:first-child {
    border-top: 0;
    border-top-right-radius: 0.214rem;
    border-top-left-radius: 0.214rem;
}

.panel>.list-group:last-child .list-group-item:last-child {
    border-bottom: 0;
    border-bottom-right-radius: 0.214rem;
    border-bottom-left-radius: 0.214rem;
}

.panel>.panel-collapse>.table {
    margin-bottom: 0;
}

.panel>.panel-collapse>.table caption {
    padding-left: 30px 30px;
    padding-right: 30px 30px;
}

.panel>.panel-collapse>.list-group {
    margin-bottom: 0;
}

.panel>.panel-collapse>.list-group .list-group-item {
    border-width: 1px 0;
    border-radius: 0;
}

.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child {
    border-top: 0;
    border-top-right-radius: 0.214rem;
    border-top-left-radius: 0.214rem;
}

.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child {
    border-bottom: 0;
    border-bottom-right-radius: 0.214rem;
    border-bottom-left-radius: 0.214rem;
}

.panel>.panel-body+.table {
    border-top: 1px solid #cccccc;
}

.panel>.panel-body+.table-responsive {
    border-top: 1px solid #cccccc;
}

.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

@media (max-width: 575px) {

    .panel>.table>tr>td:first-child,
    .panel>.table>tr>th:first-child {
        padding-left: 20px;
    }

    .panel>.table>tr>td:last-child,
    .panel>.table>tr>th:last-child {
        padding-right: 20px;
    }

    .panel>.table>thead>tr>td:first-child,
    .panel>.table>thead>tr>th:first-child {
        padding-left: 20px;
    }

    .panel>.table>thead>tr>td:last-child,
    .panel>.table>thead>tr>th:last-child {
        padding-right: 20px;
    }

    .panel>.table>tbody>tr>td:first-child,
    .panel>.table>tbody>tr>th:first-child {
        padding-left: 20px;
    }

    .panel>.table>tbody>tr>td:last-child,
    .panel>.table>tbody>tr>th:last-child {
        padding-right: 20px;
    }

    .panel>.table>tfoot>tr>td:first-child,
    .panel>.table>tfoot>tr>th:first-child {
        padding-left: 20px;
    }

    .panel>.table>tfoot>tr>td:last-child,
    .panel>.table>tfoot>tr>th:last-child {
        padding-right: 20px;
    }

    .panel>.table-responsive .table>tr>td:first-child,
    .panel>.table-responsive .table>tr>th:first-child {
        padding-left: 20px;
    }

    .panel>.table-responsive .table>tr>td:last-child,
    .panel>.table-responsive .table>tr>th:last-child {
        padding-right: 20px;
    }

    .panel>.table-responsive .table>thead>tr>td:first-child,
    .panel>.table-responsive .table>thead>tr>th:first-child {
        padding-left: 20px;
    }

    .panel>.table-responsive .table>thead>tr>td:last-child,
    .panel>.table-responsive .table>thead>tr>th:last-child {
        padding-right: 20px;
    }

    .panel>.table-responsive .table>tbody>tr>td:first-child,
    .panel>.table-responsive .table>tbody>tr>th:first-child {
        padding-left: 20px;
    }

    .panel>.table-responsive .table>tbody>tr>td:last-child,
    .panel>.table-responsive .table>tbody>tr>th:last-child {
        padding-right: 20px;
    }

    .panel>.table-responsive .table>tfoot>tr>td:first-child,
    .panel>.table-responsive .table>tfoot>tr>th:first-child {
        padding-left: 20px;
    }

    .panel>.table-responsive .table>tfoot>tr>td:last-child,
    .panel>.table-responsive .table>tfoot>tr>th:last-child {
        padding-right: 20px;
    }

    .panel>.list-group .list-group-item {
        padding-right: 20px;
        padding-left: 20px;
    }
}

.panel-group {
    margin-bottom: 22px;
}

.panel-group .panel {
    margin-bottom: 0;
    border-radius: 0.286rem;
}

.panel-group .panel+.panel {
    margin-top: 5px;
}

.panel-group .panel-heading {
    border-bottom: 0;
}

.panel-group .panel-heading+.panel-collapse>.panel-body {
    border-top: 1px solid #cccccc;
}

.panel-group .panel-heading+.panel-collapse>.list-group {
    border-top: 1px solid #cccccc;
}

@media (max-width: 575px) {

    .panel-title,
    .panel-body {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.panel-group .panel {
    margin-bottom: 0;
    border-radius: 0.286rem;
    box-shadow: none;
}

.panel-group .panel+.panel {
    margin-top: 10px;
}

.panel-group .panel-title {
    position: relative;
    padding: 15px 15px 15px 45px;
    font-size: 1rem;
}

.panel-group .panel-title:before,
.panel-group .panel-title:after {
    position: absolute;
    top: 15px;
    left: 0px;
    font-family: "FontAwesome";
    transition: all 300ms linear 0s;
}

.panel-group .panel-title:before {
    content: "\f067";
}

.panel-group .panel-title:after {
    content: "\f068";
}

.panel-group .panel-title[aria-expanded="false"]:before {
    opacity: 1;
}

.panel-group .panel-title[aria-expanded="false"]:after {
    opacity: 0;
    transform: rotate(-180deg);
}

.panel-group .panel-title[aria-expanded="true"]:before {
    opacity: 0;
    transform: rotate(180deg);
}

.panel-group .panel-title[aria-expanded="true"]:after {
    opacity: 1;
}

.panel-group .panel-title:hover,
.panel-group .panel-title:focus {
    color: #737373;
    text-decoration: none;
}

.panel-group .panel-title:focus {
    outline: none;
}

.panel-group .panel-heading+.panel-collapse {
    margin: 0;
}

.panel-group .panel-collapse .panel-body {
    padding: 15px 30px;
}

.panel-group-continuous .panel {
    border-radius: 0;
}

.panel-group-continuous .panel:first-child {
    border-radius: 0.286rem 0.286rem 0 0;
}

.panel-group-continuous .panel:last-child {
    border-radius: 0 0 0.286rem 0.286rem;
}

.panel-group-continuous .panel+.panel {
    margin-top: 0;
    border-top: 1px solid #cccccc;
}

.panel-group-simple .panel {
    background: transparent;
    box-shadow: none;
}

.panel-group-simple .panel+.panel {
    margin-top: 0;
}

.panel-group-simple .panel-title {
    padding-left: 25px;
    padding-bottom: 10px;
}

.panel-group-simple .panel-title:before,
.panel-group-simple .panel-title:after {
    left: 5px;
}

.panel-group-simple .panel-collapse .panel-body {
    padding-left: 0;
    padding-right: 0;
    padding-top: 10px;
}


.myadmin-alert {
    border-radius: 0;
    color: #ffffff;
    padding: 12px 30px 12px 12px;
    position: relative;
    text-align: left;
}

.myadmin-alert a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

.myadmin-alert h4 {
    color: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: normal;
    margin: 0;
}

.myadmin-alert .img {
    border-radius: 3px;
    height: 40px;
    left: 12px;
    position: absolute;
    top: 12px;
    width: 40px;
}

.myadmin-alert .closed {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.429rem;
    font-weight: 500;
    padding: 4px;
    position: absolute;
    right: 3px;
    text-decoration: none;
    top: 0;
}

.myadmin-alert .closed:hover {
    color: #ffffff;
}

.myadmin-alert .cancel {
    background: rgba(255, 255, 255, 0.4);
    border: none;
    border-radius: 3px;
    color: rgba(0, 0, 0, 0.8);
    outline: 0;
    padding: 4px 10px;
}

.myadmin-alert .cancel:hover {
    opacity: .9;
}

.myadmin-alert-click {
    cursor: pointer;
    padding-right: 12px;
}

.media {
    flex-shrink: 0;
}

.media.active {
    background-color: #f3f6f9;
}


.avatar {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    text-transform: uppercase;
    border-radius: 10px;
}

.avatar img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    vertical-align: top;
}

.avatar[class*='status-']::after {
    content: '';
    position: absolute;
    right: 0px;
    bottom: 0;
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    border: 2px solid #ffffff;
}

.avatar[class*='status-'].avatar-lg::after {
    right: 4px;
}

.avatar-lg {
    width: 48px;
    height: 48px;
    line-height: 48px;
    font-size: 1.286rem;
}


.switch {
    font-weight: 300;
    letter-spacing: 0;
    margin-bottom: 0;
    line-height: 29px;
    cursor: pointer;
    white-space: nowrap;
}

.switch input {
    display: none;
}


@media (max-width: 767px) {

    .table>tbody>tr>td,
    .table>tbody>tr>th {
        white-space: nowrap;
    }

    .table>tfoot>tr>td,
    .table>tfoot>tr>th {
        white-space: nowrap;
    }

    .table>thead>tr>td,
    .table>thead>tr>th {
        white-space: nowrap;
    }
}

.table>tbody>tr>td,
.table>tbody>tr>th {

    vertical-align: middle;
}

.table>tfoot>tr>td,
.table>tfoot>tr>th {
    padding: 1rem;
    vertical-align: middle;
}

.table>thead>tr>td,
.table>thead>tr>th {
    padding: 1rem;
    vertical-align: middle;
}

.table tr td .progress {
    margin-top: 5px;
}

.table.align th {
    text-align: left;
}

.table.align td {
    text-align: right;
}

.table-bordered {
    border: 1px solid #d1d3e0;
}

.table-bordered>tbody>tr>td,
.table-bordered>tbody>tr>th {
    border: 1px solid #d1d3e0 !important;
}

.table-bordered>thead>tr>td,
.table-bordered>thead>tr>th {
    border: 1px solid #d1d3e0 !important;
    border-bottom-width: 2px;
}

.table-bordered>tfoot>tr>td,
.table-bordered>tfoot>tr>th {
    border: 1px solid #d1d3e0 !important;
}

.dataTables_info,
.dataTables_length {
    display: inline-block;
}

.dataTables_filter {
    float: right;
    padding-top: 5px;
}

.dataTables_filter input {
    border: 1px solid #cccccc;
    margin-left: 5px;
}

.dataTables_wrapper .dataTables_paginate {
    float: right;
    text-align: right;
    padding-top: .25em;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    padding: .5em 1em;
    margin-left: 2px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    color: #737373;
    border: 1px solid transparent;
    border-radius: 2px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #ffffff;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    cursor: not-allowed;
    color: #737373;
    border: 1px solid transparent;
    background: 0 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: #ffffff;
    background-color: #5156be;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:active {
    outline: 0;
    background-color: #737373;
}

.dataTables_wrapper .dataTables_paginate .ellipsis {
    padding: 0 1em;
}

tfoot input {
    width: 100%;
    padding: 3px;
    box-sizing: border-box;
}


.direct-chat .box-body {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.direct-chat-messages {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
    padding: 10px;
    height: 250px;
    overflow: auto;
}

.direct-chat-messages {
    -webkit-transition: -webkit-transform .5s ease-in-out;
    -moz-transition: -moz-transform .5s ease-in-out;
    -o-transition: -o-transform .5s ease-in-out;
    transition: transform .5s ease-in-out;
}

time {
    font-size: 0.8571rem;
    color: #608acf;
}


.mailbox-messages>.table {
    margin: 0;
}

.mailbox-messages table a {
    color: #737373;
}

.content-top-agile {
    text-align: center;
    position: relative;
}

@media (max-width: 767px) {
    .content-top-agile {
        border-radius: 25px 25px 0 0;
    }
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border: 1px solid #ee3158;
}

.form-group.error .help-block ul {
    padding: 0px;
    color: #ee3158;
}

.form-group.error .help-block ul li {
    list-style: none;
}

.form-group.validate input,
.form-group.validate select,
.form-group.validate textarea {
    border: 1px solid #05825f;
}

.form-group.issue .help-block ul {
    padding: 0px;
    color: #ffa800;
}

.form-group.issue .help-block ul li {
    list-style: none;
}

@media print {

    .content-header,
    .main-header,
    .main-sidebar {
        display: none !important;
    }

    .content-wrapper,
    .main-footer {
        margin-left: 0 !important;
        min-height: 0 !important;
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        transform: translate(0, 0);
    }

    .fixed .content-wrapper {
        padding-top: 0 !important;
    }

    .table-responsive {
        overflow: auto;
    }

    .table-responsive>.table tr td,
    .table-responsive>.table tr th {
        white-space: normal;
    }
}

.post {
    border-bottom: 1px solid #d9d9d9;
    margin-bottom: 15px;
    padding-bottom: 15px;
    color: #737373;
}

.post:last-of-type {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.calendar {
    float: left;
    margin-bottom: 0;
}

.external-event {
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
    font-weight: 300;
    margin: 0rem 1rem .25rem;
    cursor: move;
    border-radius: 5px;
}

.external-event i {
    margin-right: 5px;
}

.external-event:hover {
    background-color: #f3f6f9;
}


.text-bold,
.text-bold.table td,
.text-bold.table th {
    font-weight: 700;
}


.jqstooltip {
    padding: 5px !important;
    width: auto !important;
    height: auto !important;
}

.connectedSortable {
    min-height: 100px;
}

.sort-highlight {
    background: #f3f6f9;
    border: 1px dashed #ddd;
    margin-bottom: 10px;
}

.chart {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.chart canvas,
.chart svg {
    width: 100% !important;
}

.icolors {
    padding: 0;
    margin: 0;
    list-style: none;
}

.icolors>li {
    padding: 0;
    margin: 2px;
    float: left;
    height: 30px;
    width: 30px;
    text-align: center;
}

.icolors>li:first-child {
    margin-left: 0;
}

.icolors>li.active:after {
    content: "\2713 ";
    color: #ffffff;
    line-height: 30px;
}


.timer {
    font-size: 3.2rem;
    display: inline-block;
    vertical-align: top;
    font-weight: 600;
}

.text {
    font-size: 1rem;
    margin-top: 0.5em;
    text-align: center;
    letter-spacing: 4px;
    font-weight: 400;
}

@-moz-keyframes mappulse {
    0% {
        -moz-transform: scale(0);
        opacity: 0.0;
    }

    25% {
        -moz-transform: scale(0);
        opacity: 0.1;
    }

    50% {
        -moz-transform: scale(0.1);
        opacity: 0.3;
    }

    75% {
        -moz-transform: scale(0.5);
        opacity: 0.5;
    }

    100% {
        -moz-transform: scale(1);
        opacity: 0.0;
    }
}

@keyframes mappulse {
    0% {
        transform: scale(0);
        opacity: 0.0;
    }

    25% {
        transform: scale(0);
        opacity: 0.1;
    }

    50% {
        transform: scale(0.1);
        opacity: 0.3;
    }

    75% {
        transform: scale(0.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 0.0;
    }
}

@keyframes fading {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes opac {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }

    to {
        top: 0;
        opacity: 1;
    }
}

@keyframes animateleft {
    from {
        left: -300px;
        opacity: 0;
    }

    to {
        left: 0;
        opacity: 1;
    }
}

@keyframes animateright {
    from {
        right: -300px;
        opacity: 0;
    }

    to {
        right: 0;
        opacity: 1;
    }
}

@keyframes animatebottom {
    from {
        bottom: -300px;
        opacity: 0;
    }

    to {
        bottom: 0;
        opacity: 1;
    }
}

@keyframes animatezoom {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.form-group {
    margin-bottom: 1rem;
}

@-webkit-keyframes ripple {
    0% {
        -webkit-box-shadow: 0 0 0 1px transparent;
        box-shadow: 0 0 0 1px transparent;
    }

    50% {
        -webkit-box-shadow: 0 0 0 15px rgba(0, 0, 0, 0.1);
        box-shadow: 0 0 0 15px rgba(0, 0, 0, 0.1);
    }

    100% {
        -webkit-box-shadow: 0 0 0 15px transparent;
        box-shadow: 0 0 0 15px transparent;
    }
}

@keyframes ripple {
    0% {
        -webkit-box-shadow: 0 0 0 1px transparent;
        box-shadow: 0 0 0 1px transparent;
    }

    50% {
        -webkit-box-shadow: 0 0 0 15px rgba(0, 0, 0, 0.1);
        box-shadow: 0 0 0 15px rgba(0, 0, 0, 0.1);
    }

    100% {
        -webkit-box-shadow: 0 0 0 15px transparent;
        box-shadow: 0 0 0 15px transparent;
    }
}


[type="radio"]:not(:checked),
[type="radio"]:checked {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

[type="radio"]:not(:checked)+label,
[type="radio"]:checked+label {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    display: inline-block;
    height: 25px;
    line-height: 25px;
    font-size: 1rem;
    transition: .28s ease;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

[type="radio"]+label:before,
[type="radio"]+label:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    margin: 4px;
    width: 16px;
    height: 16px;
    z-index: 0;
    transition: .28s ease;
}


[type="radio"]:not(:checked)+label:before,
[type="radio"]:not(:checked)+label:after,
[type="radio"]:checked+label:before,
[type="radio"]:checked+label:after {
    border-radius: 50%;
}

[type="radio"]:not(:checked)+label:before,
[type="radio"]:not(:checked)+label:after {
    border: 2px solid #5a5a5a;
}

[type="radio"]:not(:checked)+label:after {
    z-index: -1;
    -webkit-transform: scale(0);
    transform: scale(0);
}


[type="radio"]:checked+label:before {
    border: 2px solid transparent;
    animation: ripple 0.2s linear forwards;
}

[type="radio"]:checked+label:after {
    border: 2px solid #26a69a;
}

[type="radio"]:checked+label:after {
    background-color: #26a69a;
    z-index: 0;
}

[type="radio"]:checked+label:after {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}


[type="radio"]:disabled:not(:checked)+label:before,
[type="radio"]:disabled:checked+label:before {
    background-color: transparent;
    border-color: rgba(0, 0, 0, 0.26);
    animation: ripple 0.2s linear forwards;
}

[type="radio"]:disabled+label {
    color: rgba(0, 0, 0, 0.26);
}

[type="radio"]:disabled:not(:checked)+label:before {
    border-color: rgba(0, 0, 0, 0.26);
}

[type="radio"]:disabled:checked+label:after {
    background-color: rgba(0, 0, 0, 0.26);
    border-color: #BDBDBD;
}



form p {
    margin-bottom: 10px;
    text-align: left;
}

form p:last-child {
    margin-bottom: 0;
}


[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

[type="checkbox"]+label {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    display: inline-block;
    height: 25px;
    line-height: 19px;
    font-size: 18px;
    ;
    -webkit-user-select: none;

    -moz-user-select: none;

    -khtml-user-select: none;

    -ms-user-select: none;
    user-select: none;
}

[type="checkbox"]+label:before,
[type="checkbox"]:not(.filled-in)+label:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    z-index: 0;
    border: 2px solid #5a5a5a;
    border-radius: 1px;
    margin-top: 2px;
    transition: .2s;
}

[type="checkbox"]:not(.filled-in)+label:after {
    border: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}

[type="checkbox"]:not(:checked):disabled+label:before {
    border: none;
    background-color: rgba(0, 0, 0, 0.26);
}

[type="checkbox"]:checked+label:before {
    top: -4px;
    left: -5px;
    width: 12px;
    height: 22px;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid #26a69a;
    border-bottom: 2px solid #26a69a;
    -webkit-transform: rotate(40deg);
    transform: rotate(40deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}

[type="checkbox"]:checked:disabled+label:before {
    border-right: 2px solid rgba(0, 0, 0, 0.26);
    border-bottom: 2px solid rgba(0, 0, 0, 0.26);
}


[type="checkbox"]:indeterminate+label:before {
    top: -11px;
    left: -12px;
    width: 10px;
    height: 22px;
    border-top: none;
    border-left: none;
    border-right: 2px solid #26a69a;
    border-bottom: none;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}

[type="checkbox"]:indeterminate:disabled+label:before {
    border-right: 2px solid rgba(0, 0, 0, 0.26);
    background-color: transparent;
}

[type="checkbox"].filled-in+label:after {
    border-radius: 2px;
}

[type="checkbox"].filled-in+label:before,
[type="checkbox"].filled-in+label:after {
    content: '';
    left: 0;
    position: absolute;

    transition: border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;
    z-index: 1;
}

[type="checkbox"].filled-in:not(:checked)+label:before {
    width: 0;
    height: 0;
    border: 3px solid transparent;
    left: 6px;
    top: 10px;
    -webkit-transform: rotateZ(37deg);
    transform: rotateZ(37deg);
    -webkit-transform-origin: 20% 40%;
    transform-origin: 100% 100%;
}

[type="checkbox"].filled-in:not(:checked)+label:after {
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 2px solid #5a5a5a;
    top: 0px;
    z-index: 0;
}

[type="checkbox"].filled-in:checked+label:before {
    top: 0;
    left: 1px;
    width: 8px;
    height: 13px;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid #ffffff !important;
    border-bottom: 2px solid #ffffff !important;
    -webkit-transform: rotateZ(37deg);
    transform: rotateZ(37deg);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}

[type="checkbox"].filled-in:checked+label:after {
    top: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #26a69a;
    background-color: #26a69a;
    z-index: 0;
}

[type="checkbox"].filled-in:disabled:not(:checked)+label:before {
    background-color: transparent;
    border: 2px solid transparent;
}

[type="checkbox"].filled-in:disabled:not(:checked)+label:after {
    border-color: transparent;
    background-color: #BDBDBD;
}

[type="checkbox"].filled-in:disabled:checked+label:before {
    background-color: transparent;
}

[type="checkbox"].filled-in:disabled:checked+label:after {
    background-color: #BDBDBD;
    border-color: #BDBDBD;
}

input[type="color"] {
    height: 42px;
}

.form-group label {
    font-weight: 500;
}

.form-control,
.form-select {
    border-radius: 5px;
    box-shadow: none;
    border-color: #86a4c3;
    height: auto;
}

.form-control:focus,
.form-select:focus {
    box-shadow: none;
}

.form-control::-webkit-input-placeholder,
.form-select::-webkit-input-placeholder {
    color: #666666;
    opacity: 1;
}

.form-control:-moz-placeholder,
.form-select:-moz-placeholder {
    color: #666666;
    opacity: 1;
}

.form-control::-moz-placeholder,
.form-select::-moz-placeholder {
    color: #666666;
    opacity: 1;
}

.form-control:-ms-input-placeholder,
.form-select:-ms-input-placeholder {
    color: #666666;
    opacity: 1;
}

.form-control:not(select),
.form-select:not(select) {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}


.input-group-btn {
    white-space: nowrap;
    vertical-align: middle;
}

textarea.form-control {
    border-radius: 5px;
}

.icheckbox_flat-blue {
    border-radius: 0;
}

.icheckbox_flat-blue input {
    border-radius: 0;
}

.input-group .input-group-text {
    border-color: #86a4c3;
    border-radius: 5px;
}

.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width: 100%;
}

.bootstrap-select .dropdown-menu li a {
    display: block;
    padding: 7px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #172b4c;
    white-space: nowrap;
}

.bootstrap-select .dropdown-menu li a:hover,
.bootstrap-select .dropdown-menu li a:focus {
    color: #5156be;
    background: #f3f6f9;
}

.bootstrap-select .show>.dropdown-menu {
    display: block;
}

.file-group input[type="file"] {
    position: absolute;
    opacity: 0;
    z-index: -1;
    width: 20px;
}

.file-group {
    position: relative;
    overflow: hidden;
    display: inline-grid;
}

.file-group input[type="file"] {
    position: absolute;
    opacity: 0;
    z-index: 2;
    width: 100%;
    display: block;
    top: 0;
    cursor: pointer;
}

.box {
    position: relative;
    margin-bottom: 1.5rem;
    width: 100%;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 0px;
    -webkit-transition: .5s;
    transition: .5s;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-shadow: 0 3px 5px 1px rgba(0, 0, 0, 0);
    box-shadow: 0 3px 5px 1px rgba(0, 0, 0, 0);
    border: 1px solid #EFEFFD;
}

.box.collapsed-box .box-body {
    display: none;
}

.box.collapsed-box .box-footer {
    display: none;
}

.box .border-right {
    border-right: 1px solid #f3f6f9;
}

.box .border-left {
    border-left: 1px solid #f3f6f9;
}

.box.box-solid {
    border-top: 0;
    overflow: hidden;
}

.box.box-solid[class*=bg]>.box-header {
    color: #ffffff;
}

.box.box-solid[class*=bg]>.box-header .box-title {
    color: #ffffff;
}


.box>.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.box .overlay {
    z-index: 50;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
}

.box .overlay>.fa {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
    color: #000000;
    font-size: 2.143rem;
}

.box .overlay.dark {
    background: rgba(0, 0, 0, 0.5);
}

.box .box-header .box-subtitle {
    font-weight: 300;
    margin-bottom: 0px;
    margin-top: 5px;
    color: #608acf;
}

.box .box-subtitle {
    font-weight: 300;
    margin-bottom: 0px;
    margin-top: 5px;
    color: #608acf;
}

.box-inverse {
    color: #ffffff !important;
    background-color: #172b4c;
}

.box-inverse .box-header {
    color: #ffffff !important;
}

.box-inverse .box-title {
    color: #ffffff !important;
}

.box-inverse h1,
.box-inverse h2,
.box-inverse h3,
.box-inverse h4,
.box-inverse h5,
.box-inverse h6 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.box-inverse small {
    color: rgba(255, 255, 255, 0.8) !important;
}

.box-inverse .box-controls li>a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.box-inverse .box-title small {
    opacity: 0.8;
}

.box-inverse .box-header {
    border-color: rgba(255, 255, 255, 0.15);
}

.box-inverse .box-footer {
    border-color: rgba(255, 255, 255, 0.15);
}

.box-header {
    color: #172b4c;
    display: block;
    padding: 1.5rem;
    position: relative;
    border-bottom: 1px solid #EFEFFD;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.box-header.with-border {
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.box-header .box-title {
    display: inline-block;
    margin: 0;
    font-weight: 400;
}

.box-header>i {
    display: inline-block;
    margin: 0 5px 0 0;
    font-weight: 500;
}

.box-header>.box-tools {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
}

.box-header>.box-tools [data-toggle=tooltip] {
    position: relative;
}

.box-header>.box-tools .dropdown-menu>li>a {
    color: #172b4c;
}

.box-header>.box-controls {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
}

.box-header img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.box-footer {
    border-top: 1px solid #EFEFFD;
    padding: 1.5rem;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.box-footer>*:last-child {
    margin-bottom: 0;
}

.box-footer img {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.box-controls {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    flex-direction: row-reverse;
}

.box-controls li>a {
    font-family: themify;
    font-size: 0.8571rem;
    display: inline-block;
    padding: 0 4px;
    margin: 0 4px;
    color: #608acf;
    opacity: .8;
    -webkit-transition: 0.3s linear;
    transition: 0.3s linear;
}

.box-controls li>a i {
    font-family: themify;
    font-size: 0.8571rem;
    display: inline-block;
    padding: 0 4px;
    margin: 0 4px;
    color: #608acf;
    opacity: .8;
    -webkit-transition: 0.3s linear;
    transition: 0.3s linear;
}

.box-controls li>button {
    font-size: 0.8571rem;
    display: inline-block;
    padding: 0 4px;
    margin: 0 4px;
    color: #608acf;
    opacity: .8;
    -webkit-transition: 0.3s linear;
    transition: 0.3s linear;
}

.box-controls li>button>i {
    font-family: themify;
}

.box-controls li:first-child>a {
    margin-right: 0;
}

.box-btn-close::before {
    content: "\e646";
}

.box-btn-slide::before {
    content: "\e648";
}

.box-btn-maximize::before {
    content: "\e6e8";
}

.box-btn-fullscreen::before {
    content: "\e659";
}

.control {
    position: relative;
}

.box-body {
    padding: 1.5rem;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    border-radius: 10px;
}

.box-body .box-title {
    display: inline-block;
    margin: 0;
    margin-bottom: 1rem;
    color: #172b4c;
}

.box-body>.table {
    margin-bottom: 0;
}

.box-body>*:last-child {
    margin-bottom: 0;
}

.box-body ul li {
    line-height: 24px;
}

.box-title {
    z-index: auto;
}

.box-title code {
    font-size: 0.7143rem;
}

.collapsed-box .box-header.with-border {
    border-bottom: none;
}

.box-fullscreen {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin-bottom: 0;
    z-index: 9999 !important;
}

.box-solid .box-body {
    background-color: #ffffff !important;
    color: #737373;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.box-solid .box-controls li a {
    color: #ffffff;
}

.box-solid .box-controls .dropdown-item {
    color: #172b4c;
}

.rotate-180 {
    display: inline-block;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}


.card {
    border-radius: 10px;
    box-shadow: 0 3px 5px 1px rgba(0, 0, 0, 0);
    margin-bottom: 1.5rem !important;
    border: 1px solid #EFEFFD;
}

.card-body {
    padding: 1.5rem;
}


.badge {
    border-radius: 3px;
    font-weight: 300;
    line-height: 1.3;
    font-size: 85%;
}

.badge:empty {
    display: inline-block;
    vertical-align: inherit;
}

.badge-pill {
    border-radius: 10rem;
}

.badge-secondary {
    color: #ffffff;
    background-color: #4d7bc9;
}

.badge-secondary[href]:hover,
.badge-secondary[href]:focus {
    color: #ffffff;
    background-color: #7498d5;
}

.badge-warning {
    color: #ffffff;
}

.list-group .badge-pill {
    margin-top: 3px;
}

.center-modal {
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: .4s;
    transition: .4s;
}

.center-modal.show {
    -webkit-transform: scale(1);
    transform: scale(1);
}

.center-modal .modal-dialog {
    margin: 0;
    width: 100%;
    position: absolute;
    bottom: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, 50%) !important;
    transform: translate(-50%, 50%) !important;
}

.modal {
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none !important;
}

.modal .panel-body {
    color: #172b4c;
}

.modal-content {
    border-radius: 0;
    -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.125);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.125);
    border: 0;
}

@media (min-width: 768px) {
    .modal-content {
        -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.125);
        box-shadow: 0 2px 3px rgba(0, 0, 0, 0.125);
    }
}

.modal-header {
    border-bottom-color: #f3f6f9;
}

.modal-footer {
    border-top-color: #f3f6f9;
    display: inline-block;
}


.flexbox {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
}

.flexbox .dropdown i {
    font-size: 1rem;
}

.flexbox>* {
    margin-left: 4px;
    margin-right: 4px;
}

.flexbox>*:last-child {
    margin-right: 0;
}

.flexbox>*:first-child {
    margin-left: 0;
}

.flexbox .dropdown a i {
    font-size: 1rem;
}

ul.flexbox {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}


.dropdown-toggle {
    cursor: pointer;
    -webkit-transition: .2s linear;
    transition: .2s linear;
}

.dropdown-item {
    color: #172b4c;
    font-weight: 400;
    padding: 10px 15px;
    width: auto;
    margin: 5px 0;
    -webkit-transition: 0.15s linear;
    transition: 0.15s linear;
}

.dropdown-item i {
    margin-right: 0.5rem;
}

.dropdown-menu {
    color: #172b4c;
    border-radius: 2px;
    font-size: 1rem;
    border-color: #f3f6f9;
    padding: 0;
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.06);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.06);
    z-index: 992;
}

.dropdown-item.active,
.dropdown-item:active {
    color: #172b4c;
    background-color: #f3f6f9;
}

.dropdown-menu {
    color: #172b4c;
    border-radius: 10px;
    font-size: 13px;
    border-color: #f3f6f9;
    padding: 0;
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.06);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.06);
    z-index: 992;
}

.dropdown-item .icon {
    vertical-align: baseline;
    margin-right: 6px;
    font-size: 0.875rem;
}


.percent {
    display: inline-block;
    line-height: 110px;
    z-index: 2;
}

.percent :after {
    content: '%';
    margin-left: 0.1em;
    font-size: 0.8571rem;
}

.countnm.per:after {
    content: '%';
    margin-left: 0.1em;
    font-size: 0.8571rem;
}

.easypie {
    position: relative;
    display: inline-block;
    width: 110px;
    height: 110px;
    text-align: center;
}

.easypie canvas {
    position: absolute;
    top: 0;
    left: 0;
}


.box .media,
.box .box-body .media,
.box .box-header .media,
.box .box-footer .media,
.card .media,
.card .card-body .media {
    box-shadow: none;
}

[class*=col-]>.media {
    border-radius: 10px;
}

.media {
    padding: 1rem;
    -webkit-transition: background-color .2s linear;
    transition: background-color .2s linear;
}

.media>* {
    margin: 0rem 1rem;
}

.media .nav-link:hover,
.media .nav-link:focus {
    background-color: transparent;
}

.media a:not(.btn):not(.avatar) {
    color: #172b4c;
}


.media[data-provide~="selectable"] {
    cursor: pointer;
}

.media .media {
    margin-top: 1.25rem;
}

.media .title {
    -webkit-box-flex: 1;
    flex: 1 1 0%;
}

.media .avatar {
    flex-shrink: 0;
}

.media .dropdown .dropdown-toggle {
    opacity: .7;
}

.media .dropdown:hover .dropdown-toggle {
    opacity: 1;
}

.media .dropdown.open .dropdown-toggle {
    opacity: 1;
}

.media .nav {
    flex-wrap: nowrap;
    margin-left: -8px;
    margin-right: -8px;
}

.media .nav-link {
    line-height: 24px;
    font-size: 90%;
    padding: 0 8px;
}

.media-list>.media:not(.media-list-header):not(.media-list-footer) {
    margin-bottom: 0;
}

.media-list [data-provide~="selectable"] .media:not(.media-list-header):not(.media-list-footer) {
    cursor: pointer;
}

.media-list-header {
    border-bottom: 1px solid #f3f6f9;
    background-color: #afc3d7;
}

.media-list-footer {
    border-top: 1px solid #f3f6f9;
    background-color: #afc3d7;
}


.bg-img {
    position: relative;
    border-bottom: none;
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
    background-color: #0a62d0;
}

.box.bg-img,
.box .bg-img {
    border-radius: 10px;
}

.nav.g-0>.nav-link:first-child,
.nav.g-0 .nav-item:first-child .nav-link {
    padding-left: 0;
}


.rating {
    display: -webkit-inline-box;
    display: inline-flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    flex-direction: row-reverse;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rating input {
    display: none;
}

.rating label {
    color: #f3f6f9;
    cursor: pointer;
}

.rating label::before {
    margin-right: 5px;
    font-size: 20px;
    display: inline-block;
}


.nav-tabs .nav-link {
    position: relative;
    color: #2f579a;
    padding: 0.5rem 1.25rem;
    border-radius: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    border: 1px solid #d9d9d9;
}

@media (max-width: 767px) {
    .nav-tabs .nav-link {
        padding: 8px 12px;
    }
}


.lookup {
    position: relative;
    display: -webkit-block;
    display: block;
    -webkit-box-align: center;
    align-items: center;
}

.lookup::before {
    content: "\f002";
    font-family: FontAwesome;
    font-size: 1rem;
    position: absolute;
    top: 52%;
    left: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.4);
    width: 36px;
    text-align: center;
    cursor: text;
}

.lookup input {
    color: #172b4c;
    border: 1px solid #f3f6f9;
    border-radius: 18px;
    height: 25px;
    width: 200px;
    max-width: 100%;
    padding-left: 36px !important;
    padding-right: 18px;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: .5px;
    outline: none !important;
    -webkit-transition: .5s;
    transition: .5s;
}

.lookup input::-webkit-input-placeholder {
    color: rgba(23, 43, 76, 0.7);
}

.lookup input:-moz-placeholder {
    color: rgba(23, 43, 76, 0.7);
}

.lookup input::-moz-placeholder {
    color: rgba(23, 43, 76, 0.7);
}

.lookup input:-ms-input-placeholder {
    color: rgba(23, 43, 76, 0.7);
}

.lookup input:focus {
    background-color: rgba(23, 43, 76, 0.04);
}

.lookup input+input {
    border-left: none;
}

.lookup input+.bootstrap-select .dropdown-toggle {
    border-left: none;
}

.lookup .bootstrap-select+.bootstrap-select .dropdown-toggle {
    border-left: none;
}

.lookup .btn {
    height: 36px;
    line-height: 36px;
}

.lookup-right::before {
    left: auto;
    right: 0;
}

.lookup-right input {
    padding-left: 18px;
    padding-right: 36px;
}

.lookup-circle {
    z-index: 0;
}

.lookup-circle::before {
    z-index: -1;
}

.lookup-circle input {
    background-color: rgba(23, 43, 76, 0.04);
    border: none;
    width: 36px;
    padding-right: 0;
}

.lookup-circle input:focus {
    background-color: rgba(23, 43, 76, 0.05);
    width: 170px;
    padding-right: 18px;
}

.lookup-circle.lookup-right::before {
    left: auto;
    right: 0;
}

.lookup-circle.lookup-right input {
    padding-left: 0;
    padding-right: 36px;
}

.lookup-circle.lookup-right input:focus {
    padding-left: 18px;
}


.price {
    font-weight: bold;
    font-size: 5.4285714286rem;
    line-height: normal;
    padding: 10px 0;
}

.price sup {
    font-size: 1.857rem;
    vertical-align: super;
}

.price span {
    display: block;
    font-size: 0.8571rem;
    font-weight: 400;
    line-height: 25px;
}


.todo-list {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: auto;
}

.todo-list>li {
    border-radius: 2px;
    padding: 1.5rem 2.2rem;
    margin-bottom: 2px;
    color: #172b4c;
}

.todo-list>li:last-of-type {
    margin-bottom: 0;
}

.todo-list>li>input[type=checkbox] {
    margin: 0 10px 0 5px;
}

.todo-list>li .text {
    display: inline-block;
    margin-left: 30px;
    font-weight: 600;
}

.todo-list>li .label {
    margin-left: 10px;
    font-size: fs-10;
}

.todo-list>li .tools {
    display: none;
    float: right;
    color: #ee3158;
}

.todo-list>li .tools>i {
    margin-right: 5px;
    cursor: pointer;
}

.todo-list>li:hover .tools {
    display: inline-block;
}

.todo-list>li.done {
    color: #737373;
}

.todo-list>li.done .text {
    text-decoration: line-through;
    font-weight: 500;
}

.todo-list>li.done label {
    background: transparent;
}

.todo-list .handle {
    display: inline-block;
    cursor: move;
    margin: 0 5px;
}

.control {
    margin-bottom: 0;
    display: inline;
    padding-left: 0;
    padding-top: 0;
    cursor: pointer;
    font-size: 1.143rem;
}

.control input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.label {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    line-height: 1;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}

td .label {
    font-size: 100%;
}

.badge {
    font-weight: normal;
}


.chat {
    padding: 5px 20px 5px 10px;
}

.chat .item {
    margin-bottom: 10px;
}

.chat .item:before,
.chat .item:after {
    content: " ";
    display: table;
}

.chat .item>img {
    width: 40px;
    height: 40px;
    border: 2px solid transparent;
    border-radius: 5px;
}

.chat .item>.online {
    border: 2px solid #05825f;
}

.chat .item>.message {
    margin-left: 55px;
    margin-top: -40px;
    color: #737373;
}

.chat .item>.message>.name {
    display: block;
    font-weight: 600;
}

.chat .item>.attachment {
    border-radius: 10px;
    background-color: #f3f6f9;
    margin-left: 65px;
    margin-right: 15px;
    padding: 10px;
}

.chat .item>.attachment .pull-right .btn {
    top: 10px;
    position: relative;
    border-radius: 10px;
}

.chat .item>.attachment>h4 {
    margin: 0 0 5px;
    font-weight: 600;
    font-size: 1rem;
}

.chat .item>.attachment>.filename,
.chat .item>.attachment>p {
    font-weight: 600;
    font-size: 1rem;
    font-style: italic;
    margin: 0;
}

.chat .item>.attachment:before,
.chat .item>.attachment:after {
    content: " ";
    display: table;
}


.anim {
    opacity: 0;
}

.anim.animated {
    opacity: 1;
}

.clear {
    clear: both;
}


.btn {
    border-radius: 5px;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid transparent;
    cursor: pointer;
    line-height: inherit;
    padding: 8px 16px;
    font-size: 1.1rem;
    -webkit-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.btn:active {
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    -moz-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn:focus,
.btn.focus {
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn:hover {
    cursor: pointer;
    -webkit-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-box-shadow: 0 14px 26px -12px rgba(0, 0, 0, 0.1), 0 4px 23px 0 rgba(0, 0, 0, 0.1), 0 8px 10px -5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 14px 26px -12px rgba(0, 0, 0, 0.1), 0 4px 23px 0 rgba(0, 0, 0, 0.1), 0 8px 10px -5px rgba(0, 0, 0, 0.1);
}

.btn[class*=btn-outline-] {
    border-color: #f3f6f9;
}

.btn[class*=bg-]:hover {
    -webkit-box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.2);
}

.btn.dropdown-toggle:after {
    display: none;
}

a.btn {
    text-decoration: none !important;
}

.btn-circle {
    width: 45px;
    height: 45px;
    line-height: 45px;
    padding: 0;
    border-radius: 100%;
}

.btn-circle.btn-lg {
    width: 60px;
    height: 60px;
    line-height: 60px;
    padding: 0;
    border-radius: 100%;
}

.btn-circle.btn-sm {
    width: 40px;
    height: 40px;
    line-height: 40px;
    padding: 0;
    border-radius: 100%;
}

.btn-circle.btn-xs {
    width: 30px;
    height: 30px;
    line-height: 30px;
    padding: 0;
    border-radius: 100%;
}

.btn-circle.btn-small {
    width: 20px;
    height: 20px;
    line-height: 20px;
    padding: 0;
    border-radius: 100%;
}

.btn-xs {
    padding: 1px 5px;
    font-size: 0.8571rem;
    line-height: 1.5;
    border-radius: 3px;
}

button.btn.dropdown-toggle:after {
    display: inline-block;
}

.btn-sm {
    padding: .375rem .75rem;
    font-size: .925rem;
    line-height: 1.35;

    background: #053f6c;
    color: white;

}

.btn-lg {
    font-size: 1.286rem;
    padding: 18px 32px;
}


.alert {
    border-radius: 10px;
}

.alert .icon {
    margin-right: 10px;
}

.alert .close {
    color: #172b4c;
    opacity: .2;
    filter: alpha(opacity=20);
}

.alert .close:hover {
    opacity: .5;
    filter: alpha(opacity=50);
}

.alert a {
    color: #ffffff;
    text-decoration: underline;
}


.nav>li>a:hover,
.nav>li>a:active,
.nav>li>a:focus {
    color: #172b4c;
    background: #f3f6f9;
}

.nav-pills>li>a {
    border-radius: 0;
    border-top: 3px solid transparent;
    color: #172b4c;
}

.nav-pills>li>a>i {
    margin-right: 5px;
}

.nav-pills.rounded>li>a {
    border-radius: 5px;
}

.nav-tabs-custom {
    margin-bottom: 20px;
    background: #ffffff;
    border: 1px solid rgba(72, 94, 144, 0.16);
    border-radius: 10px;
}

.nav-tabs-custom>.nav-tabs {
    margin: 0;
    border-bottom-color: #f3f6f9;
    border-radius: 0;
}

.nav-tabs-custom>.nav-tabs>li {
    margin-bottom: -2px;
    margin-right: 5px;
}

.nav-tabs-custom>.nav-tabs>li.disabled>a {
    color: #737373;
}

.nav-tabs-custom>.nav-tabs>li>a {
    color: #172b4c;
    border-radius: 0;
    position: relative;
    display: block;
    padding: 10px 15px;
    background: 0 0;
    margin: 0;
    border-top: 3px solid transparent;
}

.nav-tabs-custom>.nav-tabs>li>a.text-muted {
    color: #737373;
}

.nav-tabs-custom>.nav-tabs>li>a:hover {
    background: 0 0;
    margin: 0;
}

.nav-tabs-custom>.nav-tabs>li>a.active {
    background-color: #ffffff;
    color: #172b4c;
    border-left: 1px solid #f3f6f9;
    border-right: 1px solid #f3f6f9;
}

.nav-tabs-custom>.nav-tabs>li>a.active:hover {
    background-color: #ffffff;
    color: #172b4c;
}

.nav-tabs-custom>.nav-tabs>li:first-of-type {
    margin-left: 0;
}

.nav-tabs-custom>.nav-tabs>li:first-of-type>a.active {
    border-left-color: transparent;
}

.nav-tabs-custom>.nav-tabs>li.header {
    line-height: 30px;
    padding: 5px 10px;
    font-size: 16px;
    color: #172b4c;
}

.nav-tabs-custom>.nav-tabs>li.header>i {
    margin-right: 5px;
}

.nav-tabs-custom>.nav-tabs.float-right {
    float: none !important;
    display: block;
}

.nav-tabs-custom>.nav-tabs.float-right li {
    float: right;
}

.nav-tabs-custom>.nav-tabs.float-right li:first-of-type {
    margin-right: 0;
}

.nav-tabs-custom>.nav-tabs.float-right li:first-of-type>a {
    border-left-width: 1px;
}

.nav-tabs-custom>.nav-tabs.float-right li:first-of-type>a.active {
    border-left-color: #f3f6f9;
    border-right-color: transparent;
}

.nav-tabs-custom>.tab-content {
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 0;
}

.nav-tabs-custom .dropdown.show>a:active,
.nav-tabs-custom .dropdown.show>a.active,
.nav-tabs-custom .dropdown.show>a:focus {
    background: 0 0;
    color: #737373;
}


.pagination {
    margin-bottom: 2rem;
}

.pagination>li>a {
    background-color: #ffffff;
    color: #172b4c;
    border-color: #ffffff;
}

.pagination li a {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    min-width: 50px;
    padding: 1rem;
    margin: 0 3px;
    text-decoration: none;
    cursor: pointer;
    color: #737373;
    border: 1px solid transparent;
    border-radius: 2px;
    text-align: center;
}

.pagination li a.current {
    color: #ffffff !important;
}

.pagination li a.current:hover {
    color: #ffffff !important;
}

.pagination li a:hover {
    color: #ffffff !important;
}

.pagination>.disabled>a,
.pagination>.disabled>a:focus,
.pagination>.disabled>a:hover,
.pagination>.disabled>span,
.pagination>.disabled>span:focus,
.pagination>.disabled>span:hover {
    color: #737373;
    background-color: #ffffff;
    border-color: #ffffff;
    cursor: not-allowed;
}

.datepaginator .pagination li a {
    min-width: 100%;
}

.select2-container--default:active,
.select2-container--default.active,
.select2-container--default:focus {
    outline: 0;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    padding: 6px 12px;
    height: 34px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 28px;
    right: 3px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: 0;
}

.select2-selection:active,
.select2-selection.active,
.select2-selection:focus {
    outline: 0;
}

.select2-selection .select2-selection--single {
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    padding: 6px 12px;
    height: 34px;
}

.select2-dropdown {
    border: 1px solid #d9d9d9;
    border-radius: 0;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    height: auto;
    margin-top: -4px;
    padding-right: 10px;
}

.select2-container[dir=rtl] .select2-selection--single .select2-selection__rendered {
    padding-right: 6px;
    padding-left: 20px;
}


.datepicker .next:hover,
.datepicker .prev:hover,
.datepicker tfoot tr th:hover {
    background: rgba(0, 0, 0, 0.15) !important;
}

.bullet {
    display: inline-block;
    background-color: #f3f6f9;
    width: 10px;
    height: 2px;
    border-radius: 2rem;
}

.tooltip.show {
    opacity: 1;
}

.tooltip .arrow {
    position: absolute;
    display: block;
    width: 0.8rem;
    height: 0.4rem;
}

.tooltip .arrow::before {
    position: absolute;
    content: "";
    border-color: transparent;
    border-style: solid;
}

.tooltip-inner {
    max-width: 200px;
    padding: 0.75rem 1rem;
    color: #3F4254;
    text-align: center;
    background-color: #ffffff;
    border-radius: 3px;
}

.tooltip .tooltip-inner {
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15);
    background: #ffffff;
}

@media (min-width: 576px) {
    .box .dataTables_wrapper {
        padding-left: 0;
        padding-right: 0;
    }
}

img.online {
    border-left-color: #40ac2b !important;
}


img.online {
    border-left: 3px solid #fff;
}

.dataTables_wrapper .form-control {
    margin: 0 10px;
    padding: 5px 30px 5px 15px;
}


.waves-effect {
    position: relative;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    vertical-align: middle;
    z-index: 1;
    transition: .3s ease-out;
}

.waves-effect .waves-ripple {
    position: absolute;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    opacity: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.7s ease-out;
    transition-property: transform, opacity;
    transform: scale(0);
    pointer-events: none;
}

.waves-effect.waves-light .waves-ripple {
    background-color: rgba(255, 255, 255, 0.45);
}

.waves-effect input[type="button"],
.waves-effect input[type="reset"],
.waves-effect input[type="submit"] {
    border: 0;
    font-style: normal;
    font-size: inherit;
    text-transform: inherit;
    background: none;
}

.waves-effect img {
    position: relative;
    z-index: -1;
}

.waves-notransition {
    transition: none !important;
}

.waves-input-wrapper {
    border-radius: 0.2em;
    vertical-align: bottom;
}

.waves-input-wrapper .waves-button-input {
    position: relative;
    top: 0;
    left: 0;
    z-index: 1;
}


.waves-effect .waves-ripple {
    z-index: -1;
}

/* ==========================================================================
   skin_color.css
   ========================================================================== */

.light-skin .main-header .navbar .nav>li>a:hover,
.light-skin .main-header .navbar .nav>li>a:active,
.light-skin .main-header .navbar .nav>li>a:focus {
    background-color: rgba(0, 0, 0, 0.03);
    color: #5156be;
}

.light-skin .main-header .navbar .nav .open>a {
    background-color: rgba(0, 0, 0, 0.05);
}

.light-skin .main-header .navbar .nav .open>a:hover,
.light-skin .main-header .navbar .nav .open>a:focus {
    background-color: rgba(0, 0, 0, 0.05);
}

.light-skin .main-header .navbar .nav>.active>a {
    background-color: rgba(0, 0, 0, 0.05);
}

.light-skin .main-sidebar {
    border-right: 0px solid rgba(72, 94, 144, 0.16);
    background-color: #ffffff;
}

.light-skin .sidebar-menu>li:hover>a,
.light-skin .sidebar-menu>li:active>a,
.light-skin .sidebar-menu>li.active>a {
    color: #172b4c;
}

.light-skin .sidebar-menu>li.active>a {
    background-color: #172b4c;
    color: #ffffff;
}

.light-skin .sidebar-menu>li.active>a>i {
    color: #ffffff;
}

.light-skin .sidebar-menu>li.active>a:after {
    content: " ";
    position: absolute;
    right: 0;
    top: 0;
    display: none;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 22px 10px 22px 0;
    border-color: transparent #fafafa transparent transparent !important;
}

.light-skin .sidebar-menu>li.menu-open>a {
    color: #172b4c;
}

.light-skin .sidebar-menu>li.menu-open>a svg {
    color: #172b4c;
}

.light-skin .sidebar-menu>li>.treeview-menu {
    margin: 0 0px;
}

.light-skin.sidebar-collapse .sidebar-menu>li>.treeview-menu {
    background-color: #ffffff;
    box-shadow: 5px 8px 10px 0px rgba(0, 0, 0, 0.1);
}

.light-skin.sidebar-collapse .sidebar-menu>li>.treeview-menu>.treeview .treeview-menu {
    background-color: #ffffff;
    box-shadow: 5px 8px 10px 0px rgba(0, 0, 0, 0.1);
}

.light-skin.sidebar-mini.sidebar-collapse .sidebar-menu>li>a>span {
    background-color: #ffffff !important;
    box-shadow: 5px 8px 10px 0px rgba(0, 0, 0, 0.1);
}

.light-skin.sidebar-mini.sidebar-collapse .sidebar-menu>li.active>a>span {
    background: #ffffff !important;
    color: #ffffff;
}

.light-skin .sidebar a {
    color: #5C607B;
}

.light-skin .sidebar a:hover {
    text-decoration: none;
}

.light-skin .sidebar-form {
    border-radius: 3px;
    border: 1px solid gray;
}

.light-skin .sidebar-form input[type="text"] {
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.59);
    border: 1px solid rgba(0, 0, 0, 0.59);
    height: 35px;
    color: #ffffff;
    border-top-left-radius: 2px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 2px;
}

.light-skin .sidebar-form input[type="text"]:focus {
    color: #ffffff;
}

.light-skin .sidebar-form input[type="text"]:focus+.input-group-btn .btn {
    color: #ffffff;
}

.light-skin .sidebar-form .btn {
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.59);
    border: 1px solid rgba(0, 0, 0, 0.59);
    height: 35px;
    color: #f3f6f9;
    border-top-left-radius: 0;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 0;
}

.light-skin .control-sidebar {
    color: #172b4c;
    background-color: #ffffff;
}

.light-skin .control-sidebar+.control-sidebar-bg {
    -webkit-box-shadow: 0px 5px 10px 1px rgba(77, 77, 77, 0.2);
    -moz-box-shadow: 0px 5px 10px 1px rgba(77, 77, 77, 0.2);
    box-shadow: 0px 5px 10px 1px rgba(77, 77, 77, 0.2);
}

.control-sidebar+.control-sidebar-bg {
    background-color: #ffffff;
}

@media (max-width: 767px) {
    .light-skin.sidebar-mini.sidebar-collapse .sidebar-menu>li>a>span {
        background-color: rgba(255, 255, 255, 0) !important;
    }

    .light-skin.sidebar-mini.sidebar-collapse .sidebar-menu>li.menu-open>a {
        background-color: rgba(255, 255, 255, 0.95) !important;
    }

    .light-skin.sidebar-mini.sidebar-collapse .sidebar-menu>li.active>a {
        background-color: rgba(255, 255, 255, 0.95) !important;
    }
}


.alert-danger,
.alert-success,
.alert-warning,
.bg-warning {
    color: #ffffff;
}

/* ==========================================================================
   mystyle.css
   ========================================================================== */

.flodis {
    float: left;
    display: block;
}

.clear {
    margin: 0px;
    padding: 0px;
    clear: both;
}

.mp0 {
    margin: 0px !important;
    padding: 0px !important;
}

.margin0 {
    margin: 0px !important;
}

.padding0 {
    padding: 0px !important;
}

.mtop5 {
    margin-top: 5px !important;
}

.mtop10 {
    margin-top: 10px !important;
}

.mtop20 {
    margin-top: 20px !important;
}

.mtop30 {
    margin-top: 30px !important;
}

.mtop40 {
    margin-top: 40px !important;
}

.mtop50 {
    margin-top: 50px !important;
}

.mtop60 {
    margin-top: 60px !important;
}

.mbottom10 {
    margin-bottom: 10px !important;
}

.mbottom20 {
    margin-bottom: 20px !important;
}

.mbottom50 {
    margin-bottom: 50px !important;
}

.mbottom60 {
    margin-bottom: 60px !important;
}

.font12 {
    font-size: 12px !important;
    font-family: Arial;
}

.font14 {
    font-size: 14px !important;
    font-family: Arial;
}

.font18 {
    font-size: 18px !important;
    font-family: Arial;
}

.font20 {
    font-size: 20px !important;
    font-family: Arial;
}

.allmatter {
    text-align: justify;
    float: left;
    display: block;
}

.allmatter h1 {
    font-size: 36px;
    color: var(--brand-blue);
    line-height: 37px;
    text-align: left;
    width: 100%;
}

.allmatter h2 {
    font-size: 30px;
    color: var(--brand-blue);
    line-height: 37px;
    text-align: left;
    width: 100%;
}

.allmatter h3 {
    font-size: 26px;
    color: var(--brand-blue);
    line-height: 37px;
    text-align: left;
    width: 100%;
}

.allmatter h4 {
    font-size: 24px;
    color: var(--brand-blue);
    line-height: 37px;
    text-align: left;
    width: 100%;
}

.allmatter h6 {
    color: var(--brand-blue);
    line-height: 37px;
    text-align: left;
    font-weight: bold;
    margin-top: 20px;
    width: 100%;
}

.allmatter img {
    width: 46%;
    float: left;
    display: block;
    clear: both;
    border: 4px solid #fff;
    box-shadow: 0px 0px 3px 3px #eee;
}

.allmatter p {
    font-size: 14px;
    font-family: arial;
    color: #333333;
    text-align: justify;
}

.allmatter ul {
    margin-left: 20px;
    margin-top: 20px;
}

.allmatter li {
    font-size: 14px;
    font-family: arial;
    color: #333333;
    list-style: decimal;
    padding-bottom: 5px;
    line-height: 20px;
}

.border0 {
    border: 0px !important;
}


.aspadding {
    padding: 0px 3.7%;
}

.inputbg {
    background-color: #eee;
}

.form-control-borderless {
    border: none;
}

.form-control-borderless:hover,
.form-control-borderless:active,
.form-control-borderless:focus {
    border: none;
    outline: none;
    box-shadow: none;
}




#accordion3 span {
    color: #000000 !important;
    width: 22%;
    height: 37px;
    display: flex;
}

#accordion3 span:hover {
    color: #000 !important;
}






.modal {
    pointer-events: none !important;
}

.logo img {
    height: 46px;
    object-fit: scale-down;
}

footer {
    background-color: var(--dark-blue) !important;
    width: 100% !important;
    padding: 20px 5% !important;
    color: var(--brand-white) !important;
}

footer a {
    color: var(--text-3) !important;
}

.red {
    color: var(--danger) !important;
}

.green {
    color: var(--success) !important;
}

.white {
    color: var(--brand-white) !important;
}

.domainname {
    font-size: 18px;
}

.domainname a {
    color: #000 !important;
}

.formcover {
    border: 1px solid #ccc;
    padding: 20px;
    background-color: #fcfcfc;
    border-radius: 9px;
}

.balance {
    float: right;
    display: block;
    line-height: 55px;
    padding: 0px 15px;
    font-size: 16px;
}

.idname {
    width: 46%;
}

.custtypepadr {
    padding-right: 54%;
}


.domainarea {
    width: 73%;
    height: auto;
    float: left;
    display: block;
}

.not-allowed {
    pointer-events: auto ! important;
    cursor: not-allowed ! important;
}





.breadcrumb {

    display: inline-block;

    overflow: hidden;
    border-radius: 5px;

    counter-reset: flag;
}

.breadcrumb a {
    text-decoration: none;
    outline: none;
    display: block;
    float: left;
    font-size: 14px;
    line-height: 36px;
    color: white;

    padding: 0 10px 0 60px;
    background: var(--brand-blue);
    background: linear-gradient(var(--brand-blue), var(--dark-blue));
    position: relative;
}

.breadcrumb a:first-child {
    padding-left: 46px;
    border-radius: 5px 0 0 5px;
}

.breadcrumb a:first-child:before {
    left: 14px;
}

.breadcrumb a:last-child {
    border-radius: 0 5px 5px 0;
    padding-right: 20px;
}


.breadcrumb a.active,
.breadcrumb a:hover {
    background: var(--dark-blue);
    background: linear-gradient(var(--dark-blue), #0A1F3A);
}

.breadcrumb a.active:after,
.breadcrumb a:hover:after {
    background: var(--dark-blue);
    background: linear-gradient(135deg, var(--dark-blue), #0A1F3A);
}


.breadcrumb a:after {
    content: '';
    position: absolute;
    top: 0;
    right: -18px;

    width: 36px;
    height: 36px;

    transform: scale(0.707) rotate(45deg);

    z-index: 1;

    background: #fff;
    background: linear-gradient(135deg, var(--brand-blue), var(--dark-blue));

    box-shadow:
        2px -2px 0 2px rgba(255, 255, 255, 1),
        3px -3px 0 2px rgba(255, 255, 255, 1);

    border-radius: 0 5px 0 50px;
}

.breadcrumb a:last-child:after {
    content: none;
}

.breadcrumb a:before {
    content: counter(flag);
    counter-increment: flag;

    border-radius: 100%;
    width: 20px;
    height: 20px;
    line-height: 20px;
    margin: 8px 0;
    position: absolute;
    top: 0;
    left: 30px;
    background: var(--dark-blue);
    background: linear-gradient(var(--dark-blue), #0A1F3A);
    font-weight: bold;
}











.overflowh {
    overflow: hidden !important;
}

.ticket img {
    width: 230px;
    margin-top: 10px;
}

.black {
    color: var(--text-dark) !important;
}






@media only screen and (min-width : 320px) and (max-width : 479px) {
    h3 {
        font-size: 20px !important;
    }

    .flexbox h5 {
        font-size: 12px !important;
    }

    .box-body span {
        font-size: 12px !important;
    }

    .formcover {
        padding: 0px !important;
    }

    .box-body {
        padding: 5px;
    }

    .font20 {
        font-size: 10px !important;
    }

    .mb-30 {
        margin-bottom: 10px !important;
    }

    .domainarea {
        width: 100% !important;
    }

    .custtypepadr {
        padding: 0px !important;
    }

    .breadcrumb a {
        margin-bottom: 5px !important;
    }

    .box-footer {
        padding: 5px !important;
    }

    .panel-title {
        font-size: 15px !important;
    }

    #example-date-input {
        width: 100% !important;
    }



}

@media only screen and (min-width : 480px) and (max-width : 639px) {}

@media only screen and (min-width : 640px) and (max-width : 767px) {}

@media only screen and (min-width : 768px) and (max-width : 1020px) {}

@media only screen and (min-width : 1021px) and (max-width : 1024px) {}

/* ==========================================================================
   sidebar.css
   ========================================================================== */

:root {
    --primary: #024686;
    --primary-dark: #01345F;
    --primary-light: #EAF3FB;

    --accent: #FF6B2E;
    --accent-dark: #C9470D;
    --accent-light: #FFF1EB;

    --background: #F5F9FC;
    --surface: #FFFFFF;

    --text-primary: #0F172A;
    --text-secondary: #64748B;

    --border: #D7E3EC;

    --success: #16A34A;
    --warning: #F59E0B;
    --danger: #DC2626;
    --info: #0284C7;

    --shadow: 0 6px 20px rgba(2, 70, 134, 0.08);

    --brand-blue: #024686;
    --brand-orange: #FF6B2E;
    --brand-white: #FFFFFF;
    --dark-blue: #01345F;
    --light-blue: #EAF3FB;
    --light-orange: #FFF1EB;
    --text-dark: #0F172A;
    --border-color: #D7E3EC;

    --blue: #024686;
    --blue-h: #01345F;
    --blue-l: #EAF3FB;
    --sidebar-w: 250px;
    --sidebar-mini: 60px;
    --topbar-h: 60px;
    --text: #0F172A;
    --text-2: #334155;
    --text-3: #64748B;
    --bg: #F5F9FC;
    --soft-bg: #F5F9FC;
    --white: #FFFFFF;
    --radius: 6px;
    --radius-s: 8px;
    --orange: #FF6B2E;
    --orange-h: #C9470D;
    --orange-l: #FFF1EB;
}

html.mc-theme-dark {
    --brand-white: #172033;
    --dark-blue: #0B1628;
    --light-blue: #1E314C;
    --light-orange: #3A2117;
    --text-dark: #EEF4FB;
    --border-color: #334155;
    --blue: #77B7FF;
    --blue-h: #9BCBFF;
    --blue-l: #213B5C;
    --text: #EEF4FB;
    --text-2: #C2CDDB;
    --text-3: #91A0B5;
    --border: #334155;
    --bg: #111827;
    --soft-bg: #1E293B;
    --white: #172033;
    --shadow: 0 16px 38px rgba(0, 0, 0, .34);
    --success: #41C776;
    --warning: #F9A949;
    --danger: #FF6B76;
    --orange: #FF7A38;
    --orange-l: #321c14;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    border: none;
}

body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-size: 13.5px;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}


a {
    text-decoration: none;
}

button {
    border: none;
}


::-webkit-scrollbar {
    width: 5px;
    height: 5px
}

::-webkit-scrollbar-track {
    background: transparent
}

::-webkit-scrollbar-thumb {
    background: #CBD5E0;
    border-radius: 3px
}


.tb {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--topbar-h);
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    z-index: 1100;
}

.tb-l {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
}

.tb-r {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.tb-ham {
    width: 34px;
    height: 34px;
    border: none;
    background: var(--blue-l);
    border-radius: 8px;
    color: var(--blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: background .2s;
    flex-shrink: 0;
}

.tb-ham:hover {
    background: var(--blue);
    color: #fff
}

.tb-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none
}

.tb-brand img {
    height: 30px;
    object-fit: contain
}

.mc-global-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: clamp(280px, 30vw, 430px);
    min-width: 280px;
    height: 44px;
    background: var(--soft-bg);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 0px 7px 0 15px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.mc-global-search:focus-within {
    background: var(--white);
    border-color: rgba(13, 134, 217, .48);
    box-shadow: 0 0 0 3px rgba(13, 134, 217, .10);
}

.mc-global-search-icon {
    color: #ffffff;
    font-size: 15px;
    flex: 0 0 auto;
}

.mc-global-search input {
    width: 100%;
    min-width: 0;
    height: 32px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
}

.mc-global-search input::placeholder {
    color: var(--text-3);
    font-weight: 500;
}

.mc-global-search-clear {
    display: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: transparent;
    color: var(--text-3);
    cursor: pointer;
    flex: 0 0 auto;
}

.mc-global-search-clear.show {
    display: flex;
}

.mc-global-search-clear:hover {
    background: var(--blue-l);
    color: var(--blue);
}

.mc-global-search-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: min(520px, calc(100vw - 32px));
    max-height: min(68vh, 520px);
    overflow: auto;
    display: none;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .16);
    z-index: 1500;
}

.mc-global-search-panel.open {
    display: block;
}

.mc-global-search-group {
    padding: 8px 8px 5px;
    color: var(--text-3);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .2px;
}

.mc-global-search-item {
    width: 100%;
    min-height: 58px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    text-align: left;
    cursor: pointer;
}

.mc-global-search-item:hover,
.mc-global-search-item.active {
    background: var(--blue-l);
}

.mc-global-result-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--white);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px var(--border);
}

.mc-global-result-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mc-global-result-copy strong {
    color: var(--text);
    font-size: 13px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mc-global-result-copy em {
    color: var(--text-3);
    font-size: 11px;
    font-style: normal;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mc-global-result-badge {
    max-width: 94px;
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(241, 104, 34, .10);
    color: #d85a1a;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mc-global-search-state {
    min-height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    color: var(--text-3);
    padding: 18px;
}

.mc-global-search-state i {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--blue-l);
    color: var(--blue);
    font-size: 15px;
}

.mc-global-search-state strong {
    color: var(--text);
    font-size: 13px;
}

.mc-global-search-state span {
    max-width: 320px;
    font-size: 12px;
    line-height: 1.35;
}

.tb-btn {
    width: 34px;
    height: 34px;
    border: none;
    background: var(--bg);
    border-radius: 8px;
    color: var(--text-2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all .2s;
    position: relative;
    text-decoration: none;
}

.tb-btn:hover {
    background: var(--blue);
    color: #fff
}

.tb-btn .badge {
    position: absolute;
    top: 3px;
    right: 3px;
    min-width: 16px;
    height: 16px;
    background: #e53935;
    color: #fff;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 2px solid #fff;
}

.tb-user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s;
}

.tb-user:hover {
    background: var(--bg)
}

.tb-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.tb-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.tb-uname {
    font-size: 13px;
    font-weight: 500;
    color: var(--text)
}

.tb-urole {
    font-size: 10px;

    text-transform: uppercase;
    letter-spacing: .3px
}

.tb-chevron {
    font-size: 10px;
    color: var(--text-3);
    margin-left: 2px
}

.tb-drop {
    position: absolute;
    top: calc(var(--topbar-h) + 6px);
    right: 16px;
    min-width: 170px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
    border: 1px solid var(--border);
    overflow: hidden;
    display: none;
    z-index: 1300;
}

.tb-drop.open {
    display: block
}

.tb-drop a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    transition: background .15s;
    border-bottom: 1px solid var(--border);
}

.tb-drop a:last-child {
    border: none
}

.tb-drop a:hover {
    background: var(--blue-l);
    color: var(--blue)
}

.tb-drop a i {
    width: 16px;
    text-align: center;
    font-size: 14px
}

.mobile-tabbar {
    display: none;
}

.mobile-tab {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--text-3);
    font: inherit;
    text-decoration: none;
}


.sb {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    width: var(--sidebar-w);
    height: calc(100vh - var(--topbar-h));
    background: var(--white);
    border-right: 1px solid var(--border);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1050;
    transition: transform .28s cubic-bezier(.4, 0, .2, 1), width .28s cubic-bezier(.4, 0, .2, 1);
}

body.sb-mini .sb {
    width: var(--sidebar-mini);
}

body.sb-mini .sb-txt,
body.sb-mini .sb-arr {
    display: none;
}

body.sb-mini .sb-link {
    justify-content: center;
    padding: 12px 0;
}

body.sb-mini .sb-icon {
    margin: 0;
}

body.sb-mini .sb-sub,
body.sb-mini .sb-divider {
    display: none !important;
}

body.sb-hidden .sb {
    transform: translateX(-100%);
}

body.sb-hidden .mc {
    margin-left: 0;
}

@media(min-width:992px) and (max-width:1199px) {
    :root {
        --sidebar-w: 245px;
        --topbar-h: 56px;
    }

    .tb {
        padding: 0 14px;
    }

    .tb-brand img {
        height: 28px;
        max-width: 150px;
    }

    .sb-menu {
        padding: 0 7px;
    }

    .sb-link {
        gap: 8px;
        padding: 10px 9px;
        font-size: 13px;
    }

    .sb-sub-link {
        padding: 7px 8px 7px 34px;
        font-size: 12px;
    }

    .mc {
        margin-left: var(--sidebar-w);
    }
}

.sb-menu {
    list-style: none;
    margin: 10px 0;
    padding: 0 8px
}

.sb-item {
    margin: 1px 0
}

.sb-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 11px;
    font-family: "Roboto", sans-serif;
    border-radius: var(--radius-s);
    color: var(--text-2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .18s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    white-space: nowrap;
}

.sb-link:hover {
    background: var(--blue-l);
    color: var(--blue)
}

.sb-link.active {
    background: var(--blue);
    color: #fff
}

.sb-link.active i {
    color: #fff
}

.sb-link.has-sub.open-parent {
    background: var(--blue-l);
    color: var(--blue)
}

.sb-link.has-sub.open-parent i {
    color: var(--blue)
}

.sb-icon {
    font-size: 16px;
    width: 20px;
    min-width: 20px;
    text-align: center;
    flex-shrink: 0
}

.sb-txt {
    flex: 1
}

.sb-arr {
    font-size: 10px;
    transition: transform .22s;
    opacity: .6;
    flex-shrink: 0
}

.sb-item.open .sb-arr {
    transform: rotate(180deg)
}


.sb-sub {
    list-style: none;
    margin: 2px 0 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease
}

.sb-item.open .sb-sub {
    max-height: 600px
}

.sb-sub-link {
    display: flex;
    align-items: center;
    padding: 8px 11px 8px 38px;
    font-family: inherit;
    color: var(--text-2);
    text-decoration: none;
    font-size: 13px;
    border-radius: var(--radius-s);
    margin: 1px 0;
    transition: all .15s;
}

.sb-sub-link::before {
    content: '\f105';
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: var(--blue-l);
    color: var(--blue);
    font-family: FontAwesome;
    font-size: 11px;
    line-height: 20px;
    text-align: center;
    flex-shrink: 0;
    margin-right: 8px;
    transition: background .15s, color .15s;
}

.sb-sub-link[href*="manage-domain"]::before,
.sb-sub-link[href*="domain-information"]::before {
    content: '\f0ac';
}

.sb-sub-link[href*="register-domain"]::before,
.sb-sub-link[href*="add-customer"]::before,
.sb-sub-link[href*="add-reseller"]::before,
.sb-sub-link[href*="support-ticket-create"]::before {
    content: '\f067';
}

.sb-sub-link[href*="renew-domain"]::before {
    content: '\f021';
}

.sb-sub-link[href*="transfer-domain"]::before,
.sb-sub-link[href*="move-domain"]::before {
    content: '\f0ec';
}

.sb-sub-link[href*="poll-messages"]::before {
    content: '\f0e0';
}

.sb-sub-link[href*="epp-command-log"]::before,
.sb-sub-link[href*="admin-activity-log"]::before {
    content: '\f1da';
}

.sb-sub-link[href*="view-customers"]::before,
.sb-sub-link[href*="view-resellers"]::before {
    content: '\f0c0';
}

.sb-sub-link[href*="deposit"]::before,
.sb-sub-link[href*="pricing"]::before,
.sb-sub-link[href*="price_package"]::before,
.sb-sub-link[href*="offer_price"]::before {
    content: '\f156';
}

.sb-sub-link[href*="extension_list"]::before {
    content: '\f02c';
}

.sb-sub-link[href*="admin-approval"]::before,
.sb-sub-link[href*="admin-request-status"]::before {
    content: '\f0a1';
}

.sb-sub-link[href*="email_ids"]::before {
    content: '\f003';
}

.sb-sub-link[href*="name_servers"]::before,
.sb-sub-link[href*="admin-permissions"]::before {
    content: '\f023';
}

.sb-sub-link[href*="support-ticket-issue"]::before {
    content: '\f059';
}

.sb-sub-link:hover {
    background: var(--blue-l);
    color: var(--blue)
}

.sb-sub-link:hover::before {
    background: var(--blue);
    color: #fff;
}

.sb-sub-link.active {
    color: var(--blue);
    font-weight: 500
}

.sb-sub-link.active::before {
    background: var(--blue);
    color: #fff;
}

/* Shared sidebar polish: compact, aligned, and readable */
.sb {
    scrollbar-width: thin;
    scrollbar-color: rgba(2, 70, 134, .24) transparent;
}

.sb::-webkit-scrollbar {
    width: 6px;
}

.sb::-webkit-scrollbar-thumb {
    background: rgba(2, 70, 134, .22);
    border-radius: 999px;
}

.sb-menu {
    margin: 14px 0 0;
    padding: 0 8px 24px;
}

.sb-item {
    margin: 3px 0;
}

.sb-link {
    position: relative;
    min-height: 42px;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 7px;
    color: #0f2942;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

.sb-link:hover {
    background: #eef6fc;
    color: #024686;
}

.sb-link.active,
.sb-link.has-sub.open-parent {
    background: #024f86;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(2, 70, 134, .18);
}

.sb-link.active i,
.sb-link.has-sub.open-parent i {
    color: #ffffff;
}

.sb-icon {
    width: 22px;
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #183550;
    font-size: 15px;
}

.sb-link:hover .sb-icon {
    background: rgba(2, 70, 134, .08);
    color: #024686;
}

.sb-link.active .sb-icon,
.sb-link.has-sub.open-parent .sb-icon {
    background: rgba(255, 255, 255, .14);
    color: #ffffff;
}

.sb-txt {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sb-arr {
    margin-left: auto;
    font-size: 10px;
    opacity: .72;
}

.sb-sub {
    margin: 6px 0 8px;
    padding-left: 35px;
}

.sb-item.open .sb-sub {
    max-height: 760px;
}

.sb-sub li {
    margin: 2px 0;
}

.sb-sub-link {
    position: relative;
    min-height: 34px;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 7px;
    color: #183550;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.sb-sub-link::before {
    width: 20px;
    min-width: 20px;
    height: 20px;
    margin-right: 0;
    border-radius: 6px;
    background: #e9f4fc;
    color: #024686;
    font-size: 10px;
    line-height: 20px;
}

.sb-sub-link:hover {
    background: #edf7ff;
    color: #024686;
}

.sb-sub-link.active {
    background: #e5f2fb;
    color: #024686;
    font-weight: 700;
}

.sb-sub-link.active::before {
    background: #024686;
    color: #ffffff;
}

body.sb-mini .sb-menu {
    padding: 0 7px 24px;
}

body.sb-mini .sb-link {
    min-height: 42px;
    padding: 10px 0;
}

body.sb-mini .sb-icon {
    width: 24px;
    min-width: 24px;
    height: 24px;
}

@media(min-width:992px) and (max-width:1199px) {
    .sb-menu {
        padding: 0 7px 22px;
    }

    .sb-link {
        min-height: 40px;
        gap: 9px;
        padding: 8px 9px;
        font-size: 13px;
    }

    .sb-sub {
        padding-left: 31px;
    }

    .sb-sub-link {
        min-height: 32px;
        padding: 6px 8px;
        font-size: 12px;
    }
}

@media(max-width:991px) {
    .sb-menu {
        padding-bottom: 86px;
    }
}


.mc {
    margin-left: var(--sidebar-w);
    margin-top: var(--topbar-h);
    min-height: calc(100vh - var(--topbar-h));
    transition: margin-left .28s cubic-bezier(.4, 0, .2, 1);
    background: var(--bg);
}

body.sb-mini .mc {
    margin-left: var(--sidebar-mini);
}


.ph {
    padding: 18px 22px 16px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.ph-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin: 0
}

.ph-sub {
    font-size: 12px;
    color: var(--text-3);
    margin: 2px 0 0;
    font-family: "Rubik", sans-serif;
}

.ph-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}


.cb {
    padding: 18px
}


.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.ch {
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ch h6 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    font-family: "Urbanist", sans-serif;
    display: flex;
    align-items: center;
    gap: 7px
}

.ch h6 i {
    color: var(--blue)
}

.ch a,
.ch span.sm {
    font-size: 12px;
    color: var(--blue);
    text-decoration: none
}

.ch span.sm {
    color: var(--text-3)
}

.cb2 {
    padding: 14px 16px
}

.kpi {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 11px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: box-shadow .2s, transform .2s;
    cursor: default;
}

.kpi-link {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.kpi-link:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.kpi-link:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.kpi-ico {
    width: 50px;
    height: 50px;
    border-radius: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.kpi-ico.b {
    background: var(--blue-l);
    color: var(--blue)
}

.kpi-ico.g {
    background: #E8F5E9;
    color: var(--success)
}

.kpi-ico.a {
    background: #FFF8E1;
    color: var(--warning)
}

.kpi-ico.r {
    background: #FFEBEE;
    color: var(--danger)
}

.kpi-ico.p {
    background: #F3E5F5;
    color: #7B1FA2
}

.kpi-v {
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    line-height: 1
}

.kpi-l {
    font-size: 13px;
    color: var(--text-2);
    margin-top: 3px
}

.kpi-s {
    font-size: 11px;
    color: var(--text-3);
    margin-top: 1px
}

@keyframes shimmer {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}


.dt {
    width: 100%;
    border-collapse: collapse
}

.dt th {
    font-size: 11px;
    color: var(--text-3);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 9px 12px;
    background: #F8FAFB;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.dt td {
    font-size: 13px;
    padding: 10px 12px;
    border-bottom: 1px solid #F5F7FA;
    color: var(--text);
    vertical-align: middle;
}

.dt tr:last-child td {
    border: none
}

.dt tbody tr:hover {
    background: #FAFCFF
}


.tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 500
}

.tag-g {
    background: #E8F5E9;
    color: var(--success)
}

.tag-r {
    background: #FFEBEE;
    color: var(--danger)
}

.tag-a {
    background: #FFF8E1;
    color: var(--warning)
}


.g2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.g3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px
}

@media(max-width:900px) {
    .g2 {
        grid-template-columns: 1fr
    }

    .g3 {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:500px) {
    .g2 {
        grid-template-columns: 1fr
    }

    .g3 {
        grid-template-columns: 1fr
    }
}


.srch {
    display: flex;
    align-items: center;
    gap: 10px;


    border-radius: var(--radius);

}

.srch-pre {
    font-size: 12.5px;
    color: var(--text-3);
    white-space: nowrap
}

.srch-in {
    flex: 1;
    border: none;
    outline: none;
    font-size: 13px;
    color: var(--text);
    background: none;
}

.srch-in::placeholder {
    color: var(--text-3)
}


.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--radius-s);
    font-size: 13px;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    white-space: nowrap;
    background: var(--bg);
    color: var(--text-2);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: var(--blue-l);
    color: var(--blue)
}


.act-item {
    display: flex;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #F5F7FA
}

.act-item:last-child {
    border: none
}

.act-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    margin-top: 5px;
    flex-shrink: 0
}

.act-dot.g {
    background: var(--success)
}

.act-dot.r {
    background: var(--danger)
}

.act-txt {
    font-size: 12.5px;
    color: var(--text)
}

.act-time {
    font-size: 11px;
    color: var(--text-3);
    margin-top: 2px
}


.ri {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #F5F7FA
}

.ri:last-child {
    border: none
}

.ri-name {
    flex: 1;
    font-size: 13px;
    font-weight: 400;
    color: var(--text)
}

.ri-id {
    font-size: 11px;
    color: var(--text-3)
}


.rb-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #F5F7FA
}

.rb-item:last-child {
    border: none
}

.rb-rank {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--blue-l);
    color: var(--blue);
    font-size: 11px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.rb-bar-bg {
    flex: 1;
    height: 4px;
    background: #EEF1F5;
    border-radius: 2px;
    overflow: hidden
}

.rb-bar {
    height: 4px;
    border-radius: 2px;
    background: var(--blue)
}

.rb-count {
    font-size: 13px;
    font-weight: 500;
    color: var(--blue);
    min-width: 26px;
    text-align: right
}


.empty {
    text-align: center;
    padding: 28px 0;
    color: var(--text-3);
    font-size: 13px;
    font-style: italic
}


.page-loader {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, .85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;

}

.page-loader.on {
    display: flex
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--blue-l);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}


.section-loading {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: var(--radius);
}

.section-loading .spinner {
    width: 24px;
    height: 24px;
    border-width: 2px
}


.sb-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    z-index: 1040;
}

body.sb-mobile .sb-overlay {
    display: block
}

body.sb-mobile .sb {
    transform: translateX(0) !important
}


.wrapper {
    display: block !important
}

.content-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important
}

.container-full {
    padding: 0 !important;
    max-width: 100% !important
}

.main-header {
    display: none !important
}

.content {
    padding: 18px !important
}


.box {
    border-radius: var(--radius) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow) !important
}

.box-header {
    background: #fff !important;
    border-radius: var(--radius) var(--radius) 0 0 !important;
    border-bottom: 1px solid var(--border) !important
}

.box-header .box-title {
    color: var(--text) !important;
    font-size: 14px !important;
    font-weight: 500 !important
}

.bg-primary {
    background: var(--blue) !important
}

.text-primary {
    color: var(--blue) !important
}

.badge-primary {
    background: var(--blue) !important
}

@media(max-width:991px) {
    :root {
        --topbar-h: 54px;
    }

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body.sb-mobile {
        overflow: hidden;
    }

    body.sb-mini .sb {
        width: min(86vw, 330px);
    }

    body.sb-mobile .sb,
    body.sb-mini.sb-mobile .sb {
        width: min(86vw, 330px) !important;
    }

    body.sb-mini .sb-txt,
    body.sb-mini .sb-arr,
    body.sb-mobile .sb-txt,
    body.sb-mobile .sb-arr {
        display: inline-flex !important;
    }

    body.sb-mini .sb-link,
    body.sb-mobile .sb-link {
        justify-content: flex-start;
        padding: 12px !important;
    }

    .sb {
        top: 0;
        width: min(86vw, 330px);
        height: 100dvh;
        transform: translateX(-100%);
        transition: transform .28s ease, width .28s ease;
        border-right: 0;
        box-shadow: 12px 0 30px rgba(15, 23, 42, .18);
        z-index: 1250;
        padding-top: 8px;
    }

    .mc {
        margin-left: 0 !important;
        min-height: calc(100dvh - var(--topbar-h));
        padding-bottom: calc(74px + env(safe-area-inset-bottom));
    }

    .tb {
        height: var(--topbar-h);
        padding: 0 12px;
        box-shadow: 0 6px 18px rgba(28, 62, 110, .08);
    }

    .tb-l {
        gap: 8px;
        min-width: 0;
    }

    .tb-r {
        gap: 5px;
    }

    .tb-brand img {
        height: 26px;
        max-width: 132px;
    }

    .tb-ham,
    .tb-btn {
        width: 36px;
        height: 36px;
        border-radius: 9px;
    }

    #fsBtn {
        display: none;
    }

    .tb-balance {
        max-width: 104px;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 6px 8px !important;
        margin-right: 0 !important;
        font-size: 12px !important;
        color: var(--blue) !important;
        background: var(--blue-l) !important;
    }

    .tb-user {
        padding: 2px;
    }

    .tb-avatar {
        width: 34px;
        height: 34px;
    }

    .tb-uname,
    .tb-urole,
    .tb-chevron {
        display: none
    }

    .ph {
        padding: 14px 16px
    }

    .cb {
        padding: 12px
    }

    .tb-drop {
        top: calc(var(--topbar-h) + 8px);
        right: 10px;
        left: auto;
        min-width: 178px;
    }

    .sb-overlay {
        z-index: 1200;
        background: rgba(15, 23, 42, .48);
        backdrop-filter: blur(2px);
    }

    .sb-menu {
        margin: 0;
        padding: 10px;
    }

    .sb-divider {
        padding: 14px 12px 6px !important;
    }

    .sb-link {
        min-height: 46px;
        padding: 12px;
        border-radius: 10px;
        font-size: 14px;
    }

    .sb-sub-link {
        min-height: 38px;
        padding: 9px 11px 9px 42px;
        border-radius: 9px;
    }

    .mobile-tabbar {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: calc(8px + env(safe-area-inset-bottom));
        z-index: 1150;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 2px;
        padding: 7px;
        background: rgba(255, 255, 255, .96);
        border: 1px solid var(--border);
        border-radius: 0px;
        box-shadow: 0 10px 28px rgba(15, 23, 42, .18);
        backdrop-filter: blur(12px);
    }

    .mobile-tab {
        min-width: 0;
        min-height: 48px;
        border-radius: 13px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        cursor: pointer;
        font-size: 11px;
        line-height: 1.1;
        white-space: nowrap;
    }

    .mobile-tab i {
        font-size: 17px;
        line-height: 1;
    }

    .mobile-tab span {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-tab.active,
    .mobile-tab-menu {
        background: var(--blue);
        color: #fff;
    }

    .content {
        padding: 12px 10px !important;
    }

    .box {
        border-radius: 3px !important;
        margin-bottom: 12px !important;
    }

    .box-header {
        padding: 12px 14px !important;
    }

    .box-header .box-title {
        font-size: 14px !important;
        line-height: 1.3;
    }

    .box-body {
        padding: 14px !important;
    }

    .box-footer {
        padding: 12px 14px !important;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .box-footer .btn,
    .modal-footer .btn {
        flex: 1 1 130px;
        min-height: 40px;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .form-control,
    .form-select,
    .select2-container {
        width: 100% !important;
    }

    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 10px;
    }

    table.table {
        min-width: 680px;
    }

    .modal {
        padding: 0 !important;
    }

    .modal-dialog {
        width: auto !important;
        max-width: none !important;
        margin: 10px !important;
    }

    .modal-content {
        max-height: calc(100dvh - 20px);
        overflow: auto;
        border-radius: 3px !important;
    }

    .sweet-alert {
        width: calc(100vw - 28px) !important;
        margin-left: 0 !important;
        left: 14px !important;
        right: 14px !important;
        transform: none !important;
    }
}

@media(max-width:420px) {
    .tb-brand img {
        max-width: 104px;
    }

    .tb-balance {
        display: none;
    }

    .mobile-tab {
        font-size: 10px;
    }
}

@media(max-width:991px) {
    html {
        min-height: 100%;
        background: #eef4f9;
    }

    body {
        min-height: 100dvh;
        background: #f4f7fa;
        -webkit-tap-highlight-color: transparent;
    }

    .tb {
        border-bottom: 0;
        background: rgba(255, 255, 255, .96);
        backdrop-filter: blur(14px);
    }

    .tb-ham {
        background: #e8f2fc;
        color: #064f7f;
    }

    .tb-brand {
        min-width: 0;
    }

    .tb-brand img {
        object-fit: contain;
    }

    .tb-btn {
        background: #f2f7fc;
        color: #24435f;
    }

    .tb-drop {
        border-radius: 16px;
        box-shadow: 0 18px 38px rgba(15, 23, 42, .16);
    }

    .mc {
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: var(--topbar-h) !important;
        overflow-x: hidden;
    }

    .content-wrapper,
    .container-full,
    .content {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden;
    }

    .content {
        padding: 12px 10px calc(92px + env(safe-area-inset-bottom)) !important;
    }

    .ph {
        margin: 0 0 12px;
        padding: 16px 14px;
        border: 1px solid rgba(214, 226, 239, .9);
        border-radius: 18px;
        background: #1C3E6E;
        box-shadow: 0 16px 30px rgba(15, 23, 42, .12);
    }

    .ph-title {
        color: #fff;
        font-size: 20px;
        font-weight: 700;
        letter-spacing: -.02em;
    }

    .ph-sub {
        color: rgba(255, 255, 255, .74);
        font-size: 11px;
        line-height: 1.5;
    }

    .ph-actions {
        width: 100%;
    }

    .ph-actions .btn,
    .ph-actions a,
    .ph-actions button {
        min-height: 40px;
        border-radius: 3px !important;
    }

    .cb {
        padding: 0 !important;
    }

    .card,
    .box {
        border: 1px solid rgba(214, 226, 239, .95) !important;
        border-radius: 18px !important;
        box-shadow: 0 14px 32px rgba(15, 23, 42, .075) !important;
        overflow: hidden;
    }

    .ch,
    .box-header {
        padding: 14px 15px !important;
    }

    .ch h6,
    .box-header .box-title {
        font-size: 14px !important;
        font-weight: 900 !important;
    }

    .cb2,
    .box-body {
        padding: 14px !important;
    }

    .form-control,
    .form-select,
    select,
    textarea,
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="search"],
    input[type="date"] {
        min-height: 44px;
        /* border-radius: 12px !important; */
        font-size: 14px !important;
    }

    .btn {
        min-height: 40px;
        border-radius: 3px !important;
        font-weight: 800;
        touch-action: manipulation;
    }

    .row {
        margin-left: -6px !important;
        margin-right: -6px !important;
    }

    [class*="col-"] {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .table-responsive {
        border: 1px solid #e3edf7;
        border-radius: 14px;
        background: #fff;
    }

    table {
        max-width: 100%;
    }

    table.table th,
    table.table td {
        white-space: nowrap;
        vertical-align: middle !important;
    }

    .pagination {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .pagination>li>a,
    .pagination>li>span {
        border-radius: 3px !important;
        margin: 0 !important;
    }

    .sb {
        border-radius: 0 24px 24px 0;
        background: #ffffff;
    }

    .sb::before {
        content: "Myctrlbox";
        display: block;
        margin: 8px 12px 6px;
        padding: 12px;
        border-radius: 16px;
        background: #1C3E6E;
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .02em;
    }

    .sb-menu {
        padding-bottom: 22px;
    }

    .sb-link,
    .sb-sub-link {
        touch-action: manipulation;
    }

    .sb-link.active,
    .sb-sub-link.active::before,
    .mobile-tab.active,
    .mobile-tab-menu {
        background: #1C3E6E !important;
    }

    .mobile-tabbar {
        left: 8px;
        right: 8px;
        bottom: calc(8px + env(safe-area-inset-bottom));
        padding: 6px;
        border: 1px solid rgba(214, 226, 239, .95);
        background: rgba(255, 255, 255, .95);
        box-shadow: 0 18px 38px rgba(15, 23, 42, .20);
    }

    .mobile-tab {
        min-height: 50px;
        font-weight: 800;
    }

    .mobile-tab.active,
    .mobile-tab-menu {
        box-shadow: 0 10px 18px rgba(7, 59, 97, .20);
    }
}

@media(min-width:576px) and (max-width:991px) {
    .sb {
        top: var(--topbar-h) !important;
        width: var(--sidebar-w) !important;
        height: calc(100dvh - var(--topbar-h)) !important;
        transform: translateX(0) !important;
        border-right: 1px solid var(--border) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding-top: 0 !important;
    }

    .sb::before {
        display: none !important;
    }

    .mc {
        width: auto !important;
        margin-left: var(--sidebar-w) !important;
        padding-bottom: 18px !important;
    }

    .content {
        padding-bottom: 12px !important;
    }

    .mobile-tabbar {
        display: none !important;
    }

    body.sb-mini .sb {
        width: var(--sidebar-mini) !important;
    }

    body.sb-mini .mc {
        margin-left: var(--sidebar-mini) !important;
    }

    body.sb-mini .sb-link {
        min-height: 42px;
        justify-content: center !important;
        padding: 10px 0 !important;
    }

    body.sb-mini .sb-txt,
    body.sb-mini .sb-arr,
    body.sb-mini .sb-sub,
    body.sb-mini .sb-divider {
        display: none !important;
    }
}

body.sb-mini .sb,
body.sb-mini .sb-menu,
body.sb-mini .sb-item {
    overflow: visible;
}

body.sb-mini .sb-item {
    position: relative;
}

body.sb-mini .sb-item.open>.sb-sub {
    position: absolute;
    top: 0;
    left: calc(100% + 8px);
    z-index: 1300;
    display: block !important;
    width: 230px;
    max-height: min(70vh, 520px) !important;
    overflow-y: auto;
    padding: 8px;
    margin: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .18);
}

body.sb-mini .sb-item.open>.sb-sub::before {
    content: "";
    position: absolute;
    top: 14px;
    left: -6px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transform: rotate(45deg);
}

body.sb-mini .sb-item.open>.sb-sub>li {
    position: relative;
    z-index: 1;
}

body.sb-mini .sb-item.open>.sb-sub .sb-sub-link {
    padding: 9px 10px;
    font-size: 13px;
    white-space: normal;
}

body.sb-mini .sb-link.has-sub.open-parent {
    background: var(--blue);
    color: #fff;
}

body.sb-mini .sb-link.has-sub.open-parent i {
    color: #fff;
}

@media(max-width:575px) {
    .tb {
        padding: 0 10px;
    }

    .tb-brand img {
        max-width: 116px;
    }

    .tb-r {
        gap: 4px;
    }

    .tb-btn,
    .tb-ham,
    .tb-avatar {
        width: 34px;
        height: 34px;
    }

    .ph {
        border-radius: 16px;
    }

    .ph-actions .btn,
    .ph-actions a,
    .ph-actions button {
        width: 100%;
        justify-content: center;
    }

    .card,
    .box {
        border-radius: 16px !important;
    }

    .modal-dialog {
        margin: 8px !important;
    }

    .mobile-tabbar {
        border-radius: 20px;
    }

    .mobile-tab {
        min-height: 48px;
        font-size: 10px;
    }

    .mobile-tab i {
        font-size: 16px;
    }
}

.modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 14px !important;
    pointer-events: auto !important;
}

.modal-backdrop.show {
    opacity: .54;
    backdrop-filter: blur(3px);
}

.modal-dialog {
    width: min(94vw, 900px);
    max-width: min(94vw, 900px);
    margin: 0 auto !important;
    pointer-events: auto !important;
}

.modal-xl {
    width: min(94vw, 1040px);
    max-width: min(94vw, 1040px);
}

.modal-lg {
    width: min(94vw, 780px);
    max-width: min(94vw, 780px);
}

.modal-content {
    border: 1px solid rgba(219, 232, 243, .92) !important;
    border-radius: 16px !important;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 22px 56px rgba(15, 23, 42, .28);
}

.modal-header {
    min-height: 58px;
    border: 0 !important;
    padding: 14px 16px !important;
    background: #0d4f7c !important;
    color: #fff;
}

.modal-title {
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
}

.modal-title span {
    display: inline-block;
    color: rgba(255, 255, 255, .86);
    font-weight: 800;
    word-break: break-word;
}

.modal-header .btn-close {
    width: 34px;
    height: 34px;
    margin: 0 !important;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, .16);
    opacity: 1;
    filter: invert(1) grayscale(1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.modal-body {
    padding: 14px !important;
    background: #ffffff;
}

.modal-footer {
    border-top: 1px solid #e7eef6 !important;
    padding: 12px 14px !important;
    background: #fbfdff;
    gap: 8px;
}

.modal-footer .btn {
    min-width: 96px;
    min-height: 38px;
    border-radius: 3px !important;
    font-size: 12px;
    font-weight: 700;
}

.customer-modal-body,
.heightscroll {
    max-height: min(68vh, 620px) !important;
    overflow: auto !important;
    overflow-x: hidden !important;
    text-align: left !important;
}

@media(max-width:767px) {
    .modal.show {
        align-items: flex-end;
        padding: 8px !important;
    }

    .modal-dialog,
    .modal-xl,
    .modal-lg {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .modal-content {
        max-height: calc(100dvh - 16px);
        border-radius: 18px 18px 14px 14px !important;
    }

    .modal-header {
        min-height: 56px;
        padding: 13px 14px !important;
    }

    .modal-title {
        max-width: calc(100vw - 88px);
        font-size: 14px;
    }

    .modal-title span {
        display: block;
        margin-top: 3px;
        font-size: 13px;
    }

    .modal-body {
        padding: 10px !important;
    }

    .modal-footer {
        padding: 10px !important;
    }

    .modal-footer .btn {
        width: 100%;
        min-height: 44px;
    }

    .customer-modal-body,
    .heightscroll {
        max-height: calc(100dvh - 164px) !important;
    }
}

.app-log-modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.app-log-modal .modal-dialog {
    width: min(92vw, 860px) !important;
    max-width: min(92vw, 860px) !important;
    position: relative !important;
    margin: 0 auto !important;
    transform: none !important;
}

.app-log-modal .modal-content {
    max-height: min(82vh, 760px);
    border-radius: 24px !important;
}

.app-log-modal .modal-header {
    min-height: 72px;
    padding: 18px 22px !important;
}

.app-log-modal .modal-title {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
}

.app-log-modal .modal-title::before {
    content: "Domain Activity";
    color: rgba(255, 255, 255, .68);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.app-log-modal .modal-body {
    padding: 18px !important;
}

.domain-log-list {
    display: grid;
    gap: 12px;
}

.domain-log-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    border: 1px solid #e1ebf5;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .055);
}

.domain-log-stamp {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 12px;
    border-radius: 14px;
    background: #f6f9fc;
}

.domain-log-stamp span {
    color: #7c8da3;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.domain-log-stamp strong {
    color: #1C3E6E;
    font-size: 13px;
    font-weight: 700;
}

.domain-log-stamp small {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.domain-log-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.domain-log-icon {
    width: 36px;
    height: 36px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #EEF3F9;
    color: #1C3E6E;
    flex: 0 0 auto;
}

.domain-log-message p {
    margin: 7px 0 0;
    color: #1f3448;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    word-break: break-word;
}

.domain-log-empty {
    min-height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    border: 1px dashed #cbd9e7;
    border-radius: 18px;
    background: #fff;
    color: #64748b;
    text-align: center;
}

.domain-log-empty i {
    font-size: 30px;
    color: #1C3E6E;
}

.domain-log-empty strong {
    color: #1f3448;
    font-size: 15px;
}

@media(max-width:767px) {
    .app-log-modal.show {
        align-items: flex-end;
        padding: 8px !important;
    }

    .app-log-modal .modal-dialog {
        width: 100% !important;
        max-width: 100% !important;
    }

    .app-log-modal .modal-content {
        max-height: calc(100dvh - 16px);
        border-radius: 24px 24px 18px 18px !important;
    }

    .app-log-modal .modal-header {
        padding: 16px !important;
    }

    .app-log-modal .modal-body {
        padding: 12px !important;
    }

    .domain-log-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px;
    }

    .domain-log-stamp {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        column-gap: 10px;
        padding: 10px 12px;
    }

    .domain-log-stamp span {
        grid-row: 1 / span 2;
    }

    .domain-log-message p {
        margin-top: 2px;
        font-size: 12px;
    }
}

@media(max-width:991px) {
    :root {
        --topbar-h: 64px;
    }

    body {
        overflow-x: hidden;
        background: #f4f7fa;
    }

    .tb {
        height: var(--topbar-h) !important;
        padding: 0 16px !important;
        border-bottom: 1px solid #dbe7f1 !important;
        box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
    }

    .tb-l,
    .tb-r {
        gap: 10px !important;
        min-width: 0;
    }

    .tb-ham {
        width: 44px !important;
        height: 44px !important;
        border-radius: 3px !important;
        font-size: 19px !important;
    }

    .tb-brand img {
        height: 31px !important;
        max-width: 170px !important;
    }

    .tb-btn {
        display: none !important;
    }

    .tb-user {
        padding: 0 !important;
        gap: 8px !important;
        background: transparent !important;
    }

    .tb-avatar {
        width: 42px !important;
        height: 42px !important;
        font-size: 16px !important;
    }

    .tb-uname,
    .tb-urole {
        display: none !important;
    }

    .tb-chevron {
        display: inline-flex !important;
        font-size: 18px !important;
        color: #95a3b3 !important;
    }

    .tb-drop {
        position: fixed !important;
        top: calc(var(--topbar-h) + 8px) !important;
        right: 12px !important;
        border-radius: 16px !important;
        z-index: 1800 !important;
    }

    .mc {
        margin-left: 0 !important;
        margin-top: var(--topbar-h) !important;
        min-height: calc(100dvh - var(--topbar-h)) !important;
        padding: 12px 10px calc(78px + env(safe-area-inset-bottom)) !important;
    }

    .mc>.content-wrapper,
    .content-wrapper,
    .container-full,
    section.content,
    .content {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .box,
    .card,
    .domain-filter-card {
        border-radius: 16px !important;
    }

    .mobile-tabbar {
        position: fixed !important;
        left: 10px !important;
        right: 10px !important;
        bottom: calc(0px + env(safe-area-inset-bottom)) !important;
        height: 68px !important;
        padding: 12px !important;
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 6px !important;
        border: 1px solid rgba(196, 213, 229, .9) !important;
        border-radius: 2px !important;
        background: rgba(255, 255, 255, .96) !important;
        box-shadow: 0 12px 34px rgba(15, 23, 42, .18) !important;
        backdrop-filter: blur(14px);
        z-index: 1600 !important;
        width: auto !important;
    }

    .mobile-tab {
        min-width: 0 !important;
        height: 46px !important;
        padding: 4px 3px !important;
        border-radius: 15px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        gap: 2px !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        color: #8b98a8 !important;
        line-height: 1.05 !important;
    }

    .mobile-tab i {
        font-size: 18px !important;
        line-height: 1 !important;
    }

    .mobile-tab span {
        display: block !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        max-width: 100% !important;
    }

    .mobile-tab.active,
    .mobile-tab-menu {
        background: #1C3E6E !important;
        color: #fff !important;
        box-shadow: 0 8px 18px rgba(28, 62, 110, .22) !important;
    }
}

@media(max-width:767px) {
    .domain-filter-card {
        padding: 12px !important;
        margin: 0 0 12px !important;
    }

    .domain-filter-card .row {
        margin-left: -4px !important;
        margin-right: -4px !important;
    }

    .domain-filter-card [class*="col-"] {
        padding-left: 4px !important;
        padding-right: 4px !important;
        margin-bottom: 8px !important;
    }

    .domain-filter-card label {
        font-size: 12px !important;
        margin-bottom: 4px !important;
        font-weight: 700 !important;
    }

    .domain-filter-card .form-control,
    .domain-filter-card .form-select,
    .domain-filter-card select,
    .domain-filter-card input {
        min-height: 38px !important;
        height: 38px !important;
        border-radius: 11px !important;
        font-size: 13px !important;
        padding: 7px 10px !important;
    }

    .filter-action-col {
        padding-top: 0 !important;
    }

    .filter-search-btn,
    .filter-reset-btn {
        height: 40px !important;
        border-radius: 3px !important;
    }
}

@media(max-width:991px) and (max-height:520px) {
    :root {
        --topbar-h: 50px;
    }

    .tb {
        padding: 0 12px !important;
    }

    .tb-ham,
    .tb-avatar {
        width: 34px !important;
        height: 34px !important;
        border-radius: 3px !important;
        font-size: 15px !important;
    }

    .tb-brand img {
        height: 24px !important;
        max-width: 138px !important;
    }



    .domain-filter-card {
        padding: 10px !important;
    }

    .domain-filter-card label {
        font-size: 11px !important;
        margin-bottom: 3px !important;
    }

    .domain-filter-card .form-control,
    .domain-filter-card .form-select,
    .domain-filter-card select,
    .domain-filter-card input {
        min-height: 34px !important;
        height: 34px !important;
        font-size: 12px !important;
        padding: 5px 9px !important;
    }

    .filter-search-btn,
    .filter-reset-btn {
        height: 34px !important;
    }

    .mobile-tabbar {
        left: 0px !important;
        right: 0px !important;

        height: 58px !important;
        padding: 4px !important;

    }

    .mobile-tab {
        height: 40px !important;
        border-radius: 13px !important;
        font-size: 9px !important;
        gap: 1px !important;
    }

    .mobile-tab i {
        font-size: 15px !important;
    }
}

/* ==========================================================================
   theme.css
   ========================================================================== */

.ph {
    padding: 16px 22px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.ph-left h1 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
}

.ph-left .breadcrumb-custom {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--text-3);
    margin-top: 3px;
}

.ph-left .breadcrumb-custom a {
    color: var(--blue);
    text-decoration: none;
}

.ph-left .breadcrumb-custom span {
    color: var(--text-3);
}

.ph-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cb {
    padding: 18px 22px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sb-active {
    background: #E8F5E9;
    color: #2E7D32;
}

.sb-active::before {
    background: #2E7D32;
}

.sb-inactive {
    background: #F5F5F5;
    color: #757575;
}

.sb-inactive::before {
    background: #9E9E9E;
}

.sb-expired {
    background: #FFEBEE;
    color: #C62828;
}

.sb-expired::before {
    background: #C62828;
}

.sb-pending {
    background: #FFF8E1;
    color: #F57F17;
}

.sb-pending::before {
    background: #F57F17;
}

.sb-new {
    background: var(--blue-l);
    color: var(--blue);
}

.sb-new::before {
    background: var(--blue);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-2);
}

.form-control {
    border: 1.5px solid var(--border);
    /* border-radius: var(--radius-s); */
    padding: 9px 12px;
    font-size: 13px;
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: border-color .2s;
    width: 100%;
}

.form-control:focus {
    border-color: var(--border);
    box-shadow: none;
}

.form-control::placeholder {
    color: var(--text-3);
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 90px;
}

.adv-search-panel {
    background: #F8FAFB;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
}

.adv-search-toggle {
    width: 100%;
    padding: 13px 16px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text);
    font-size: 13.5px;
    font-weight: 500;
    transition: background .2s;
}

.adv-search-toggle:hover {
    background: #EEF2F7;
}

.tab-btn {
    padding: 10px 18px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-2);
    font-weight: 500;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all .2s;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--blue);
}

.tab-btn.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
    font-weight: 600;
}

.tab-panel {
    display: none;
}

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

.modal-header {
    background: var(--blue);
    color: #fff;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-title {
    font-size: 15px;
    font-weight: 600;
}

.modal-content {
    border: none;
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
}

.sweet-overlay {
    background: rgba(0, 0, 0, .5) !important;
}

.sweet-alert {
    border-radius: 16px !important;
    font-family: inherit !important;
    padding: 22px 20px !important;
    box-shadow: 0 22px 56px rgba(15, 23, 42, .24) !important;
}

.sweet-alert h2 {
    font-size: 16px !important;
    color: var(--text) !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
}

.sweet-alert p {
    font-size: 13px !important;
    color: var(--text-2) !important;
    line-height: 1.45 !important;
}

.sweet-alert button.confirm {
    background: var(--blue) !important;
    border-radius: 3px !important;
    font-size: 13px !important;
    padding: 9px 18px !important;
    font-weight: 900 !important;
}

.sweet-alert button.confirm:hover {
    background: var(--blue-h) !important;
}

.sweet-alert button.cancel {
    background: #F0F4F8 !important;
    color: var(--text-2) !important;
    border-radius: 3px !important;
    font-size: 13px !important;
    padding: 9px 18px !important;
    font-weight: 800 !important;
}

.sweet-alert button.cancel:hover {
    background: #E0E7EF !important;
}

.toast-container {
    position: fixed;
    top: 72px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-height: calc(100vh - 90px);
    overflow: hidden;
}

.toast-notif {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .14), 0 2px 8px rgba(0, 0, 0, .06);
    padding: 14px 16px;
    padding-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 320px;
    max-width: 400px;
    pointer-events: all;
    border-left: 4px solid var(--blue);
    animation: toastIn .35s cubic-bezier(.4, 0, .2, 1);
    font-size: 13px;
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.toast-notif.success {
    border-left-color: var(--success);
}

.toast-notif.error {
    border-left-color: var(--danger);
}

.toast-notif.warning {
    border-left-color: var(--warning);
}

.toast-notif.info {
    border-left-color: var(--blue);
}

.toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}

.toast-notif.success .toast-icon {
    background: rgba(46, 125, 50, .1);
    color: var(--success);
}

.toast-notif.error .toast-icon {
    background: rgba(198, 40, 40, .1);
    color: var(--danger);
}

.toast-notif.warning .toast-icon {
    background: rgba(245, 127, 23, .1);
    color: var(--warning);
}

.toast-notif.info .toast-icon {
    background: rgba(28, 62, 110, .1);
    color: var(--blue);
}

.toast-body {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.toast-title {
    font-weight: 600;
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 2px;
    color: var(--text);
}

.toast-notif.success .toast-title {
    color: var(--success);
}

.toast-notif.error .toast-title {
    color: var(--danger);
}

.toast-notif.warning .toast-title {
    color: var(--warning);
}

.toast-notif.info .toast-title {
    color: var(--blue);
}

.toast-msg {
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--text-2);
    word-wrap: break-word;
}

.toast-close {
    cursor: pointer;
    opacity: .35;
    font-size: 14px;
    flex-shrink: 0;
    padding: 2px;
    transition: opacity .2s;
}

.toast-close:hover {
    opacity: 1;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, .06);
}

.toast-progress-bar {
    height: 100%;
    width: 0%;
    border-radius: 0 2px 2px 0;
}

.toast-notif.success .toast-progress-bar {
    background: var(--success);
}

.toast-notif.error .toast-progress-bar {
    background: var(--danger);
}

.toast-notif.warning .toast-progress-bar {
    background: var(--warning);
}

.toast-notif.info .toast-progress-bar {
    background: var(--blue);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(60px) scale(.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes toastOut {
    to {
        opacity: 0;
        transform: translateX(60px) scale(.95);
    }
}

@media(max-width:768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: auto;
        width: calc(100% - 20px);
        max-width: 290px;
    }

    .toast-notif {
        min-width: 0;
        max-width: 100%;
        padding: 10px 12px;
        padding-bottom: 12px;
        gap: 8px;
        font-size: 11.5px;
        border-radius: 6px;
    }

    .toast-icon {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .toast-body {
        padding-top: 0;
    }

    .toast-title {
        font-size: 11.5px !important;
        margin-bottom: 1px;
    }

    .toast-msg {
        font-size: 11px !important;
        line-height: 1.35;
    }

    .toast-close {
        font-size: 12px;
        padding: 0;
    }
}

@media(max-width:768px) {
    .cb {
        padding: 12px;
    }

    .ph {
        padding: 12px 14px;
    }
}

html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

.content-wrapper,
.container-full,
.content,
.box,
.box-body,
.table-responsive {
    max-width: 100%;
}

.box,
.card,
.domain-filter-card,
.customer-box,
.reseller-box {
    box-shadow: 0 12px 30px rgba(15, 23, 42, .055);
}

.box-header {
    min-height: 56px;
}

.form-control,
.form-select,
select,
input,
textarea {
    max-width: 97%;
    background: none;
    padding: 6px;
    border: none;
}

@media(min-width:1200px) {

    .content-wrapper,
    .container-full {
        max-width: 100%;
    }

    .content,
    section.content {
        padding: 18px 24px !important;
    }

    .box,
    .domain-filter-card {
        border-radius: 12px;
    }

    .table-responsive {
        overflow-x: auto;
    }

    .table>tbody>tr>td,
    .table>thead>tr>th {
        vertical-align: middle;
    }
}

@media(min-width:992px) and (max-width:1199px) {

    .content,
    section.content {
        padding: 16px !important;
    }

    .box,
    .domain-filter-card {
        border-radius: 3px !important;
    }

    .box-body {
        padding: 14px !important;
    }

    .domain-filter-card {
        padding: 14px !important;
    }

    .domain-filter-card label,
    .form-label {
        font-size: 12px !important;
    }

    .domain-filter-card .form-control,
    .domain-filter-card .form-select,
    .form-control,
    .form-select {
        min-height: 38px;
        font-size: 13px;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table>tbody>tr>td,
    .table>thead>tr>th {
        padding: 9px 10px !important;
        font-size: 12px !important;
        white-space: nowrap;
    }
}

@media(min-width:768px) and (max-width:991px) {

    .content,
    section.content {
        padding: 14px !important;
    }

    .box,
    .domain-filter-card,
    .customer-box,
    .reseller-box {
        border-radius: 18px !important;
        margin-bottom: 14px !important;
    }

    .box-header {
        padding: 14px 16px !important;
        min-height: 54px !important;
    }

    .box-header .box-title {
        font-size: 15px !important;
    }

    .box-body {
        padding: 14px !important;
    }

    .domain-filter-card .row {
        display: flex;
        flex-wrap: wrap;
    }

    .domain-filter-card [class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .filter-action-col {
        padding-top: 24px !important;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 14px;
    }

    .table>tbody>tr>td,
    .table>thead>tr>th {
        padding: 10px !important;
        font-size: 12px !important;
        white-space: nowrap;
    }

    .toast-container {
        top: 74px;
        right: 14px;
        left: auto;
        max-width: 380px;
    }
}

@media(max-width:767px) {

    .content,
    section.content {
        padding: 0 !important;
    }

    .box,
    .card,
    .domain-filter-card,
    .customer-box,
    .reseller-box {
        border-radius: 16px !important;
        margin-bottom: 12px !important;
        overflow: hidden;
    }

    .box-header {
        padding: 12px !important;
        min-height: 48px !important;
        align-items: center !important;
    }

    .box-header .box-title {
        font-size: 14px !important;
        line-height: 1.25 !important;
    }

    .box-body {
        padding: 12px !important;
    }

    .box-body.no-padding {
        padding: 0 !important;
    }

    .form-label,
    label {
        font-size: 12px;
    }

    .form-control,
    .form-select,
    select.form-control,
    textarea.form-control {
        min-height: 38px;
        /* border-radius: 11px; */
        font-size: 13px;
    }

    .btn,
    button.btn,
    input[type="submit"].btn {
        min-height: 38px;
        border-radius: 11px;
        white-space: normal;
    }

    .table-responsive {
        border: 0 !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .table-responsive:has(td[data-label]) {
        overflow-x: visible !important;
    }

    .table-responsive>table.table:has(td[data-label]):not(.keep-table) {
        display: block;
        width: 100% !important;
    }

    .table-responsive>table.table:has(td[data-label]):not(.keep-table) thead,
    .table-responsive>table.table:has(td[data-label]):not(.keep-table)>tbody>tr:first-child th {
        display: none !important;
    }

    .table-responsive>table.table:has(td[data-label]):not(.keep-table) tbody,
    .table-responsive>table.table:has(td[data-label]):not(.keep-table) tr,
    .table-responsive>table.table:has(td[data-label]):not(.keep-table) td {
        display: block;
        width: 100% !important;
    }

    .table-responsive>table.table:has(td[data-label]):not(.keep-table) tr {
        margin: 0 0 10px;
        padding: 12px;
        border: 1px solid #e1ebf5;
        border-radius: 15px;
        background: #fff;
        box-shadow: 0 8px 20px rgba(15, 23, 42, .055);
    }

    .table-responsive>table.table:has(td[data-label]):not(.keep-table) td {
        min-height: 30px;
        padding: 6px 0 !important;
        border: 0 !important;
        white-space: normal !important;
        word-break: break-word;
        text-align: right;
    }

    .table-responsive>table.table:has(td[data-label]):not(.keep-table) td::before {
        content: attr(data-label);
        float: left;
        max-width: 46%;
        padding-right: 10px;
        color: #8a97a8;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
        text-align: left;
    }

    .table-responsive>table.table:has(td[data-label]):not(.keep-table) td:not([data-label])::before {
        content: none;
    }


    .btn-sm {
        min-width: 32px;
        min-height: 32px;
    }

    .toast-container {
        top: 72px !important;
        left: 10px !important;
        right: 10px !important;
        max-width: none !important;
    }
}

@media(max-width:420px) {

    .table-responsive>table.table:has(td[data-label]):not(.keep-table) tr {
        padding: 10px;
    }

    .table-responsive>table.table:has(td[data-label]):not(.keep-table) td {
        text-align: left;
    }

    .table-responsive>table.table:has(td[data-label]):not(.keep-table) td::before {
        float: none;
        display: block;
        max-width: 100%;
        margin-bottom: 3px;
    }
}

.transfer-flow {
    border: 1px solid #d7e5f2 !important;
    border-radius: 3px !important;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(15, 40, 64, .07);
}

.transfer-flow>.box-header {
    padding: 18px 20px !important;
    background: #fff !important;
    border: 0 !important;
    border-bottom: 1px solid #d8e2ec !important;
}

.transfer-flow>.box-header .box-title {
    color: #0f2a3f !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.transfer-shell {
    padding: 22px !important;
    background: #f7fafc;
}

.transfer-stepper-wrap {
    margin: 0 0 24px;
    padding: 16px;
    border: 1px solid #dbe7f2;
    border-radius: 12px;
    background: #fff;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.transfer-steps {
    display: flex;
    align-items: center;
    min-width: 760px;
    gap: 10px;
}

.transfer-step {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 0;
    min-height: 52px;
    padding: 11px 13px;
    border: 1px solid #dce7f1;
    border-radius: 10px;
    background: #f9fbfd;
    color: #42586f;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
    transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}

.transfer-step+.transfer-step {
    margin-left: 0;
}

.transfer-step:hover {
    border-color: #b9cde0;
    color: var(--brand-blue);
}

.transfer-step-index {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: #e7eef6;
    color: var(--brand-blue);
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
}

.transfer-step-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.transfer-step-label .fa {
    font-size: 11px;
    opacity: .68;
}

.transfer-step.is-active .transfer-step-label .fa,
.transfer-step.is-done .transfer-step-label .fa {
    opacity: .95;
}

.transfer-step.is-active {
    color: #fff;
    border-color: var(--brand-blue);
    background: var(--brand-blue);
    box-shadow: 0 10px 22px rgba(0, 68, 113, .18);
}

.transfer-step.is-active .transfer-step-index {
    background: #fff;
    color: var(--brand-blue);
}

.transfer-step.is-done {
    color: #114469;
    border-color: #ffc7b5;
    background: #fff3ee;
}

.transfer-step.is-done .transfer-step-index {
    background: var(--brand-orange);
    color: #fff;
}

.transfer-step.is-disabled {
    pointer-events: none;
    opacity: .72;
    color: #6d7b89;
    background: #fff;
}

.transfer-card {
    width: 100%;
    border: 1px solid #dce9f4;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .035);
    overflow: hidden;
}

.transfer-card .box-body {
    padding: 20px !important;
}

.transfer-domain-search .input-group {
    display: grid;
    grid-template-columns: 44px minmax(180px, 1fr) minmax(180px, 1fr) 138px;
    gap: 10px;
    align-items: stretch;
    margin-bottom: 0 !important;
}

.transfer-domain-search .input-group>* {
    width: 100% !important;
    /* border-radius: 10px !important; */
}

.transfer-domain-search .input-group-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d6e3f0;
    background: #f3f8fc;
    color: var(--brand-blue);
}

.transfer-domain-search .form-control {
    min-height: 44px;
    border-color: #d6e3f0;
    font-size: 14px !important;
}

.transfer-domain-search .btn {
    min-height: 44px;
    padding-inline: 18px;
    font-weight: 700;
    line-height: 1.15;
    background: var(--brand-orange) !important;
    border-color: var(--brand-orange) !important;
}

.transfer-inline-error {
    width: 100%;
    height: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: transparent;
    font-size: 0;
    line-height: 0;
    text-align: center;
}

.transfer-action-footer {
    margin-top: 14px;
    padding: 16px 0 0 !important;
    border-top: 1px solid #dfeaf4 !important;
    background: transparent !important;
}

.transfer-action-footer .btn {
    min-width: 118px;
    min-height: 38px;
    border-radius: 3px !important;
    font-size: 12px;
    font-weight: 700;
}

.transfer-lookup-flow {
    border: 1px solid #dfe7f0 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08) !important;
}

.transfer-lookup-flow>.box-header {
    padding: 18px 24px 10px !important;
    border: 0 !important;
    background: #fff !important;
}

.transfer-title-lockup {
    display: flex;
    align-items: center;
    gap: 12px;
}

.transfer-title-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 12px;
    background: #fff0e8;
    color: var(--brand-orange);
    font-size: 22px;
}

.transfer-title-lockup .box-title {
    margin: 0 0 3px !important;
    color: #071b45 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
}

.transfer-title-lockup small {
    display: block;
    color: #4a5a78;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.transfer-lookup-shell {
    padding: 10px 24px 24px !important;
    background: #fff !important;
}

.transfer-lookup-stepper-wrap {
    margin: 4px 0 18px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    overflow: visible !important;
}

.transfer-lookup-flow .transfer-steps {
    position: relative;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    min-width: 0 !important;
}

.transfer-lookup-flow .transfer-steps::before {
    content: "";
    position: absolute;
    top: 48px;
    left: 9%;
    right: 9%;
    border-top: 3px dashed #d7dde8;
    z-index: 0;
}

.transfer-lookup-flow .transfer-step {
    position: relative;
    z-index: 1;
    min-height: 106px;
    padding: 10px 8px 12px !important;
    border: 1px solid transparent !important;
    border-radius: 3px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #071b45 !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px !important;
    text-align: center;
    white-space: normal;
}

.transfer-lookup-flow .transfer-step .transfer-step-index {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-29px);
    width: 23px;
    height: 23px;
    background: #071b45;
    color: #fff;
    border: 0;
    font-size: 12px;
}

.transfer-lookup-flow .transfer-step-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #dce2ec;
    border-radius: 999px;
    background: #fff;
    color: #071b45;
    font-size: 23px;
}

.transfer-lookup-flow .transfer-step-label {
    color: #071b45;
    font-size: 13px;
    font-weight: 700;
    font-family: "Urbanist", sans-serif !important;
    line-height: 1.25;
    white-space: normal;
}

.transfer-lookup-flow .transfer-step.is-active {
    border-color: #ffd9c8 !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(255, 101, 38, .12) !important;
}

.transfer-lookup-flow .transfer-step.is-active .transfer-step-index,
.transfer-lookup-flow .transfer-step.is-done .transfer-step-index {
    background: var(--brand-orange);
    color: #fff;
}

.transfer-lookup-flow .transfer-step.is-active .transfer-step-icon,
.transfer-lookup-flow .transfer-step.is-done .transfer-step-icon {
    border-color: #ffd4bf;
    color: var(--brand-orange);
}

.transfer-lookup-flow .transfer-step.is-active .transfer-step-label {
    color: var(--brand-orange);
}

.transfer-lookup-row {
    margin: 0 !important;
}

.transfer-lookup-card {
    width: 100%;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.transfer-lookup-card .box-body {
    padding: 0 !important;
}

.transfer-lookup-search.domainarea {
    width: 100% !important;
    float: none !important;
    padding: 24px 28px !important;
    border: 1px solid #ffd9c8;
    border-radius: 10px;
    background: linear-gradient(105deg, #fff 0%, #fff 57%, #fff2e9 100%);
    box-shadow: 0 12px 26px rgba(255, 101, 38, .08);
}

.transfer-search-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.transfer-search-head h3 {
    margin: 0 0 5px;
    color: #071b45;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.15;
}

.transfer-search-head h3 span {
    color: var(--brand-orange);
}

.transfer-search-head p {
    margin: 0;
    color: #4a5a78;
    font-size: 13px;
    font-weight: 600;
}

.transfer-search-art {
    position: relative;
    width: 170px;
    min-height: 58px;
    flex: 0 0 auto;
}

.transfer-search-art .art-transfer {
    position: absolute;
    right: 70px;
    top: 0;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--brand-orange);
    color: #fff;
    font-size: 24px;
    opacity: .9;
}

.transfer-search-art .art-code {
    position: absolute;
    right: 122px;
    top: 7px;
    min-width: 108px;
    min-height: 34px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
    color: #071b45;
    font-size: 15px;
}

.transfer-search-art .art-code strong {
    color: var(--brand-orange);
    font-size: 13px;
}

.transfer-search-panel {
    padding: 14px;
    border: 1px solid #e7edf4;
    border-radius: 12px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}

.transfer-lookup-search .input-group {
    display: grid;
    grid-template-columns: 100px minmax(0, 3.6fr) minmax(0, 2fr) 175px;
    gap: 0;
    align-items: stretch;
    margin-bottom: 12px !important;
}

.transfer-url-prefix {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid #dbe3ee;
    border-right: 0;
    /* border-radius: 10px 0 0 10px; */
    background: #fff;
    color: #071b45;
    font-size: 13px;
    font-weight: 700;
}

.transfer-lookup-search .form-control {
    min-height: 44px;
    border-radius: 0 !important;
    border-color: #dbe3ee !important;
    color: #071b45;
    font-size: 14px !important;
    font-weight: 700;
}

.transfer-autofill-decoy {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.transfer-epp-field {
    position: relative;
    display: block;
    width: 100% !important;
    min-width: 0;
}

.transfer-epp-field .form-control {
    width: 100% !important;
    padding-right: 44px !important;
}

.transfer-epp-toggle {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 34px;
    background: #dbe9f1;
    color: #071b45;
    font-size: 12px;
    line-height: 1;
}

.transfer-epp-toggle:hover,
.transfer-epp-toggle:focus {
    background: #dff0f8;
    color: var(--brand-orange);
    outline: none;
}

.transfer-lookup-search .btn {
    min-height: 44px;
    border-radius: 0 10px 10px 0 !important;
    background: #078e3e !important;
    border-color: #078e3e !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700;
    box-shadow: 0 10px 18px rgba(7, 142, 62, .22);
}

.transfer-lookup-search .btn .fa {
    margin-left: 10px;
}

.transfer-supported-tlds {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 9px;
}

.transfer-supported-tlds strong {
    color: #4a5a78;
    font-size: 12px;
    font-weight: 700;
}

.transfer-supported-tlds button {
    min-width: 54px;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid #d8e4e8;
    border-radius: 9px;
    background: #f7fbfa;
    color: #163651;
    font-size: 12px;
    font-weight: 800;
}

.transfer-supported-tlds button:hover,
.transfer-supported-tlds button:focus {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
}

.renew-checkout {
    max-width: 1160px;
    margin: 0 auto;
}

.renew-backline {
    margin: 0 0 12px;
}

.renew-backline a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1264ff;
    font-size: 13px;
    font-weight: 800;
}

.renew-checkout h1 {
    margin: 0 0 20px;
    color: #071b45;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
}

.renew-hero-card,
.renew-panel {
    border: 1px solid #dfe7f0;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .07);
}

.renew-hero-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 300px;
    align-items: center;
    gap: 0px;
    min-height: 98px;
    padding: 6px;
    margin-bottom: 11px;
    overflow: hidden;
}

.renew-domain-mark {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eaf2ff;
    color: #1264ff;
    font-size: 34px;
}

.renew-domain-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.renew-domain-title strong {
    color: #071b45;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.renew-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    padding: 5px 13px;
    border-radius: 999px;
    background: #dcfce7;
    color: #0a9d3e;
    font-size: 12px;
    font-weight: 700;
}

.renew-expire-line {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #3e5270;
    font-size: 14px;
    font-weight: 800;
}

.renew-hero-art {
    position: relative;
    min-height: 94px;
}

.renew-shield {
    position: absolute;
    left: 20px;
    top: 18px;
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6aa0ff;
    font-size: 58px;
    opacity: .9;
}

.renew-mini-search {
    position: absolute;
    right: 12px;
    top: 34px;
    min-width: 160px;
    min-height: 38px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    border-radius: 8px;
    background: #dbeaff;
    color: #7da0d9;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .08);
}

.renew-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    gap: 22px;
}

.renew-panel {
    padding: 22px;
}

.renew-panel-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: #071b45;
    font-size: 18px;
    font-weight: 700;
}

.renew-panel-title span {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eaf2ff;
    color: #1264ff;
}

.renew-panel-title span.green {
    background: #dcfce7;
    color: #0a9d3e;
}

.renew-detail-list {
    border: 1px solid #e2eaf3;
    border-radius: 9px;
    overflow: hidden;
}

.renew-detail-row {
    display: grid;
    grid-template-columns: 42px 150px minmax(0, 1fr) auto;
    align-items: center;
    gap: 34px;
    min-height: 47px;
    padding: 8px;
    border-bottom: 1px solid #e7edf4;
}

.renew-detail-row:last-child {
    border-bottom: 0;
}

.renew-row-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eaf2ff;
    color: #1264ff;
}

.renew-row-label {
    color: #3d5270;
    font-size: 14px;
    font-weight: 800;
}

.renew-detail-row strong {
    color: #071b45;
    font-size: 15px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.renew-period-select {
    min-height: 38px;
    min-width: 152px;
    padding: 2px 33px 4px 35px;
    border: 1px solid #d4deeb75;
    border-radius: 8px;
    color: #071b45;
    background: #fff;
    font-weight: 800;
}

.renew-detail-row em {
    padding: 5px 10px;
    border-radius: 8px;
    background: #dcfce7;
    color: #0a9d3e;
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
}

.renew-summary-list {
    border-top: 1px solid #e4ebf3;
}

.renew-summary-list>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 5px 11px;
    border-bottom: 1px solid #e4ebf3;
    color: #3d5270;
    font-size: 13px;
    font-weight: 700;
}

.renew-summary-list strong {
    color: #071b45;
    font-size: 15px;
    font-weight: 700;
}

.renew-total-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 6px;
    color: #071b45;
    font-size: 16px;
    font-weight: 800;
}

.renew-total-line strong {
    color: #0a9d3e;
    font-size: 23px;
}

.renew-balance-line {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #bfe9cf;
    border-radius: 8px;
    background: #ecfdf3;
    color: #284563;
    font-size: 14px;
    font-weight: 800;
}

.renew-balance-line i,
.renew-balance-line strong {
    color: #0a9d3e;
}

.renew-action-bar {
    display: flex;

    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-top: 34px;
}

.renew-action-bar .btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
}

.renew-back-btn {
    border: 1px solid #aebbd0;
    background: #fff;
    color: #173254;
}

.renew-cancel-btn {
    border: 1px solid #ff4040;
    background: #fff;
    color: #ff1515;
}

.renew-submit-btn {
    border: 1px solid #08983f;
    background: #08983f;
    color: #fff;
    box-shadow: 0 12px 24px rgba(8, 152, 63, .2);
}

.renew-submit-btn:hover,
.renew-submit-btn:focus {
    color: #fff;
    background: #057d34;
}

@media(max-width:991px) {
    .renew-hero-card {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .renew-hero-art {
        display: none;
    }

    .renew-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width:767px) {
    .renew-checkout h1 {
        font-size: 22px;
        margin-bottom: 14px;
    }

    .renew-hero-card {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 12px;
        min-height: 0;
        padding: 14px;
        margin-bottom: 14px;
    }

    .renew-domain-mark {
        width: 48px;
        height: 48px;
        font-size: 23px;
    }

    .renew-domain-title strong {
        font-size: 17px;
    }

    .renew-panel {
        padding: 14px;
    }

    .renew-detail-row {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 9px 12px;
        padding: 12px 10px;
    }

    .renew-row-label {
        font-size: 12px;
    }

    .renew-detail-row strong,
    .renew-period-select {
        grid-column: 2;
        width: 100%;
        min-width: 0;
    }

    .renew-detail-row em {
        grid-column: 2;
        width: max-content;
    }

    .renew-action-bar {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 18px;
    }

    .renew-action-bar .btn {
        min-height: 44px;
    }
}

.transfer-result-card {
    padding: 0 !important;
}

.transfer-result-card .table,
.transfer-summary-box .table {
    margin: 0;
}

.transfer-result-card th,
.transfer-summary-box th {
    color: #8b98aa;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    background: #f6f9fc;
}

.transfer-result-card td,
.transfer-summary-box td {
    vertical-align: middle;
    color: #203245;
    font-size: 13px;
}

.transfer-choice-grid {
    gap: 12px;
}

.transfer-radio-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.transfer-radio-stack input {
    position: absolute;
    opacity: 0;
}

.transfer-radio-stack label {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    min-height: 58px;
    padding: 15px 16px 15px 48px;
    border: 1px solid #dbe8f4;
    border-radius: 12px;
    color: #23405e;
    background: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.transfer-radio-stack label::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 46%;
    width: 13px;
    height: 13px;
    border: 1px solid #9eb0c1;
    border-radius: 999px;
    transform: translateY(-50%);
    background: #fff;
}

.transfer-radio-stack input:checked+label {
    border-color: var(--brand-blue);
    background: var(--light-blue);
    color: var(--brand-blue);
    box-shadow: 0 10px 22px rgba(28, 62, 110, .11);
}

.transfer-radio-stack input:checked+label::before {
    border-color: var(--brand-blue);
    box-shadow: inset 0 0 0 4px #fff;
    background: var(--brand-blue);
}

.transfer-form-grid {
    row-gap: 4px;
}

.transfer-form-grid .form-control,
.transfer-form-grid .form-select,
.transfer-card .select2-container--default .select2-selection--single {
    min-height: 44px;
    border-color: #d5e2ef !important;
    border-radius: 13px !important;
}

.transfer-form-grid .form-label,
.transfer-card .form-label {
    color: #334d68;
    font-size: 12px;
    font-weight: 800;
}

.transfer-summary-box {
    border: 1px solid #dce9f4 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: none !important;
}

.transfer-summary-box .box-header {
    background: var(--brand-blue) !important;
    border: 0 !important;
}

.transfer-wallet-box .box-header {
    background: var(--brand-orange) !important;
}

.transfer-final-card h3 {
    color: #143452;
    font-size: 22px;
    font-weight: 700;
}

.transfer-final-card p {
    color: #4d6175;
    font-size: 15px;
    font-weight: 700;
}

.registration-domain-search .input-group {
    grid-template-columns: 6fr 1fr;
}

.registration-domain-search.domainarea,
.transfer-domain-search.domainarea {
    width: 100% !important;
    min-height: 0 !important;
    padding: 20px !important;
    margin: 0 !important;
}

.registration-card>.box-body:first-child {
    padding: 28px 40px !important;
}

.registration-card:not(.registration-ns-card) {
    margin-left: 0;
    margin-right: 0;
    padding: 22px;
}

.registration-card .form-group {
    margin-bottom: 0;
}

.registration-result-card .domainname {
    color: var(--brand-blue);
    font-size: 15px;
    font-weight: 700;
}

.registration-result-card select,
.registration-summary-box select {
    min-height: 40px;
    min-width: 210px;
    border: 1px solid #d5e2ef;
    border-radius: 11px;
    color: #203245;
    font-weight: 700;
}

.registration-ns-card {
    border: 0 !important;
}

.registration-ns-card .card-body {
    padding: 20px;
}

.registration-card>.col-md-12,
.registration-card>.row,
.registration-card>form,
.registration-card .card-body {
    width: 100%;
}

.registration-card .badge {
    border: 0;
    border-radius: 10px;
    padding: 9px 15px !important;
    padding: 9px 12px;
    font-weight: 700;
    border-radius: 3px !important;
}

.registration-customer-details-card {
    display: block;
    width: 100%;
    max-width: 980px;
    margin: 22px auto 0 !important;
    padding: 22px 28px !important;
    border: 1px solid #dce8f4;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 45, 78, .06);
}

.registration-customer-details-card>.row,
.registration-customer-details-card>.transfer-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 34px;
    width: 100%;
    margin: 0 !important;
}

.registration-customer-details-card>.row>.col-md-6,
.registration-customer-details-card>.row>.col-md-12,
.registration-customer-details-card>.transfer-form-grid>.col-md-6 {
    width: 100%;
    max-width: none;
    padding: 0 !important;
}

.registration-customer-details-card>.row>.col-md-12,
.registration-customer-details-card>.transfer-form-grid>.col-md-12 {
    grid-column: 1 / -1;
}

.registration-customer-details-card .form-group {
    margin: 0 0 2px;
}

.registration-customer-details-card .form-label {
    display: block;
    margin-bottom: 7px;
    color: #132f4d;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.registration-customer-details-card .red {
    color: #e11d48;
}

.registration-customer-details-card .form-control,
.registration-customer-details-card .form-select {
    min-height: 42px;
    border: 1px solid #d4e3f0;
    border-radius: 10px;
    background-color: #ffffff;
    color: #102a43;
    font-size: 13px;
    font-weight: 700;
    box-shadow: none;
}

.registration-customer-details-card textarea.form-control {
    min-height: 86px;
    resize: vertical;
}

.registration-customer-details-card .form-control:focus,
.registration-customer-details-card .form-select:focus {
    border-color: #d4e3f0;
    box-shadow: none;
}

.registration-customer-details-card input:-webkit-autofill,
.registration-customer-details-card textarea:-webkit-autofill,
.registration-customer-details-card select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #102a43 !important;
}

.registration-customer-details-card .input-group {
    flex-wrap: nowrap;
}

.registration-customer-details-card .register-phone-code {
    min-width: 48px;
    justify-content: center;
    border-color: #d4e3f0;
    border-radius: 10px 0 0 10px;
    background: #f5f9fd;
    color: #526b82;
    font-weight: 800;
}

.registration-customer-details-card .input-group .form-control {
    border-left: 0;
    border-radius: 0 10px 10px 0;
}

.registration-customer-details-card .generate-login-password {
    width: 100%;
    min-height: 40px;
    border-radius: 10px;
    background: #074b78;
    border-color: #074b78;
    font-weight: 700;
}

.registration-flow .box-footer {
    max-width: 980px;
    margin: 0 auto 26px;
    padding: 12px 18px;
    border: 1px solid #e4edf5;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    background: #f8fbfe;
}

.registration-flow .box-footer .btn {
    min-width: 104px;
    border-radius: 9px;
    font-weight: 700;
}

.registration-customer-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.registration-customer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 2px 2px 4px;
}

.registration-step-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff0e8;
    color: var(--brand-orange);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.registration-customer-head h3 {
    margin: 8px 0 4px;
    color: #071b45;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 700;
}

.registration-customer-head p {
    margin: 0;
    color: #50647d;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.registration-customer-count {
    min-width: 154px;
    padding: 12px 14px;
    border: 1px solid #dce8f2;
    border-radius: 14px;
    background: #f8fbfe;
    color: #143452;
    text-align: right;
}

.registration-customer-count i {
    color: var(--brand-orange);
    font-size: 18px;
    margin-right: 7px;
}

.registration-customer-count span {
    color: #071b45;
    font-size: 20px;
    font-weight: 700;
}

.registration-customer-count small {
    display: block;
    margin-top: 2px;
    color: #65758a;
    font-size: 11px;
    font-weight: 800;
}

.registration-customer-options .form-label,
.registration-field-head .form-label {
    color: #263d57;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.registration-customer-radio label {
    min-height: 76px;
    padding-left: 56px;
}

.registration-customer-radio label i {
    color: var(--brand-orange);
    flex: 0 0 auto;
    font-size: 18px;
}

.reg-customer-option-title {
    display: block;
    color: inherit;
    font-size: 14px;
    line-height: 1.2;
}

.reg-customer-option-meta {
    display: block;
    margin-top: 4px;
    color: #6a7b8f;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

.registration-customer-radio input:checked+label .reg-customer-option-meta {
    color: #365879;
}

.registration-existing-customer {
    padding-top: 2px;
}

.registration-field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.registration-field-head span {
    color: #6b7f95;
    font-size: 12px;
    font-weight: 700;
}

.registration-existing-customer .select2-container {
    width: 100% !important;
}

.registration-existing-customer .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
    min-height: 46px;
    border: 1px solid #d5e2ef !important;
    border-radius: 3px !important;
    background: #fff !important;
}

.registration-existing-customer .select2-container--default .select2-selection--single .select2-selection__rendered {
    width: 100%;
    padding-left: 14px;
    padding-right: 36px;
    color: #203245;
    font-size: 13px;
    font-weight: 700;
    line-height: 44px;
}

.registration-existing-customer .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
    right: 10px;
}

.registration-selected-customer {
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid #bfe7ce;
    border-radius: 12px;
    background: #f0fbf4;
    color: #166534;
}

.registration-selected-customer i {
    margin-top: 2px;
    font-size: 16px;
}

.registration-selected-customer strong {
    display: block;
    color: #14532d;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.registration-selected-customer span {
    display: block;
    margin-top: 3px;
    color: #23405e;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
}

.registration-customer-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.registration-customer-footer .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.registration-customer-footer .btn-light {
    border: 1px solid #cfddea !important;
    color: #23405e !important;
    background: #fff !important;
}

@media (max-width: 991px) {
    .registration-customer-details-card {
        max-width: 100%;
        padding: 18px !important;
    }

    .registration-customer-details-card>.row,
    .registration-customer-details-card>.transfer-form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 575px) {
    .registration-customer-details-card {
        padding: 14px !important;
        border-radius: 10px;
    }

    .registration-flow .box-footer {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px;
    }

    .registration-flow .box-footer .btn {
        width: 100%;
        margin: 0 !important;
    }
}

.registration-thanks-card {
    text-align: center;
}

.registration-flow {
    border: 1px solid #dfe7f0 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08) !important;
    overflow: hidden !important;
}

.registration-flow>.box-header {
    padding: 18px 24px 10px !important;
    border: 0 !important;
    background: #fff !important;
}

.registration-title-lockup {
    display: flex;
    align-items: center;
    gap: 12px;
}

.registration-title-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 12px;
    background: #fff0e8;
    color: var(--brand-orange);
    font-size: 24px;
}

.registration-title-lockup .box-title {
    margin: 0 0 3px !important;
    color: #071b45 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
}

.registration-title-lockup small {
    display: block;
    color: #4a5a78;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.registration-shell {
    padding: 10px 24px 24px !important;
    background: #fff !important;
}

.registration-stepper-wrap {
    margin: 4px 0 18px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    overflow: visible !important;
}

.registration-steps {
    position: relative;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    min-width: 0 !important;
}

.registration-steps::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 9%;
    right: 9%;
    border-top: 3px dashed #d7dde8;
    z-index: 0;
}

.registration-step {
    position: relative;
    z-index: 1;
    min-height: 106px;
    padding: 10px 8px 12px !important;
    border: 1px solid transparent !important;
    border-radius: 3px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #071b45 !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px !important;
    text-align: center;
}

.registration-step:hover {
    border-color: #ffe0cf !important;
    background: #fffaf7 !important;
}

.registration-step .transfer-step-index {
    position: absolute;
    display: flex;
    top: 2px;
    left: 50%;
    transform: translateX(-29px);
    width: 20px;
    justify-content: center;
    align-items: center;
    height: 20px;
    background: #071b45;
    color: #fff;
    border: 0;
    font-size: 11px;
    box-shadow: 0 6px 14px rgba(7, 27, 69, .18);
}

.registration-step .transfer-step-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #dce2ec;
    border-radius: 999px;
    background: #fff;
    color: #071b45;
    font-size: 24px;
}

.registration-step .transfer-step-label {
    color: #071b45;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    white-space: normal;
}

.registration-step.is-active {
    border-color: #ffd9c8 !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(255, 107, 44, .15) !important;
    color: #ff6b2c !important;
}

.registration-step.is-active .transfer-step-index,
.registration-step.is-done .transfer-step-index {
    background: #ff6b2c !important;
    color: #ffffff !important;
}

.registration-step.is-active .transfer-step-icon,
.registration-step.is-done .transfer-step-icon {
    border-color: #ffd4bf !important;
    color: #ff6b2c !important;
    background: #fff8f5 !important;
}

.registration-step.is-active .transfer-step-label {
    color: #ff6b2c !important;
    font-weight: 800 !important;
}

.registration-step.is-disabled {
    opacity: 1;
    color: #071b45;
}

.registration-search-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.registration-search-head h3 {
    margin: 0 0 5px;
    color: #071b45;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.15;
}

.registration-search-head h3 span {
    color: var(--brand-orange);
}

.registration-search-head p {
    margin: 0;
    color: #4a5a78;
    font-size: 13px;
    font-weight: 600;
}

.registration-search-art {
    position: relative;
    width: 170px;
    min-height: 58px;
    flex: 0 0 auto;
}

.registration-search-art .art-globe {
    position: absolute;
    right: 70px;
    top: 0;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--brand-orange);
    color: #fff;
    font-size: 28px;
    opacity: .9;
}

.registration-search-art .art-search {
    position: absolute;
    right: 125px;
    top: 6px;
    min-width: 110px;
    min-height: 34px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #b6c0cb;
    border-radius: 4px;
    background: #ffffff14;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
    color: #071b45;
    font-size: 17px;
}

.registration-search-art .art-search strong {
    color: var(--brand-orange);
    font-size: 13px;
}

.registration-domain-search.domainarea {
    padding: 24px 28px !important;
    border: 1px solid #ffd9c8;
    border-radius: 14px;
    background: linear-gradient(105deg, #fff 0%, #fff 57%, #fff2e9 100%);
    box-shadow: 0 12px 26px rgba(255, 101, 38, .08);
}

.registration-search-panel {
    padding: 14px;
    border: 1px solid #e7edf4;
    border-radius: 12px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}

.registration-domain-search .input-group {
    display: grid;
    grid-template-columns: 136px minmax(0, 1fr) 190px;
    gap: 0;
    align-items: stretch;
    margin-bottom: 12px !important;
    width: 100%;
}

.registration-domain-search .input-group>.registration-url-prefix,
.registration-domain-search .input-group>.form-control,
.registration-domain-search .input-group>.btn {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
}

.registration-url-prefix {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid #dbe3ee;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    background: #fff;
    color: #071b45;
    font-size: 13px;
    font-weight: 700;
}

.registration-domain-search .form-control {
    min-height: 44px;
    display: block;
    min-width: 0;
    border-radius: 0 !important;
    border-color: #dbe3ee !important;
    color: #071b45;
    font-size: 14px !important;
    font-weight: 700;
}

.domain-name-input {
    text-transform: lowercase;
    letter-spacing: 0;
}

.domain-name-input::placeholder {
    text-transform: none;
    color: #7a8ba0;
    font-weight: 600;
}

.registration-domain-search .btn {
    min-height: 44px;
    border-radius: 0 10px 10px 0 !important;
    background: #078e3e !important;
    border-color: #078e3e !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700;
    box-shadow: 0 10px 18px rgba(7, 142, 62, .22);
}

.registration-domain-search .btn .fa {
    margin-left: 10px;
}

.registration-popular-tlds {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 9px;
}

.registration-popular-tlds strong {
    color: #4a5a78;
    font-size: 12px;
    font-weight: 700;
}

.registration-popular-tlds button {
    min-width: 54px;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid #d8e4e8;
    border-radius: 9px;
    background: #f7fbfa;
    color: #163651;
    font-size: 12px;
    font-weight: 800;
}

.registration-popular-tlds button:hover,
.registration-popular-tlds button:focus {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
}

.registration-status-icon {
    width: 76px;
    height: 76px;
    margin: 4px auto 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--light-orange);
    color: var(--brand-orange);
    font-size: 34px;
    box-shadow: 0 16px 34px rgba(241, 104, 34, .16);
}

@media(max-width:1199px) {
    .transfer-domain-search .input-group {
        grid-template-columns: 44px 1fr 138px;
    }

    .registration-domain-search .input-group {
        grid-template-columns: 124px minmax(0, 1fr) 170px;
    }

    .registration-domain-search .btn {
        grid-column: auto;
    }

    .transfer-domain-search .btn {
        grid-column: 1 / -1;
    }
}

@media(max-width:767px) {
    .transfer-flow {
        border-radius: 3px !important;
    }

    .transfer-flow>.box-header {
        padding: 16px !important;
    }

    .transfer-shell {
        padding: 13px !important;
    }

    .transfer-steps {
        display: flex;
        min-width: 640px;
        overflow-x: auto;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
    }

    .transfer-step {
        min-width: auto;
        scroll-snap-align: start;
        padding: 10px 12px;
    }

    .transfer-card .box-body {
        padding: 0px !important;
        border: none !important;
    }

    .transfer-domain-search .input-group {
        grid-template-columns: 1fr;
    }

    .registration-domain-search .input-group {
        grid-template-columns: 1fr;
    }

    .registration-result-card select,
    .registration-summary-box select {
        width: 100%;
        min-width: 0;
    }

    .transfer-radio-stack {
        grid-template-columns: 1fr;
    }

    .registration-card:not(.registration-ns-card) {
        padding: 14px;
        box-shadow: none !important;
        border: none !important;
        background: none !important;
        border-radius: none;
    }

    .registration-customer-card {
        gap: 12px !important;
    }

    .registration-customer-head {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .registration-customer-head h3 {
        margin: 6px 0 4px !important;
        font-size: 18px !important;
    }

    .registration-customer-head p {
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .registration-customer-count {
        min-width: 0 !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 6px !important;
        padding: 10px 12px !important;
        border-radius: 3px !important;
        text-align: left !important;
    }

    .registration-customer-count i {
        margin-right: 2px !important;
    }

    .registration-customer-count span {
        font-size: 16px !important;
    }

    .registration-customer-count small {
        display: inline !important;
        margin: 0 !important;
        font-size: 11px !important;
    }

    .registration-customer-radio label {
        min-height: 64px !important;
        padding: 12px 12px 12px 52px !important;
        border-radius: 3px !important;
    }

    .registration-customer-radio label i {
        font-size: 16px !important;
    }

    .reg-customer-option-title {
        font-size: 13px !important;
    }

    .reg-customer-option-meta {
        font-size: 11px !important;
    }

    .registration-field-head {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 3px !important;
    }

    .registration-existing-customer .select2-container--default .select2-selection--single {
        min-height: 42px !important;
        border-radius: 3px !important;
    }

    .registration-existing-customer .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 40px !important;
        font-size: 12px !important;
    }

    .registration-selected-customer {
        padding: 10px 12px !important;
        border-radius: 3px !important;
    }

    .registration-selected-customer span {
        font-size: 12px !important;
    }

    .registration-customer-footer {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .transfer-card .box-footer {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 14px !important;
    }

    .transfer-card .box-footer .btn,
    .transfer-card .btn {
        width: 100%;
        margin: 0 !important;
    }

    .registration-flow {
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    .registration-flow>.box-header {
        min-height: auto !important;
        padding: 10px 12px !important;
        border: 1px solid #dce8f2 !important;
        border-radius: 12px 12px 0 0 !important;
        background: #fff !important;
    }

    .registration-flow>.box-header .box-title {
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

    .registration-title-lockup {
        gap: 10px !important;
    }

    .registration-title-icon {
        width: 38px !important;
        height: 38px !important;
        border-radius: 3px !important;
        font-size: 19px !important;
    }

    .registration-title-lockup small {
        font-size: 11px !important;
        line-height: 1.25 !important;
    }

    .registration-shell {
        padding: 10px !important;
        border: 1px solid #dce8f2 !important;
        border-top: 0 !important;
        border-radius: 0 0 12px 12px !important;
        background: #f6f9fc !important;
    }

    .registration-stepper-wrap {
        margin: 0 0 10px !important;
        padding: 8px !important;
        border-radius: 3px !important;
        overflow: visible !important;
    }

    .registration-steps {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        min-width: 0 !important;
        gap: 5px !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .registration-steps::before {
        display: none !important;
    }

    .registration-step {
        min-width: 0 !important;
        min-height: 44px !important;
        padding: 6px 4px !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 4px !important;
        border-radius: 3px !important;
        text-align: center !important;
        white-space: normal !important;
        box-shadow: none !important;
    }

    .registration-step .transfer-step-index {
        position: static !important;
        transform: none !important;
        width: 18px !important;
        height: 18px !important;
        font-size: 9px !important;
    }

    .registration-step .transfer-step-icon {
        display: none !important;
    }

    .registration-step .transfer-step-label {
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden !important;
        max-width: 100% !important;
        font-size: 8px !important;
        line-height: 1.05 !important;
        text-align: center !important;
    }

    .registration-domain-search.domainarea {
        padding: 0 !important;
        border: none !important;
        border-radius: 0px !important;
        background: none !important;
        box-shadow: none;
    }

    .registration-search-head {
        display: block !important;
        margin-bottom: 12px !important;
    }

    .registration-search-head h3 {
        margin-bottom: 5px !important;
        font-size: 18px !important;
    }

    .registration-search-head p {
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .registration-search-art {
        display: none !important;
    }

    .registration-search-panel {
        padding: 10px !important;
        border-radius: 3px !important;
    }

    .registration-domain-search .input-group {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 9px !important;
        margin: 0 !important;
    }

    .registration-url-prefix {
        min-height: 38px !important;
        padding: 0 11px !important;
        border: 1px solid #dbe3ee !important;
        border-radius: 3px !important;
        font-size: 12px !important;
    }

    .registration-domain-search .form-control {
        min-height: 42px !important;
        height: 42px !important;
        padding: 9px 11px !important;
        border-radius: 3px !important;
        font-size: 13px !important;
    }

    .registration-domain-search .btn {
        min-height: 42px !important;
        border-radius: 3px !important;
        font-size: 12px !important;
        grid-column: auto !important;
    }

    .registration-popular-tlds {
        gap: 7px !important;
        margin-top: 10px !important;
    }

    .registration-popular-tlds strong {
        width: 100%;
        font-size: 11px !important;
    }

    .registration-popular-tlds button {
        min-width: auto !important;
        min-height: 28px !important;
        padding: 4px 10px !important;
        font-size: 11px !important;
        border-radius: 8px !important;
    }

    .registration-result-card {
        margin-top: 10px !important;
        border: 1px solid #dce8f2 !important;
        border-radius: 3px !important;
        overflow: hidden !important;
        background: #fff !important;
    }

    .registration-result-card .table-responsive {
        overflow: visible !important;
        padding: 8px !important;
    }

    .registration-result-card table.table {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .registration-result-card table.table tbody,
    .registration-result-card table.table tr,
    .registration-result-card table.table td {
        display: block !important;
        width: 100% !important;
    }

    .registration-result-card table.table tbody>tr:first-child {
        display: none !important;
    }

    .registration-result-card table.table tbody>tr:not(:first-child) {
        margin: 0 0 8px !important;
        padding: 10px !important;
        border: 1px solid #e2ebf4 !important;
        border-radius: 3px !important;
        background: #fff !important;
        box-shadow: 0 6px 14px rgba(15, 23, 42, .045) !important;
    }

    .registration-result-card table.table td {
        min-height: 0 !important;
        padding: 5px 0 !important;
        border: 0 !important;
        text-align: left !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .registration-result-card table.table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 3px;
        color: #738397;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: .03em;
        text-transform: uppercase;
    }

    .registration-result-card table.table td[data-label="Domain"] a {
        font-size: 14px !important;
    }

    .registration-result-card table.table .btn,
    .registration-result-card table.table select {
        width: 100% !important;
        margin: 0 !important;
    }

    .transfer-lookup-flow {
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    .transfer-lookup-flow>.box-header {
        min-height: auto !important;
        padding: 10px 12px !important;
        border: 1px solid #dce8f2 !important;
        border-radius: 12px 12px 0 0 !important;
        background: #fff !important;
    }

    .transfer-title-lockup {
        gap: 10px !important;
    }

    .transfer-title-icon {
        width: 38px !important;
        height: 38px !important;
        border-radius: 3px !important;
        font-size: 18px !important;
    }

    .transfer-title-lockup .box-title {
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

    .transfer-title-lockup small {
        font-size: 11px !important;
        line-height: 1.25 !important;
    }

    .transfer-lookup-shell {
        padding: 10px !important;
        border: 1px solid #dce8f2 !important;
        border-top: 0 !important;
        border-radius: 0 0 12px 12px !important;
        background: #f6f9fc !important;
    }

    .transfer-lookup-stepper-wrap {
        margin: 0 0 10px !important;
        padding: 8px !important;
        border-radius: 3px !important;
        overflow: visible !important;
    }

    .transfer-lookup-flow .transfer-steps {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        min-width: 0 !important;
        gap: 5px !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .transfer-lookup-flow .transfer-steps::before {
        display: none !important;
    }

    .transfer-lookup-flow .transfer-step {
        min-width: 0 !important;
        min-height: 44px !important;
        padding: 6px 4px !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 4px !important;
        border-radius: 3px !important;
        text-align: center !important;
        white-space: normal !important;
        box-shadow: none !important;
    }

    .transfer-lookup-flow .transfer-step .transfer-step-index {
        position: static !important;
        transform: none !important;
        width: 18px !important;
        height: 18px !important;
        font-size: 9px !important;
    }

    .transfer-lookup-flow .transfer-step-icon {
        display: none !important;
    }

    .transfer-lookup-flow .transfer-step-label {
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden !important;
        max-width: 100% !important;
        font-size: 8px !important;
        line-height: 1.05 !important;
        text-align: center !important;
    }

    .transfer-lookup-search.domainarea {
        padding: 14px !important;
        border: 1px solid #ffd9c8 !important;
        border-radius: 3px !important;
        background: linear-gradient(145deg, #fff 0%, #fff8f4 100%) !important;
        box-shadow: 0 8px 20px rgba(255, 101, 38, .08) !important;
    }

    .transfer-search-head {
        display: block !important;
        margin-bottom: 12px !important;
    }

    .transfer-search-head h3 {
        margin-bottom: 5px !important;
        font-size: 18px !important;
    }

    .transfer-search-head p {
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .transfer-search-art {
        display: none !important;
    }

    .transfer-search-panel {
        padding: 10px !important;
        border-radius: 3px !important;
    }

    .transfer-lookup-search .input-group {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 9px !important;
        margin: 0 !important;
    }

    .transfer-url-prefix {
        min-height: 38px !important;
        padding: 0 11px !important;
        border: 1px solid #dbe3ee !important;
        border-radius: 3px !important;
        font-size: 12px !important;
    }

    .transfer-lookup-search .form-control {
        min-height: 42px !important;
        height: 42px !important;
        padding: 9px 11px !important;
        border-radius: 3px !important;
        font-size: 13px !important;
    }

    .transfer-epp-field .form-control {
        padding-right: 44px !important;
    }

    .transfer-epp-toggle {
        width: 30px !important;
        height: 30px !important;
        right: 7px !important;
        border-radius: 8px !important;
    }

    .transfer-lookup-search .btn {
        min-height: 42px !important;
        border-radius: 3px !important;
        font-size: 12px !important;
        grid-column: auto !important;
    }

    .transfer-supported-tlds {
        gap: 7px !important;
        margin-top: 10px !important;
    }

    .transfer-supported-tlds strong {
        width: 100%;
        font-size: 11px !important;
    }

    .transfer-supported-tlds button {
        min-width: auto !important;
        min-height: 28px !important;
        padding: 4px 10px !important;
        font-size: 11px !important;
        border-radius: 8px !important;
    }
}

@media(max-width:380px) {
    .registration-step {
        min-height: 38px !important;
        padding: 6px 3px !important;
    }

    .registration-step .transfer-step-label {
        display: none !important;
    }

    .registration-step.is-active .transfer-step-label,
    .registration-step.is-done .transfer-step-label {
        display: -webkit-box !important;
        font-size: 7px !important;
    }

    .transfer-lookup-flow .transfer-step .transfer-step-label {
        display: none !important;
    }

    .transfer-lookup-flow .transfer-step.is-active .transfer-step-label,
    .transfer-lookup-flow .transfer-step.is-done .transfer-step-label {
        display: -webkit-box !important;
        font-size: 7px !important;
    }
}

.content {
    padding: 18px 22px !important
}


.box {
    background: var(--white) !important;
    border: 1px solid var(--border) !important;
    border-radius: 3px !important;
    box-shadow: 0 2px 10px var(--shadow) !important;
    overflow: hidden;
}

.box-header {
    background: var(--white) !important;
    border-bottom: 1px solid var(--border) !important;
    border-radius: 10px 10px 0 0 !important;
    padding: 13px 18px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.box-header .box-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--text) !important;
    margin: 0 !important
}

.box-body {
    padding: 16px 18px !important
}

.box-footer {
    background: #F8FAFB !important;
    border-top: 1px solid var(--border) !important;
    padding: 10px 18px !important
}


table.table {
    font-size: 12px !important;
    border-collapse: collapse !important
}

table.table th {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #080808 !important;
    text-transform: uppercase !important;
    letter-spacing: .4px !important;
    padding: 9px 14px !important;
    background: #F8FAFB !important;
    border-bottom: 1px solid #ececec !important;
    border-top: none !important;
    white-space: nowrap;
}

table.table td {
    font-size: 13px !important;
    font-weight: 400 !important;
    padding: 6px 12px !important;
    border-bottom: 1px solid #F5F7FA !important;
    border-top: none !important;
    vertical-align: middle !important;
    color: var(--text) !important;
}

table.table tbody tr:hover {
    background: var(--blue-l) !important
}

table.table tbody tr:last-child td {
    border-bottom: none !important
}


table.table td.fw-900,
table.table th.fw-900 {
    font-weight: 500 !important
}


.btn {
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
}


.btn:not(.btn-lg):not(.btn-sm) {
    padding: 7px 15px !important;
    line-height: 1.2;
}

.btn-lg {
    font-size: 14px !important;
    padding: 10px 20px !important;
}

.btn-sm {
    font-size: 13px !important;
    font-weight: 500;
    padding: 10px 16px !important;
}

.btn-primary {
    background: var(--blue) !important;
    border-color: var(--blue) !important;
    color: var(--white) !important
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--blue-h) !important;
    border-color: var(--blue-h) !important;
    color: var(--white) !important
}

.btn-info {
    background: var(--blue) !important;
    border-color: var(--blue) !important;
    color: var(--white) !important
}

.btn-info:hover,
.btn-info:focus {
    background: var(--blue-h) !important;
    border-color: var(--blue-h) !important;
    color: var(--white) !important
}

.btn-success {
    background: var(--success) !important;
    border-color: var(--success) !important;
    color: var(--white) !important
}

.btn-success:hover {
    background: #256427 !important;
    border-color: #256427 !important
}

.btn-danger {
    background: var(--danger) !important;
    border-color: var(--danger) !important;
    color: var(--white) !important
}

.btn-danger:hover {
    background: #b71c1c !important;
    border-color: #b71c1c !important
}

.btn-warning {
    background: var(--warning) !important;
    border-color: var(--warning) !important;
    color: var(--white) !important
}

.btn-warning:hover {
    background: #e65100 !important;
    border-color: #e65100 !important
}


.btn-secondary {
    background: var(--blue-l) !important;
    border-color: var(--border) !important;
    color: var(--text-2) !important
}


.btn-secondary:hover,
.btn-secondary:focus {
    background: #E3EDF6 !important;
    color: var(--blue) !important;
    border-color: var(--blue) !important
}


.btn-primary i,
.btn-info i,
.btn-success i,
.btn-danger i,
.btn-warning i {
    margin-right: 5px;
    transform: translateY(1px);
    margin-top: 0px;
    color: inherit !important
}


.form-control {
    border: 1px solid var(--border) !important;
    /* border-radius: 7px !important; */
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--text) !important;
    padding: 8px 12px !important;
    outline: none !important;
    transition: border-color .2s !important;
    background: var(--white) !important;
}

.form-control:focus {
    border-color: var(--border) !important;
    box-shadow: none !important
}

.form-select {
    border: 1px solid var(--border) !important;
    border-radius: 3px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    padding: 8px 12px !important;
    background: var(--white) !important;
    color: var(--text) !important;
}

.form-select:focus {
    border-color: var(--border) !important;
    box-shadow: none !important
}


label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #0d0d0d !important;
}


.badge-pill,
.badge {
    border-radius: 3px !important;
    font-size: 11px !important;
    font-weight: 400 !important
}

.badge-success,
.badge-pill.badge-success {
    background: var(--success) !important;
    color: #ffffff !important;
}

.badge-danger,
.badge-pill.badge-danger {
    background: var(--danger) !important;
    color: #ffffff !important;
}

.badge-warning,
.badge-pill.badge-warning {
    background: #FFF8E1 !important;
    color: var(--warning) !important
}

.badge-info,
.badge-pill.badge-info {
    background: var(--blue-l) !important;
    color: var(--blue) !important
}

.badge-secondary,
.badge-pill.badge-secondary {
    background: #F5F5F5 !important;
    color: var(--text-2) !important
}

.badge-primary {
    background: var(--blue-l) !important;
    color: var(--blue) !important
}


.input-group-text {
    background: #F8FAFB !important;
    border: 1.5px solid var(--border) !important;
    border-radius: 7px 0 0 7px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--text-3) !important;
}



.input-group-btn .btn {
    border-radius: 0 7px 7px 0 !important;
    margin-left: -1px
}



.card.card-sm {
    border: 1px solid var(--border) !important;
    border-radius: 3px !important;
    background: var(--white) !important;
    box-shadow: none !important;
    overflow: hidden
}

.card.card-sm .row {
    background: #F8FAFB !important
}


.panel {
    background: var(--white) !important;
    border: 1px solid var(--border) !important;
    border-radius: 3px !important;
    margin-bottom: 16px !important
}

.panel-heading {
    background: var(--blue) !important;
    border-bottom: none !important;
    padding: 0 !important;
    border-radius: 10px 10px 0 0 !important
}

.panel-title a,
.panel-title {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--white) !important;
    text-decoration: none !important;
    display: block;
    padding: 12px 18px !important;
}

.panel-title a:hover {
    color: var(--white) !important;
    text-decoration: none !important
}


.panel-collapse.collapse:not(.show):not(.in) {
    display: none !important;
    max-height: 0 !important;
    overflow: hidden !important
}

.panel-body {
    padding: 16px 18px !important;
    background: var(--white) !important
}

.panel-body .row {
    margin: 0 !important
}


.alert {
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    border: none !important
}

.alert-success {
    background: #E8F5E9 !important;
    color: var(--success) !important;
    border-left: 4px solid var(--success) !important
}

.alert-danger {
    background: #FFEBEE !important;
    color: var(--danger) !important;
    border-left: 4px solid var(--danger) !important
}

.alert-warning {
    background: #FFF8E1 !important;
    color: var(--warning) !important;
    border-left: 4px solid var(--warning) !important
}


.modal-content {
    border: none !important;
    border-radius: 3px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15) !important;
    overflow: hidden
}

.modal-header {
    background: var(--blue) !important;
    color: var(--white) !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 14px 20px !important
}

.modal-title {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--white) !important
}

.modal-body {
    padding: 20px !important;
    font-size: 13px !important;
    font-weight: 400 !important
}

.modal-footer {
    background: #F8FAFB !important;
    border-top: 1px solid var(--border) !important;
    padding: 12px 20px !important
}

.modal-footer .btn {
    min-width: 90px
}

.btn-close,
.close {
    filter: none !important;
    color: var(--white) !important;
    opacity: .8 !important
}

.btn-close:hover,
.close:hover {
    opacity: 1 !important
}


.pagination {
    gap: 4px !important
}

.pagination .page-item .page-link {
    border: 1px solid var(--border) !important;
    border-radius: 3px !important;
    color: var(--text-2) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    padding: 6px 11px !important;
    transition: all .15s !important;
}

.pagination .page-item.active .page-link {
    background: var(--blue) !important;
    border-color: var(--blue) !important;
    color: var(--white) !important
}

.pagination .page-item .page-link:hover {
    background: var(--blue-l) !important;
    color: var(--blue) !important
}


.nav-tabs {
    border-bottom: 2px solid var(--border) !important
}

.nav-tabs .nav-link {
    border: none !important;
    color: var(--text-3) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    padding: 10px 16px !important;
    border-bottom: 2px solid transparent !important;
    margin-bottom: -2px !important
}

.nav-tabs .nav-link:hover {
    color: var(--blue) !important
}

.nav-tabs .nav-link.active {
    color: var(--blue) !important;
    border-bottom-color: var(--blue) !important;
    font-weight: 500 !important
}


.select2-container--default .select2-selection--single {
    border: 1.5px solid var(--border) !important;
    border-radius: 3px !important;
    height: 36px !important;
    font-size: 13px !important
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px !important;
    padding-left: 10px !important;
    font-weight: 400 !important
}

.select2-container--default .select2-selection--single:focus {
    border-color: var(--blue) !important
}

.select2-dropdown {
    border: 1px solid var(--border) !important;
    border-radius: 3px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .1) !important
}


.sweet-overlay {
    background: rgba(0, 0, 0, .45) !important
}

.sweet-alert {
    border-radius: 3px !important;
    padding: 28px !important;
    font-family: inherit !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15) !important
}

.sweet-alert h2 {
    font-size: 17px !important;
    font-weight: 500 !important;
    color: var(--text) !important
}

.sweet-alert p {
    font-size: 13.5px !important;
    font-weight: 400 !important;
    color: var(--text-2) !important
}

.sweet-alert button {
    border-radius: 8px !important;
    font-size: 13px !important;
    padding: 9px 22px !important;
    font-weight: 400 !important
}

.sweet-alert .confirm {
    background: var(--blue) !important
}

.sweet-alert .confirm:hover {
    background: var(--blue-h) !important
}

.sweet-alert .cancel {
    background: var(--blue-l) !important;
    color: var(--text-2) !important
}

.sweet-alert .cancel:hover {
    background: var(--blue-l) !important;
    color: var(--blue) !important
}

.bg-info {
    background: var(--blue) !important
}

.bg-success {
    background: var(--success) !important
}

.bg-danger {
    background: var(--danger) !important
}

.bg-warning {
    background: var(--warning) !important
}

.text-primary,
.text-info {
    color: var(--blue) !important
}

.text-success {
    color: var(--success) !important
}

.text-danger {
    color: var(--danger) !important
}

.text-warning {
    color: var(--warning) !important
}

.text-muted {
    color: var(--text-3) !important
}


.formcover {
    background: var(--white) !important;
    border: 1px solid var(--border) !important;
    border-radius: 3px !important;
    padding: 20px !important
}


.fw-900 {
    font-weight: 400 !important
}


.row {
    margin-left: 0 !important;
    margin-right: 0 !important
}


@media(max-width:768px) {
    .content {
        padding: 12px !important
    }

    .box-body {
        padding: 12px !important
    }

    .modal-dialog {
        margin: 12px !important
    }
}


.white {
    color: #ffffff !important;
}


.box-header .box-title {
    color: #ffffff !important;
}

.client-profile-card {
    text-align: left;
    color: #102a43;
}

.client-profile-hero {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #dbe8f3;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef6fc 100%);
}

.client-profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0d4f7c;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
}

.client-profile-type {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.client-profile-hero h3 {
    margin: 8px 0 4px;
    color: #0f2f47;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.15;
    word-break: break-word;
}

.client-profile-hero p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.client-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.client-profile-grid>div {
    min-width: 0;
    padding: 12px;
    border: 1px solid #e4edf6;
    border-radius: 13px;
    background: #fff;
}

.client-profile-grid span {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.client-profile-grid strong {
    display: block;
    color: #102a43;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
}

.client-profile-wide {
    grid-column: 1 / -1;
}

#client_dtls_model .modal-body,
#client_dtls_model .customer-modal-body,
#client_dtls_model #view_client_short_details_html {
    text-align: left !important;
}

#client_dtls_model .modal-footer {
    justify-content: flex-end;
}



.login-wrap .input-group {
    flex-wrap: nowrap;
}

@media(max-width:575px) {
    .client-profile-hero {
        grid-template-columns: 48px minmax(0, 1fr);
        padding: 12px;
        border-radius: 14px;
    }

    .client-profile-avatar {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 20px;
    }

    .client-profile-hero h3 {
        font-size: 18px;
    }

    .client-profile-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .client-profile-grid>div {
        padding: 10px;
    }
}

/* Move Domain */
.move-domain-page {
    padding-top: 18px
}

.move-domain-wrap {
    position: relative;
    margin: 0 auto
}

.move-domain-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #dce8f2 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08) !important
}

.move-domain-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    background: #0b4f7a;
    color: #fff
}

.move-domain-title {
    display: flex;
    align-items: center;
    gap: 14px
}

.move-domain-icon {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 22px
}

.move-domain-kicker {
    display: block;
    color: #cfe5f6;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase
}

.move-domain-title .box-title {
    margin: 3px 0 4px !important;
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important
}

.move-domain-title p {
    margin: 0;
    color: #e6f2fb;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35
}

.move-domain-count {
    min-width: 168px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 13px;
    background: rgba(255, 255, 255, .1);
    text-align: right
}

.move-domain-count i {
    color: #ff6b2c;
    margin-right: 6px
}

.move-domain-count strong {
    color: #fff;
    font-size: 19px;
    font-weight: 900
}

.move-domain-count span {
    display: block;
    margin-top: 2px;
    color: #dbeafe;
    font-size: 11px;
    font-weight: 800
}

.move-domain-body {
    padding: 22px 24px !important
}

.move-domain-flow {
    display: grid;
    grid-template-columns: 96px 1fr 96px 1fr 96px;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px
}

.move-flow-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    border: 1px solid #dbe7f3;
    border-radius: 999px;
    background: #f8fbfe;
    color: #36506d;
    font-size: 12px;
    font-weight: 900
}

.move-flow-item.active {
    border-color: #ffd7bd;
    background: #fff3ec;
    color: #e9531d
}

.move-flow-item.done {
    border-color: #bfe7ce;
    background: #f0fbf4;
    color: #166534
}

.move-flow-line {
    height: 2px;
    border-top: 2px dashed #d7dde8
}

.move-domain-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 18px
}

.move-field {
    margin: 0 !important;
    padding: 18px;
    border: 1px solid #dce8f2;
    border-radius: 14px;
    background: #fff
}

.move-field .form-label,
.move-field-head .form-label {
    margin-bottom: 8px;
    color: #263d57;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase
}

.move-field small {
    display: block;
    margin-top: 8px;
    color: #6b7f95;
    font-size: 12px;
    font-weight: 700
}

.move-field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px
}

.move-field-head span {
    color: #6b7f95;
    font-size: 12px;
    font-weight: 700
}

.move-input-wrap {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr)
}

.move-input-wrap span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid #d5e2ef;
    border-right: 0;
    border-radius: 12px 0 0 12px;
    background: #f8fbfe;
    color: #64748b;
    font-size: 13px;
    font-weight: 900
}

.move-input-wrap .form-control {
    min-height: 46px;
    border: 1px solid #d5e2ef !important;
    border-radius: 0 12px 12px 0 !important;
    color: #203245;
    font-size: 14px !important;
    font-weight: 800
}

.move-input-wrap .form-control:focus {
    border-color: #d5e2ef !important;
    box-shadow: none !important
}

.move-field .select2-container {
    width: 100% !important
}

.move-field .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
    min-height: 46px;
    border: 1px solid #d5e2ef !important;
    border-radius: 3px !important;
    background: #fff !important
}

.move-field .select2-container--default .select2-selection--single .select2-selection__rendered {
    width: 100%;
    padding-left: 14px;
    padding-right: 36px;
    color: #203245;
    font-size: 13px;
    font-weight: 700;
    line-height: 44px
}

.move-field .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
    right: 10px
}

.move-selected-customer {
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid #bfe7ce;
    border-radius: 12px;
    background: #f0fbf4;
    color: #166534
}

.move-selected-customer i {
    margin-top: 2px;
    font-size: 16px
}

.move-selected-customer strong {
    display: block;
    color: #14532d;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase
}

.move-selected-customer span {
    display: block;
    margin-top: 3px;
    color: #23405e;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word
}

.move-domain-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid #ffd7bd;
    border-radius: 12px;
    background: #fff8f4;
    color: #9a3412;
    font-size: 13px;
    font-weight: 800
}

.move-step-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px
}

.move-summary-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px;
    border: 1px solid #dce8f2;
    border-radius: 13px;
    background: #f8fbfe
}

.move-summary-item>i {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    border-radius: 10px;
    background: #fff0e8;
    color: #ff6b2c;
    font-size: 16px
}

.move-summary-item small {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase
}

.move-summary-item strong {
    display: block;
    margin-top: 3px;
    color: #143452;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    word-break: break-word
}

.move-summary-item span {
    display: block;
    margin-top: 2px;
    color: #65758a;
    font-size: 12px;
    font-weight: 700;
    word-break: break-word
}

.move-auth-card {
    border: 1px solid #dce8f2;
    border-radius: 14px;
    background: #fff;
    padding: 18px
}

.move-auth-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px
}

.move-auth-kicker {
    display: inline-flex;
    min-height: 22px;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    background: #fff0e8;
    color: #e9531d;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase
}

.move-auth-head h4 {
    margin: 8px 0 4px;
    color: #071b45;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15
}

.move-auth-head p {
    margin: 0;
    color: #65758a;
    font-size: 13px;
    font-weight: 700
}

.move-auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid #bfe7ce;
    border-radius: 999px;
    background: #f0fbf4;
    color: #166534;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap
}

.move-auth-field {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important
}

.move-epp-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px
}

.move-epp-wrap .form-control {
    min-height: 46px;
    border: 1px solid #d5e2ef !important;
    border-right: 0 !important;
    border-radius: 12px 0 0 12px !important;
    color: #203245;
    font-size: 14px !important;
    font-weight: 800
}

.move-epp-wrap .form-control:focus {
    border-color: #d5e2ef !important;
    box-shadow: none !important
}

.move-epp-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid #d5e2ef;
    border-radius: 0 12px 12px 0;
    background: #f8fbfe;
    color: #0b4f7a;
    font-size: 16px
}

.move-epp-toggle:hover {
    background: #eef7ff
}

.move-step2-simple-grid {
    align-items: stretch
}

.move-simple-summary {
    display: grid;
    gap: 12px
}

.move-simple-summary>div {
    padding: 12px;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    background: #f8fbfe
}

.move-simple-summary small {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase
}

.move-simple-summary strong {
    display: block;
    margin-top: 3px;
    color: #143452;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    word-break: break-word
}

.move-simple-summary span {
    display: block;
    margin-top: 2px;
    color: #65758a;
    font-size: 12px;
    font-weight: 700;
    word-break: break-word
}

.move-advanced-panel {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #dce8f2;
    border-radius: 14px;
    background: #f8fbfe
}

.move-advanced-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px
}

.move-advanced-head strong {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #143452;
    font-size: 13px;
    font-weight: 900
}

.move-advanced-head i {
    color: #0b4f7a
}

.move-advanced-head span {
    color: #64748b;
    font-size: 12px;
    font-weight: 800
}

.move-advanced-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px
}

.move-advanced-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1px solid #dbe7f3;
    border-radius: 12px;
    background: #fff
}

.move-advanced-item>i {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    border-radius: 8px;
    background: #fff0e8;
    color: #ff6b2c;
    font-size: 14px
}

.move-advanced-item strong {
    display: block;
    color: #17324d;
    font-size: 12px;
    font-weight: 900
}

.move-advanced-item span {
    display: block;
    margin-top: 3px;
    color: #65758a;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35
}

.move-domain-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px !important;
    border-top: 1px solid #dfeaf4 !important;
    background: #f8fbfe !important
}

.move-domain-footer .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 118px;
    min-height: 40px;
    border-radius: 8px !important;
    font-size: 12px;
    font-weight: 900
}

.move-domain-footer .btn-light {
    border: 1px solid #cfddea !important;
    color: #23405e !important;
    background: #fff !important
}

.move-domain-footer .btn-success {
    background: #039447 !important;
    border-color: #039447 !important
}

.move-domain-loader {
    position: absolute;
    inset: 0;
    z-index: 99;
    align-items: center;
    justify-content: center
}

@media(max-width:767px) {
    .move-domain-page {
        padding: 10px !important
    }

    .move-domain-wrap {
        width: 100%
    }

    .move-domain-card {
        border-radius: 3px !important;
        box-shadow: none !important
    }

    .move-domain-hero {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px
    }

    .move-domain-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 11px;
        font-size: 18px
    }

    .move-domain-title .box-title {
        font-size: 18px !important
    }

    .move-domain-title p {
        font-size: 12px
    }

    .move-domain-count {
        min-width: 0;
        width: 100%;
        text-align: left
    }

    .move-domain-count span {
        display: inline;
        margin-left: 4px
    }

    .move-domain-body {
        padding: 14px !important
    }

    .move-domain-flow {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
        margin-bottom: 14px
    }

    .move-flow-line {
        display: none
    }

    .move-flow-item {
        min-height: 34px;
        border-radius: 9px;
        font-size: 10px
    }

    .move-step-summary {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 12px
    }

    .move-summary-item {
        padding: 11px;
        border-radius: 10px
    }

    .move-summary-item>i {
        width: 32px;
        height: 32px;
        flex-basis: 32px
    }

    .move-auth-card {
        padding: 12px;
        border-radius: 11px
    }

    .move-auth-head {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px
    }

    .move-auth-head h4 {
        font-size: 17px
    }

    .move-auth-head p {
        font-size: 12px
    }

    .move-auth-badge {
        justify-content: center;
        width: 100%
    }

    .move-epp-wrap {
        grid-template-columns: 1fr 42px
    }

    .move-epp-wrap .form-control,
    .move-epp-toggle {
        min-height: 42px
    }

    .move-simple-summary>div {
        padding: 10px;
        border-radius: 9px
    }

    .move-domain-grid {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .move-field {
        padding: 12px;
        border-radius: 11px
    }

    .move-field-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px
    }

    .move-input-wrap {
        grid-template-columns: 1fr;
        gap: 8px
    }

    .move-input-wrap span,
    .move-input-wrap .form-control {
        min-height: 42px;
        border: 1px solid #d5e2ef !important;
        border-radius: 3px !important;
        justify-content: flex-start;
        padding-left: 12px
    }

    .move-field .select2-container--default .select2-selection--single {
        min-height: 42px;
        border-radius: 10px !important
    }

    .move-field .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 40px;
        font-size: 12px
    }

    .move-domain-note {
        align-items: flex-start;
        border-radius: 10px;
        font-size: 12px
    }

    .move-advanced-panel {
        padding: 12px;
        border-radius: 11px
    }

    .move-advanced-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px
    }

    .move-advanced-grid {
        grid-template-columns: 1fr;
        gap: 8px
    }

    .move-advanced-item {
        border-radius: 10px;
        padding: 10px
    }

    .move-domain-footer {
        display: grid;
        grid-template-columns: 1fr;
        padding: 14px !important
    }

    .move-domain-footer .btn {
        width: 100%
    }
}

/* Pricing Page */
.pricing-page {
    padding-top: 18px
}

.pricing-shell {
    width: min(1060px, 100%);
    margin: 0 auto
}

.pricing-box {
    overflow: hidden;
    border: 1px solid #dce8f2 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08) !important
}

.pricing-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    background: #0b4f7a;
    color: #fff
}

.pricing-title {
    display: flex;
    align-items: center;
    gap: 14px
}

.pricing-title-icon {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .14);
    font-size: 22px
}

.pricing-kicker {
    display: block;
    color: #cfe5f6;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase
}

.pricing-title .box-title {
    margin: 3px 0 4px !important;
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important
}

.pricing-title p {
    margin: 0;
    color: #e6f2fb;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35
}

.pricing-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end
}

.pricing-scope-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #e6f2fb;
    font-size: 12px;
    font-weight: 900
}

.pricing-add-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    border: 0 !important;
    border-radius: 9px !important;
    background: #ff6b2c !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 900 !important
}

.pricing-body {
    padding: 22px 24px !important
}

.pricing-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px
}

.pricing-summary-card {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px;
    border: 1px solid #dce8f2;
    border-radius: 13px;
    background: #f8fbfe
}

.pricing-summary-card i {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    border-radius: 10px;
    background: #fff0e8;
    color: #ff6b2c;
    font-size: 16px
}

.pricing-summary-card strong {
    display: block;
    color: #0b2742;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1
}

.pricing-summary-card span {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800
}

.pricing-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px
}

.pricing-search {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid #d5e2ef;
    border-radius: 11px;
    background: #fff
}

.pricing-search i {
    color: #0b4f7a
}

.pricing-search input {
    width: 100%;
    border: 0 !important;
    outline: 0 !important;
    color: #203245;
    font-size: 13px;
    font-weight: 700
}

.pricing-search input::placeholder {
    color: #94a3b8;
    font-weight: 600
}

.pricing-filter-tabs {
    display: inline-flex;
    gap: 8px;
    justify-content: flex-end
}

.pricing-filter {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid #d5e2ef;
    border-radius: 10px;
    background: #fff;
    color: #36506d;
    font-size: 12px;
    font-weight: 900
}

.pricing-filter.active {
    border-color: #ffcab0;
    background: #fff3ec;
    color: #e9531d
}

.pricing-tabs {
    display: none !important
}

.pricing-content {
    border: 0 !important;
    padding: 0 !important
}

.pricing-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 13px 14px;
    border: 1px solid #dce8f2;
    border-radius: 12px;
    background: #f8fbfe
}

.pricing-panel-head strong {
    display: block;
    color: #143452;
    font-size: 14px;
    font-weight: 900
}

.pricing-panel-head span {
    display: block;
    margin-top: 2px;
    color: #65758a;
    font-size: 12px;
    font-weight: 700
}

.pricing-table-shell {
    border: 1px solid #dce8f2;
    border-radius: 13px;
    overflow: hidden;
    background: #fff
}

.pricing-table-wrap {
    display: block
}

.pricing-table {
    width: 100%;
    margin: 0 !important;
    border: 0 !important
}

.pricing-table thead th {
    border: 0 !important;
    border-bottom: 1px solid #dce8f2 !important;
    background: #f6f9fc !important;
    color: #0b2742 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding: 13px !important
}

.pricing-table tbody td {
    border-color: #edf2f7 !important;
    color: #203245;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 13px !important;
    vertical-align: middle
}

.pricing-ext-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef7ff;
    color: #0b4f7a;
    font-weight: 900
}

.pricing-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    background: #eaf8f0;
    color: #04783b;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none
}

.pricing-edit-btn:hover {
    background: #d8f2e4;
    color: #035b2d
}

.pricing-card-list {
    display: none
}

.pricing-empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    padding: 42px 14px;
    color: #64748b;
    text-align: center
}

.pricing-empty-state i {
    font-size: 24px;
    color: #ff6b2c
}

.pricing-empty-state strong {
    color: #143452;
    font-size: 14px;
    font-weight: 900
}

.pricing-empty-state span {
    font-size: 12px;
    font-weight: 700
}

.pricing-row.is-hidden {
    display: none !important
}

@media(max-width:767px) {
    .pricing-page {
        padding: 10px !important
    }

    .pricing-box {
        border-radius: 3px !important;
        box-shadow: none !important
    }

    .pricing-hero {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px
    }

    .pricing-title-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 11px;
        font-size: 18px
    }

    .pricing-title .box-title {
        font-size: 18px !important
    }

    .pricing-title p {
        font-size: 12px
    }

    .pricing-actions {
        justify-content: flex-start
    }

    .pricing-scope-pill,
    .pricing-add-btn {
        width: 100%;
        justify-content: center
    }

    .pricing-body {
        padding: 14px !important
    }

    .pricing-summary-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px
    }

    .pricing-summary-card {
        padding: 11px;
        border-radius: 10px
    }

    .pricing-summary-card i {
        width: 32px;
        height: 32px;
        flex-basis: 32px
    }

    .pricing-toolbar {
        grid-template-columns: 1fr;
        gap: 9px
    }

    .pricing-filter-tabs {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px
    }

    .pricing-filter {
        width: 100%;
        justify-content: center
    }

    .pricing-panel-head {
        align-items: flex-start;
        flex-direction: column;
        border-radius: 10px;
        padding: 11px
    }

    .pricing-table-wrap {
        display: none
    }

    .pricing-card-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
        background: #f8fbfe
    }

    .pricing-mobile-card {
        border: 1px solid #dce8f2;
        border-radius: 12px;
        background: #fff;
        padding: 12px
    }

    .pricing-mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 10px
    }

    .pricing-mobile-head strong {
        color: #0b4f7a;
        font-size: 14px;
        font-weight: 900
    }

    .pricing-icon-edit {
        width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 9px;
        background: #eaf8f0;
        color: #04783b;
        text-decoration: none
    }

    .pricing-mobile-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px
    }

    .pricing-mobile-grid span {
        display: block;
        padding: 9px;
        border: 1px solid #edf2f7;
        border-radius: 9px;
        background: #fff
    }

    .pricing-mobile-grid small {
        display: block;
        color: #64748b;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase
    }

    .pricing-mobile-grid b {
        display: block;
        margin-top: 3px;
        color: #203245;
        font-size: 12px;
        font-weight: 900
    }
}

/* Light/Dark Theme */
html.mc-theme-dark,
html.mc-theme-dark body {
    color-scheme: dark;
    background: var(--bg) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .tb,
html.mc-theme-dark .sb,
html.mc-theme-dark .tb-drop,
html.mc-theme-dark .mobile-tabbar,
html.mc-theme-dark .mc-footer,
html.mc-theme-dark .box,
html.mc-theme-dark .box-header,
html.mc-theme-dark .box-body,
html.mc-theme-dark .box-footer,
html.mc-theme-dark .card,
html.mc-theme-dark .panel,
html.mc-theme-dark .modal-content,
html.mc-theme-dark .modal-body,
html.mc-theme-dark .toast-notif,
html.mc-theme-dark .table-responsive,
html.mc-theme-dark .domain-filter-card,
html.mc-theme-dark .transfer-card,
html.mc-theme-dark .registration-card,
html.mc-theme-dark .registration-search-panel,
html.mc-theme-dark .transfer-lookup-card,
html.mc-theme-dark .move-domain-card,
html.mc-theme-dark .move-field,
html.mc-theme-dark .move-auth-card,
html.mc-theme-dark .pricing-box,
html.mc-theme-dark .pricing-table-shell,
html.mc-theme-dark .pricing-mobile-card,
html.mc-theme-dark .client-profile-grid>div {
    background: var(--white) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .tb {
    background: #101A2B !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28) !important;
}

html.mc-theme-dark .sb {
    background: #121D2F !important;
}

html.mc-theme-dark .content-wrapper,
html.mc-theme-dark .mc,
html.mc-theme-dark .container-full,
html.mc-theme-dark .content {
    background: var(--bg) !important;
}

html.mc-theme-dark .box-footer,
html.mc-theme-dark .modal-footer,
html.mc-theme-dark .pricing-card-list,
html.mc-theme-dark .move-domain-footer,
html.mc-theme-dark .move-summary-item,
html.mc-theme-dark .move-simple-summary>div,
html.mc-theme-dark .move-advanced-panel,
html.mc-theme-dark .pricing-panel-head,
html.mc-theme-dark .pricing-summary-card,
html.mc-theme-dark .domain-log-stamp,
html.mc-theme-dark .domain-log-empty,
html.mc-theme-dark .input-group-text {
    background: var(--soft-bg) !important;
    border-color: var(--border) !important;
    color: var(--text-2) !important;
}

html.mc-theme-dark .form-control,
html.mc-theme-dark .form-select,
html.mc-theme-dark select.form-control,
html.mc-theme-dark textarea.form-control,
html.mc-theme-dark input[type="text"],
html.mc-theme-dark input[type="email"],
html.mc-theme-dark input[type="password"],
html.mc-theme-dark input[type="number"],
html.mc-theme-dark input[type="search"] {
    background: #111B2C !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .form-control::placeholder,
html.mc-theme-dark input::placeholder,
html.mc-theme-dark textarea::placeholder {
    color: #6F8095 !important;
}

html.mc-theme-dark label,
html.mc-theme-dark .box-header .box-title,
html.mc-theme-dark table.table td,
html.mc-theme-dark .modal-body,
html.mc-theme-dark .toast-title,
html.mc-theme-dark .client-profile-grid strong,
html.mc-theme-dark .domain-log-message p,
html.mc-theme-dark .move-summary-item strong,
html.mc-theme-dark .move-simple-summary strong,
html.mc-theme-dark .move-auth-head h4,
html.mc-theme-dark .move-advanced-head strong,
html.mc-theme-dark .pricing-panel-head strong,
html.mc-theme-dark .pricing-summary-card strong,
html.mc-theme-dark .pricing-mobile-grid b,
html.mc-theme-dark .pricing-empty-state strong {
    color: var(--text) !important;
}

html.mc-theme-dark .box-header small,
html.mc-theme-dark .toast-msg,
html.mc-theme-dark .client-profile-grid span,
html.mc-theme-dark .client-profile-hero p,
html.mc-theme-dark .domain-log-stamp span,
html.mc-theme-dark .domain-log-stamp small,
html.mc-theme-dark .move-summary-item span,
html.mc-theme-dark .move-simple-summary span,
html.mc-theme-dark .move-auth-head p,
html.mc-theme-dark .move-advanced-item span,
html.mc-theme-dark .pricing-panel-head span,
html.mc-theme-dark .pricing-summary-card span,
html.mc-theme-dark .pricing-mobile-grid small {
    color: var(--text-2) !important;
}

html.mc-theme-dark table.table th,
html.mc-theme-dark .pricing-table thead th {
    background: var(--soft-bg) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark table.table td,
html.mc-theme-dark .pricing-table tbody td {
    border-color: var(--border) !important;
    background: var(--white) !important;
    color: var(--text) !important;
}

html.mc-theme-dark table.table tbody tr:hover {
    background: #203149 !important;
}

html.mc-theme-dark .sb-link {
    color: var(--text-2) !important;
}

html.mc-theme-dark .sb-link:hover,
html.mc-theme-dark .mobile-tab:hover {
    background: #14243A !important;
    color: #BFD7FF !important;
}

html.mc-theme-dark .sb-link.active,
html.mc-theme-dark .mobile-tab.active,
html.mc-theme-dark .mobile-tab-menu {
    background: #0D4F7C !important;
    color: #fff !important;
}

html.mc-theme-dark .tb-btn,
html.mc-theme-dark .tb-ham,
html.mc-theme-dark .tb-user {
    background: #1C2D47 !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .tb-theme-toggle {
    background: #F16822 !important;
    border-color: #F16822 !important;
    color: #fff !important;
}

html.mc-theme-dark .tb-chevron,
html.mc-theme-dark .mobile-tab {
    color: var(--text-2) !important;
}

html.mc-theme-dark .registration-lookup-card,
html.mc-theme-dark .registration-domain-search,
html.mc-theme-dark .transfer-domain-search,
html.mc-theme-dark .transfer-lookup-search,
html.mc-theme-dark .registration-search-panel,
html.mc-theme-dark .move-input-wrap span,
html.mc-theme-dark .move-epp-toggle,
html.mc-theme-dark .pricing-search,
html.mc-theme-dark .pricing-filter,
html.mc-theme-dark .pricing-mobile-grid span,
html.mc-theme-dark .domain-log-item {
    background: var(--soft-bg) !important;
    border-color: var(--border) !important;
}

html.mc-theme-dark .domain-filter-card,
html.mc-theme-dark .registration-search-panel,
html.mc-theme-dark .transfer-lookup-search,
html.mc-theme-dark .transfer-domain-search,
html.mc-theme-dark .pricing-panel-head,
html.mc-theme-dark .pricing-table-shell,
html.mc-theme-dark #domain-list-box {
    box-shadow: 0 16px 34px rgba(0, 0, 0, .20) !important;
}

html.mc-theme-dark .manage-domain-hero,
html.mc-theme-dark .pricing-hero,
html.mc-theme-dark .move-domain-hero,
html.mc-theme-dark .transfer-flow>.box-header,
html.mc-theme-dark .registration-flow>.box-header {
    background: #0D4F7C !important;
    color: #fff !important;
}

html.mc-theme-dark .registration-search-head h3,
html.mc-theme-dark .transfer-title-lockup .box-title,
html.mc-theme-dark .registration-title-lockup .box-title,
html.mc-theme-dark .move-auth-head h4,
html.mc-theme-dark .client-profile-hero h3 {
    color: var(--text) !important;
}

html.mc-theme-dark .select2-container--default .select2-selection--single,
html.mc-theme-dark .select2-dropdown,
html.mc-theme-dark .select2-search__field {
    background: #111B2C !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .select2-container--default .select2-selection--single .select2-selection__rendered,
html.mc-theme-dark .select2-results__option {
    color: var(--text) !important;
}

html.mc-theme-dark .select2-results__option--highlighted,
html.mc-theme-dark .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #0D4F7C !important;
    color: #fff !important;
}

html.mc-theme-dark .badge-secondary,
html.mc-theme-dark .badge-pill.badge-secondary {
    background: #1B2B40 !important;
    color: var(--text-2) !important;
}

html.mc-theme-dark .badge-success,
html.mc-theme-dark .badge-pill.badge-success {
    background: #123B2A !important;
    color: #7DE3A1 !important;
}

html.mc-theme-dark .badge-danger,
html.mc-theme-dark .badge-pill.badge-danger {
    background: #451A24 !important;
    color: #FF9BA5 !important;
}

html.mc-theme-dark .badge-warning,
html.mc-theme-dark .badge-pill.badge-warning {
    background: #412B13 !important;
    color: #FFD08A !important;
}

html.mc-theme-dark .badge-info,
html.mc-theme-dark .badge-pill.badge-info,
html.mc-theme-dark #regdomainlist td[data-label="Domain"] a,
html.mc-theme-dark .pricing-ext-pill {
    background: #223D5E !important;
    color: #B8DDFF !important;
}

html.mc-theme-dark .btn-light,
html.mc-theme-dark .btn-secondary {
    background: #13243A !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .btn-primary,
html.mc-theme-dark .btn-info,
html.mc-theme-dark .btn-success,
html.mc-theme-dark .btn-danger,
html.mc-theme-dark .btn-warning,
html.mc-theme-dark .tb-balance,
html.mc-theme-dark .tb-avatar {
    color: #fff !important;
}

html.mc-theme-dark .tb-brand img {
    /* background: #fff; */
    border-radius: 4px;
    padding: 2px;
}

@media(max-width:991px) {
    html.mc-theme-dark body {
        background: var(--bg) !important;
    }

    .tb-theme-toggle {
        display: inline-flex !important;
        width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .tb-theme-toggle .theme-label {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   Dark mode hard fixes for legacy page-level inline styles.
   Keep this at the end of the main stylesheet so old #fff/#f8fafc rules lose.
   -------------------------------------------------------------------------- */
html.mc-theme-dark .box,
html.mc-theme-dark .box-body,
html.mc-theme-dark .card,
html.mc-theme-dark .panel,
html.mc-theme-dark .table-responsive,
html.mc-theme-dark .modal-content,
html.mc-theme-dark .modal-body,
html.mc-theme-dark .modal-footer {
    background: var(--white) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .box-header.bg-primary,
html.mc-theme-dark .box-header.with-border.bg-primary {
    background: var(--white) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .box-header.bg-primary .box-title,
html.mc-theme-dark .box-header.with-border.bg-primary .box-title {
    color: var(--text) !important;
}

html.mc-theme-dark .nav-tabs,
html.mc-theme-dark .nav-tabs-custom,
html.mc-theme-dark .tab-content {
    background: var(--white) !important;
    border-color: var(--border) !important;
}

html.mc-theme-dark .nav-tabs>li>a,
html.mc-theme-dark .nav-tabs .nav-link {
    background: transparent !important;
    border-color: var(--border) !important;
    color: var(--text-2) !important;
}

html.mc-theme-dark .nav-tabs>li.active>a,
html.mc-theme-dark .nav-tabs>li.active>a:focus,
html.mc-theme-dark .nav-tabs>li.active>a:hover,
html.mc-theme-dark .nav-tabs .nav-link.active {
    background: #0D4F7C !important;
    border-color: #0D4F7C !important;
    color: #FFFFFF !important;
}

html.mc-theme-dark .pagination>li>a,
html.mc-theme-dark .pagination>li>span,
html.mc-theme-dark .page-link,
html.mc-theme-dark .dataTables_wrapper .dataTables_paginate .paginate_button {
    background: #13243A !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .pagination>.active>a,
html.mc-theme-dark .pagination>.active>span,
html.mc-theme-dark .page-item.active .page-link,
html.mc-theme-dark .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #4DA9EA !important;
    border-color: #4DA9EA !important;
    color: #061421 !important;
}

html.mc-theme-dark .dashboard-search-card,
html.mc-theme-dark .ph,
html.mc-theme-dark .kpi,
html.mc-theme-dark .quick-btn,
html.mc-theme-dark .activity-feed-item,
html.mc-theme-dark .renewal-item,
html.mc-theme-dark .empty,
html.mc-theme-dark .empty-ops,
html.mc-theme-dark .dash-card,
html.mc-theme-dark .op-card,
html.mc-theme-dark .poll-summary-card,
html.mc-theme-dark .poll-filter-area,
html.mc-theme-dark .poll-empty,
html.mc-theme-dark .poll-modal,
html.mc-theme-dark .poll-modal-info-box,
html.mc-theme-dark .poll-modal-message,
html.mc-theme-dark .admin-access-panel,
html.mc-theme-dark .admin-access-head,
html.mc-theme-dark .admin-permission-body,
html.mc-theme-dark .permission-intro,
html.mc-theme-dark .permission-count-pill,
html.mc-theme-dark .permission-group,
html.mc-theme-dark .permission-group-head,
html.mc-theme-dark .permission-check,
html.mc-theme-dark .fund-search-card,
html.mc-theme-dark .fund-start-card,
html.mc-theme-dark .fund-card,
html.mc-theme-dark .fund-card-body,
html.mc-theme-dark .fund-detail-item,
html.mc-theme-dark .fund-balance-box,
html.mc-theme-dark .fund-advanced-panel,
html.mc-theme-dark .fund-live-summary>div,
html.mc-theme-dark .fund-empty,
html.mc-theme-dark .fund-loader {
    background: var(--white) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
    box-shadow: none !important;
}

html.mc-theme-dark .admin-access-head:hover,
html.mc-theme-dark .admin-access-panel.permissions-open .admin-access-head,
html.mc-theme-dark .permission-check:hover,
html.mc-theme-dark .permission-check:has(input:checked),
html.mc-theme-dark .fund-card-header,
html.mc-theme-dark .fund-start-card:hover,
html.mc-theme-dark .poll-modal-body,
html.mc-theme-dark .poll-modal-footer {
    background: var(--soft-bg) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .dashboard-search-card .srch-pre,
html.mc-theme-dark .dashboard-search-card .srch-in,
html.mc-theme-dark .dash-filter,
html.mc-theme-dark .dash-select,
html.mc-theme-dark .poll-filter-area .form-control,
html.mc-theme-dark .poll-filter-area .form-select,
html.mc-theme-dark .admin-role-field .form-select,
html.mc-theme-dark .fund-search-control .form-select,
html.mc-theme-dark .fund-form-group .form-control,
html.mc-theme-dark .fund-form-group .form-select,
html.mc-theme-dark .fund-form-group textarea.form-control {
    background: #0D1C2F !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .dashboard-search-card .srch-in::placeholder,
html.mc-theme-dark .dash-filter::placeholder,
html.mc-theme-dark .poll-filter-area input::placeholder,
html.mc-theme-dark .fund-form-group input::placeholder,
html.mc-theme-dark .fund-form-group textarea::placeholder {
    color: #8EA0B8 !important;
}

html.mc-theme-dark .ph-title,
html.mc-theme-dark .kpi-v,
html.mc-theme-dark .kpi-l,
html.mc-theme-dark .ch h6,
html.mc-theme-dark .renewal-domain,
html.mc-theme-dark .ri-name,
html.mc-theme-dark .poll-summary-number,
html.mc-theme-dark .poll-domain,
html.mc-theme-dark .poll-short-message,
html.mc-theme-dark .poll-empty strong,
html.mc-theme-dark .poll-modal-title,
html.mc-theme-dark .poll-modal-info-box strong,
html.mc-theme-dark .admin-access-name,
html.mc-theme-dark .admin-access-name-text,
html.mc-theme-dark .permission-group-title,
html.mc-theme-dark .permission-check-title,
html.mc-theme-dark .fund-search-title strong,
html.mc-theme-dark .fund-start-card strong,
html.mc-theme-dark .fund-empty strong,
html.mc-theme-dark .fund-loader strong,
html.mc-theme-dark .fund-customer-name,
html.mc-theme-dark .fund-detail-item strong,
html.mc-theme-dark .fund-balance-box strong,
html.mc-theme-dark .fund-advanced-title strong,
html.mc-theme-dark .fund-live-summary strong {
    color: var(--text) !important;
}

html.mc-theme-dark .ph-sub,
html.mc-theme-dark .kpi-s,
html.mc-theme-dark .renewal-meta,
html.mc-theme-dark .ri-id,
html.mc-theme-dark .poll-summary-title,
html.mc-theme-dark .poll-date,
html.mc-theme-dark .poll-domain-empty,
html.mc-theme-dark .poll-empty,
html.mc-theme-dark .poll-modal-info-box small,
html.mc-theme-dark .admin-access-email,
html.mc-theme-dark .permission-form-tools,
html.mc-theme-dark .permission-intro,
html.mc-theme-dark .fund-search-title span,
html.mc-theme-dark .fund-start-card span,
html.mc-theme-dark .fund-empty,
html.mc-theme-dark .fund-loader,
html.mc-theme-dark .fund-detail-item small,
html.mc-theme-dark .fund-balance-box small,
html.mc-theme-dark .fund-advanced-title span,
html.mc-theme-dark .fund-live-summary small {
    color: var(--text-2) !important;
}

html.mc-theme-dark .transfer-card,
html.mc-theme-dark .registration-card,
html.mc-theme-dark .transfer-shell,
html.mc-theme-dark .registration-shell,
html.mc-theme-dark .transfer-stepper-wrap,
html.mc-theme-dark .registration-stepper-wrap,
html.mc-theme-dark .transfer-steps,
html.mc-theme-dark .registration-steps,
html.mc-theme-dark .transfer-step,
html.mc-theme-dark .registration-step,
html.mc-theme-dark .registration-lookup-card,
html.mc-theme-dark .registration-domain-search,
html.mc-theme-dark .registration-search-panel,
html.mc-theme-dark .transfer-domain-search,
html.mc-theme-dark .transfer-lookup-search {
    background: var(--white) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .transfer-step .transfer-step-label,
html.mc-theme-dark .registration-step .transfer-step-label,
html.mc-theme-dark .transfer-step .transfer-step-icon,
html.mc-theme-dark .registration-step .transfer-step-icon {
    color: var(--text-2) !important;
}

html.mc-theme-dark .transfer-step.is-active,
html.mc-theme-dark .registration-step.is-active {
    background: #1F314A !important;
    border-color: #FF8B4C !important;
}

html.mc-theme-dark .transfer-step.is-active .transfer-step-label,
html.mc-theme-dark .registration-step.is-active .transfer-step-label,
html.mc-theme-dark .transfer-step.is-done .transfer-step-label,
html.mc-theme-dark .registration-step.is-done .transfer-step-label,
html.mc-theme-dark .transfer-step.is-active .transfer-step-icon,
html.mc-theme-dark .registration-step.is-active .transfer-step-icon,
html.mc-theme-dark .transfer-step.is-done .transfer-step-icon,
html.mc-theme-dark .registration-step.is-done .transfer-step-icon {
    color: #FFFFFF !important;
}

html.mc-theme-dark .transfer-step.is-disabled,
html.mc-theme-dark .registration-step.is-disabled {
    opacity: .72 !important;
}

html.mc-theme-dark .registration-url-prefix,
html.mc-theme-dark .registration-popular-tlds button,
html.mc-theme-dark .transfer-input-wrap span,
html.mc-theme-dark .move-input-wrap span {
    background: #13243A !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .reseller-package-yes,
html.mc-theme-dark .reseller-api-on,
html.mc-theme-dark .customer-package-assigned,
html.mc-theme-dark .customer-status-active,
html.mc-theme-dark .poll-badge-success {
    background: #123B2A !important;
    border-color: #245A3F !important;
    color: #7DE3A1 !important;
}

html.mc-theme-dark .reseller-package-no,
html.mc-theme-dark .customer-package-unassigned,
html.mc-theme-dark .customer-status-inactive,
html.mc-theme-dark .poll-badge-danger {
    background: #451A24 !important;
    border-color: #71303C !important;
    color: #FF9BA5 !important;
}

html.mc-theme-dark .reseller-api-off,
html.mc-theme-dark .poll-badge-secondary,
html.mc-theme-dark .poll-extension,
html.mc-theme-dark .permission-count-pill,
html.mc-theme-dark .fund-empty-actions a,
html.mc-theme-dark .fund-quick-amount,
html.mc-theme-dark .poll-sl {
    background: #1B2B40 !important;
    border-color: #355B86 !important;
    color: #C2CDDB !important;
}

html.mc-theme-dark .poll-badge-info,
html.mc-theme-dark .poll-badge-primary,
html.mc-theme-dark .admin-permission-toggle {
    background: #223D5E !important;
    border-color: #355B86 !important;
    color: #B8DDFF !important;
}

html.mc-theme-dark .poll-badge-warning,
html.mc-theme-dark .fund-quick-amount:hover,
html.mc-theme-dark .fund-quick-amount.active {
    background: #412B13 !important;
    border-color: #6B481E !important;
    color: #FFD08A !important;
}

html.mc-theme-dark .permission-check input:checked+.permission-mark {
    background: #4DA9EA !important;
    border-color: #4DA9EA !important;
    color: #061421 !important;
}

html.mc-theme-dark .sidebar-menu li.active>a,
html.mc-theme-dark .sidebar-menu li.current>a,
html.mc-theme-dark .sidebar-menu .treeview-menu>li.active>a,
html.mc-theme-dark .sidebar-menu .treeview-menu>li.current>a,
html.mc-theme-dark .sb-link.active,
html.mc-theme-dark .sb-link:hover,
html.mc-theme-dark .mobile-tab.active {
    color: #FFFFFF !important;
}

html.mc-theme-dark .sidebar-menu li.active>a *,
html.mc-theme-dark .sidebar-menu li.current>a *,
html.mc-theme-dark .sb-link.active *,
html.mc-theme-dark .sb-link:hover *,
html.mc-theme-dark .mobile-tab.active *,
html.mc-theme-dark .btn *,
html.mc-theme-dark button *,
html.mc-theme-dark .badge *,
html.mc-theme-dark [class*="badge"] *,
html.mc-theme-dark [class*="status"] *,
html.mc-theme-dark [class*="action"] *,
html.mc-theme-dark .reseller-package *,
html.mc-theme-dark .reseller-api *,
html.mc-theme-dark .poll-badge *,
html.mc-theme-dark .permission-count-pill *,
html.mc-theme-dark .fund-empty-actions a *,
html.mc-theme-dark .fund-quick-amount * {
    color: inherit !important;
}

/* Admin activity log dark-mode contrast */
html.mc-theme-dark .activity-filter-box,
html.mc-theme-dark .activity-empty,
html.mc-theme-dark .activity-table,
html.mc-theme-dark .activity-table tbody tr {
    background: var(--white) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
    box-shadow: none !important;
}

html.mc-theme-dark .activity-table thead tr th,
html.mc-theme-dark .activity-table tbody tr td {
    background: var(--white) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .activity-table tbody tr:hover td {
    background: var(--soft-bg) !important;
}

html.mc-theme-dark .activity-filter-box .form-control,
html.mc-theme-dark .activity-filter-box .form-select {
    background: #0D1C2F !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .activity-date,
html.mc-theme-dark .activity-admin-name,
html.mc-theme-dark .activity-detail-value {
    color: var(--text) !important;
}

html.mc-theme-dark .activity-filter-box label,
html.mc-theme-dark .activity-time,
html.mc-theme-dark .activity-admin-email,
html.mc-theme-dark .activity-detail-key {
    color: var(--text-2) !important;
}

html.mc-theme-dark .activity-action-badge {
    background: #223D5E !important;
    border-color: #355B86 !important;
    color: #B8DDFF !important;
}

html.mc-theme-dark .activity-target-badge,
html.mc-theme-dark .activity-detail-item,
html.mc-theme-dark .activity-ip {
    background: #1B2B40 !important;
    border-color: #355B86 !important;
    color: #C2CDDB !important;
}

html.mc-theme-dark .activity-action-badge *,
html.mc-theme-dark .activity-target-badge *,
html.mc-theme-dark .activity-ip * {
    color: inherit !important;
}

/* Registration and transfer workflow polish in dark mode */
html.mc-theme-dark .registration-flow,
html.mc-theme-dark .transfer-flow {
    border-color: var(--border) !important;
    background: var(--white) !important;
    box-shadow: none !important;
}

html.mc-theme-dark .registration-flow>.box-header,
html.mc-theme-dark .transfer-flow>.box-header {
    min-height: 76px !important;
    padding: 16px 22px !important;
    background: var(--white) !important;
    border-bottom: 1px solid var(--border) !important;
}

html.mc-theme-dark .registration-title-icon,
html.mc-theme-dark .transfer-title-icon {
    background: #1B2B40 !important;
    color: #B8DDFF !important;
}

html.mc-theme-dark .registration-title-lockup .box-title,
html.mc-theme-dark .transfer-title-lockup .box-title,
html.mc-theme-dark .registration-title-lockup small,
html.mc-theme-dark .transfer-title-lockup small {
    color: var(--text) !important;
}

html.mc-theme-dark .registration-shell,
html.mc-theme-dark .transfer-shell {
    padding: 12px 22px 22px !important;
    background: var(--white) !important;
}

html.mc-theme-dark .registration-stepper-wrap,
html.mc-theme-dark .transfer-stepper-wrap {
    margin: 0 0 16px !important;
}

html.mc-theme-dark .registration-steps,
html.mc-theme-dark .transfer-steps {
    gap: 8px !important;
}

html.mc-theme-dark .registration-steps::before,
html.mc-theme-dark .transfer-steps::before {
    border-color: #40516A !important;
}

html.mc-theme-dark .registration-step,
html.mc-theme-dark .transfer-step {
    min-height: 88px !important;
    padding: 10px 8px !important;
    border: 1px solid var(--border) !important;
    border-radius: 3px !important;
    background: #13243A !important;
    color: var(--text) !important;
}

html.mc-theme-dark .registration-step:hover,
html.mc-theme-dark .transfer-step:hover {
    border-color: #4DA9EA !important;
    background: #1A2B43 !important;
}

html.mc-theme-dark .registration-step .transfer-step-index,
html.mc-theme-dark .transfer-step .transfer-step-index {
    background: #ff622f !important;
    color: #fff !important;
}

html.mc-theme-dark .registration-step .transfer-step-icon,
html.mc-theme-dark .transfer-step .transfer-step-icon {
    width: 48px !important;
    height: 48px !important;
    background: #E8EEF6 !important;
    border-color: #D7E2EE !important;
    color: #0D4F7C !important;
}

html.mc-theme-dark .registration-step .transfer-step-label,
html.mc-theme-dark .transfer-step .transfer-step-label {
    color: #DCE8F6 !important;
    font-size: 12px !important;
}

html.mc-theme-dark .registration-step.is-active,
html.mc-theme-dark .transfer-step.is-active {
    background: #1D344D !important;
    border-color: #F16822 !important;
    box-shadow: 0 10px 24px rgba(241, 104, 34, .12) !important;
}

html.mc-theme-dark .registration-step.is-active .transfer-step-icon,
html.mc-theme-dark .transfer-step.is-active .transfer-step-icon,
html.mc-theme-dark .registration-step.is-done .transfer-step-icon,
html.mc-theme-dark .transfer-step.is-done .transfer-step-icon {
    background: #FFFFFF !important;
    border-color: #FFD4BF !important;
    color: #F16822 !important;
}

html.mc-theme-dark .registration-step.is-active .transfer-step-index,
html.mc-theme-dark .transfer-step.is-active .transfer-step-index,
html.mc-theme-dark .registration-step.is-done .transfer-step-index,
html.mc-theme-dark .transfer-step.is-done .transfer-step-index {
    background: #F16822 !important;
}

html.mc-theme-dark .registration-step.is-active .transfer-step-label,
html.mc-theme-dark .transfer-step.is-active .transfer-step-label,
html.mc-theme-dark .registration-step.is-done .transfer-step-label,
html.mc-theme-dark .transfer-step.is-done .transfer-step-label {
    color: #FFFFFF !important;
}

html.mc-theme-dark .registration-step.is-disabled,
html.mc-theme-dark .transfer-step.is-disabled {
    opacity: .78 !important;
}

html.mc-theme-dark .registration-lookup-card,
html.mc-theme-dark .registration-card,
html.mc-theme-dark .registration-domain-search {
    background: #13243A !important;
    border-color: var(--border) !important;
}

html.mc-theme-dark .registration-domain-search {
    padding: 22px 26px !important;
    border-radius: 3px !important;
}

html.mc-theme-dark .registration-search-head h3,
html.mc-theme-dark .registration-search-head h3 span {
    color: var(--text) !important;
}

html.mc-theme-dark .registration-search-head p {
    color: var(--text-2) !important;
}

html.mc-theme-dark .registration-search-panel {
    background: #0D1C2F !important;
    border-color: var(--border) !important;
    padding: 14px !important;
    border-radius: 3px !important;
}

html.mc-theme-dark .registration-search-panel .input-group {
    margin-bottom: 10px !important;
}

html.mc-theme-dark .registration-url-prefix {
    min-width: 122px !important;
    background: #172A43 !important;
    color: #FFFFFF !important;
}

html.mc-theme-dark .registration-search-panel input.form-control {
    background: #0A1727 !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .registration-search-panel input.form-control::placeholder {
    color: #8EA0B8 !important;
}

html.mc-theme-dark .registration-popular-tlds strong {
    color: var(--text) !important;
}

html.mc-theme-dark .registration-popular-tlds button {
    background: #12314D !important;
    border-color: #355B86 !important;
    color: #FFFFFF !important;
}

@media(max-width: 767px) {

    html.mc-theme-dark .registration-flow>.box-header,
    html.mc-theme-dark .transfer-flow>.box-header {
        padding: 12px !important;
    }

    html.mc-theme-dark .registration-shell,
    html.mc-theme-dark .transfer-shell {
        padding: 10px !important;
    }

    html.mc-theme-dark .registration-step,
    html.mc-theme-dark .transfer-step {
        min-height: 58px !important;
    }

    html.mc-theme-dark .registration-step .transfer-step-icon,
    html.mc-theme-dark .transfer-step .transfer-step-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 15px !important;
    }

    html.mc-theme-dark .registration-domain-search {
        padding: 14px !important;
    }

    html.mc-theme-dark .registration-search-panel .input-group {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    html.mc-theme-dark .registration-url-prefix,
    html.mc-theme-dark .registration-search-panel input.form-control,
    html.mc-theme-dark .registration-search-panel .btn {
        width: 100% !important;
        border-radius: 9px !important;
    }
}

/* Compact collapsed sidebar flyouts and hover labels */
@media(min-width: 576px) {
    body.sb-mini .sb {
        overflow: visible !important;
    }

    body.sb-mini .sb-menu {
        overflow: visible !important;
        padding: 6px 6px !important;
        margin: 6px 0 !important;
    }

    body.sb-mini .sb-item {
        position: relative !important;
        overflow: visible !important;
        margin: 2px 0 !important;
    }

    body.sb-mini .sb-link {
        position: relative !important;
        min-height: 34px !important;
        height: 34px !important;
        width: 38px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        border-radius: 8px !important;
        justify-content: center !important;
        transition: background .18s ease, color .18s ease, transform .18s ease !important;
    }

    body.sb-mini .sb-link:hover {
        transform: translateX(2px);
    }

    body.sb-mini .sb-icon {
        width: 18px !important;
        min-width: 18px !important;
        font-size: 14px !important;
        margin: 0 !important;
    }

    body.sb-mini .sb-link .sb-txt {
        display: block !important;
        position: absolute !important;
        left: calc(100% + 11px) !important;
        top: 50% !important;
        transform: translate(-6px, -50%) scale(.98) !important;
        min-width: max-content !important;
        max-width: 180px !important;
        padding: 6px 10px !important;
        border-radius: 8px !important;
        background: var(--white) !important;
        border: 1px solid var(--border) !important;
        box-shadow: 0 12px 30px rgba(15, 23, 42, .16) !important;
        color: var(--text) !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        line-height: 1.15 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
        z-index: 1505 !important;
    }

    body.sb-mini .sb-link .sb-txt::before {
        content: "" !important;
        position: absolute !important;
        left: -5px !important;
        top: 50% !important;
        width: 10px !important;
        height: 10px !important;
        background: var(--white) !important;
        border-left: 1px solid var(--border) !important;
        border-bottom: 1px solid var(--border) !important;
        transform: translateY(-50%) rotate(45deg) !important;
    }

    body.sb-mini .sb-item:not(.has-child-menu):not(:has(.sb-sub)):hover>.sb-link .sb-txt {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translate(0, -50%) scale(1) !important;
    }

    body.sb-mini .sb-arr,
    body.sb-mini .sb-divider {
        display: none !important;
    }

    body.sb-mini .sb-sub {
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: calc(100% + 7px) !important;
        width: 176px !important;
        max-height: min(58vh, 360px) !important;
        overflow: visible !important;
        padding: 6px !important;
        margin: 0 !important;
        background: var(--white) !important;
        border: 1px solid var(--border) !important;
        border-radius: 9px !important;
        box-shadow: 0 14px 34px rgba(15, 23, 42, .18) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateX(-6px) scale(.98) !important;
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
        z-index: 1500 !important;
    }

    body.sb-mini .sb-item.open>.sb-sub {
        opacity: 0 !important;
        visibility: hidden !important;
    }

    body.sb-mini .sb-item:hover>.sb-sub,
    body.sb-mini .sb-item.open:hover>.sb-sub,
    body.sb-mini .sb-item.open>.sb-sub:hover {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) scale(1) !important;
    }

    body.sb-mini .sb-sub::before,
    body.sb-mini .sb-item.open>.sb-sub::before {
        content: "" !important;
        position: absolute !important;
        top: 12px !important;
        left: -5px !important;
        width: 10px !important;
        height: 10px !important;
        background: var(--white) !important;
        border-left: 1px solid var(--border) !important;
        border-bottom: 1px solid var(--border) !important;
        transform: rotate(45deg) !important;
    }

    body.sb-mini .sb-sub-link {
        position: relative !important;
        min-height: 30px !important;
        padding: 6px 8px !important;
        border-radius: 3px !important;
        font-size: 11.5px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        transition: background .16s ease, color .16s ease, transform .16s ease !important;
    }

    body.sb-mini .sb-sub-link:hover {
        transform: translateX(2px);
    }

    body.sb-mini .sb-sub-link[title]:hover::after {
        display: none !important;
        content: none !important;
    }

    body.sb-mini .sb-sub-link::before {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        border-radius: 3px !important;
        margin-right: 7px !important;
        font-size: 10px !important;
        line-height: 18px !important;
    }
}

@media(max-width: 575px) {
    .tb {
        height: 52px !important;
    }

    .tb-brand img {
        height: 24px !important;
        max-width: 124px !important;
    }

    .tb-ham,
    .tb-btn,
    .tb-avatar {
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
    }
}

/* EPP command log and customer/reseller profile dark-mode finishing pass */
html.mc-theme-dark body .epp-summary-card,
html.mc-theme-dark body .epp-filter-area,
html.mc-theme-dark body .epp-detail-meta-box,
html.mc-theme-dark body .epp-detail-modal .modal-body {
    background: #13243A !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark body .epp-summary-title,
html.mc-theme-dark body .epp-filter-area label,
html.mc-theme-dark body .epp-detail-meta-box small,
html.mc-theme-dark body .epp-loading,
html.mc-theme-dark body .text-muted-custom {
    color: var(--text-2) !important;
}

html.mc-theme-dark body .epp-summary-number,
html.mc-theme-dark body .epp-command,
html.mc-theme-dark body .epp-domain,
html.mc-theme-dark body .epp-date,
html.mc-theme-dark body .epp-detail-meta-box strong {
    color: var(--text) !important;
}

html.mc-theme-dark body .epp-filter-area .form-control,
html.mc-theme-dark body .epp-filter-area .form-select,
html.mc-theme-dark body .epp-trans-id {
    background: #0D1C2F !important;
    border-color: #35516F !important;
    color: #EEF4FB !important;
}

html.mc-theme-dark body .epp-filter-area .form-control::placeholder {
    color: #8EA0B8 !important;
}

html.mc-theme-dark body .epp-table thead th {
    background: #172A43 !important;
    border-bottom-color: var(--border) !important;
    color: #EEF4FB !important;
}

html.mc-theme-dark body .epp-table tbody td {
    border-bottom-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark body .epp-table tbody tr:hover {
    background: #172A43 !important;
}

html.mc-theme-dark body .epp-sl,
html.mc-theme-dark body .epp-page-btn {
    background: #203A59 !important;
    border-color: #35516F !important;
    color: #EEF4FB !important;
}

html.mc-theme-dark body .epp-page-btn.active,
html.mc-theme-dark body .epp-page-btn:hover {
    background: #0D5F93 !important;
    border-color: #0D5F93 !important;
    color: #FFFFFF !important;
}

html.mc-theme-dark body .epp-empty {
    background: #13243A !important;
    border-color: #35516F !important;
    color: #C2CDDB !important;
}

html.mc-theme-dark body .epp-empty i {
    color: #8EA0B8 !important;
}

html.mc-theme-dark body .epp-error {
    background: #3B1722 !important;
    border-color: #7F1D1D !important;
    color: #FFD6DE !important;
}

html.mc-theme-dark body #showgetdata_eppcommand {
    background: #13243A !important;
    color: var(--text) !important;
}

html.mc-theme-dark body #showgetdata_eppcommand textarea,
html.mc-theme-dark body #showgetdata_eppcommand pre,
html.mc-theme-dark body #showgetdata_eppcommand xmp {
    background: #0D1C2F !important;
    border-color: #35516F !important;
    color: #EEF4FB !important;
}

html.mc-theme-dark body .reseller-profile-page .box-body,
html.mc-theme-dark body .reseller-profile-hero,
html.mc-theme-dark body .profile-stat-box,
html.mc-theme-dark body .credential-card,
html.mc-theme-dark body .profile-info-panel,
html.mc-theme-dark body .whmcs-credential-panel,
html.mc-theme-dark body .profile-recent-panel {
    background: #13243A !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
    box-shadow: none !important;
}

html.mc-theme-dark body .reseller-profile-page .box-footer,
html.mc-theme-dark body .profile-recent-head {
    background: #111F32 !important;
    border-color: var(--border) !important;
}

html.mc-theme-dark body .reseller-hero-copy h3,
html.mc-theme-dark body .credential-panel-header h4,
html.mc-theme-dark body .profile-stat-box h3,
html.mc-theme-dark body .profile-info-panel h5,
html.mc-theme-dark body .detail-grid strong,
html.mc-theme-dark body .credential-value span,
html.mc-theme-dark body .profile-recent-head h5,
html.mc-theme-dark body .profile-recent-item strong {
    color: #EEF4FB !important;
}

html.mc-theme-dark body .reseller-hero-copy p,
html.mc-theme-dark body .credential-panel-header p,
html.mc-theme-dark body .profile-stat-label,
html.mc-theme-dark body .profile-stat-box p,
html.mc-theme-dark body .credential-card label,
html.mc-theme-dark body .detail-grid span,
html.mc-theme-dark body .profile-recent-item span,
html.mc-theme-dark body .profile-recent-meta em,
html.mc-theme-dark body .profile-recent-empty {
    color: #C2CDDB !important;
}

html.mc-theme-dark body .reseller-chip {
    background: #203A59 !important;
    border: 1px solid #35516F !important;
    color: #DCEBFA !important;
}

html.mc-theme-dark body .reseller-chip.chip-success,
html.mc-theme-dark body .chip-success {
    background: #0F3F2F !important;
    border-color: #1B7A57 !important;
    color: #BDF8D4 !important;
}

html.mc-theme-dark body .profile-recent-item {
    border-bottom-color: var(--border) !important;
}

/* Fund history filters/table and renew confirmation contrast in dark mode */
html.mc-theme-dark body .fund-summary-card,
html.mc-theme-dark body .fund-filter-area,
html.mc-theme-dark body .fund-empty {
    background: #13243A !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
    box-shadow: none !important;
}

html.mc-theme-dark body .fund-summary-title,
html.mc-theme-dark body .fund-filter-item label,
html.mc-theme-dark body .fund-company,
html.mc-theme-dark body .fund-empty,
html.mc-theme-dark body .fund-empty i {
    color: #C2CDDB !important;
}

html.mc-theme-dark body .fund-summary-number,
html.mc-theme-dark body .fund-date,
html.mc-theme-dark body .fund-client-name,
html.mc-theme-dark body .fund-note {
    color: #EEF4FB !important;
}

html.mc-theme-dark body .fund-filter-item .form-control,
html.mc-theme-dark body .fund-filter-item .form-select {
    background: #0D1C2F !important;
    border-color: #35516F !important;
    color: #EEF4FB !important;
}

html.mc-theme-dark body .fund-filter-item .form-control::placeholder {
    color: #8EA0B8 !important;
}

html.mc-theme-dark body .fund-table thead th {
    background: #172A43 !important;
    border-bottom-color: var(--border) !important;
    color: #EEF4FB !important;
}

html.mc-theme-dark body .fund-table tbody td {
    border-bottom-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark body .fund-table tbody tr:hover {
    background: #172A43 !important;
}

html.mc-theme-dark body .fund-page-btn {
    background: #203A59 !important;
    border-color: #35516F !important;
    color: #EEF4FB !important;
}

html.mc-theme-dark body .fund-page-btn.active,
html.mc-theme-dark body .fund-page-btn:hover {
    background: #0D5F93 !important;
    border-color: #0D5F93 !important;
    color: #FFFFFF !important;
}

html.mc-theme-dark body .fund-badge-cash {
    background: #203A59 !important;
    color: #DCEBFA !important;
}

html.mc-theme-dark body .fund-badge-online {
    background: #0F3F2F !important;
    color: #BDF8D4 !important;
}

html.mc-theme-dark body .renew-cancel-btn,
html.mc-theme-dark body .renew-cancel-btn:hover,
html.mc-theme-dark body .renew-cancel-btn:focus {
    background: #3B1722 !important;
    border-color: #EA5265 !important;
    color: #FFDDE3 !important;
    opacity: 1 !important;
}

html.mc-theme-dark body .renew-cancel-btn i {
    color: #FFDDE3 !important;
}

html.mc-theme-dark body .renew-balance-line {
    background: #0F3F2F !important;
    border-color: #1B7A57 !important;
    color: #DFFFEA !important;
}

html.mc-theme-dark body .renew-balance-line span,
html.mc-theme-dark body .renew-balance-line strong,
html.mc-theme-dark body .renew-balance-line i {
    color: #DFFFEA !important;
}

html.mc-theme-dark body .sweet-alert,
html.mc-theme-dark body .swal-modal {
    background: #13243A !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark body .sweet-alert h2,
html.mc-theme-dark body .swal-title {
    color: #EEF4FB !important;
}

html.mc-theme-dark body .sweet-alert p,
html.mc-theme-dark body .swal-text {
    color: #C2CDDB !important;
}

html.mc-theme-dark body .sweet-alert .sa-icon.sa-warning,
html.mc-theme-dark body .swal-icon--warning {
    border-color: #FFB07F !important;
}

html.mc-theme-dark body .sweet-alert .sa-icon.sa-warning .sa-body,
html.mc-theme-dark body .sweet-alert .sa-icon.sa-warning .sa-dot,
html.mc-theme-dark body .swal-icon--warning__body,
html.mc-theme-dark body .swal-icon--warning__dot {
    background-color: #FFB07F !important;
}

html.mc-theme-dark body .sweet-alert .btn-default,
html.mc-theme-dark body .sweet-alert button.cancel,
html.mc-theme-dark body .swal-button--cancel {
    background: #203A59 !important;
    border-color: #35516F !important;
    color: #EEF4FB !important;
}

html.mc-theme-dark body .sweet-alert .btn-success,
html.mc-theme-dark body .sweet-alert button.confirm,
html.mc-theme-dark body .swal-button--confirm {
    background: #009C5C !important;
    border-color: #009C5C !important;
    color: #FFFFFF !important;
}

/* Reseller profile fund transaction section in dark mode */
html.mc-theme-dark body .fund-history-box {
    background: #13243A !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark body .fund-history-box .box-header {
    background: #111F32 !important;
    border-bottom: 1px solid var(--border) !important;
}

html.mc-theme-dark body .fund-history-box .fund-page-title,
html.mc-theme-dark body .fund-history-box .box-header>div {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

html.mc-theme-dark body .fund-history-box .box-title,
html.mc-theme-dark body .fund-history-total {
    color: #EEF4FB !important;
}

html.mc-theme-dark body .fund-history-total {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 28px !important;
    padding: 4px 10px !important;
    border: 1px solid #35516F !important;
    border-radius: 999px !important;
    background: #203A59 !important;
}

html.mc-theme-dark body .fund-history-summary,
html.mc-theme-dark body .fund-history-filters {
    background: #111F32 !important;
    border-bottom-color: var(--border) !important;
}

html.mc-theme-dark body .fund-history-summary div {
    background: #13243A !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark body .fund-history-summary span {
    color: #C2CDDB !important;
}

html.mc-theme-dark body .fund-history-summary strong {
    color: #EEF4FB !important;
}

html.mc-theme-dark body .fund-history-filters .form-control,
html.mc-theme-dark body .fund-history-filters .form-select {
    background: #0D1C2F !important;
    border-color: #35516F !important;
    color: #EEF4FB !important;
}

html.mc-theme-dark body .fund-history-filters .form-control::placeholder {
    color: #8EA0B8 !important;
}

html.mc-theme-dark body .fund-history-table {
    color: var(--text) !important;
}

html.mc-theme-dark body .fund-history-table th {
    background: #172A43 !important;
    border-color: var(--border) !important;
    color: #EEF4FB !important;
}

html.mc-theme-dark body .fund-history-table td {
    background: #13243A !important;
    border-color: var(--border) !important;
    color: #EEF4FB !important;
}

html.mc-theme-dark body .fund-history-table tr:hover td {
    background: #172A43 !important;
}

html.mc-theme-dark body .fund-history-table .text-muted {
    color: #C2CDDB !important;
}

html.mc-theme-dark body .fund-history-table .badge-light {
    background: #203A59 !important;
    color: #DCEBFA !important;
}

/* Add/edit customer and reseller form contrast in dark mode */
html.mc-theme-dark body .customer-form-box,
html.mc-theme-dark body .reseller-form-box {
    background: var(--white) !important;
    border-color: var(--border) !important;
    box-shadow: none !important;
}

html.mc-theme-dark body .customer-form-body,
html.mc-theme-dark body .reseller-form-body {
    background: var(--white) !important;
}

html.mc-theme-dark body .customer-section,
html.mc-theme-dark body .reseller-section {
    background: #13243A !important;
    border-color: var(--border) !important;
}

html.mc-theme-dark body .customer-section-header,
html.mc-theme-dark body .reseller-section-header {
    background: #172A43 !important;
    border-bottom-color: var(--border) !important;
}

html.mc-theme-dark body .customer-section-icon,
html.mc-theme-dark body .reseller-section-icon {
    background: #203A59 !important;
    color: #B8DDFF !important;
}

html.mc-theme-dark body .customer-section-title,
html.mc-theme-dark body .reseller-section-title,
html.mc-theme-dark body .customer-field label,
html.mc-theme-dark body .reseller-field label {
    color: #EEF4FB !important;
}

html.mc-theme-dark body .customer-section-text,
html.mc-theme-dark body .reseller-section-text,
html.mc-theme-dark body .customer-field-hint,
html.mc-theme-dark body .reseller-field-hint {
    color: #C2CDDB !important;
}

html.mc-theme-dark body .customer-field .form-control,
html.mc-theme-dark body .customer-field .form-select,
html.mc-theme-dark body .reseller-field .form-control,
html.mc-theme-dark body .reseller-field .form-select,
html.mc-theme-dark body .api-ip-row .form-control {
    background: #0D1C2F !important;
    border-color: #35516F !important;
    color: #EEF4FB !important;
}

html.mc-theme-dark body .customer-field .form-control[readonly],
html.mc-theme-dark body .reseller-field .form-control[readonly],
html.mc-theme-dark body .customer-field .form-control[style*="background:#f8fafc"],
html.mc-theme-dark body .reseller-field .form-control[style*="background:#f8fafc"] {
    background: #172A43 !important;
    color: #EEF4FB !important;
}

html.mc-theme-dark body .customer-field .form-control::placeholder,
html.mc-theme-dark body .reseller-field .form-control::placeholder,
html.mc-theme-dark body .api-ip-row .form-control::placeholder {
    color: #8EA0B8 !important;
}

html.mc-theme-dark body .customer-field .form-control:focus,
html.mc-theme-dark body .customer-field .form-select:focus,
html.mc-theme-dark body .reseller-field .form-control:focus,
html.mc-theme-dark body .reseller-field .form-select:focus,
html.mc-theme-dark body .api-ip-row .form-control:focus {
    background: #0D1C2F !important;
    border-color: #35516F !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}

html.mc-theme-dark body .customer-password-toggle,
html.mc-theme-dark body .reseller-password-toggle {
    color: #C2CDDB !important;
}

html.mc-theme-dark body .customer-password-toggle:hover,
html.mc-theme-dark body .reseller-password-toggle:hover {
    background: #203A59 !important;
    color: #FFFFFF !important;
}

html.mc-theme-dark body .customer-form-footer,
html.mc-theme-dark body .reseller-form-footer {
    background: #111F32 !important;
    border-top-color: var(--border) !important;
}

@media(max-width: 767px) {

    html.mc-theme-dark body .customer-form-page,
    html.mc-theme-dark body .reseller-form-page {
        padding: 0 !important;
    }

    html.mc-theme-dark body .customer-form-box,
    html.mc-theme-dark body .reseller-form-box {
        border-radius: 3px !important;
    }

    html.mc-theme-dark body .customer-section,
    html.mc-theme-dark body .reseller-section {
        border-radius: 3px !important;
    }
}

/* ==========================================================================
   UNIFIED PREMIUM SAAS DASHBOARD DESIGN SYSTEM (MyCtrlBox v5.0)
   Brand Primary: rgb(6, 65, 109)
   Supports Light Mode (#f6f9fc) and Dark Mode (#07111f)
   ========================================================================== */

:root {
    --admin-primary: #024686;
    --admin-primary-hover: #01345F;
    --admin-primary-light: #EAF3FB;
    --admin-accent: #FF6B2E;
    --admin-accent-dark: #C9470D;
    --admin-accent-light: #FFF1EB;
    --admin-bg: #F5F9FC;
    --admin-card-bg: #FFFFFF;
    --admin-border: #D7E3EC;
    --admin-text: #0F172A;
    --admin-text-muted: #64748B;
    --admin-shadow-sm: 0 2px 8px rgba(2, 70, 134, 0.04);
    --admin-shadow-md: 0 6px 20px rgba(2, 70, 134, 0.08);
    --admin-radius: 10px;
    --admin-radius-lg: 14px;
}

html.mc-theme-dark,
[data-theme="dark"],
body.dark-mode {
    --admin-bg: #07111f;
    --admin-card-bg: #0d1b2d;
    --admin-card-hover: #10243a;
    --admin-border: #1f344d;
    --admin-text: #f8fafc;
    --admin-text-muted: #94a3b8;
    --admin-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --admin-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
    --admin-input-bg: #0b1728;
    --admin-input-border: #243b55;
}

/* Base Body System */
body {
    background-color: var(--admin-bg) !important;
    color: var(--admin-text) !important;
    font-family: 'Google Sans', 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* Layout Containers */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: var(--admin-bg);
}

.admin-header {
    height: 64px;
    background: var(--admin-card-bg);
    border-bottom: 1px solid var(--admin-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--admin-shadow-sm);
}

.admin-sidebar {
    width: 260px;
    background: var(--admin-card-bg);
    border-right: 1px solid var(--admin-border);
    display: flex;
    flex-direction: column;
}

/* Page Header & Title */
.page-title-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.page-title-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.page-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--admin-text);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 13px;
    color: var(--admin-text-muted);
    margin: 3px 0 0;
}

/* KPI Stats Cards Grid */
.stats-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

@media (max-width: 1199px) {
    .stats-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .stats-cards-grid {
        grid-template-columns: 1fr;
    }
}

.stats-card {
    background: var(--admin-card-bg);
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-lg);
    padding: 18px 20px;
    box-shadow: var(--admin-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--admin-shadow-md);
    border-color: rgba(6, 65, 109, 0.25);
}

.stats-card-info {
    min-width: 0;
}

.stats-card-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--admin-text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stats-card-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--admin-text);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.stats-card-sub {
    font-size: 11px;
    font-weight: 600;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stats-card-sub.up {
    color: #10b981;
}

.stats-card-sub.neutral {
    color: var(--admin-text-muted);
}

.stats-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex: 0 0 auto;
}

.stats-icon-blue {
    background: rgba(6, 65, 109, 0.1);
    color: rgb(6, 65, 109);
}

.stats-icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.stats-icon-orange {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.stats-icon-cyan {
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
}

html.mc-theme-dark .stats-icon-blue {
    background: rgba(6, 65, 109, 0.28);
    color: #60a5fa;
}

html.mc-theme-dark .stats-icon-green {
    background: rgba(16, 185, 129, 0.25);
    color: #34d399;
}

html.mc-theme-dark .stats-icon-orange {
    background: rgba(245, 158, 11, 0.25);
    color: #fbbf24;
}

html.mc-theme-dark .stats-icon-cyan {
    background: rgba(14, 165, 233, 0.25);
    color: #38bdf8;
}

/* Filter Card Controls */
.filter-card {
    background: var(--admin-card-bg);
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-lg);
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: var(--admin-shadow-sm);
}

.filter-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 12px;
}

.filter-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-tab-btn {
    border: 1px solid var(--admin-border);
    background: transparent;
    color: var(--admin-text-muted);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.filter-tab-btn.active,
.filter-tab-btn:hover {
    background: var(--admin-primary);
    border-color: var(--admin-primary);
    color: #ffffff;
}

.filter-clear-btn {
    border: 1px solid var(--admin-border);
    background: transparent;
    color: var(--admin-text-muted);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.filter-clear-btn:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
}

.filter-grid {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) repeat(3, minmax(100px, 1fr)) auto;
    gap: 12px;
    align-items: end;
}

@media (max-width: 1199px) {
    .filter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .filter-grid {
        grid-template-columns: 1fr;
    }
}

.filter-field label {
    display: block;
    font-size: 11px;
    font-family: "Urbanist", sans-serif !important;
    font-weight: 800;
    color: var(--admin-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

/* Modern Form Controls */
.form-control-modern,
.form-select-modern,
.filter-card .form-control,
.filter-card .form-select {
    width: 100%;
    height: 40px;
    background: var(--admin-card-bg);
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--admin-text);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

html.mc-theme-dark .form-control-modern,
html.mc-theme-dark .form-select-modern,
html.mc-theme-dark .filter-card .form-control,
html.mc-theme-dark .filter-card .form-select {
    background: var(--admin-input-bg) !important;
    border-color: var(--admin-input-border) !important;
    color: var(--admin-text) !important;
}

.form-control-modern:focus,
.form-select-modern:focus,
.filter-card .form-control:focus,
.filter-card .form-select:focus {
    outline: none;
    border-color: var(--admin-border);
    box-shadow: none;
}

.search-input-wrap {
    position: relative;
}

.search-input-wrap i.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--admin-text-muted);
    font-size: 14px;
    pointer-events: none;
    z-index: 2;
}

.search-input-wrap input {
    padding-left: 38px !important;
}

/* Primary Button */
.btn-primary-modern,
.btn-primary-admin {
    background: rgb(6, 65, 109) !important;
    border: 1px solid rgb(6, 65, 109) !important;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.18s ease;
    box-shadow: 0 4px 12px rgba(6, 65, 109, 0.2);
}

.btn-primary-modern:hover,
.btn-primary-admin:hover {
    background: #085289 !important;
    border-color: #085289 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(6, 65, 109, 0.28);
}

.btn-secondary-modern {
    background: var(--admin-card-bg) !important;
    border: 1px solid var(--admin-border) !important;
    color: var(--admin-text) !important;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-secondary-modern:hover {
    background: var(--admin-bg) !important;
}

/* Modern List View Container & Items */
.modern-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.modern-list-item {
    background: var(--admin-card-bg);
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-lg);
    padding: 14px 20px;
    box-shadow: var(--admin-shadow-sm);
    display: flex;
    align-items: center;
    font-family: "Urbanist", sans-serif;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

html.mc-theme-dark .modern-list-item {
    background: var(--admin-card-bg);
}

.modern-list-item:hover {
    transform: translateY(-1px);
    box-shadow: var(--admin-shadow-md);
    border-color: rgba(6, 65, 109, 0.25);
    background: var(--admin-card-hover, #fafdff);
}

html:not(.mc-theme-dark) .modern-list-item:hover {
    background: #f8fbff;
}

/* Serial Number Block */
.sl-block {
    font-size: 13px;
    font-weight: 800;
    color: var(--admin-text-muted);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--admin-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Avatar Circle */
.avatar-initial {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(6, 65, 109, 0.1);
    color: rgb(6, 65, 109);
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: 0 0 auto;
}

html.mc-theme-dark .avatar-initial {
    background: rgba(96, 165, 250, 0.18);
    color: #93c5fd;
}

.avatar-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--admin-card-bg);
    background: #10b981;
}

.avatar-status-dot.inactive {
    background: #ef4444;
}

/* Details & Labels */
.item-title-wrap {
    min-width: 0;
}

.item-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--admin-text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
}

.item-name:hover {
    color: rgb(6, 65, 109);
}

.item-meta {
    font-size: 12px;
    color: var(--admin-text-muted);
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.column-label-val {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.col-label {
    font-size: 10px;
    font-weight: 800;
    color: var(--admin-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    width: max-content;
    max-width: 100%;
}

.badge-active {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.badge-inactive {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.badge-package {
    background: rgba(6, 65, 109, 0.1);
    color: rgb(6, 65, 109);
}

.badge-api-on {
    background: rgba(14, 165, 233, 0.12);
    color: #0284c7;
}

.badge-api-off {
    background: rgba(100, 116, 139, 0.12);
    color: #64748b;
}

.reseller-page .badge-api-on,
.reseller-page .badge-api-off,
.customer-page-container .badge-api-on,
.customer-page-container .badge-api-off {
    height: 24px;
    padding: 3px 10px;
    border-radius: 999px;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
    border: 0;
}

.reseller-page .badge-api-on::before,
.reseller-page .badge-api-off::before,
.customer-page-container .badge-api-on::before,
.customer-page-container .badge-api-off::before {
    display: none;
}

.reseller-page .badge-api-on,
.customer-page-container .badge-api-on {
    background: #034f7300;
    color: #1dd018 !important;
}

.reseller-page .badge-api-off,
.customer-page-container .badge-api-off {
    background: #9e4e4e00;
    color: #bc0000 !important;
}

.reseller-page .badge-api-on i,
.reseller-page .badge-api-off i,
.customer-page-container .badge-api-on i,
.customer-page-container .badge-api-off i {
    width: 13px;
    height: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    font-size: 10px;
    line-height: 1;
}

html.mc-theme-dark .badge-active {
    background: rgba(16, 185, 129, 0.22);
    color: #34d399;
}

html.mc-theme-dark .badge-inactive {
    background: rgba(239, 68, 68, 0.22);
    color: #f87171;
}

html.mc-theme-dark .badge-package {
    background: rgba(96, 165, 250, 0.2);
    color: #93c5fd;
}

/* Circular Contact Buttons */
.contact-btn-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--admin-border);
    background: var(--admin-card-bg);
    color: var(--admin-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.contact-btn-circle:hover {
    background: rgb(6, 65, 109);
    color: #ffffff;
    border-color: rgb(6, 65, 109);
}

/* Compact Action Buttons with Stacked Text Labels */
.action-buttons-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.action-btn-stacked {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--admin-card-bg);
    color: var(--admin-text-muted);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 4px 2px;
    text-decoration: none;
}

.action-btn-stacked i {
    font-size: 13px;
    margin-bottom: 2px;
}

.action-btn-stacked span {
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}

.action-btn-stacked:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.action-btn-stacked.btn-edit {
    color: #ffffff;
    background: #0284c7;
}

.action-btn-stacked.btn-login {
    color: #fff;
    background: #f59e0b;
    border-color: rgba(245, 158, 11, 0.15);
}

.action-btn-stacked.btn-delete {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.15);
}

.action-btn-stacked.btn-view {
    color: #fff;
    background: #10b981;
    border-color: rgba(16, 185, 129, 0.15);
}

.action-btn-stacked.btn-log {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.15);
}

.action-btn-stacked.btn-more {
    color: var(--admin-text-muted);
    background: var(--admin-bg);
    border-color: var(--admin-border);
}

html.mc-theme-dark .action-btn-stacked.btn-edit {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.18);
    border-color: rgba(56, 189, 248, 0.25);
}

html.mc-theme-dark .action-btn-stacked.btn-login {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.18);
    border-color: rgba(251, 191, 36, 0.25);
}

html.mc-theme-dark .action-btn-stacked.btn-delete {
    color: #f87171;
    background: rgba(248, 113, 113, 0.18);
    border-color: rgba(248, 113, 113, 0.25);
}

html.mc-theme-dark .action-btn-stacked.btn-view {
    color: #34d399;
    background: rgba(52, 211, 153, 0.18);
    border-color: rgba(52, 211, 153, 0.25);
}

html.mc-theme-dark .action-btn-stacked.btn-log {
    color: #818cf8;
    background: rgba(129, 140, 248, 0.18);
    border-color: rgba(129, 140, 248, 0.25);
}

/* Pagination Modern */
.pagination-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--admin-card-bg);
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-lg);
    box-shadow: var(--admin-shadow-sm);
    flex-wrap: wrap;
    gap: 12px;
}

.pagination-showing-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--admin-text-muted);
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination-pages button,
.pagination-pages .reseller-page-btn {
    min-width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--admin-border);
    background: var(--admin-card-bg);
    color: var(--admin-text);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pagination-pages button.active,
.pagination-pages .reseller-page-btn.active {
    background: rgb(6, 65, 109) !important;
    border-color: rgb(6, 65, 109) !important;
    color: #ffffff !important;
}

.pagination-pages button:hover:not(.active):not(.disabled),
.pagination-pages .reseller-page-btn:hover:not(.active):not(.disabled) {
    background: var(--admin-bg);
}

/* Mobile Responsiveness for List View */
@media (max-width: 991px) {
    .modern-list-item {
        grid-template-columns: 36px 42px 1fr auto;
        row-gap: 12px;
    }

    .column-label-val {
        grid-column: span 2;
    }

    .action-buttons-wrap {
        grid-column: 1 / -1;
        justify-content: flex-end;
        border-top: 1px solid var(--admin-border);
        padding-top: 10px;
        margin-top: 4px;
    }
}

/* ==========================================================================
   GLOBAL SAAS DESIGN SYSTEM OVERRIDES (APPLIED TO ALL ADMIN PAGES)
   ========================================================================== */

/* 1. Global Page Backgrounds & Content Wrapper */
.content-wrapper,
.container-full,
.main-sidebar,
.content {
    background-color: var(--admin-bg) !important;
    color: var(--admin-text) !important;
}

/* 2. Global Cards, Boxes, Panels */
.box,
.card,
.panel,
.customer-box,
.reseller-box,
.domain-filter-card,
.filter-card,
.search-section,
.deposit-card,
.activity-card,
.permission-card,
.price-package-card,
.support-card,
.profile-card,
.box-body,
.card-body,
.panel-body {
    background-color: var(--admin-card-bg) !important;
    /* border: 1px solid var(--admin-border) !important; */
    border-radius: var(--admin-radius-lg) !important;
    box-shadow: var(--admin-shadow-sm) !important;
    color: var(--admin-text) !important;
}

.box-header,
.card-header,
.panel-heading {
    background-color: #053f6c !important;
    border-bottom: 1px solid var(--admin-border) !important;
    color: var(--admin-text) !important;
}

/* 3. Global Form Controls & Select Inputs */
.form-control,
.form-select,
.form-control-modern,
.form-select-modern,
input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    background-color: var(--admin-card-bg) !important;
    /* border: 1px solid var(--admin-border) !important; */
    color: var(--admin-text) !important;
    border-radius: 3px !important;
    padding: 8px 12px !important;
    /* box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; */
    font-size: 13px !important;
    transition: all 0.2s ease !important;
}

.form-control:focus,
.form-select:focus,
select:focus,
input:focus {
    border-color: var(--admin-border) !important;
    /* box-shadow: none !important; */
    outline: none !important;
}

/* 4. Global Tables Styling */
.table,
.table-hover,
.table-striped {
    color: var(--admin-text) !important;
    border-color: var(--admin-border) !important;
}

.table th,
.table thead th {
    background-color: var(--admin-bg) !important;
    color: var(--admin-text-muted) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    border-bottom: 1px solid var(--admin-border) !important;
    padding: 12px 14px !important;
}

.table td {
    border-bottom: 1px solid var(--admin-border) !important;
    padding: 12px 14px !important;
    vertical-align: middle !important;
}

.table-hover tbody tr:hover {
    background-color: var(--admin-card-hover, rgba(6, 65, 109, 0.03)) !important;
}

/* 5. Global Buttons */
.btn-primary,
.btn-success,
.btn-info {
    background-color: rgb(6, 65, 109) !important;
    border-color: rgb(6, 65, 109) !important;
    color: #ffffff !important;
    border-radius: 3px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(6, 65, 109, 0.15) !important;
    transition: all 0.2s ease !important;
}

.btn-primary:hover,
.btn-success:hover,
.btn-info:hover {
    background-color: #085289 !important;
    border-color: #085289 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(6, 65, 109, 0.25) !important;
}

.btn-secondary,
.btn-default,
.btn-light,
.btn-outline-secondary {
    background-color: var(--admin-card-bg) !important;
    border: 1px solid var(--admin-border) !important;
    color: var(--admin-text) !important;
    border-radius: 3px !important;
    font-weight: 600 !important;
}

.btn-secondary:hover,
.btn-default:hover,
.btn-light:hover {
    background-color: var(--admin-bg) !important;
}

/* 6. Global Modals & Dialogs */
.modal-content {
    background-color: var(--admin-card-bg) !important;
    border: 1px solid var(--admin-border) !important;
    border-radius: var(--admin-radius-lg) !important;
    box-shadow: var(--admin-shadow-md) !important;
    color: var(--admin-text) !important;
}

.modal-header {
    background-color: rgb(6, 65, 109) !important;
    color: #ffffff !important;
    border-bottom: 0 !important;
    border-radius: var(--admin-radius-lg) var(--admin-radius-lg) 0 0 !important;
}

.modal-header .modal-title,
.modal-header .btn-close {
    color: #ffffff !important;
}

.modal-footer {
    border-top: 1px solid var(--admin-border) !important;
    background-color: var(--admin-card-bg) !important;
}

/* 7. Global Badges & Pills */
.badge,
.label {
    border-radius: 20px !important;
    font-weight: 700 !important;
    padding: 5px 10px !important;
    font-size: 11px !important;
}

/* 8. Global Dark Mode Overrides for Legacy Code */
html.mc-theme-dark input,
html.mc-theme-dark select,
html.mc-theme-dark textarea,
html.mc-theme-dark table,
html.mc-theme-dark th,
html.mc-theme-dark td,
html.mc-theme-dark .box,
html.mc-theme-dark .card,
html.mc-theme-dark .modal-content,
html.mc-theme-dark .nav-tabs,
html.mc-theme-dark .dropdown-menu {
    background-color: var(--admin-card-bg) !important;
    color: var(--admin-text) !important;
    border-color: var(--admin-border) !important;
}

html.mc-theme-dark .dropdown-menu a,
html.mc-theme-dark .dropdown-item {
    color: var(--admin-text) !important;
}

html.mc-theme-dark .dropdown-menu a:hover,
html.mc-theme-dark .dropdown-item:hover {
    background-color: var(--admin-card-hover) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   KYC verification CSS (moved from css/kyc-verification.css on 2026-07-28)
   ========================================================================== */
/**
 * KYC Verification Stylesheet
 * Covers: panel, badges, modal, camera, face indicator, liveness results, document capture
 * ========================================================================================
 */

@keyframes kycFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes kycSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes kycPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.7;
    }
}

@keyframes kycSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes kycFacePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, .4);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
}

.kyc-verification-panel {
    border: 2px solid #e0e8f0;
    border-radius: 14px;
    background: linear-gradient(135deg, #f8faff 0%, #fff 100%);
    padding: 22px;
    position: relative;
    overflow: hidden;
}

.kyc-verification-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;

}

.kyc-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.kyc-panel-header h4 {
    margin: 0 0 4px;
    color: #102b53;
}

.kyc-panel-header p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.kyc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.kyc-badge-none {
    background: #f1f5f9;
    color: #64748b;
}

.kyc-badge-pending {
    background: #fef3c7;
    color: #92400e;
}

.kyc-badge-partial {
    background: #dbeafe;
    color: #1e40af;
}

.kyc-badge-verified {
    background: #dcfce7;
    color: #166534;
}

.kyc-badge-failed {
    background: #fee2e2;
    color: #991b1b;
}

.kyc-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.kyc-card {
    border: 1px solid #e4ecf4;
    border-radius: 12px;
    background: #fff;
    padding: 18px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
    transition: transform .2s, box-shadow .2s;
}

.kyc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

.kyc-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 22px;
}

.kyc-icon-liveness {
    background: #ede9fe;
    color: #7c3aed;
}

.kyc-icon-doc {
    background: #dbeafe;
    color: #2563eb;
}

.kyc-icon-location {
    background: #dcfce7;
    color: #16a34a;
}

.kyc-card h5 {
    margin: 0 0 6px;
    color: #102b53;
    font-size: 15px;
}

.kyc-card-desc {
    margin: 0 0 10px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.kyc-card-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 8px;
}

.kyc-status-ok {
    background: #dcfce7;
    color: #166534;
}

.kyc-status-fail {
    background: #fee2e2;
    color: #991b1b;
}

.kyc-status-pending {
    background: #fef3c7;
    color: #92400e;
}

.kyc-action-btn {
    margin-top: 8px;
}

.kyc-score-bar {
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    margin: 8px 20px;
    overflow: hidden;
}

.kyc-score-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    transition: width .6s ease;
}

/* Score rows in result card */
.kyc-scores {
    margin: 12px 0 16px;
}

.kyc-score-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #475569;
    margin-bottom: 6px;
}

.kyc-score-row span:first-child {
    min-width: 90px;
    text-align: right;
    font-weight: 600;
}

.kyc-score-row span:last-child {
    min-width: 36px;
    font-weight: 700;
}

.kyc-score-row .kyc-score-bar {
    flex: 1;
    margin: 0;
}

.kyc-location-data {
    text-align: left;
    font-size: 12px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 8px;
}

.kyc-location-data div {
    margin-bottom: 3px;
}

.kyc-reject-reason {
    background: #fef2f2;
    color: #991b1b;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: 8px;
    text-align: left;
}

.kyc-admin-panel {
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    padding: 16px;
    margin-top: 4px;
}

.kyc-admin-panel h5 {
    margin: 0 0 10px;
    color: #475569;
}

.kyc-admin-meta {
    margin-bottom: 12px;
    font-size: 12px;
    color: #64748b;
}

.kyc-admin-meta span {
    display: block;
    margin-bottom: 3px;
}

.kyc-admin-files {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.kyc-doc-images {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.kyc-doc-images div {
    text-align: center;
}

.kyc-doc-images small {
    display: block;
    font-weight: 700;
    margin-bottom: 4px;
    color: #475569;
}

.kyc-doc-images img {
    max-width: 280px;
    max-height: 200px;
    border-radius: 8px;
    border: 2.5px solid #cbd5e1;
    object-fit: contain;
    background: #f1f5f9;
    padding: 4px;
    transition: border-color .2s;
}

.kyc-doc-images a:hover img {
    border-color: #2563eb;
}

.kyc-admin-actions {
    margin-top: 14px;
}

.kyc-timestamp {
    margin-top: 12px;
    text-align: right;
    color: #94a3b8;
}

.kyc-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, .65);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    animation: kycFadeIn .25s ease;
}

.kyc-modal-overlay.active {
    display: flex;
}

.kyc-modal {
    background: #fff;
    border-radius: 16px;
    width: 560px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .25);
    animation: kycSlideUp .3s ease;
}

.kyc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.kyc-modal-header h4 {
    margin: 0;
    font-size: 17px;
    color: #0f172a;
}

.kyc-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.kyc-modal-close:hover {
    color: #0f172a;
}

.kyc-modal-body {
    padding: 20px;
}

.kyc-camera-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #0f172a;
    aspect-ratio: 4/3;
}

.kyc-camera-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
    /* mirror for selfie camera */
    display: block;
}

/* Face Verification Camera Wrap Overrides */
#kycLivenessModal .kyc-camera-wrap {
    aspect-ratio: 1 / 1 !important;
    /* square layout for centering face */
    width: 280px !important;
    height: 280px !important;
    max-width: 90vw !important;
    max-height: 90vw !important;
    margin: 12px auto !important;
    border-radius: 50% !important;
    /* circular frame */
    border: 3px solid rgba(255, 255, 255, 0.75) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden !important;
}

#kycLivenessModal .kyc-camera-wrap video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform: scaleX(-1) !important;
    /* mirrored for selfie */
    border-radius: 50% !important;
}

/* Align the face oval guide to the circular container */
#kycLivenessModal .kyc-camera-wrap .kyc-camera-frame {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    border-width: 4px !important;
}

/* Document Scan Camera Overrides */
#kycDocModal .kyc-camera-wrap video {
    object-fit: cover !important;
    /* fill container, no black bars */
    transform: none !important;
    /* do not mirror the back camera */
}

/* Oval face guide overlay */
.kyc-camera-frame {
    position: absolute;
    top: 10%;
    left: 22%;
    right: 22%;
    bottom: 5%;
    border: 3px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, .25);
    /* dim area outside oval */
}

/* Pulse ring when face is detected */
.kyc-camera-frame.face-ok {
    border-color: #22c55e;
    animation: kycFacePulse 1.8s infinite;
}

.kyc-doc-camera .kyc-doc-frame {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(82%, 560px);
    aspect-ratio: 1.586 / 1;
    transform: translate(-50%, -50%);
    border: 3px solid rgba(226, 232, 240, .72);
    border-radius: 10px;
    pointer-events: none;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, .35);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.kyc-doc-camera .kyc-doc-frame.almost {
    border-color: #f59e0b;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, .31), 0 0 0 4px rgba(245, 158, 11, .15);
}

.kyc-doc-camera .kyc-doc-frame.ready {
    border-color: #22c55e;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, .25), 0 0 0 4px rgba(34, 197, 94, .22);
}

.kyc-doc-camera .kyc-doc-frame.error {
    border-color: #ef4444;
}

.kyc-doc-corner {
    position: absolute;
    width: 26px;
    height: 26px;
    border-color: inherit;
}

.kyc-doc-corner.tl {
    left: -3px;
    top: -3px;
    border-left: 5px solid;
    border-top: 5px solid;
    border-radius: 10px 0 0 0;
}

.kyc-doc-corner.tr {
    right: -3px;
    top: -3px;
    border-right: 5px solid;
    border-top: 5px solid;
    border-radius: 0 10px 0 0;
}

.kyc-doc-corner.bl {
    left: -3px;
    bottom: -3px;
    border-left: 5px solid;
    border-bottom: 5px solid;
    border-radius: 0 0 0 10px;
}

.kyc-doc-corner.br {
    right: -3px;
    bottom: -3px;
    border-right: 5px solid;
    border-bottom: 5px solid;
    border-radius: 0 0 10px 0;
}

.kyc-doc-live-status {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(15, 23, 42, .82);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.kyc-doc-live-status.almost {
    background: rgba(146, 64, 14, .92);
}

.kyc-doc-live-status.ready {
    background: rgba(22, 101, 52, .92);
}

.kyc-doc-live-status.error {
    background: rgba(153, 27, 27, .92);
}

.kyc-doc-quality-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.kyc-doc-quality-grid span {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 8px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.kyc-doc-quality-grid span.ok {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.kyc-doc-quality-grid span.bad {
    border-color: #fed7aa;
    background: #fff7ed;
    color: #9a3412;
}

.kyc-doc-camera video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transform: none !important;
    background: #0f172a;
}

.kyc-challenge-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .72));
    color: #fff;
    text-align: center;
    pointer-events: none;
}

.kyc-challenge-icon {
    font-size: 26px;
    margin-bottom: 4px;
}

.kyc-challenge-text {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.kyc-timer {
    font-size: 30px;
    font-weight: 700;
    color: #fbbf24;
    opacity: 0;
    transition: opacity .3s;
    margin-top: 2px;
}

.kyc-timer.active {
    opacity: 1;
}

.kyc-face-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 10px 0 4px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: background .3s, color .3s;
}

.kyc-face-ok {
    background: #dcfce7;
    color: #166534;
}

.kyc-face-ok i {
    color: #16a34a;
}

.kyc-face-none {
    background: #fef3c7;
    color: #92400e;
}

.kyc-face-none i {
    color: #d97706;
}

.kyc-tips {
    margin: 8px 0 0;
    padding: 0;
}

.kyc-tips ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.kyc-tips li {
    font-size: 11px;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.kyc-tips li i {
    color: #94a3b8;
}

.kyc-stage-actions {
    text-align: center;
    margin-top: 14px;
}

.kyc-stage-actions .btn {
    min-width: 180px;
}

/* Recording-dot pulse inside Start button while recording */
.kyc-rec-dot {
    color: #ef4444;
    animation: kycPulse .8s infinite;
    display: inline-block;
}

.kyc-result {
    text-align: center;
    padding: 16px 0;
}

.kyc-result-card {
    padding: 26px 24px;
    border-radius: 14px;
}

.kyc-result-card.kyc-success {
    background: #f0fdf4;
    color: #166534;
}

.kyc-result-card.kyc-fail {
    background: #fef2f2;
    color: #991b1b;
}

.kyc-result-card h4 {
    margin: 14px 0 8px;
    font-size: 18px;
}

.kyc-result-card p {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.6;
}

.kyc-result-card .btn {
    margin: 6px 4px 0;
}

/* Uploading state */
.kyc-result-uploading {
    padding: 36px 24px;
    color: #2563eb;
    text-align: center;
}

.kyc-result-uploading h4 {
    margin: 16px 0 6px;
    color: #1e40af;
}

.kyc-result-uploading p {
    color: #64748b;
    font-size: 13px;
}

.kyc-upload-spin {
    animation: kycSpin 1.2s linear infinite;
    display: inline-block;
}

.kyc-doc-type-select {
    text-align: center;
}

.kyc-doc-type-select h5 {
    margin: 0 0 16px;
    color: #334155;
}

.kyc-doc-types {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.kyc-doc-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    min-width: 110px;
    transition: all .2s;
}

.kyc-doc-type-btn i {
    font-size: 22px;
    color: #2563eb;
}

.kyc-doc-type-btn:hover {
    border-color: #2563eb;
    background: #eff6ff;
    transform: translateY(-2px);
    color: #1d4ed8;
}

.kyc-doc-side-label {
    text-align: center;
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 12px;
    color: #1e40af;
}

.kyc-doc-preview-wrap {
    text-align: center;
}

.kyc-doc-preview-wrap img {
    max-width: 100%;
    max-height: 350px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.kyc-doc-preview-status {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: #eff6ff;
    color: #1e40af;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
    text-align: center;
}

.kyc-doc-preview-status.success {
    background: #f0fdf4;
    color: #166534;
}

.kyc-doc-preview-status.warning {
    background: #fff7ed;
    color: #9a3412;
}

.kyc-doc-preview-status.error {
    background: #fef2f2;
    color: #991b1b;
}

.kyc-address-choice {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    background: #f8fbff;
    text-align: left;
}

.kyc-address-choice h5 {
    margin: 0 0 10px;
    color: #1e3a8a;
    font-size: 14px;
}

.kyc-address-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.kyc-address-grid div {
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}

.kyc-address-grid .full {
    grid-column: 1 / -1;
}

.kyc-address-grid span {
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.kyc-address-grid strong {
    display: block;
    color: #0f172a;
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.kyc-address-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.kyc-address-actions .btn.active {
    box-shadow: inset 0 0 0 2px rgba(15, 23, 42, .18);
}


@media (max-width: 768px) {
    .kyc-cards-row {
        grid-template-columns: 1fr;
    }

    .kyc-panel-header {
        flex-direction: column;
    }

    .kyc-modal-overlay {
        align-items: flex-end;
    }

    .kyc-modal {
        width: 100%;
        max-width: 100vw;
        max-height: 98vh;
        max-height: 98dvh;
        border-radius: 14px 14px 0 0;
        overflow-y: hidden;
    }

    .kyc-doc-scanner-modal {
        max-height: 98vh;
        max-height: 98dvh;
    }

    .kyc-modal-header {
        padding: 10px 16px;
    }

    .kyc-modal-header h4 {
        font-size: 16px;
    }

    .kyc-modal-body {
        padding: 10px 12px;
    }

    .kyc-doc-types {
        flex-direction: column;
        align-items: stretch;
    }

    .kyc-doc-side-label {
        font-size: 13px;
        line-height: 1.2;
        margin-bottom: 6px;
    }

    .kyc-doc-camera {
        aspect-ratio: 4 / 3 !important;
        width: 100% !important;
        height: auto !important;
        max-height: 38vh !important;
        max-height: 38dvh !important;
        border-radius: 10px;
    }

    .kyc-doc-camera .kyc-doc-frame {
        width: min(78%, 560px);
    }

    .kyc-doc-live-status {
        left: 10px;
        right: 10px;
        bottom: 10px;
        min-height: 30px;
        padding: 6px 10px;
        font-size: 12px;
        line-height: 1.35;
    }

    .kyc-doc-quality-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 5px !important;
        margin-top: 6px !important;
    }

    .kyc-doc-quality-grid span {
        min-height: 26px !important;
        padding: 4px 2px !important;
        font-size: 11px !important;
        border-radius: 3px !important;
    }

    .kyc-stage-actions {
        margin-top: 8px !important;
    }

    .kyc-stage-actions .btn-lg {
        padding: 8px 12px !important;
        font-size: 14px !important;
        width: 100% !important;
    }

    .kyc-address-grid {
        grid-template-columns: 1fr;
    }

    .kyc-address-actions .btn {
        width: 100%;
    }

    .kyc-admin-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .kyc-tips ul {
        flex-direction: column;
        align-items: center;
    }

    .kyc-score-row span:first-child {
        min-width: 76px;
    }
}

@media (max-width: 420px) {
    #kycLivenessModal .kyc-camera-wrap {
        width: 240px !important;
        height: 240px !important;
    }

    .kyc-doc-camera {
        max-height: 35vh !important;
        max-height: 35dvh !important;
    }

    .kyc-doc-quality-grid span {
        min-height: 24px !important;
        font-size: 10px !important;
    }
}

.kyc-steps-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0 0 6px;
    padding: 8px 0 4px;
}

.kyc-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.kyc-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s, color .3s;
}

.kyc-step-lbl {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 600;
    white-space: nowrap;
    transition: color .3s;
}

.kyc-step.active .kyc-step-num {
    background: #2563eb;
    color: #fff;
}

.kyc-step.active .kyc-step-lbl {
    color: #2563eb;
}

.kyc-step.done .kyc-step-num {
    background: #16a34a;
    color: #fff;
}

.kyc-step.done .kyc-step-lbl {
    color: #16a34a;
}

.kyc-step-line {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    min-width: 28px;
    max-width: 48px;
    margin-bottom: 14px;
}

.kyc-timer-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, .6);
    color: #fbbf24;
    font-size: 15px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    pointer-events: none;
    z-index: 5;
}

.kyc-instruction-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    transition: border-color .3s, background .3s;
    min-height: 62px;
}

.kyc-instruction-card.kyc-instr-waiting {
    border-color: #fbbf24;
    background: #fffbeb;
}

.kyc-instruction-card.kyc-instr-face_ok {
    border-color: #16a34a;
    background: #f0fdf4;
}

.kyc-instruction-card.kyc-instr-recording {
    border-color: #ef4444;
    background: #fef2f2;
}

.kyc-instruction-card.kyc-instr-action {
    border-color: #2563eb;
    background: #eff6ff;
    animation: kycCardPulse 1.2s infinite;
}

.kyc-instruction-card.kyc-instr-action_done {
    border-color: #16a34a;
    background: #f0fdf4;
}

.kyc-instruction-card.kyc-instr-uploading {
    border-color: #8b5cf6;
    background: #f5f3ff;
}

.kyc-instruction-card.kyc-instr-error {
    border-color: #ef4444;
    background: #fef2f2;
}

@keyframes kycCardPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, .3);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(37, 99, 235, 0);
    }
}

.kyc-instr-icon {
    font-size: 26px;
    min-width: 32px;
    text-align: center;
    color: #475569;
}

.kyc-instr-icon .fa-eye {
    color: #2563eb;
}

.kyc-instr-icon .fa-arrow-left,
.kyc-instr-icon .fa-arrow-right {
    color: #7c3aed;
}

.kyc-instr-icon .fa-arrows-v {
    color: #0891b2;
}

.kyc-instr-icon .fa-check-circle {
    color: #16a34a;
}

.kyc-instr-icon .fa-circle {
    color: #ef4444;
}

.kyc-instr-icon .fa-cloud-upload {
    color: #7c3aed;
}

.kyc-instr-icon .fa-user-circle {
    color: #f59e0b;
}

.kyc-instr-body {
    flex: 1;
    min-width: 0;
}

.kyc-instr-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.kyc-instr-sub {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
    line-height: 1.4;
}

.kyc-instr-status {
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.kyc-rec-label {
    color: #ef4444;
    animation: kycPulse .8s infinite;
    display: inline-block;
}

.kyc-waiting-label {
    color: #f59e0b;
}

/* Camera frame pulse animation during action */
@keyframes kycFramePulse {

    0%,
    100% {
        border-color: rgba(37, 99, 235, .6);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, .4);
    }

    50% {
        border-color: rgba(37, 99, 235, 1);
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
    }
}

.kyc-camera-frame.kyc-frame-pulse {
    border-color: rgba(37, 99, 235, .8) !important;
    border-style: solid !important;
    animation: kycFramePulse 1s infinite;
}


/* ==========================================================================
   Consolidated inline PHP page CSS (moved on 2026-07-28)
   ========================================================================== */

/* Source: activity-feed.php style block 1 */
.activity-toolbar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px
}

.activity-toolbar .row>[class*="col-"] {
    margin-bottom: 10px
}

.activity-toolbar label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 5px
}

.activity-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px
}

.activity-result-count {
    font-size: 13px;
    color: var(--text-2)
}

.activity-feed-list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.activity-feed-item {
    display: flex;
    gap: 12px;
    padding: 14px;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .03)
}

.activity-feed-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--blue-l);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px
}

.activity-feed-main {
    min-width: 0;
    flex: 1
}

.activity-feed-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px
}

.activity-feed-top strong {
    font-size: 13px;
    color: var(--text);
    font-weight: 600;
    text-transform: capitalize
}

.activity-feed-top span {
    font-size: 12px;
    color: var(--text-3);
    white-space: nowrap
}

.activity-feed-text {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.45;
    word-break: break-word
}

.activity-feed-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 9px
}

.activity-feed-meta span {
    font-size: 11px;
    color: var(--text-3);
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 3px 8px
}

.activity-amount {
    color: var(--success) !important;
    background: #e8f5e9 !important;
    border-color: #c8e6c9 !important
}

.type-domain_registration .activity-feed-icon {
    background: #e8f5e9;
    color: var(--success)
}

.type-domain_transfer .activity-feed-icon {
    background: #fff8e1;
    color: var(--warning)
}

.type-domain_renewal .activity-feed-icon {
    background: #e3f2fd;
    color: var(--blue)
}

.type-transaction .activity-feed-icon {
    background: #eef2ff;
    color: #4f46e5
}

.type-support_ticket .activity-feed-icon {
    background: #fff1e9;
    color: var(--orange)
}

.type-admin_activity .activity-feed-icon {
    background: #f1f5f9;
    color: #334155
}

.activity-pager {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px
}

.activity-pager button {
    min-width: 88px
}

.activity-loading {
    opacity: .55;
    pointer-events: none
}

@media(max-width:767px) {
    .activity-feed-item {
        padding: 12px
    }

    .activity-feed-top {
        display: block
    }

    .activity-feed-top span {
        display: block;
        margin-top: 3px
    }

    .activity-pager {
        justify-content: stretch
    }

    .activity-pager button {
        flex: 1
    }
}

/* Source: add-admin.php style block 1 */
.permission-intro {
    border: 1px solid #dce8f2;
    background: #f7fbff;
    border-left: 4px solid #1C3E6E;
    padding: 14px 16px;
    margin-bottom: 18px;
    border-radius: 6px;
    color: #25445f;
}

.permission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
    gap: 14px;
}

.permission-group {
    border: 1px solid #e1eaf2;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.permission-group-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    background: #fbfcfe;
    border-bottom: 1px solid #e9eff5;
}

.permission-group-title {
    font-weight: 800;
    color: #23384d;
    margin-bottom: 3px;
}

.permission-group-desc {
    color: #748494;
    font-size: 12px;
    line-height: 1.35;
}

.permission-check-list {
    padding: 10px 12px 12px;
}

.permission-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 8px 6px;
    margin: 0;
    border-radius: 6px;
    min-height: 54px;
}

.permission-check:hover {
    background: #f5f9fc;
}

.permission-check input {
    margin-top: 4px;
    flex: 0 0 auto;
}

.permission-check-title {
    font-weight: 700;
    color: #27394d;
    line-height: 1.25;
}

.permission-check-desc {
    color: #718093;
    font-size: 12px;
    line-height: 1.35;
    margin-top: 2px;
}

.permission-form-tools {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.permission-quick-tools {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.super-admin-banner {
    display: none;
    border: 1px solid #cdebd6;
    background: #f1fbf4;
    color: #1d7c3d;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 12px;
    font-weight: 700;
}

.is-super-form .super-admin-banner {
    display: block;
}

.permission-intro {
    padding: 8px 10px;
    margin-bottom: 10px;
    font-size: 13px;
    border-radius: 4px;
}

.permission-grid {
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 8px;
}

.permission-group {
    border-radius: 5px;
}

.permission-group-head {
    align-items: center;
    padding: 7px 9px;
}

.permission-group-title {
    font-size: 13px;
    margin-bottom: 0;
}

.permission-group-desc,
.permission-check-desc {
    display: none;
}

.permission-check-list {
    padding: 5px 7px 7px;
}

.permission-check {
    min-height: 0;
    padding: 5px 6px;
    gap: 7px;
    align-items: center;
    border: 1px solid transparent;
    cursor: pointer;
}

.permission-check-title {
    font-size: 12px;
    font-weight: 600;
}

.permission-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.permission-mark {
    width: 16px;
    height: 16px;
    border: 1px solid #8fa7bd;
    border-radius: 3px;
    background: #fff;
    flex: 0 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    line-height: 1;
}

.permission-check input:checked+.permission-mark {
    border-color: #1C3E6E;
    background: #1C3E6E;
}

.permission-check input:checked+.permission-mark:before {
    content: "\f00c";
    font-family: FontAwesome;
}

.permission-check:has(input:checked) {
    background: #eef8ff;
    border-color: #b9ddf3;
    color: #073d63;
}

.permission-check input:disabled+.permission-mark {
    background: #00426b;
    font-size: 10px;
}

.permission-group-master {
    width: 16px !important;
    height: 16px !important;
    margin-right: 4px;
    vertical-align: middle;
    opacity: 1 !important;
    position: static !important;
    pointer-events: auto !important;
}

.permission-form-tools {
    align-items: center;
    margin-bottom: 8px;
    font-size: 12px;
}

.super-admin-banner {
    padding: 7px 9px;
    margin-bottom: 8px;
    font-size: 12px;
}

/* Source: add-customer.php style block 1 */
.customer-form-page {
    width: 100%;
    margin: 0 auto;
}

.customer-form-box {
    margin: 0;
    border: 1px solid #e5e9f0;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.customer-form-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.customer-form-header .box-title {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.customer-form-mode {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    /* background: rgba(255, 255, 255, 0.18); */
    color: #fff;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
}

.customer-form-body {
    padding: 18px;
}

.customer-form-alert {
    border-radius: 7px;
    font-size: 13px;
    margin-bottom: 16px;
}

.customer-section {
    margin-bottom: 17px;
    border: 1px solid #e5e9f0;
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
}

.customer-section:last-child {
    margin-bottom: 0;
}

.customer-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e9f0;
}

.customer-section-icon {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 31px;
    background: #eaf4ff;
    color: #0d86d9;
    border-radius: 7px;
}

.customer-section-title {
    margin: 0;
    color: #1f2937;
    font-size: 14px;
    font-weight: 500;
}

.customer-section-text {
    margin: 2px 0 0;
    color: #64748b;
    font-size: 13px;
}

.customer-section-body {
    padding: 15px;
}

.customer-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.customer-form-full {
    grid-column: 1 / -1;
}

.customer-field {
    min-width: 0;
}

.customer-field label {
    display: block;
    color: #475569;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 6px;
}

.customer-required {
    color: #dc3545;
}

.customer-field .form-control,
.customer-field .form-select {
    width: 100%;
    min-height: 41px;
    border: 1px solid #d8dee8;
    border-radius: 7px;
    color: #1f2937;
    font-weight: 600 !important;
    font-size: 13px;
    box-shadow: none;
}

.customer-field textarea.form-control {
    min-height: 92px;
    resize: vertical;
}

.customer-field .form-control:focus,
.customer-field .form-select:focus {
    border-color: #d8dee8;
    box-shadow: none;
    font-weight: 600 !important;
}

.customer-field .form-control[readonly] {
    background: #f8fafc;
}

.customer-field-hint {
    display: block;
    margin-top: 5px;
    color: #94a3b8;
    font-size: 11px;
}

.customer-phone-group .input-group-text {
    min-width: 62px;
    justify-content: center;
    font-weight: 700;
    border-color: #d8dee8;
    border-radius: 7px 0 0 7px;
    background: #f8fafc;
    color: #1f2937;
    font-size: 13px;
}

.customer-phone-group .form-control {
    border-radius: 0 7px 7px 0;
}

.customer-password-wrap {
    position: relative;
}

.customer-password-wrap .form-control {
    padding-right: 42px;
}

.customer-password-toggle {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 34px;
    height: 33px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #64748b;
}

.customer-password-toggle:hover {
    background: #f1f5f9;
    color: #0d86d9;
}

.customer-password-generate {
    margin-top: 10px;
    min-height: 38px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.customer-secret-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.customer-secret-button {
    min-width: 160px;
    min-height: 41px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 500;
}

.customer-form-footer {
    padding: 14px 18px;
    border-top: 1px solid #e5e9f0;
    background: #f8fafc;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.customer-form-footer .btn {
    min-width: 150px;
    min-height: 40px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 500;
}

.customer-submit-loading {
    pointer-events: none;
    opacity: 0.7;
}

@media(max-width: 991px) {
    .customer-form-page {
        max-width: 100%;
    }
}

@media(max-width: 767px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .wrapper,
    .content-wrapper,
    .container-full {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .content {
        padding: 10px !important;
    }

    .customer-form-box {
        border-radius: 8px;
    }

    .customer-form-body {
        padding: 11px;
    }

    .customer-section-body {
        padding: 12px;
    }

    .customer-form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .customer-form-full {
        grid-column: auto;
    }

    .customer-secret-wrap {
        grid-template-columns: 1fr;
    }

    .customer-secret-button {
        width: 100%;
    }

    .customer-form-footer {
        padding: 12px;
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .customer-form-footer .btn {
        width: 100%;
    }

    .customer-form-header {
        align-items: flex-start;
    }

    .customer-form-header .box-title {
        font-size: 14px;
    }
}

/* Source: add-reseller.php style block 1 */
.reseller-form-page {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.reseller-form-box {
    margin: 0;
    border: 1px solid #e5e9f0;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    background: #fff;
}

.reseller-form-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.reseller-form-header .box-title {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.reseller-form-mode {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    /*! background: rgba(255, 255, 255, 0.18); */
    color: #fff;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
}

.reseller-form-body {
    padding: 18px;
}

.reseller-form-alert {
    border-radius: 7px;
    font-size: 13px;
    margin-bottom: 16px;
}

.reseller-section {
    margin-bottom: 17px;
    border: 1px solid #e5e9f0;
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
}

.reseller-section:last-child {
    margin-bottom: 0;
}

.reseller-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e9f0;
}

.reseller-section-icon {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 31px;
    background: #eaf4ff;
    color: #0d86d9;
    border-radius: 7px;
}

.reseller-section-title {
    margin: 0;
    color: #1f2937;
    font-size: 14px;
    font-weight: 500;
}

.reseller-section-text {
    margin: 2px 0 0;
    color: #64748b;
    font-size: 11px;
}

.reseller-section-body {
    padding: 15px;
}

.reseller-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.reseller-form-full {
    grid-column: 1 / -1;
}

.reseller-field {
    min-width: 0;
}

.reseller-field label {
    display: block;
    color: #475569;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 6px;
}

.reseller-required {
    color: #dc3545;
}

.reseller-field .form-control,
.reseller-field .form-select {
    width: 100%;
    min-height: 41px;
    border: 1px solid #d8dee8;
    border-radius: 7px;
    color: #1f2937;
    font-size: 13px;
    box-shadow: none;
    background: #fff;
}

.reseller-field textarea.form-control {
    min-height: 92px;
    resize: vertical;
}

.reseller-field .form-control:focus,
.reseller-field .form-select:focus {
    border-color: #d8dee8;
    box-shadow: none;
}

.reseller-field .form-control[readonly] {
    background: #f8fafc;
}

.reseller-field-hint {
    display: block;
    margin-top: 5px;
    color: #94a3b8;
    font-size: 11px;
}

.reseller-phone-group .input-group-text {
    min-width: 62px;
    justify-content: center;
    font-weight: 700;
    border-color: #d8dee8;
    border-radius: 7px 0 0 7px;
    background: #f8fafc;
    color: #1f2937;
    font-size: 13px;
}

.reseller-phone-group .form-control {
    border-radius: 0 7px 7px 0;
}

.reseller-secret-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.reseller-secret-button {
    min-width: 170px;
    min-height: 41px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 500;
}

.api-ip-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
}

.api-ip-status {
    width: 150px;
    min-width: 150px;
    min-height: 40px;
}

#api_ip_box {
    margin-top: 14px;
}

#api_ip_list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.api-ip-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    align-items: center;
    gap: 8px;
}

.api-ip-row .form-control {
    height: 41px;
    border-radius: 7px;
    font-size: 13px;
}

.api-ip-row .btn {
    width: 42px;
    height: 41px;
    min-width: 42px;
    border-radius: 7px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.reseller-form-footer {
    padding: 14px 18px;
    border-top: 1px solid #e5e9f0;
    background: #f8fafc;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.reseller-form-footer .btn {
    min-width: 160px;
    min-height: 40px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 500;
}

.reseller-password-wrap {
    position: relative;
}

.reseller-password-wrap .form-control {
    padding-right: 42px;
}

.reseller-password-toggle {
    position: absolute;
    right: 20px;
    top: 4px;
    width: 34px;
    height: 33px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #64748b;
}

.reseller-password-toggle:hover {
    background: #f1f5f9;
    color: #0d86d9;
}

.reseller-password-generate {
    margin-top: 10px;
    min-height: 38px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

@media(max-width: 991px) {
    .reseller-form-page {
        max-width: 100%;
    }
}

@media(max-width: 767px) {

    .reseller-form-box {
        border-radius: 8px;
    }

    .reseller-form-body {
        padding: 11px;
    }

    .reseller-section-body {
        padding: 12px;
    }

    .reseller-form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .reseller-form-full {
        grid-column: auto;
    }

    .reseller-secret-wrap {
        grid-template-columns: 1fr;
    }

    .reseller-secret-button {
        width: 100%;
    }

    .api-ip-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .api-ip-status {
        width: 100%;
        min-width: 100%;
    }

    #api_ip_list {
        grid-template-columns: 1fr;
    }

    .reseller-form-footer {
        padding: 12px;
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .reseller-form-footer .btn {
        width: 100%;
    }

    .reseller-form-header {
        align-items: flex-start;
    }

    .reseller-form-header .box-title {
        font-size: 14px;
    }
}

/* Source: admin-activity-log.php style block 1 */
.activity-page-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.activity-count-badge {
    background: rgba(255, 255, 255, 0.20);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.activity-filter-box {
    background: #f8fbff;
    border: 1px solid #e1e8f5;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 20px;
}

.activity-filter-box label {
    font-weight: 600;
    font-size: 13px;
    color: #344767;
    margin-bottom: 6px;
}

.activity-filter-box .form-control,
.activity-filter-box .form-select {
    border-radius: 7px;
    min-height: 40px;
    font-size: 13px;
}

.activity-btn-group {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.activity-table {
    border-collapse: separate;
    border-spacing: 0 8px;
    margin-bottom: 0;
}

.activity-table thead tr th {
    background: #edf3ff;
    color: #344767;
    font-size: 13px;
    font-weight: 700;
    border: 0;
    padding: 12px;
    white-space: nowrap;
}

.activity-table tbody tr {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-radius: 8px;
}

.activity-table tbody tr:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.activity-table tbody tr td {
    vertical-align: top;
    border-top: 1px solid #eef1f7;
    border-bottom: 1px solid #eef1f7;
    padding: 12px;
    font-size: 13px;
}

.activity-table tbody tr td:first-child {
    border-left: 1px solid #eef1f7;
    border-radius: 8px 0 0 8px;
    white-space: nowrap;
}

.activity-table tbody tr td:last-child {
    border-right: 1px solid #eef1f7;
    border-radius: 0 8px 8px 0;
}

.activity-date {
    font-weight: 700;
    color: #1e293b;
}

.activity-time {
    color: #64748b;
    font-size: 12px;
}

.activity-admin-name {
    font-weight: 700;
    color: #1e293b;
}

.activity-admin-email {
    color: #64748b;
    font-size: 12px;
    word-break: break-word;
}

.activity-action-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    background: #e8f1ff;
    color: #0d6efd;
    font-weight: 600;
    font-size: 12px;
    white-space: nowrap;
}

.activity-target-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
}

.activity-detail-item {
    margin-bottom: 5px;
    padding: 5px 7px;
    background: #f8fafc;
    border-radius: 5px;
    border: 1px solid #edf2f7;
}

.activity-detail-item:last-child {
    margin-bottom: 0;
}

.activity-detail-key {
    font-weight: 700;
    color: #475569;
    margin-right: 5px;
}

.activity-detail-value {
    color: #1e293b;
    word-break: break-word;
}

.activity-ip {
    font-family: monospace;
    background: #f8fafc;
    padding: 4px 7px;
    border-radius: 5px;
    display: inline-block;
    color: #334155;
    border: 1px solid #edf2f7;
}

.activity-empty {
    width: 100%;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    color: #64748b;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-style: italic;
    font-size: 17px;
}

option {
    /* font-weight: 600!important; */
}

.text-muted {
    color: #94a3b8 !important;
}

.activity-log-toolbar {
    margin-bottom: 20px;
}

.activity-log-toolbar .form-control,
.activity-log-toolbar .form-select {
    min-height: 42px;
    border-radius: 8px;
}

.activity-log-loading {
    opacity: 0.6;
    pointer-events: none;
}

.activity-log-table-wrap {
    position: relative;
}

@media(max-width: 767px) {
    .activity-filter-box {
        padding: 12px;
    }

    .activity-btn-group {
        margin-top: 10px;
    }

    .activity-table {
        min-width: 900px;
    }
}

/* Source: admin-approval-requests.php style block 1 */
body.approval-token-page {
    background-color: #f4f6f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
}

.status-card {
    max-width: 520px;
    width: 90%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
    text-align: center;
    border-top: 6px solid #17a2b8;
}

.status-card.success {
    border-top-color: #28a745;
}

.status-card.warning {
    border-top-color: #ffc107;
}

.status-card.error {
    border-top-color: #dc3545;
}

.status-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 38px;
}

.status-card.success .status-icon {
    background: #e8f5e9;
    color: #28a745;
}

.status-card.warning .status-icon {
    background: #fffde7;
    color: #f57f17;
}

.status-card.error .status-icon {
    background: #ffebee;
    color: #dc3545;
}

.status-card.info .status-icon {
    background: #e3f2fd;
    color: #0288d1;
}

.status-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2c3e50;
}

.status-desc {
    font-size: 15px;
    color: #6c757d;
    margin-bottom: 25px;
    line-height: 1.5;
}

.status-note {
    color: #7b8794;
    font-size: 13px;
    margin-top: 18px;
}

/* Source: admin-permissions.php style block 1 */
.permission-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.permission-intro {
    border: 1px solid #d8e7f1;
    background: #f8fbfd;
    border-left: 3px solid #1C3E6E;
    padding: 8px 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    color: #28465d;
    font-size: 12px;
}

.admin-access-panel {
    border: 1px solid #dbe6ef;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(25, 45, 70, .05);
}

.admin-access-head {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(150px, auto) 150px minmax(250px, auto);
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    background: #fbfdff;
    cursor: pointer;
    transition: background .15s ease, box-shadow .15s ease;
}

.admin-access-head:hover,
.admin-access-panel.permissions-open .admin-access-head {
    background: #f3f9fe;
}

.admin-access-head:focus {
    outline: 2px solid rgba(11, 137, 209, .25);
    outline-offset: -2px;
}

.admin-access-identity {
    min-width: 0;
}

.admin-access-name {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    font-size: 14px;
    font-weight: 800;
    color: #203447;
    line-height: 1.2;
}

.admin-access-name-text,
.admin-access-email {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-access-email {
    color: #6b7b8d;
    font-size: 11px;
    margin-top: 2px;
}

.admin-access-status {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    min-width: 0;
}

.permission-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 7px;
    border: 1px solid #cfe0ec;
    border-radius: 999px;
    background: #fff;
    color: #486174;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.admin-role-field .form-label {
    margin-bottom: 3px;
    font-size: 11px;
    color: #405568;
}

.admin-role-field .form-select {
    min-height: 32px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 12px;
}

.admin-access-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-end;
    cursor: default;
}

.admin-access-actions .btn {
    min-height: 30px;
    cursor: pointer;
}

.admin-role-field {
    cursor: default;
}

.admin-permission-toggle {
    border-color: #b9d8ee;
    background: #eef8ff;
    color: #0b5f91;
    font-weight: 700;
}

.admin-permission-toggle:hover {
    background: #dff1fc;
    color: #084d75;
}

.admin-permission-toggle .fa-chevron-down {
    transition: transform .15s ease;
}

.admin-permission-toggle .toggle-label-hide {
    display: none;
}

.admin-access-panel.permissions-open .admin-permission-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.admin-access-panel.permissions-open .admin-permission-toggle .toggle-label-show {
    display: none;
}

.admin-access-panel.permissions-open .admin-permission-toggle .toggle-label-hide {
    display: inline;
}

.admin-permission-body {
    display: none;
    padding: 9px 10px 10px;
    border-top: 1px solid #e4edf4;
    background: #fbfdff;
}

.admin-access-panel.permissions-open .admin-permission-body {
    display: block;
}

.permission-form-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    font-size: 12px;
}

.permission-quick-tools {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.permission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    gap: 8px;
}

.permission-group {
    border: 1px solid #d9e7f1;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
}

.permission-group-head {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
    padding: 7px 9px;
    background: #f7fbfe;
    border-bottom: 1px solid #e5eef5;
}

.permission-group-title {
    color: #203447;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

.permission-check {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 0;
    padding: 5px 6px;
    margin: 0 0 3px;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
}

.permission-check-title {
    color: #27394d;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
}

.super-admin-banner {
    display: none;
    border: 1px solid #cdebd6;
    background: #f1fbf4;
    color: #1d7c3d;
    border-radius: 5px;
    padding: 7px 9px;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
}

.user-permission-filter {
    display: block;
    margin-bottom: 12px;
}

.user-permission-filter-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(170px, 220px) auto;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.user-permission-filter .form-control {
    min-height: 36px;
    width: 100%;
}

.user-permission-filter-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-start;
}

.user-permission-filter-actions .btn {
    min-height: 36px;
    white-space: nowrap;
}

.portal-access-panel .admin-access-head {
    grid-template-columns: minmax(230px, 1.4fr) minmax(170px, auto) minmax(130px, 170px) minmax(280px, auto);
}

.portal-access-panel .admin-role-field .form-control {
    min-height: 34px;
    display: flex;
    align-items: center;
}

.portal-access-panel .admin-access-actions {
    flex-wrap: nowrap;
}

.portal-access-panel .admin-access-actions .btn {
    min-width: 82px;
    white-space: nowrap;
}

.reseller-profile-permission-panel .admin-access-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px 12px;
    cursor: default;
}

.reseller-profile-permission-panel .admin-access-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid #e4edf4;
}

.reseller-profile-permission-panel .admin-access-actions .btn-info {
    min-width: 170px;
}

@media (max-width: 1199px) {
    .admin-access-head {
        grid-template-columns: minmax(220px, 1fr) minmax(150px, auto) minmax(140px, auto);
    }

    .admin-access-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .portal-access-panel .admin-access-head {
        grid-template-columns: minmax(230px, 1fr) minmax(170px, auto) minmax(130px, 170px);
    }

    .portal-access-panel .admin-access-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .reseller-profile-permission-panel .admin-access-head {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .reseller-profile-permission-panel .admin-access-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .user-permission-filter-grid {
        grid-template-columns: 1fr;
    }

    .user-permission-filter-actions {
        width: 100%;
    }

    .user-permission-filter-actions .btn:first-child {
        flex: 1 1 auto;
    }

    .admin-access-head {
        grid-template-columns: 1fr;
    }

    .admin-access-actions {
        grid-column: auto;
    }

    .portal-access-panel .admin-access-head {
        grid-template-columns: 1fr;
    }

    .portal-access-panel .admin-access-actions {
        flex-wrap: wrap;
    }

    .reseller-profile-permission-panel .admin-access-head {
        grid-template-columns: 1fr;
    }

    .admin-access-name-text,
    .admin-access-email {
        white-space: normal;
    }

    .admin-access-actions .btn {
        flex: 1 1 auto;
    }
}

/* Source: customer-profile.php style block 1 */
.admin-profile-hero {
    border: 1px solid #dfe9f3;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 45, 78, .06);
}

.admin-profile-hero .box-body {
    padding: 22px 24px;
}

.admin-profile-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
    gap: 22px;
    align-items: center;
}

.admin-profile-main {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.admin-profile-avatar {
    width: 78px;
    height: 78px;
    border-radius: 16px;
    background: #e9f4ff;
    color: #1C3E6E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    flex: 0 0 78px;
    box-shadow: inset 0 0 0 1px #d8e9f6;
}

.admin-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.admin-profile-copy {
    min-width: 0;
}

.admin-profile-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #647b92;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.admin-profile-copy h3 {
    margin: 0 0 4px;
    color: #071f3f;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.15;
}

.admin-profile-copy p {
    margin: 0 0 8px;
    color: #6b7f95;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.admin-profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.profile-photo-form {
    margin-top: 12px;
}

.admin-profile-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.admin-profile-summary-card {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #dceaf5;
    border-radius: 8px;
    background: #f8fbfe;
}

.admin-profile-summary-card span {
    color: #607890;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-profile-summary-card strong {
    color: #0d2b4f;
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.admin-profile-panel {
    border: 1px solid #e2ebf4;
    border-radius: 10px;
    height: calc(100% - 20px);
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 45, 78, .05);
}

.admin-profile-panel .box-header {
    padding: 16px 18px;
}

.admin-profile-panel .box-body {
    padding: 20px 18px;
}

.admin-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
}

.admin-profile-grid span {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-profile-grid strong {
    display: block;
    color: #102b53;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    word-break: break-word;
}

.admin-role-note {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-weight: 700;
}

.admin-role-note.super-admin-note {
    background: #edf6ff;
    color: #0b5f99;
    border: 1px solid #cce5fa;
}

.admin-role-note.admin-note {
    background: #f7f9fc;
    color: #526579;
    border: 1px solid #e1e8f0;
}

.admin-security-action {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #edf2f7;
}

.admin-security-action .btn {
    min-height: 38px;
    border-radius: 8px;
    font-weight: 800;
}

.admin-password-modal .modal-dialog {
    width: min(92vw, 620px) !important;
    max-width: min(92vw, 620px) !important;
    margin: 7vh auto !important;
}

.admin-password-modal .modal-content {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(8, 28, 52, .28);
}

.admin-password-modal .modal-header {
    align-items: center;
    min-height: 60px;
    padding: 16px 18px;
    border: 0;
    background: #07517d;
    color: #ffffff;
}

.admin-password-modal .modal-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.admin-password-modal .btn-close {
    width: 38px;
    height: 38px;
    margin: 0;
    border-radius: 9px;
    background-color: rgba(255, 255, 255, .14);
    opacity: 1;
}

.admin-password-modal .modal-body {
    max-height: none;
    padding: 18px;
    overflow: visible;
    background: #f7fbff;
}

.admin-password-modal .modal-footer {
    justify-content: flex-start;
    padding: 14px 18px;
    border-top: 1px solid #dfeaf4;
    background: #f7fbff;
}

.admin-password-card {
    border: 1px solid #dce8f4;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 45, 78, .06);
}

.admin-password-card-body {
    padding: 18px;
}

.admin-password-modal .input-group {
    margin-bottom: 12px !important;
}

.admin-password-modal .input-group-text {
    min-width: 42px;
    justify-content: center;
    border-color: #d6e5f1;
    color: #46637d;
}

.admin-password-modal .form-control {
    min-height: 38px;
    border-color: #d6e5f1;
}

.admin-password-rules {
    display: grid;
    gap: 5px;
    margin: 4px 0 14px;
    color: #d52222;
    font-size: 12px;
    line-height: 1.35;
}

.admin-password-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.admin-password-actions .btn {
    min-height: 38px;
    border-radius: 8px;
    font-weight: 800;
}

.admin-password-modal #ajax_frmsubmit_updatepass_loader {
    display: none;
}

.admin-password-modal #ajax_frmsubmit_updatepass_loader.ajax_frmsubmit_loader {
    display: flex !important;
    background: rgba(255, 255, 255, .78);
}

.ajax_frmsubmit_loader {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #0000;
    z-index: 99;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.ajax_frmsubmit_loader img {
    border-radius: 50%;
    height: 100px;
    width: 100px;
    object-fit: cover;
}

.setblureffect {
    filter: blur(1px);
    -webkit-filter: blur(1px);
}

.modal-open .modal,
.modal-open .modal-dialog {
    pointer-events: auto;
}

@media (max-width: 767px) {
    .admin-profile-hero .box-body {
        padding: 18px;
    }

    .admin-profile-hero-inner {
        grid-template-columns: 1fr;
    }

    .admin-profile-main {
        align-items: flex-start;
    }

    .admin-profile-avatar {
        width: 58px;
        height: 58px;
        font-size: 25px;
        flex-basis: 58px;
        border-radius: 12px;
    }

    .admin-profile-copy h3 {
        font-size: 22px;
    }

    .admin-profile-summary-card {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .admin-profile-grid {
        grid-template-columns: 1fr;
    }

    .admin-profile-panel {
        height: auto;
    }

    .admin-password-modal .modal-dialog {
        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        margin: 10px auto !important;
    }

    .admin-password-actions {
        justify-content: stretch;
    }

    .admin-password-actions .btn {
        flex: 1 1 160px;
    }
}

/* Source: customer-profile-view.php style block 1 */
.reseller-profile-page {
    border-radius: 10px;
}

.reseller-profile-page .box-body {
    background: #ffffff;
}

.reseller-profile-hero {
    border: 1px solid #dfe9f3;
    border-radius: 12px;
    padding: 24px;
    background: #f8fafc;
}

.reseller-avatar {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    background: #1C3E6E;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 14px;
}

.reseller-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.reseller-hero-copy h3 {
    margin-bottom: 6px;
}

.reseller-hero-copy p {
    margin-bottom: 12px;
    color: #5b6b7f;
}

.reseller-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.reseller-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #edf3fb;
    color: #33506d;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
}

.chip-success {
    background: #e8f7ee;
    color: #17784f;
}

.reseller-balance-card {
    background: #F16822;
    color: #fff;
    border-radius: 16px;
    padding: 20px 22px;
    display: inline-block;
    min-width: 240px;
    box-shadow: 0 14px 30px rgba(241, 104, 34, 0.2);
}

.reseller-balance-card span,
.reseller-balance-card small {
    display: block;
    color: rgba(255, 255, 255, .8);
}

.reseller-balance-card strong {
    display: block;
    font-size: 28px;
    margin: 8px 0;
}

.profile-stat-box,
.credential-card,
.profile-info-panel {
    border-radius: 12px;
    border: 1px solid #e4ecf4;
    background: #fff;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
}

.profile-stat-box {
    padding: 18px;
    height: 100%;
}

.profile-stat-label {
    display: block;
    color: #6b7d90;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 8px;
}

.profile-stat-box h3 {
    margin: 0 0 6px;
    color: #102b53;
}

.profile-stat-box p {
    margin: 0;
    color: #64748b;
}

.whmcs-credential-panel {
    border: 1px solid #e4ecf4;
    border-radius: 12px;
    background: #fff;
    padding: 20px;
}

.credential-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.credential-panel-header h4 {
    margin: 0 0 4px;
}

.credential-panel-header p {
    margin: 0;
    color: #64748b;
}

.credential-card {
    padding: 16px;
    height: 100%;
    margin-bottom: 16px;
}

.credential-card label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #6b7d90;
    margin-bottom: 8px;
    font-weight: 700;
}

.credential-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.credential-value span {
    word-break: break-all;
}

.profile-info-panel {
    height: calc(100% - 20px);
}

.profile-info-panel h5 {
    margin: 0 0 16px;
    color: #102b53;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.detail-grid span {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
}

.detail-grid strong {
    display: block;
    color: #102b53;
    font-size: 14px;
    word-break: break-word;
}

.profile-recent-row {
    margin-top: 2px;
    margin-bottom: 20px;
}

.profile-recent-panel {
    height: 100%;
    border: 1px solid #e4ecf4;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(15, 23, 42, .03);
}

.profile-recent-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 18px;
    border-bottom: 1px solid #e8f0f7;
}

.profile-recent-head h5 {
    margin: 0;
    color: #102b53;
    font-size: 16px;
    font-weight: 800;
}

.profile-recent-head a {
    color: #0b4f7a;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.profile-recent-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 13px 18px;
    border-bottom: 1px solid #eef3f8;
}

.profile-recent-item:last-child {
    border-bottom: 0;
}

.profile-recent-item strong {
    display: block;
    color: #082443;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    word-break: break-word;
}

.profile-recent-item span {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

.profile-recent-meta {
    text-align: right;
    min-width: 118px;
}

.profile-recent-meta em {
    display: block;
    color: #64748b;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    white-space: nowrap;
}

.profile-recent-meta b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.profile-recent-meta b.is-success,
.profile-recent-meta b.is-credit {
    background: #dcfce7;
    color: #04783b;
}

.profile-recent-meta b.is-muted {
    background: #eef2f7;
    color: #475569;
}

.profile-recent-meta b.is-debit {
    background: #ffe4e8;
    color: #d11b3c;
}

.profile-recent-empty {
    padding: 28px 18px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 768px) {
    .reseller-profile-page .box-body {
        padding: 12px !important;
    }

    .reseller-profile-hero {
        padding: 16px;
        border-radius: 12px;
    }

    .reseller-avatar {
        width: 52px;
        height: 52px;
        font-size: 24px;
        margin-right: 10px;
    }

    .reseller-hero-copy {
        width: calc(100% - 68px);
    }

    .reseller-hero-copy h3 {
        font-size: 20px;
        line-height: 1.2;
        word-break: break-word;
    }

    .reseller-hero-copy p {
        font-size: 13px;
        line-height: 1.45;
    }

    .profile-stat-box {
        height: auto;
        margin-bottom: 12px;
        padding: 15px;
    }

    .profile-stat-box h3 {
        font-size: 22px;
    }

    .whmcs-credential-panel {
        padding: 14px;
        border-radius: 12px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .credential-panel-header {
        flex-direction: column;
        align-items: stretch;
    }

    .credential-panel-header h4 {
        font-size: 17px;
    }

    .credential-panel-header .btn {
        width: 100%;
    }

    .credential-value {
        align-items: flex-start;
    }

    .credential-value span {
        min-width: 0;
    }

    .reseller-balance-card {
        min-width: 100%;
    }

    .profile-recent-row .col-lg-6 {
        margin-bottom: 12px;
    }

    .profile-recent-head {
        padding: 13px 14px;
    }

    .profile-recent-item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px 14px;
    }

    .profile-recent-meta {
        text-align: left;
        min-width: 0;
    }

    .profile-recent-meta em {
        white-space: normal;
    }
}

/* Source: dashboard.php style block 1 */
.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 16px
}

.g2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px
}

.g3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.quick-btn {
    display: block;
    background: #5396d48f;
    border-radius: 10px;
    padding: 14px 8px;
    text-align: center;
    text-decoration: none;
    transition: all .2s;
}

.quick-btn:hover {
    background: #e8f4fb;
    border-color: var(--blue);
    transform: translateY(-2px);
}

.quick-btn i {
    display: block;
    font-size: 22px;
    color: var(--blue);
    margin-bottom: 6px;
}

.quick-btn span {
    font-size: 12px;
    color: #4b5563;
    font-weight: 600;
}

.balance-alert {
    background: linear-gradient(135deg, #fff5e6, #fff0f0);
    border: 1.5px solid #ffb84d33;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.activity-feed-item {
    display: flex;
    gap: 11px;
    padding: 11px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: #fff
}

.activity-feed-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--blue-l);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px
}

.activity-feed-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 3px
}

.activity-feed-top strong {
    font-size: 12px;
    color: var(--text);
    font-weight: 600
}

.activity-feed-top span {
    font-size: 11px;
    color: var(--text-3);
    white-space: nowrap
}

.activity-feed-text {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.35;
    word-break: break-word
}

.activity-feed-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 7px
}

.activity-feed-meta span {
    font-size: 11px;
    color: var(--text-3);
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 2px 7px
}

.dash-panel {
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .04)
}

.dash-ops-head {
    align-items: flex-start;
    gap: 12px
}

.dash-ops-title {
    display: flex;
    align-items: center;
    gap: 8px
}

.dash-ops-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end
}

.dash-filter {
    height: 32px;
    border: 1px solid #d8e3ef;
    border-radius: 6px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    padding: 0 9px;
    min-width: 132px
}

.dash-select {
    border: 1px solid #d8e3ef;
    border-radius: 6px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    padding: 0 8px
}

.renewal-list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.renewal-item {
    border: 1px solid #e7eef6;
    border-radius: 8px;
    background: #fff;
    padding: 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center
}

.renewal-item:hover {
    border-color: #c9d9e8;
    background: #fbfdff
}

.renewal-main {
    min-width: 0
}

.renewal-domain {
    font-size: 13px;
    font-weight: 800;
    color: #102a43;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.renewal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 6px;
    color: #64748b;
    font-size: 11px
}

.renewal-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 190px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.renewal-actions {
    display: flex;
    align-items: center;
    gap: 6px
}

.icon-action {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid #d8e3ef;
    background: #fff;
    color: #0b4f7a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none
}

.icon-action:hover {
    background: #edf7ff;
    color: #083b5c
}

.empty-ops {
    border: 1px dashed #d8e3ef;
    border-radius: 8px;
    background: #fbfdff;
    padding: 28px 14px;
    text-align: center;
    color: #64748b;
    font-size: 13px
}

.tag-muted {
    background: #eef2f7;
    color: #475569
}

.dashboard-search-card {
    display: block;
    margin: 0 0 16px;
    padding: 12px;
    border: 1px solid #dbe7f3;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .045)
}

.dashboard-search-form {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr) 108px;
    align-items: stretch;
    width: 100%
}

.dashboard-search-card .srch-pre {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 13px;
    border: 1px solid #d8e3ef;
    border-right: 0;
    border-radius: 8px 0 0 8px;
    background: #f8fbfe;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap
}

.dashboard-search-card .srch-in {
    width: 100%;
    height: 44px;
    border: 1px solid #d8e3ef;
    border-radius: 0;
    background: #fff;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: #102a43;
    outline: none
}

.dashboard-search-card .srch-in:focus {
    border-color: #0b4f7a;
    box-shadow: inset 0 0 0 1px #0b4f7a
}

.dashboard-search-card .srch-in::placeholder {
    color: #94a3b8;
    font-weight: 500
}

.dashboard-search-card .btn {
    height: 44px;
    border-radius: 0 8px 8px 0;
    background: #06466f;
    border-color: #06466f;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: none
}

.dashboard-search-card .btn:hover {
    background: #05395c;
    border-color: #05395c
}

@media(max-width:1100px) {
    .stat-row {
        grid-template-columns: repeat(2, 1fr)
    }

    .quick-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width:900px) {

    .g2,
    .g3 {
        grid-template-columns: 1fr
    }
}

@media(max-width:560px) {
    .stat-row {
        grid-template-columns: 1fr 1fr
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:991px) {
    .stat-row {
        gap: 10px;
        margin-bottom: 12px
    }

    .g2,
    .g3 {
        gap: 12px;
        margin-bottom: 12px
    }

    .kpi {
        min-height: 102px;
        padding: 14px 12px;
        border-radius: 17px;
        background: linear-gradient(135deg, #fff, #f8fbff);
        box-shadow: 0 12px 26px rgba(15, 23, 42, .07)
    }

    .kpi-ico {
        width: 38px !important;
        height: 38px !important;
        border-radius: 13px !important;
        flex: 0 0 38px
    }

    .kpi-v {
        font-size: 20px !important;
        line-height: 1.1;
        word-break: break-word
    }

    .kpi-l {
        font-size: 11px !important;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .03em
    }

    .kpi-s,
    .kpi-l small {
        font-size: 10px !important
    }

    .quick-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px
    }

    .quick-btn {
        min-height: 92px;
        border-radius: 16px;
        padding: 13px 8px;
        background: linear-gradient(135deg, #fff, #f7fbff);
        box-shadow: 0 10px 22px rgba(15, 23, 42, .06)
    }

    .quick-btn i {
        font-size: 23px;
        margin-bottom: 7px
    }

    .quick-btn span {
        font-size: 11px;
        line-height: 1.2
    }

    .balance-alert {
        align-items: flex-start;
        border-radius: 16px;
        padding: 13px 14px;
        margin-bottom: 12px
    }

    .activity-feed-item {
        border-radius: 15px;
        padding: 12px;
        box-shadow: 0 9px 20px rgba(15, 23, 42, .045)
    }

    .activity-feed-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px
    }

    .activity-feed-top span {
        white-space: normal
    }

    .activity-feed-icon {
        width: 38px;
        height: 38px;
        border-radius: 13px;
        flex-basis: 38px
    }

    .dash-ops-head {
        flex-direction: column
    }

    .dash-ops-tools {
        justify-content: flex-start;
        width: 100%
    }

    .dash-filter {
        flex: 1;
        min-width: 170px
    }

    .renewal-item {
        grid-template-columns: 1fr
    }

    .renewal-actions {
        justify-content: flex-start
    }
}

@media(max-width:560px) {
    .stat-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px
    }

    .kpi {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        min-height: 128px
    }

    .kpi-v {
        font-size: 19px !important
    }

    .quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .quick-btn {
        min-height: 96px
    }

    .activity-feed-item {
        gap: 10px
    }
}

@media(max-width:380px) {
    .stat-row {
        grid-template-columns: 1fr
    }

    .kpi {
        min-height: auto;
        flex-direction: row
    }

    .quick-grid {
        grid-template-columns: 1fr
    }

    .quick-btn {
        min-height: 76px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        gap: 12px;
        padding: 12px 14px
    }

    .quick-btn i {
        margin: 0;
        width: 30px
    }
}

@media(max-width:560px) {
    .ph {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 12px !important;
        gap: 10px !important;
        background: #fff !important
    }

    .ph>div:first-child {
        min-width: 0 !important
    }

    .ph-title {
        display: block !important;
        font-size: 18px !important;
        line-height: 1.2 !important;
        margin: 0 0 4px !important;
        color: #102a43 !important;
        text-align: left !important
    }

    .ph-sub {
        display: block !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
        margin: 0 !important;
        text-align: left !important;
        white-space: normal !important
    }

    .role-pill {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        vertical-align: middle !important;
        margin-left: 4px !important;
        background: #fff3e8 !important;
        color: #d84a0b !important;
        border: 1px solid #ffd7bd !important;
        border-radius: 999px !important;
        padding: 4px 9px !important;
        font-size: 9px !important;
        line-height: 1 !important;
        font-weight: 900 !important
    }

    .ph-actions {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        background: #f8fbfe !important;
        border: 1px solid #dbe7f3 !important;
        border-radius: 8px !important;
        padding: 10px !important
    }

    .ph-actions .btn,
    .ph-actions a,
    .ph-actions button,
    .ph-actions span {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        min-height: 40px !important
    }

    .ph-actions .btn-primary {
        background: #0b4f7a !important;
        border-color: #0b4f7a !important;
        color: #fff !important;
        border-radius: 3px !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        box-shadow: none !important
    }

    .ph-actions .btn-primary i {
        color: #fff !important
    }

    .ph-actions .btn-ghost {
        background: #fff !important;
        color: #b45309 !important;
        border-color: #f5c66b !important;
        border-radius: 3px !important;
        font-size: 12px !important;
        font-weight: 800 !important
    }

    .ph-actions .role-pill {
        width: auto !important;
        justify-content: center !important;
        justify-self: center !important;
        background: #fff3e8 !important;
        color: #d84a0b !important;
        border: 1px solid #ffd7bd !important;
        border-radius: 999px !important;
        padding: 4px 9px !important;
        min-height: auto !important;
        font-size: 9px !important;
        line-height: 1 !important;
        font-weight: 900 !important
    }

    .cb {
        padding: 10px 10px 92px !important
    }

    .stat-row {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        margin-bottom: 10px !important
    }

    .kpi {
        min-height: auto !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 10px 12px !important;
        border-radius: 8px !important;
        background: #fff !important;
        box-shadow: none !important
    }

    .kpi-ico {
        width: 34px !important;
        height: 34px !important;
        border-radius: 3px !important;
        font-size: 17px !important;
        flex: 0 0 34px !important
    }

    .kpi-v {
        font-size: 18px !important;
        line-height: 1.05 !important
    }

    .kpi-l {
        font-size: 11px !important;
        line-height: 1.2 !important;
        text-transform: none !important;
        letter-spacing: 0 !important
    }

    .kpi-s,
    .kpi-l small {
        font-size: 10px !important
    }

    .dashboard-search-card {
        margin-bottom: 10px !important;
        padding: 10px !important;
        border-radius: 8px !important;
        box-shadow: 0 8px 18px rgba(15, 23, 42, .05) !important
    }

    .dashboard-search-form {
        grid-template-columns: 1fr !important;
        gap: 8px !important
    }

    .dashboard-search-card .srch-pre {
        display: flex !important;
        justify-content: flex-start !important;
        height: 38px !important;
        border: 1px solid #d8e3ef !important;
        border-radius: 3px !important;
        padding: 0 10px !important;
        font-size: 11px !important;
        background: #f8fbfe !important
    }

    .dashboard-search-card .srch-in {
        height: 38px !important;
        border: 1px solid #d8e3ef !important;
        border-radius: 3px !important;
        padding: 0 10px !important;
        background: #fff !important;
        font-size: 12px !important
    }

    .dashboard-search-card .btn {
        width: 100% !important;
        min-height: 38px !important;
        height: 38px !important;
        border-radius: 7px !important
    }

    .quick-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important
    }

    .quick-btn {
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
        gap: 10px !important;
        padding: 10px 12px !important;
        border-radius: 8px !important;
        background: #fff !important;
        box-shadow: none !important
    }

    .quick-btn i {
        margin: 0 !important;
        width: 24px !important;
        font-size: 18px !important
    }

    .quick-btn span {
        font-size: 12px !important
    }

    .card {
        border-radius: 8px !important
    }

    .ch {
        padding: 11px 12px !important
    }

    .cb2 {
        padding: 12px !important
    }

    #chartTrend,
    #chartPie {
        min-height: 176px !important;
        max-height: 190px !important;
        overflow: hidden !important
    }

    .dash-chart-body {
        padding: 4px 6px 2px !important
    }

    .dash-txn-scroll {
        overflow: visible !important
    }

    .dash-txn-table {
        display: block !important;
        width: 100% !important
    }

    .dash-txn-table thead {
        display: none !important
    }

    .dash-txn-table tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important
    }

    .dash-txn-table tr {
        display: grid !important;
        grid-template-columns: 1fr !important;
        padding: 10px !important;
        border: 1px solid #edf2f7 !important;
        border-radius: 9px !important;
        background: #fff !important
    }

    .dash-txn-table td {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        width: 100% !important;
        padding: 5px 0 !important;
        border: 0 !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
        color: #102a43 !important
    }

    .dash-txn-table td:before {
        content: attr(data-label);
        flex: 0 0 auto;
        color: #64748b;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .02em
    }

    .dash-txn-table td:nth-child(1):before {
        content: "Date"
    }

    .dash-txn-table:not(.dash-role-customer) td:nth-child(2):before {
        content: "Customer"
    }

    .dash-txn-table:not(.dash-role-customer) td:nth-child(3):before {
        content: "Credit"
    }

    .dash-txn-table:not(.dash-role-customer) td:nth-child(4):before {
        content: "Debit"
    }

    .dash-txn-table.dash-role-customer td:nth-child(2):before {
        content: "Credit"
    }

    .dash-txn-table.dash-role-customer td:nth-child(3):before {
        content: "Debit"
    }

    .dash-txn-table td:first-child {
        align-items: flex-start !important
    }

    .dash-txn-table td:first-child:before {
        padding-top: 1px
    }

    .dash-txn-table .tag {
        white-space: nowrap !important;
        font-size: 10px !important;
        padding: 4px 7px !important;
        border-radius: 6px !important
    }

    .dash-txn-table .empty {
        display: block !important;
        text-align: center !important
    }
}

/* Source: dashboard.php style block 2 */
@media(max-width:560px) {
    body .mc .ph {
        display: block !important;
        margin: 0 0 10px !important;
        padding: 12px !important;
        background: #fff !important;
        border: 1px solid #dbe7f3 !important;
        border-radius: 8px !important;
        box-shadow: 0 8px 18px rgba(15, 23, 42, .06) !important;
    }

    body .mc .ph>div:first-child {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        min-height: 44px !important;
        margin: 0 0 10px !important;
    }

    body .mc .ph .ph-title {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #102a43 !important;
        font-size: 18px !important;
        font-weight: 900 !important;
        line-height: 1.15 !important;
        margin: 0 0 5px !important;
        padding: 0 !important;
        text-align: left !important;
    }

    body .mc .ph .ph-sub {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #64748b !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
        margin: 0 !important;
        text-align: left !important;
    }

    body .mc .ph .role-pill {
        display: inline-flex !important;
        width: auto !important;
        min-height: auto !important;
        margin-left: 5px !important;
        padding: 4px 8px !important;
        background: #fff3e8 !important;
        border: 1px solid #ffd7bd !important;
        color: #d84a0b !important;
        border-radius: 999px !important;
        font-size: 9px !important;
        line-height: 1 !important;
        font-weight: 900 !important;
    }

    body .mc .ph .ph-actions {
        display: grid !important;
        width: 100% !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
    }

    body .mc .ph .ph-actions .btn-primary {
        width: 100% !important;
        min-height: 40px !important;
        background: #0b4f7a !important;
        border-color: #0b4f7a !important;
        color: #fff !important;
        border-radius: 3px !important;
        font-size: 12px !important;
        font-weight: 800 !important;
    }
}

/* Source: deposit.php style block 1 */
.fund-page-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.fund-page-title h4 {
    margin: 0;
    font-weight: 800;
}

.fund-section {
    padding: 20px;
}

.fund-search-card {
    background: #f8fafc;
    border: 1px solid #e9edf4;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 18px;
}

.fund-search-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.fund-search-title strong {
    color: #102a43;
    font-size: 14px;
    font-weight: 700;
}

.fund-search-title span {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}

.fund-search-form {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) 145px;
    gap: 10px;
    align-items: end;
}

.fund-search-form .select2-container {
    width: 100% !important;
}

.fund-search-form .btn {
    min-width: 135px;
    font-weight: 700;
}

.fund-search-control label {
    display: block;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.fund-search-control .form-select {
    min-height: 42px;
    border: 1px solid #dbe3ef;
    border-radius: 6px;
    font-size: 13px;
}

.fund-start-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.fund-start-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border: 1px solid #e4edf6;
    border-radius: 12px;
    background: #fff;
    color: #334155;
    text-decoration: none;
    min-height: 82px;
}

.fund-start-card i {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8f1ff;
    color: #0d6efd;
    flex: 0 0 auto;
}

.fund-start-card strong {
    display: block;
    color: #102a43;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.fund-start-card span {
    display: block;
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
}

.fund-start-card:hover {
    border-color: #b7d7f5;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
    color: #334155;
}

.fund-empty-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 16px;
}

.fund-empty-actions a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 9px;
    border: 1px solid #dbe7f1;
    background: #fff;
    color: #0d4f7c;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.select2-container .select2-selection--single {
    height: 42px !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 3px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px !important;
    font-size: 13px;
    color: #334155;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
}

.fund-message-area {
    display: none;
    margin-bottom: 15px;
}

.fund-alert {
    border-radius: 8px;
    font-weight: 700;
    margin-bottom: 0;
}

.fund-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
    gap: 18px;
    align-items: start;
}

.fund-card {
    background: #fff;
    border: 1px solid #e9edf4;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.fund-card-header {
    background: #004682;
    color: #fff;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.fund-card-header h4 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.fund-card-body {
    padding: 16px;
}

.fund-customer-top {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef1f7;
    margin-bottom: 14px;
}

.fund-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #e8f1ff;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.fund-customer-name {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    word-break: break-word;
}

.fund-customer-id {
    margin-top: 4px;
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    color: #0d6efd;
    background: #e8f1ff;
    border-radius: 20px;
    padding: 4px 9px;
}

.fund-detail-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.fund-detail-item {
    background: #f8fafc;
    border: 1px solid #e9edf4;
    border-radius: 8px;
    padding: 10px;
    min-height: 66px;
}

.fund-detail-full {
    grid-column: 1 / -1;
}

.fund-detail-item small {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.fund-detail-item strong {
    display: block;
    color: #1e293b;
    font-size: 13px;
    line-height: 1.4;
    word-break: break-word;
}

.fund-balance-box {
    background: #f8fafc;
    border: 1px solid #e9edf4;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 14px;
}

.fund-balance-box small {
    display: block;
    font-size: 12px;
    color: #64748b;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.fund-balance-box strong {
    display: block;
    font-size: 26px;
    color: #0d6efd;
    font-weight: 700;
    line-height: 1.2;
}

.fund-form-group {
    margin-bottom: 13px;
}

.fund-form-group label {
    display: block;
    color: #344767;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 6px;
}

.fund-form-group .form-control,
.fund-form-group .form-select {
    min-height: 41px;
    border-radius: 6px;
    border-color: #dbe3ef;
    font-size: 13px;
}

.fund-static-field {
    min-height: 41px;
    border-radius: 6px;
    border: 1px solid #dbe3ef;
    background: #f8fafc;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    padding: 0 12px;
}

.fund-form-group textarea.form-control {
    min-height: 90px;
    resize: vertical;
}

.fund-quick-amounts {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
    margin: -4px 0 14px;
}

.fund-quick-amount {
    border: 1px solid #dbe3ef;
    border-radius: 9px;
    background: #f8fafc;
    color: #0d4f7c;
    min-height: 34px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all .16s ease;
}

.fund-quick-amount:hover,
.fund-quick-amount.active {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.fund-advanced-panel {
    border: 1px solid #dbe7f1;
    border-radius: 12px;
    background: #f8fafc;
    padding: 12px;
    margin-bottom: 13px;
}

.fund-advanced-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.fund-advanced-title strong {
    color: #102a43;
    font-size: 13px;
    font-weight: 700;
}

.fund-advanced-title span {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    text-align: right;
}

.fund-advanced-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.fund-advanced-grid .fund-form-group {
    margin-bottom: 0;
}

.fund-live-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin: 0 0 14px;
}

.fund-live-summary>div {
    border: 1px solid #e3ebf4;
    border-radius: 10px;
    background: #fff;
    padding: 10px;
    min-width: 0;
}

.fund-live-summary small {
    display: block;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.fund-live-summary strong {
    display: block;
    color: #0f2f47;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    word-break: break-word;
}

.fund-live-summary .fund-negative {
    color: #dc3545;
}

.fund-submit-area {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 4px;
}

.fund-submit-area .btn {
    font-weight: 800;
    min-width: 120px;
}

.fund-no-permission {
    display: inline-block;
    background: #dc3545;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 7px 11px;
    border-radius: 6px;
}

.fund-empty,
.fund-loader {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 32px 18px;
    text-align: center;
    color: #64748b;
}

.fund-empty i,
.fund-loader i {
    font-size: 36px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.fund-empty strong,
.fund-loader strong {
    display: block;
    color: #334155;
    font-size: 16px;
    margin-bottom: 5px;
}

.fund-loader {
    display: none;
}

@media(max-width: 1199px) {
    .fund-grid {
        grid-template-columns: 1fr;
    }

    .fund-start-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 767px) {
    .fund-section {
        padding: 12px;
    }

    .fund-search-card {
        padding: 12px;
        border-radius: 14px;
        margin-bottom: 12px;
    }

    .fund-search-title {
        display: block;
        margin-bottom: 12px;
    }

    .fund-search-title strong {
        display: flex;
        align-items: center;
        gap: 7px;
        font-size: 13px;
        margin-bottom: 5px;
    }

    .fund-search-title span {
        display: block;
        text-align: left;
        font-size: 11px;
        line-height: 1.35;
    }

    .fund-search-form {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .fund-search-control label {
        font-size: 10px;
        margin-bottom: 5px;
    }

    .fund-search-control .form-select,
    .fund-search-form .select2-container .select2-selection--single {
        min-height: 42px !important;
        height: 42px !important;
        border-radius: 3px !important;
    }

    .fund-search-form .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 40px !important;
        font-size: 12px;
        padding-left: 12px;
        padding-right: 30px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .fund-search-form .btn {
        width: 100%;
        min-width: 100%;
        min-height: 44px;
        border-radius: 3px !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .fund-detail-list {
        grid-template-columns: 1fr;
    }

    .fund-customer-top {
        align-items: flex-start;
    }

    .fund-customer-name {
        font-size: 16px;
    }

    .fund-balance-box strong {
        font-size: 22px;
    }

    .fund-submit-area {
        justify-content: stretch;
    }

    .fund-submit-area .btn {
        width: 100%;
    }
}

@media(max-width: 480px) {
    .fund-card-header {
        padding: 12px;
    }

    .fund-card-body {
        padding: 12px;
    }

    .fund-avatar {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }

    .fund-quick-amounts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fund-advanced-grid,
    .fund-live-summary {
        grid-template-columns: 1fr;
    }

    .fund-advanced-title {
        display: block;
    }

    .fund-advanced-title span {
        display: block;
        margin-top: 3px;
        text-align: left;
    }
}

/* Source: deposit-history.php style block 1 */
.fund-history-section {
    padding: 18px;
}

.fund-page-title h4 {
    margin: 0;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
}

.fund-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.fund-summary-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    padding: 15px;
    min-height: 82px;
    transition: all 0.2s ease;
}

.fund-summary-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.12);
}

.reseller-profile-fund-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.reseller-profile-filter-grid {
    grid-template-columns: 2fr 1fr 1fr auto;
    margin-bottom: 0;
}

.reseller-profile-fund-section {
    padding: 16px;
}

.reseller-profile-fund-table {
    min-width: 980px;
}

.reseller-fund-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.reseller-last-transaction {
    font-size: 18px;
}

.fund-summary-title {
    font-size: 11px;
    color: #64748b;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.fund-summary-number {
    font-size: 22px;
    color: #1e293b;
    font-weight: 700;
    line-height: 1.2;
    word-break: break-word;
}

.fund-filter-area {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.fund-filter-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 12px;
    align-items: end;
    margin-bottom: 12px;
}

.fund-filter-grid-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr auto auto;
    gap: 12px;
    align-items: end;
}

.fund-filter-item label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #334155;
    margin-bottom: 6px;
}

.fund-filter-item .form-control,
.fund-filter-item .form-select {
    border-radius: 7px;
    font-size: 13px;
    min-height: 40px;
    border: 1px solid #dbe3ef;
    width: 100%;
}

.fund-filter-action {
    min-width: 82px;
}

.fund-filter-action .btn {
    width: 100%;
    height: 40px;
    border-radius: 7px;
    font-weight: 800;
}

.fund-table {
    width: 100%;
    margin-bottom: 0;
}

.fund-table thead th {
    background: #f4f6fb;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.fund-table tbody td {
    vertical-align: middle;
    font-size: 13px;
    padding: 13px 12px;
    border-bottom: 1px solid #eef1f7;
}

.fund-table tbody tr:hover {
    background: #f8fbff;
}

.fund-date {
    white-space: nowrap;
    font-weight: 800;
    color: #0f172a;
    font-size: 12px;
}

.fund-client-name {
    font-weight: 700;
    color: #0f172a;
    word-break: break-word;
}

.fund-client-id {
    display: inline-block;
    color: #0d6efd;
    font-weight: 700;
    margin-top: 3px;
}

.fund-company {
    font-size: 12px;
    color: #64748b;
    margin-top: 3px;
    word-break: break-word;
}

.fund-note {
    max-width: 600px;
    color: #334155;
    line-height: 1.45;
    word-break: break-word;
}

.fund-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.fund-badge-cash {
    background: #e8f1ff;
    color: #0d6efd;
}

.fund-badge-online {
    background: #dcfce7;
    color: #15803d;
}

.fund-credit {
    font-weight: 700;
    color: #0d6efd;
    white-space: nowrap;
}

.fund-debit {
    font-weight: 700;
    color: #dc3545;
    white-space: nowrap;
}

.fund-transaction {
    display: inline-grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 2px 7px;
    width: fit-content;
    min-width: 118px;
    border-radius: 10px;
    padding: 7px 10px;
    font-weight: 700;
    white-space: nowrap;
}

.fund-transaction strong {
    font-size: 13px;
}

.fund-transaction small {
    grid-column: 1 / -1;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.fund-transaction-credit {
    color: #0d6efd;
}

.fund-transaction-debit {
    color: #dc3545;
}

.fund-transaction-locked {
    color: #c2410c;
}

.fund-text-credit {
    color: #0d6efd;
    font-weight: 700;
    white-space: nowrap;
}

.fund-text-debit {
    color: #dc3545;
    font-weight: 700;
    white-space: nowrap;
}

.fund-chain-click {
    cursor: pointer;
}

.fund-chain-click:hover {
    opacity: 0.7;
}

.fund-remaining {
    font-weight: 700;
    color: #0f5132;
    white-space: nowrap;
}

.fund-lock {
    display: inline-grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 2px 6px;
    width: fit-content;
    border-radius: 999px;
    padding: 5px 9px;
    color: #64748b;
    font-weight: 700;
    white-space: nowrap;
}

.fund-lock small {
    grid-column: 1 / -1;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.fund-lock.is-locked {
    color: #c2410c;
}

.fund-lock.is-confirmed {
    color: #15803d;
    border-radius: 10px;
}

.fund-neutral {
    color: #94a3b8;
    font-weight: 700;
}

.fund-footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 15px 0 0 0;
}

.fund-pagination {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.fund-page-btn {
    border: 1px solid #dbe3ef;
    background: #fff;
    color: #344767;
    min-width: 34px;
    height: 34px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 10px;
}

.fund-page-btn.active,
.fund-page-btn:hover {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    text-decoration: none;
}

.fund-page-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.fund-empty {
    width: 100%;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #64748b;
    font-style: italic;
}

.fund-empty i {
    font-size: 30px;
    margin-bottom: 8px;
    color: #94a3b8;
}

.fund-chain-modal-body {
    max-height: min(72vh, 620px);
    padding: 10px !important;
    overflow: auto;
}

.text-muted-custom {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
}

@media(max-width: 1199px) {

    .fund-summary-grid,
    .reseller-profile-fund-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fund-filter-grid,
    .reseller-profile-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fund-filter-grid-bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(max-width: 767px) {

    .wrapper,
    .content-wrapper,
    .container-full {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: hidden !important;
    }

    .box {
        margin: 0 !important;
        border-radius: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .box-header {
        padding: 12px !important;
    }

    .fund-history-section {
        padding: 10px !important;
    }

    .fund-page-title h4 {
        font-size: 14px;
        line-height: 1.4;
    }

    .fund-page-title .btn {
        font-size: 12px;
        padding: 6px 10px;
    }

    .fund-summary-grid,
    .reseller-profile-fund-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .fund-summary-card {
        padding: 12px;
        min-height: auto;
    }

    .fund-summary-title {
        font-size: 11px;
    }

    .fund-summary-number {
        font-size: 18px;
    }

    .fund-filter-area {
        padding: 12px;
        border-radius: 8px;
    }

    .fund-filter-grid,
    .fund-filter-grid-bottom,
    .reseller-profile-filter-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .fund-filter-item label {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .fund-filter-item .form-control,
    .fund-filter-item .form-select {
        height: 40px;
        min-height: 40px;
        font-size: 13px;
    }

    .fund-filter-action {
        width: 100%;
        min-width: 100%;
    }

    .fund-filter-action .btn {
        width: 100%;
        height: 40px;
    }

    .fund-table {
        width: 100% !important;
        min-width: 0 !important;
        display: block;
        border-collapse: separate;
        border-spacing: 0 12px;
    }

    .fund-table thead {
        display: none;
    }

    .fund-table tbody {
        display: block;
        width: 100%;
    }

    .fund-table tbody tr {
        display: block;
        width: 100%;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        padding: 10px;
        margin-bottom: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }

    .fund-table tbody td {
        display: grid;
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 10px;
        width: 100%;
        padding: 9px 0;
        border-bottom: 1px dashed #e2e8f0;
        text-align: left !important;
        align-items: start;
    }

    .fund-table tbody td:last-child {
        border-bottom: 0;
    }

    .fund-table tbody td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #64748b;
        text-transform: uppercase;
        font-size: 11px;
        text-align: left;
        word-break: normal;
    }

    .fund-table tbody td>* {
        min-width: 0;
        text-align: left !important;
    }

    .fund-date,
    .fund-credit,
    .fund-debit,
    .fund-remaining,
    .fund-lock {
        white-space: normal;
    }

    .fund-client-name,
    .fund-company,
    .fund-note {
        max-width: 100%;
        text-align: left !important;
        word-break: break-word;
    }

    .fund-badge {
        width: fit-content;
    }

    .fund-footer-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .fund-pagination {
        width: 100%;
        justify-content: flex-start;
    }

    .fund-page-btn {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

@media(max-width: 360px) {
    .fund-table tbody td {
        grid-template-columns: 75px minmax(0, 1fr);
        gap: 8px;
    }

    .fund-summary-number {
        font-size: 16px;
    }
}

/* Source: domain_default_name_servers.php style block 1 */
.fullwidths {
    width: 100%;
}

.select2-container .select2-selection--single {
    height: 33px;
}

/* Source: domain_sync.php style block 1 */
.nocorner {
    border-radius: 0px;
}

.heightscroll {
    max-height: 550px;
    overflow-y: auto;
    overflow-x: hidden;
    float: left;
    display: block;
    width: 100%;

}

/* Source: domain_sync.php style block 2 */
.flexbox select {
    background-color: red;
    padding: 10px 15px;
    border: 0px;
}

/* Source: domain-details.php style block 1 */
.domain-lock-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.domain-lock-status {
    min-width: 24px;
    font-weight: 700;
}

.domain-lock-toggle {
    position: relative;
    display: inline-flex;
    width: 54px;
    height: 28px;
    margin: 0;
    vertical-align: middle;
}

.domain-lock-toggle input {
    display: none;
}

.domain-lock-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #c8ced3;
    border-radius: 34px;
    transition: .25s;
}

.domain-lock-slider:before {
    position: absolute;
    content: "";
    width: 20px;
    height: 20px;
    left: 4px;
    bottom: 4px;
    background-color: #fff;
    border-radius: 50%;
    transition: .25s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}

.domain-lock-toggle input:checked+.domain-lock-slider {
    background-color: #00a65a;
}

.domain-lock-toggle input:checked+.domain-lock-slider:before {
    transform: translateX(26px);
}

.contact-phone-code {
    /* min-width: 62px; */


    justify-content: center;
    font-weight: 700;
}

.pointer {
    cursor: pointer !important;
    color: black;
    font-size: 14px;
}

.pointer:hover {
    text-decoration: underline;
    color: black !important;
}

.pointer a:hover {
    text-decoration: underline;
    color: black !important;
}

.text-right {
    text-align: right !important;
}

/* Source: domain-extension-edit.php style block 1 */
.tooltipss {
    cursor: pointer;
}

/* Source: domain-information.php style block 1 */
.rd-section {
    padding: 18px;
}

.rd-page-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.rd-page-title h4 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.rd-search-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
}

.rd-search-grid {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) minmax(220px, 0.6fr) 170px;
    gap: 10px;
    align-items: stretch;
}

.rd-url-prefix {
    background: #e8f1ff;
    color: #0d6efd;
    border: 1px solid #cfe2ff;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    padding: 0 12px;
    white-space: nowrap;
}

.rd-search-grid .form-control {
    height: 42px;
    border-radius: 7px;
    border: 1px solid #dbe3ef;
    font-size: 13px;
}

.rd-search-grid .btn {
    height: 42px;
    border-radius: 7px;
    font-weight: 800;
}

.rd-message {
    margin-top: 12px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #be123c;
    font-weight: 800;
    border-radius: 7px;
    padding: 10px 12px;
    text-align: center;
}

.rd-domain-heading {
    margin: 0 0 16px 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.rd-domain-heading h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    word-break: break-word;
}

.rd-result-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.rd-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    margin-bottom: 18px;
}

.rd-card-header {
    background: #0d6efd;
    color: #fff;
    padding: 13px 16px;
}

.rd-card-header h4 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.rd-card-body {
    padding: 16px;
}

.rd-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.rd-info-item {
    background: #f8fafc;
    border: 1px solid #e9edf4;
    border-radius: 8px;
    padding: 10px;
    min-height: 64px;
}

.rd-info-full {
    grid-column: 1 / -1;
}

.rd-info-item small {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.rd-info-item strong {
    display: block;
    color: #0f172a;
    font-size: 13px;
    line-height: 1.45;
    word-break: break-word;
}

.rd-status-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.rd-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.rd-badge-success {
    background: #dcfce7;
    color: #15803d;
}

.rd-badge-warning {
    background: #fef3c7;
    color: #b45309;
}

.rd-badge-danger {
    background: #fee2e2;
    color: #dc2626;
}

.rd-badge-info {
    background: #e0f2fe;
    color: #0369a1;
}

.rd-badge-secondary {
    background: #eef2ff;
    color: #334155;
}

.rd-lock-on {
    color: #15803d;
    font-weight: 700;
}

.rd-lock-off {
    color: #dc2626;
    font-weight: 700;
}

.rd-contact-panel {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.rd-contact-heading {
    background: #f8fafc;
}

.rd-contact-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 13px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.rd-contact-title:hover {
    color: #0d6efd;
    text-decoration: none;
}

.rd-contact-body {
    padding: 12px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.rd-ns-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.rd-ns-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 11px 12px;
    color: #0f172a;
    font-weight: 800;
    word-break: break-word;
    font-size: 13px;
}

.rd-ns-empty {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 22px;
    text-align: center;
    color: #64748b;
    font-style: italic;
    font-weight: 700;
}

.rd-child-table {
    width: 100%;
    margin-bottom: 0;
}

.rd-child-table th {
    background: #f4f6fb;
    color: #64748b;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 12px;
}

.rd-child-table td {
    padding: 12px;
    border-bottom: 1px solid #eef1f7;
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    word-break: break-word;
}

@media(max-width: 1199px) {
    .rd-search-grid {
        grid-template-columns: 140px 1fr;
    }

    .rd-search-grid .btn {
        grid-column: 1 / -1;
    }

    .rd-result-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 767px) {

    .rd-section {
        padding: 10px !important;
    }

    .rd-page-title h4 {
        font-size: 14px;
        line-height: 1.4;
    }

    .rd-search-card {
        padding: 12px;
    }

    .rd-search-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .rd-url-prefix {
        height: 40px;
        justify-content: flex-start;
    }

    .rd-domain-heading {
        padding: 12px;
    }

    .rd-domain-heading h2 {
        font-size: 17px;
    }

    .rd-status-wrap {
        justify-content: flex-start;
    }

    .rd-card-header {
        padding: 12px;
    }

    .rd-card-header h4 {
        font-size: 14px;
    }

    .rd-card-body {
        padding: 12px;
    }

    .rd-info-grid {
        grid-template-columns: 1fr;
    }

    .rd-ns-list {
        grid-template-columns: 1fr;
    }

    .rd-child-table {
        display: block;
        width: 100%;
    }

    .rd-child-table thead {
        display: none;
    }

    .rd-child-table tbody,
    .rd-child-table tr,
    .rd-child-table td {
        display: block;
        width: 100%;
    }

    .rd-child-table tr {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 9px;
        padding: 10px;
        margin-bottom: 10px;
    }

    .rd-child-table td {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 10px;
        border-bottom: 1px dashed #e2e8f0;
        padding: 9px 0;
    }

    .rd-child-table td:last-child {
        border-bottom: 0;
    }

    .rd-child-table td::before {
        content: attr(data-label);
        font-size: 11px;
        font-weight: 700;
        color: #64748b;
        text-transform: uppercase;
    }
}

.pointer {
    cursor: pointer !important;
    color: black;
    font-size: 14px;
}

.pointer:hover {
    text-decoration: underline;
    color: black !important;
}

.pointer a:hover {
    text-decoration: underline;
    color: black !important;
}

.text-right {
    text-align: right !important;
}

/* Source: epp-command-log.php style block 1 */
.epp-summary-row {
    margin-bottom: 15px;
}

.epp-summary-card {
    background: #fff;
    border: 1px solid #e9edf4;
    border-radius: 8px;
    padding: 13px 14px;
    height: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.epp-summary-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 3px 10px rgba(13, 110, 253, 0.12);
}

.epp-summary-title {
    font-size: 12px;
    color: #6c757d;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.epp-summary-number {
    font-size: 23px;
    color: #1e293b;
    font-weight: 800;
    line-height: 1;
}

.epp-filter-area {
    background: #f8fafc;
    border: 1px solid #e9edf4;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.epp-filter-area label {
    font-size: 13px;
    font-weight: 700;
    color: #344767;
    margin-bottom: 5px;
}

.epp-filter-area .form-control,
.epp-filter-area .form-select {
    border-radius: 6px;
    font-size: 13px;
    min-height: 39px;
}

.epp-filter-gap {
    margin-bottom: 12px;
}

.epp-table {
    margin-bottom: 0;
}

.epp-table thead th {
    background: #f4f6fb;
    color: #344767;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    border-bottom: 1px solid #e9edf4 !important;
    padding: 12px 10px;
}

.epp-table tbody td {
    vertical-align: middle;
    font-size: 13px;
    padding: 12px 10px;
    border-bottom: 1px solid #eef1f7;
}

.epp-table tbody tr:hover {
    background: #f8fbff;
}

.epp-sl {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eef2ff;
    color: #344767;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.epp-command {
    font-weight: 800;
    color: #1e293b;
    word-break: break-word;
}

.epp-domain {
    color: #334155;
    font-weight: 700;
    word-break: break-word;
}

.epp-trans-id {
    font-family: monospace;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 4px 7px;
    border-radius: 5px;
    display: inline-block;
    max-width: 190px;
    word-break: break-word;
}

.epp-date {
    white-space: nowrap;
    font-weight: 700;
    color: #334155;
    font-size: 12px;
}

.epp-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
}

.epp-badge-primary {
    background: #0d6efd;
}

.epp-badge-success {
    background: #28a745;
}

.epp-badge-info {
    background: #17a2b8;
}

.epp-badge-warning {
    background: #ffc107;
    color: #212529;
}

.epp-badge-secondary {
    background: #6c757d;
}

.epp-view-btn {
    border: 0;
    background: #0d6efd;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 11px;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
}

.epp-view-btn:hover {
    background: #0b5ed7;
}

.epp-footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 14px 0 0 0;
}

.epp-pagination {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.epp-page-btn {
    border: 1px solid #dbe3ef;
    background: #fff;
    color: #344767;
    min-width: 34px;
    height: 34px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 10px;
}

.epp-page-btn.active,
.epp-page-btn:hover {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    text-decoration: none;
}

.epp-page-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.epp-error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #be123c;
    padding: 12px;
    border-radius: 7px;
    font-weight: 700;
    margin-bottom: 15px;
}

.epp-empty {
    width: 100%;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #64748b;
    font-style: italic;
}

.epp-empty i {
    font-size: 30px;
    margin-bottom: 8px;
    color: #94a3b8;
}

.epp-loading {
    width: 100%;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 700;
}

.epp-detail-dialog {
    max-width: 820px !important;
}

.epp-detail-modal .modal-content {
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.epp-detail-modal .modal-header {
    background: #0150c4;
    color: #fff;
    padding: 12px 16px;
}

.epp-detail-modal .modal-title {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    margin: 0;
}

.epp-detail-modal .modal-body {
    padding: 14px;
    background: #fff;
    max-height: 78vh;
    overflow-y: auto;
}

.epp-detail-modal .modal-footer {
    padding: 10px 14px;
}

.epp-detail-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.epp-detail-meta-box {
    background: #f8fafc;
    border: 1px solid #e9edf4;
    border-radius: 6px;
    padding: 8px 10px;
}

.epp-detail-meta-box small {
    display: block;
    font-size: 11px;
    color: #64748b;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.epp-detail-meta-box strong {
    display: block;
    color: #1e293b;
    font-size: 12px;
    word-break: break-word;
}

#showgetdata_eppcommand {
    background: #fff;
}

#showgetdata_eppcommand h1,
#showgetdata_eppcommand h2,
#showgetdata_eppcommand h3,
#showgetdata_eppcommand h4,
#showgetdata_eppcommand label,
#showgetdata_eppcommand b {
    display: block;
    color: #0d6efd !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    text-transform: uppercase;
    margin: 10px 0 6px 0 !important;
}

#showgetdata_eppcommand textarea,
#showgetdata_eppcommand pre,
#showgetdata_eppcommand xmp {
    width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    overflow: auto !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    /*border: 1px solid #0d6efd !important;*/
    border-radius: 3px !important;
    padding: 11px !important;
    font-family: Consolas, Monaco, monospace !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    white-space: pre-wrap !important;
    word-break: break-word !important;
    resize: none !important;
}

#showgetdata_eppcommand textarea:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.12) !important;
}

.epp-code-title {
    color: #0d6efd;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    margin: 10px 0 6px 0;
}

.text-muted-custom {
    color: #94a3b8;
}

@media(max-width: 767px) {
    .epp-table {
        min-width: 950px;
    }

    .epp-filter-area .col-md-1,
    .epp-filter-area .col-md-2,
    .epp-filter-area .col-md-3,
    .epp-filter-area .col-md-4 {
        margin-bottom: 10px;
    }

    .epp-detail-dialog {
        max-width: 96% !important;
        margin: 10px auto;
    }

    .epp-detail-meta {
        grid-template-columns: 1fr;
    }

    #showgetdata_eppcommand textarea,
    #showgetdata_eppcommand pre,
    #showgetdata_eppcommand xmp {
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
    }
}

/* Source: extension_list.php style block 1 */
.extension-list-box .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.extension-pricing-table {
    min-width: 1010px;
    table-layout: fixed;
}

.extension-pricing-table th,
.extension-pricing-table td {
    padding: 12px 10px !important;
    vertical-align: middle !important;
    white-space: nowrap;
    font-size: 13px;
}

.extension-pricing-table th {
    line-height: 1.25;
}

.extension-pricing-table .extension-col {
    width: 138px;
}

.extension-pricing-table .price-col {
    width: 86px;
}

.extension-pricing-table .action-col {
    width: 130px;
}

.extension-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.extension-actions .btn {
    width: 100%;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px !important;
    line-height: 1.1;
    white-space: nowrap;
}

@media (min-width: 992px) and (max-width: 1250px) {
    .extension-list-box .box-body {
        padding: 12px !important;
    }

    .extension-pricing-table {
        min-width: 960px;
    }

    .extension-pricing-table th,
    .extension-pricing-table td {
        padding: 10px 8px !important;
        font-size: 12px;
    }

    .extension-pricing-table .extension-col {
        width: 120px;
    }

    .extension-pricing-table .price-col {
        width: 78px;
    }

    .extension-pricing-table .action-col {
        width: 118px;
    }
}

@media (max-width: 575px) {
    .extension-list-box .box-header {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .extension-list-box .box-header .pull-right {
        float: none !important;
        width: 100%;
    }

    .extension-list-box .box-header .btn {
        width: 100%;
    }

    .extension-list-box .table-responsive {
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .extension-pricing-table {
        min-width: 0 !important;
        width: 100% !important;
        display: block;
        table-layout: auto;
        border: 0 !important;
        background: transparent;
    }

    .extension-pricing-table thead {
        display: none;
    }

    .extension-pricing-table tbody,
    .extension-pricing-table tr,
    .extension-pricing-table td {
        display: block;
        width: 100% !important;
    }

    .extension-pricing-table tr {
        margin: 0 0 12px;
        padding: 12px;
        border: 1px solid #d7e4f0;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
    }

    .extension-pricing-table td {
        min-height: 36px;
        padding: 8px 0 !important;
        border: 0 !important;
        border-bottom: 1px solid #edf3f8 !important;
        white-space: normal;
        font-size: 13px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        text-align: right;
    }

    .extension-pricing-table td:last-child {
        border-bottom: 0 !important;
        display: block;
        padding-top: 10px !important;
    }

    .extension-pricing-table td::before {
        content: attr(data-label);
        flex: 0 0 52%;
        color: #516374;
        font-weight: 800;
        font-size: 11px;
        line-height: 1.25;
        text-align: left;
        text-transform: uppercase;
    }

    .extension-pricing-table td:first-child {
        display: block;
        padding-bottom: 10px !important;
        text-align: left;
        font-size: 15px;
        font-weight: 700;
        color: #073b61;
    }

    .extension-pricing-table td:first-child::before,
    .extension-pricing-table td:last-child::before {
        display: none;
    }

    .extension-actions {
        flex-direction: row;
        gap: 8px;
    }

    .extension-actions .btn {
        flex: 1 1 0;
        min-width: 0;
        min-height: 40px;
        font-size: 12px;
    }
}

/* Source: footer.php style block 1 */
.mc-footer {
    padding: 14px 18px;
    text-align: center;
    font-size: 11px;
    color: var(--admin-text-muted);
    background: var(--admin-card-bg);
    border-top: 1px solid var(--admin-border);
    margin-top: 24px;
}

.mc-footer a {
    color: rgb(6, 65, 109);
    text-decoration: none
}

html.mc-theme-dark body,
html.mc-theme-dark .wrapper,
html.mc-theme-dark .content-wrapper,
html.mc-theme-dark .container-full,
html.mc-theme-dark .content,
html.mc-theme-dark .mc {
    background: var(--bg) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .box,
html.mc-theme-dark .card,
html.mc-theme-dark .panel,
html.mc-theme-dark .modal-content,
html.mc-theme-dark .table-responsive,
html.mc-theme-dark .customer-box,
html.mc-theme-dark .customer-list-box,
html.mc-theme-dark .reseller-box,
html.mc-theme-dark .reseller-list-box,
html.mc-theme-dark .domain-info-card,
html.mc-theme-dark .domain-info-panel,
html.mc-theme-dark .deposit-card,
html.mc-theme-dark .deposit-panel,
html.mc-theme-dark .fund-card,
html.mc-theme-dark .activity-card,
html.mc-theme-dark .permission-card,
html.mc-theme-dark .price-package-card,
html.mc-theme-dark .support-card,
html.mc-theme-dark .profile-card,
html.mc-theme-dark .profile-section,
html.mc-theme-dark .renew-mobile-card,
html.mc-theme-dark .pricing-mobile-card,
html.mc-theme-dark [class*="-box"],
html.mc-theme-dark [class*="-card"],
html.mc-theme-dark [class*="-panel"] {
    background: var(--white) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .box-body,
html.mc-theme-dark .modal-body,
html.mc-theme-dark .customer-box>.box-body,
html.mc-theme-dark .reseller-box>.box-body,
html.mc-theme-dark .deposit-body,
html.mc-theme-dark .pricing-body,
html.mc-theme-dark .move-domain-body {
    background: var(--white) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .customer-box>.box-header,
html.mc-theme-dark .reseller-box>.box-header {
    background: #0D4F7C !important;
    border: 0 !important;
    padding: 0 !important;
}

html.mc-theme-dark .customer-hero,
html.mc-theme-dark .reseller-hero {
    width: 100% !important;
    box-sizing: border-box !important;
}

html.mc-theme-dark .box-header:not(.bg-primary):not(.manage-domain-hero):not(.customer-hero),
html.mc-theme-dark .box-footer,
html.mc-theme-dark .modal-footer,
html.mc-theme-dark .customer-search-section,
html.mc-theme-dark .reseller-search-section,
html.mc-theme-dark .customer-filter-card,
html.mc-theme-dark .reseller-filter-card,
html.mc-theme-dark .domain-filter-card,
html.mc-theme-dark .filter-card,
html.mc-theme-dark .search-section,
html.mc-theme-dark .activity-toolbar,
html.mc-theme-dark .permission-row,
html.mc-theme-dark .permission-module,
html.mc-theme-dark .info-row,
html.mc-theme-dark .summary-row,
html.mc-theme-dark .detail-row,
html.mc-theme-dark .quick-btn,
html.mc-theme-dark .activity-feed-item,
html.mc-theme-dark .activity-feed-meta span,
html.mc-theme-dark .customer-list-footer,
html.mc-theme-dark .reseller-list-footer,
html.mc-theme-dark .panel-body,
html.mc-theme-dark .input-group-text {
    background: var(--soft-bg) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .bg-white,
html.mc-theme-dark .bg-light,
html.mc-theme-dark .bg-body,
html.mc-theme-dark .inputbg,
html.mc-theme-dark .table-light,
html.mc-theme-dark .dataTables_wrapper,
html.mc-theme-dark .dataTables_scroll,
html.mc-theme-dark .dataTables_scrollBody,
html.mc-theme-dark .dataTables_scrollHead {
    background: var(--white) !important;
    color: var(--text) !important;
    border-color: var(--border) !important;
}

html.mc-theme-dark h1,
html.mc-theme-dark h2,
html.mc-theme-dark h3,
html.mc-theme-dark h4,
html.mc-theme-dark h5,
html.mc-theme-dark h6,
html.mc-theme-dark label,
html.mc-theme-dark .box-title,
html.mc-theme-dark .modal-title,
html.mc-theme-dark .customer-filter-title strong,
html.mc-theme-dark .reseller-filter-title strong,
html.mc-theme-dark .customer-showing-text,
html.mc-theme-dark .reseller-showing-text,
html.mc-theme-dark .customer-name-btn,
html.mc-theme-dark .reseller-name-btn,
html.mc-theme-dark .domain-name,
html.mc-theme-dark .title,
html.mc-theme-dark .fw-900,
html.mc-theme-dark .fw-bold,
html.mc-theme-dark strong {
    color: var(--text) !important;
}

html.mc-theme-dark p,
html.mc-theme-dark small,
html.mc-theme-dark span,
html.mc-theme-dark .text-muted,
html.mc-theme-dark .customer-meta,
html.mc-theme-dark .reseller-meta,
html.mc-theme-dark .customer-subtitle,
html.mc-theme-dark .reseller-subtitle,
html.mc-theme-dark .customer-filter-title span,
html.mc-theme-dark .reseller-filter-title span,
html.mc-theme-dark .activity-feed-meta,
html.mc-theme-dark .profile-label,
html.mc-theme-dark .detail-label {
    color: var(--text-2) !important;
}

html.mc-theme-dark .form-control,
html.mc-theme-dark .form-select,
html.mc-theme-dark select,
html.mc-theme-dark textarea,
html.mc-theme-dark input[type="text"],
html.mc-theme-dark input[type="email"],
html.mc-theme-dark input[type="password"],
html.mc-theme-dark input[type="number"],
html.mc-theme-dark input[type="search"],
html.mc-theme-dark input[type="date"],
html.mc-theme-dark .select2-container--default .select2-selection--single,
html.mc-theme-dark .select2-dropdown,
html.mc-theme-dark .select2-search__field {
    background: #111B2C !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
    box-shadow: none !important;
}

html.mc-theme-dark .form-control::placeholder,
html.mc-theme-dark input::placeholder,
html.mc-theme-dark textarea::placeholder {
    color: #7F8FA4 !important;
}

html.mc-theme-dark .form-control:focus,
html.mc-theme-dark .form-select:focus,
html.mc-theme-dark input:focus,
html.mc-theme-dark textarea:focus {
    border-color: var(--border) !important;
    box-shadow: none !important;
}

html.mc-theme-dark table,
html.mc-theme-dark table.table,
html.mc-theme-dark .table,
html.mc-theme-dark .customer-table,
html.mc-theme-dark .reseller-table,
html.mc-theme-dark .pricing-table {
    background: var(--white) !important;
    color: var(--text) !important;
    border-color: var(--border) !important;
}

html.mc-theme-dark table.table thead th,
html.mc-theme-dark table.table th,
html.mc-theme-dark .customer-table thead th,
html.mc-theme-dark .reseller-table thead th,
html.mc-theme-dark .pricing-table thead th {
    background: var(--soft-bg) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark table.table td,
html.mc-theme-dark .customer-table tbody td,
html.mc-theme-dark .reseller-table tbody td,
html.mc-theme-dark .pricing-table tbody td {
    background: var(--white) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark table.table tbody tr:hover td,
html.mc-theme-dark .customer-table tbody tr:hover td,
html.mc-theme-dark .reseller-table tbody tr:hover td {
    background: #203149 !important;
}

html.mc-theme-dark .customer-table tbody tr,
html.mc-theme-dark .reseller-table tbody tr,
html.mc-theme-dark .renew-mobile-card,
html.mc-theme-dark .domain-mobile-card,
html.mc-theme-dark .pricing-mobile-card,
html.mc-theme-dark .activity-feed-item {
    background: var(--white) !important;
    border-color: var(--border) !important;
}

html.mc-theme-dark .customer-table tbody td::before,
html.mc-theme-dark .reseller-table tbody td::before,
html.mc-theme-dark table.table td::before {
    color: var(--text-2) !important;
}

html.mc-theme-dark .badge-success,
html.mc-theme-dark .customer-package-assigned,
html.mc-theme-dark .customer-status-active,
html.mc-theme-dark .reseller-status-active,
html.mc-theme-dark .activity-amount,
html.mc-theme-dark .status-active {
    background: #123B2A !important;
    color: #7DE3A1 !important;
    border-color: #245A3F !important;
}

html.mc-theme-dark .badge-danger,
html.mc-theme-dark .customer-package-unassigned,
html.mc-theme-dark .customer-status-inactive,
html.mc-theme-dark .reseller-status-inactive,
html.mc-theme-dark .status-danger,
html.mc-theme-dark .status-inactive {
    background: #451A24 !important;
    color: #FF9BA5 !important;
    border-color: #71303C !important;
}

html.mc-theme-dark .badge-warning,
html.mc-theme-dark .status-warning {
    background: #412B13 !important;
    color: #FFD08A !important;
    border-color: #6B481E !important;
}

html.mc-theme-dark .badge-info,
html.mc-theme-dark .badge-primary,
html.mc-theme-dark .badge-secondary,
html.mc-theme-dark .customer-sl,
html.mc-theme-dark .reseller-sl,
html.mc-theme-dark .domain-pill,
html.mc-theme-dark .pricing-ext-pill,
html.mc-theme-dark .customer-count-pill,
html.mc-theme-dark .reseller-count-pill,
html.mc-theme-dark .customer-action-edit,
html.mc-theme-dark .customer-action-document,
html.mc-theme-dark .reseller-action-edit,
html.mc-theme-dark .reseller-action-document {
    background: #223D5E !important;
    color: #B8DDFF !important;
    border-color: #355B86 !important;
}

html.mc-theme-dark .customer-action-login,
html.mc-theme-dark .customer-action-log,
html.mc-theme-dark .reseller-action-login,
html.mc-theme-dark .reseller-action-log {
    background: #4B3415 !important;
    color: #FFD68A !important;
}

html.mc-theme-dark .customer-action-view,
html.mc-theme-dark .reseller-action-view {
    background: #123B2A !important;
    color: #7DE3A1 !important;
}

html.mc-theme-dark .reseller-action-delete,
html.mc-theme-dark .customer-action-delete,
html.mc-theme-dark .btn-danger {
    background: #451A24 !important;
    border-color: #71303C !important;
    color: #FF9BA5 !important;
}

html.mc-theme-dark .customer-download-btn,
html.mc-theme-dark .reseller-download-btn,
html.mc-theme-dark .customer-reset-btn,
html.mc-theme-dark .reseller-reset-btn,
html.mc-theme-dark .filter-reset-btn,
html.mc-theme-dark .manage-domain-primary,
html.mc-theme-dark .pricing-add-btn {
    background: #F16822 !important;
    border-color: #F16822 !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(241, 104, 34, .22) !important;
}

html.mc-theme-dark .btn-success,
html.mc-theme-dark #domain_csv_download,
html.mc-theme-dark #customerCsvDownload {
    background: #059669 !important;
    border-color: #059669 !important;
    color: #fff !important;
}

html.mc-theme-dark .btn-primary,
html.mc-theme-dark .btn-info,
html.mc-theme-dark .filter-search-btn,
html.mc-theme-dark .customer-page-btn.active,
html.mc-theme-dark .reseller-page-btn.active {
    background: #0D4F7C !important;
    border-color: #0D4F7C !important;
    color: #fff !important;
}

html.mc-theme-dark .btn-light,
html.mc-theme-dark .btn-secondary,
html.mc-theme-dark .customer-page-btn,
html.mc-theme-dark .reseller-page-btn {
    background: #1C2D47 !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .ph,
html.mc-theme-dark .kpi,
html.mc-theme-dark .quick-btn,
html.mc-theme-dark .dashboard-search-card,
html.mc-theme-dark .dash-card,
html.mc-theme-dark .dash-txn-table tr,
html.mc-theme-dark .customer-detail-page .box,
html.mc-theme-dark .customer-detail-grid>[class*="col-"],
html.mc-theme-dark #rendomainlist tr.renew-mobile-row,
html.mc-theme-dark .renew-mobile-card,
html.mc-theme-dark #domain_log_dtls_model .domain-log-item {
    background: var(--white) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .dashboard-search-card .srch-in,
html.mc-theme-dark #rendomainlist select,
html.mc-theme-dark .renew-mobile-price select,
html.mc-theme-dark .customer-detail-page .flexbox select {
    background: #111B2C !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .ph-title,
html.mc-theme-dark .dash-txn-table td,
html.mc-theme-dark .renew-mobile-card-row,
html.mc-theme-dark .renew-mobile-card-row strong,
html.mc-theme-dark #rendomainlist tr.renew-mobile-row td,
html.mc-theme-dark #domain_log_dtls_model .domain-log-message p {
    color: var(--text) !important;
}

html.mc-theme-dark .renew-mobile-card-head span,
html.mc-theme-dark .renew-mobile-card-row span,
html.mc-theme-dark #rendomainlist tr.renew-mobile-row td::before,
html.mc-theme-dark #domain_log_dtls_model .domain-log-stamp span,
html.mc-theme-dark #domain_log_dtls_model .domain-log-stamp small {
    color: var(--text-2) !important;
}

html.mc-theme-dark #rendomainlist td[data-label="Domain"] a,
html.mc-theme-dark #domain_log_dtls_model .domain-log-stamp strong {
    color: #B8DDFF !important;
}

html.mc-theme-dark #domain_log_dtls_model.renew-log-modal .modal-body,
html.mc-theme-dark #domain_log_dtls_model.customer-log-modal .modal-body {
    background: var(--soft-bg) !important;
}

html.mc-theme-dark #domain_log_dtls_model.renew-log-modal .modal-footer,
html.mc-theme-dark #domain_log_dtls_model.customer-log-modal .modal-footer,
html.mc-theme-dark .customer-detail-card .box-footer {
    background: var(--white) !important;
    border-color: var(--border) !important;
}

html.mc-theme-dark button *,
html.mc-theme-dark .btn *,
html.mc-theme-dark [class*="-btn"] *,
html.mc-theme-dark .badge *,
html.mc-theme-dark [class*="badge"] *,
html.mc-theme-dark [class*="status"] *,
html.mc-theme-dark [class*="action"] * {
    color: inherit !important;
}

html.mc-theme-dark .customer-hero,
html.mc-theme-dark .reseller-hero,
html.mc-theme-dark .manage-domain-hero,
html.mc-theme-dark .pricing-hero,
html.mc-theme-dark .move-domain-hero,
html.mc-theme-dark .transfer-flow>.box-header,
html.mc-theme-dark .registration-flow>.box-header,
html.mc-theme-dark .profile-hero,
html.mc-theme-dark .page-hero {
    background: #0D4F7C !important;
    color: #fff !important;
}

html.mc-theme-dark .customer-hero *,
html.mc-theme-dark .reseller-hero *,
html.mc-theme-dark .manage-domain-hero *,
html.mc-theme-dark .pricing-hero *,
html.mc-theme-dark .move-domain-hero *,
html.mc-theme-dark .profile-hero *,
html.mc-theme-dark .page-hero * {
    color: #fff !important;
}

html.mc-theme-dark .modal-backdrop {
    background: #030712 !important;
    opacity: .72 !important;
}

html.mc-theme-dark .dataTables_info,
html.mc-theme-dark .dataTables_length,
html.mc-theme-dark .dataTables_filter,
html.mc-theme-dark .dataTables_paginate {
    color: var(--text-2) !important;
}

@media(max-width: 767px) {

    html.mc-theme-dark .customer-table tbody tr,
    html.mc-theme-dark .reseller-table tbody tr,
    html.mc-theme-dark table.table:has(td[data-label]) tbody tr {
        background: var(--white) !important;
        border-color: var(--border) !important;
        box-shadow: 0 12px 26px rgba(0, 0, 0, .22) !important;
    }

    html.mc-theme-dark .customer-table tbody td,
    html.mc-theme-dark .reseller-table tbody td,
    html.mc-theme-dark table.table:has(td[data-label]) tbody td {
        background: transparent !important;
        border-color: var(--border) !important;
        color: var(--text) !important;
    }
}

/* Final page-level dark-mode fixes for legacy inline styles. Keep this at the end. */
html.mc-theme-dark .sidebar-menu li.active>a,
html.mc-theme-dark .sidebar-menu li.current>a,
html.mc-theme-dark .sidebar-menu .treeview-menu>li.active>a,
html.mc-theme-dark .sidebar-menu .treeview-menu>li.current>a,
html.mc-theme-dark .sidebar-menu .treeview-menu>li>a:hover,
html.mc-theme-dark .sidebar-menu>li>a:hover,
html.mc-theme-dark .sb-link.active,
html.mc-theme-dark .sb-link:hover,
html.mc-theme-dark .mobile-tab.active {
    color: #FFFFFF !important;
}

html.mc-theme-dark .sb-link.active *,
html.mc-theme-dark .sb-link:hover *,
html.mc-theme-dark .mobile-tab.active * {
    color: inherit !important;
}

html.mc-theme-dark .permission-intro,
html.mc-theme-dark .admin-access-panel,
html.mc-theme-dark .admin-access-head,
html.mc-theme-dark .admin-permission-body,
html.mc-theme-dark .permission-group,
html.mc-theme-dark .permission-group-head,
html.mc-theme-dark .permission-check,
html.mc-theme-dark .permission-count-pill {
    background: var(--white) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .admin-access-head:hover,
html.mc-theme-dark .admin-access-panel.permissions-open .admin-access-head,
html.mc-theme-dark .permission-check:hover,
html.mc-theme-dark .permission-check:has(input:checked) {
    background: var(--soft-bg) !important;
    border-color: #355B86 !important;
    color: var(--text) !important;
}

html.mc-theme-dark .admin-access-name,
html.mc-theme-dark .admin-access-name-text,
html.mc-theme-dark .permission-group-title,
html.mc-theme-dark .permission-check-title,
html.mc-theme-dark .fund-search-title strong,
html.mc-theme-dark .fund-start-card strong,
html.mc-theme-dark .fund-empty strong,
html.mc-theme-dark .fund-loader strong,
html.mc-theme-dark .fund-customer-name,
html.mc-theme-dark .fund-detail-item strong,
html.mc-theme-dark .fund-balance-box strong,
html.mc-theme-dark .fund-advanced-title strong,
html.mc-theme-dark .fund-live-summary strong {
    color: var(--text) !important;
}

html.mc-theme-dark .admin-access-email,
html.mc-theme-dark .permission-intro,
html.mc-theme-dark .permission-form-tools,
html.mc-theme-dark .fund-search-title span,
html.mc-theme-dark .fund-start-card span,
html.mc-theme-dark .fund-empty,
html.mc-theme-dark .fund-loader,
html.mc-theme-dark .fund-detail-item small,
html.mc-theme-dark .fund-balance-box small,
html.mc-theme-dark .fund-advanced-title span,
html.mc-theme-dark .fund-live-summary small {
    color: var(--text-2) !important;
}

html.mc-theme-dark .admin-permission-toggle,
html.mc-theme-dark .permission-mark,
html.mc-theme-dark .fund-empty-actions a,
html.mc-theme-dark .fund-quick-amount {
    background: #223D5E !important;
    border-color: #355B86 !important;
    color: #B8DDFF !important;
}

html.mc-theme-dark .permission-check input:checked+.permission-mark,
html.mc-theme-dark .fund-quick-amount:hover,
html.mc-theme-dark .fund-quick-amount.active {
    background: #0D4F7C !important;
    border-color: #0D4F7C !important;
    color: #FFFFFF !important;
}

html.mc-theme-dark .super-admin-banner,
html.mc-theme-dark .fund-search-card,
html.mc-theme-dark .fund-start-card,
html.mc-theme-dark .fund-card,
html.mc-theme-dark .fund-card-body,
html.mc-theme-dark .fund-detail-item,
html.mc-theme-dark .fund-balance-box,
html.mc-theme-dark .fund-advanced-panel,
html.mc-theme-dark .fund-live-summary>div,
html.mc-theme-dark .fund-empty,
html.mc-theme-dark .fund-loader {
    background: var(--white) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .fund-card-header,
html.mc-theme-dark .fund-start-card:hover {
    background: var(--soft-bg) !important;
    border-color: var(--border) !important;
}

html.mc-theme-dark .reseller-package-yes,
html.mc-theme-dark .reseller-api-on {
    background: #123B2A !important;
    color: #7DE3A1 !important;
    border-color: #245A3F !important;
}

html.mc-theme-dark .reseller-package-no {
    background: #451A24 !important;
    color: #FF9BA5 !important;
    border-color: #71303C !important;
}

html.mc-theme-dark .reseller-api-off {
    background: #1B2B40 !important;
    color: #C2CDDB !important;
    border-color: #355B86 !important;
}

html.mc-theme-dark .reseller-package *,
html.mc-theme-dark .reseller-api *,
html.mc-theme-dark .permission-count-pill *,
html.mc-theme-dark .fund-empty-actions a *,
html.mc-theme-dark .fund-quick-amount * {
    color: inherit !important;
}

/* Source: forgot-password.php style block 1 */
.downldmyButton {
    -moz-box-shadow: inset 0px 1px 0px 0px #fff6af;
    -webkit-box-shadow: inset 0px 1px 0px 0px #fff6af;
    box-shadow: inset 0px 1px 0px 0px #fff6af;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffec64), color-stop(1, #ffab23));
    background: -moz-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background: -webkit-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background: -o-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background: -ms-linear-gradient(top, #ffec64 5%, #ffab23 100%);
    background: linear-gradient(to bottom, #ffec64 5%, #ffab23 100%);
    background-color: #ffec64;
    border: 1px solid #D97706;
    display: inline-block;
    cursor: pointer;
    color: #1F2937;
    font-family: Arial;
    font-size: 15px;
    font-weight: bold;
    padding: 4px 10px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #FDE68A;
}

/* Source: header.php style block 1 */
/* Role badge pill in topbar */
.tb-urole {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.role-pill {
    display: inline-block;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.role-super {
    background: #F1682222;
    color: #C44F17;
}

.role-admin {
    background: #1C3E6E22;
    color: #1C3E6E;
}

.role-reseller {
    background: #F1682222;
    color: #C44F17;
}

.role-customer {
    background: #1C3E6E22;
    color: #1C3E6E;
}

/* Balance chip */
.tb-balance {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #F16822;
    font-family: "Urbanist", sans-serif !important;
    border-radius: 8px;
    padding: 5px 12px;
    margin-right: 6px;
    white-space: nowrap;
}

.tb-theme-toggle {
    gap: 7px;
    font-weight: 700;
}

.tb-theme-toggle .theme-label {
    font-size: 11px;
}

.mc-notif-wrap {
    position: relative;
    display: inline-flex;
}

.mc-notif-btn {
    position: relative;
}

.mc-notif-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    padding: 0 5px;
    display: none;
    align-items: center;
    justify-content: center;
    background: #F16822;
    color: #fff;
    border: 2px solid var(--white);
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
}

.mc-notif-wrap.has-unread .mc-notif-badge {
    display: inline-flex;
}

.mc-notif-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 1055;
    width: min(360px, calc(100vw - 24px));
    max-height: min(520px, calc(100vh - 90px));
    display: none;
    flex-direction: column;
    overflow: hidden;
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 22px 48px rgba(15, 23, 42, .18);
}

.mc-notif-wrap.open .mc-notif-panel {
    display: flex;
}

.mc-notif-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--soft-bg);
}

.mc-notif-head strong {
    font-size: 13px;
    font-weight: 700;
}

.mc-notif-mark {
    border: 0;
    background: transparent;
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    padding: 0;
    white-space: nowrap;
    cursor: pointer;
}

.mc-notif-perm-btn {
    border: 0;
    background: #0d4f7c;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
    cursor: pointer;
    transition: all .15s ease;
}

.mc-notif-perm-btn:hover {
    background: #083757;
}

.mc-notif-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 9px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.mc-notif-summary span {
    display: block;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px;
    color: var(--text-2);
    font-size: 10px;
    font-weight: 800;
    text-align: center;
}

.mc-notif-summary b {
    display: block;
    color: var(--text);
    font-size: 15px;
    line-height: 1.1;
}

.mc-notif-list {
    overflow: auto;
    max-height: 380px;
}

.mc-notif-item {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 11px 13px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    background: var(--white);
}

.mc-notif-item:hover {
    background: var(--soft-bg);
    color: var(--text);
    text-decoration: none;
}

.mc-notif-item:hover .mc-notif-body strong,
.mc-notif-item:hover .mc-notif-body small,
.mc-notif-item:hover .mc-notif-body em {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.mc-notif-item.unread {
    background: #f1fbf7;

}

.mc-notif-item.important {
    background: #fff8ed;
}

.mc-notif-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eaf2f8;
    color: #0d4f7c;
}

.mc-notif-icon.chat {
    background: #dff8ef;
    color: #008069;
}

.mc-notif-icon.action {
    background: #fff1dc;
    color: #c55a10;
}

.mc-notif-body {
    min-width: 0;
    display: block;
}

.mc-notif-body strong,
.mc-notif-body small,
.mc-notif-body em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mc-notif-body strong {
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

.mc-notif-body small {
    color: var(--text-2);
    font-size: 11px;
    margin-top: 2px;
}

.mc-notif-body em {
    color: var(--text-3);
    font-size: 10px;
    font-style: normal;
    margin-top: 2px;
}

.mc-notif-count {
    min-width: 19px;
    height: 19px;
    align-self: center;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    background: #16c784;
    color: #062316;
    font-size: 10px;
    font-weight: 700;
}

.mc-notif-empty {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--text-3);
    text-align: center;
    padding: 20px;
}

.mc-notif-empty i {
    font-size: 30px;
    color: var(--border);
}

.mc-notif-empty strong {
    color: var(--text-2);
    font-size: 13px;
}

html.mc-theme-dark .mc-notif-badge {
    border-color: #0d1b2a;
}

html.mc-theme-dark .mc-notif-panel,
html.mc-theme-dark .mc-notif-summary,
html.mc-theme-dark .mc-notif-item {
    background: var(--white);
    border-color: var(--border);
}

html.mc-theme-dark .mc-notif-head {
    background: #102237;
    border-color: var(--border);
}

html.mc-theme-dark .mc-notif-item.unread {
    background: #0f2f27;
}

html.mc-theme-dark .mc-notif-item.important {
    background: #302213;
}

html.mc-theme-dark .mc-notif-icon {
    background: #17314f;
    color: #9ed3ff;
}

html.mc-theme-dark .mc-notif-icon.chat {
    background: #073c35;
    color: #2dd4bf;
}

html.mc-theme-dark .mc-notif-icon.action {
    background: #362311;
    color: #f59e0b;
}

@media (max-width: 575px) {
    .mc-notif-panel {
        position: fixed;
        top: 64px;
        right: 8px;
        left: 8px;
        width: auto;
        max-height: calc(100vh - 84px);
    }

    .mc-notif-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.mc-notif-showall {
    border: 0;
    background: transparent;
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    padding: 0;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

.mc-notif-showall:hover {
    text-decoration: underline;
    color: var(--blue);
}

.mc-notif-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    border-top: 1px solid var(--border);
    background: var(--soft-bg);
}

.mc-notif-foot a {
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.mc-notif-foot a:hover {
    text-decoration: underline;
}

.mc-notif-delall {
    border: 1px solid #e9b3b3;
    background: #fff;
    color: #d6362f;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 7px;
    white-space: nowrap;
    cursor: pointer;
    transition: all .15s ease;
}

.mc-notif-delall:hover {
    background: #d6362f;
    border-color: #d6362f;
    color: #fff;
}

.mc-notif-delall:disabled {
    opacity: .45;
    cursor: not-allowed;
}

html.mc-theme-dark .mc-notif-delall {
    background: #30201f;
    border-color: #5c312e;
    color: #ff8a80;
}

html.mc-theme-dark .mc-notif-delall:hover {
    background: #d6362f;
    border-color: #d6362f;
    color: #fff;
}

/* Sidebar portal user sections */
.sb-divider {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .7px;
    padding: 14px 16px 4px;
}

/* Source: index.php style block 1 */
body.login-page {
    --primary: #1C3E6E;
    --primary-dark: #142F55;
    --accent: #F16822;
    --page-bg: #F4F7FA;
    --border: #D9E1EA;
    --text: #1F2937;
}

body.login-page {
    background: var(--page-bg) !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrap {
    width: 100%;
    max-width: 430px;
    padding: 16px;
}

.login-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(28, 62, 110, .14);
    overflow: hidden;
}

.login-top {
    background: #fff;
    border-top: 6px solid var(--accent);
    border-bottom: 1px solid var(--border);
    padding: 26px 32px 20px;
    text-align: center;
}

.login-top img {
    height: 52px;
    margin-bottom: 12px;
}

.login-top h2 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 800;
    margin: 0;
}

.login-top p {
    color: #64748b;
    font-size: 13px;
    margin: 6px 0 0;
}

.login-body {
    padding: 28px 32px 32px;
}

.login-body .form-group {
    margin-bottom: 16px;
}

.login-body label {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
    display: block;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.login-body .input-group-text {
    background: #f8fafc;
    border-color: var(--border);
    color: var(--primary);
}

.login-body .form-control {
    border-color: var(--border);
    font-size: 14px;
    height: 44px;
}

.login-body .form-control:focus {
    border-color: var(--border);
    box-shadow: none;
}

.login-password-group {
    position: relative;
}

.login-password-group .form-control {
    padding-right: 48px;
}

.login-password-toggle {
    position: absolute;
    right: 7px;
    top: 50%;
    z-index: 5;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}

.login-password-toggle:hover,
.login-password-toggle:focus {
    background: #e8f4ff;
    color: var(--primary);
    outline: none;
}

.login-btn {
    width: 100%;
    height: 46px;
    background: var(--primary);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
    margin-top: 6px;
}

.login-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.login-error {
    background: #fff0f0;
    border: 1px solid #fecdd3;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #b91c1c;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-otp-status {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #14532d;
    padding: 12px 14px;
    margin-bottom: 16px;
}

.login-otp-status-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #dcfce7;
    color: #15803d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
}

.login-otp-status strong {
    display: block;
    font-size: 13px;
    line-height: 1.35;
}

.login-otp-status span {
    display: block;
    color: #3f6f56;
    font-size: 12px;
    line-height: 1.45;
    margin-top: 2px;
}

.login-otp-debug {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff7ed;
    border: 1px dashed #fb923c;
    border-radius: 8px;
    color: #9a3412;
    padding: 10px 12px;
    margin: -4px 0 16px;
}

.login-otp-debug span {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.login-otp-debug strong {
    font-size: 22px;
    letter-spacing: 5px;
    font-weight: 700;
    color: #c2410c;
}

#loginOtpTimer {
    color: var(--primary);
}

#loginOtpTimer.login-otp-expired {
    color: #b91c1c;
}

.login-resend-btn:disabled {
    cursor: not-allowed;
    opacity: .68;
    transform: none;
}

.login-roles {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px;
}

.login-role {
    flex: 1;
    text-align: center;
    padding: 8px 4px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
}

.login-role i {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}

.lr-sa,
.lr-r {
    color: var(--accent);
}

.lr-a,
.lr-c {
    color: var(--primary);
}

.forgot-link {
    display: block;
    text-align: center;
    margin-top: 14px;
    font-size: 13px;
    color: #64748b;
}

.forgot-link a {
    color: var(--primary);
}

@media(max-width:480px) {
    .login-top {
        padding: 20px 20px 16px;
    }

    .login-body {
        padding: 20px 20px 24px;
    }
}

/* Source: kyc-mobile.php style block 1 */
body.kyc-mobile-page {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    color: #f8fafc;
}

.kyc-mobile-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.kyc-mobile-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    color: #1e293b;
    padding: 24px;
    animation: kycSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.kyc-mobile-header {
    text-align: center;
    margin-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 16px;
}

.kyc-mobile-logo {
    font-size: 28px;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.kyc-mobile-logo span {
    color: #f97316;
}

.kyc-mobile-subtitle {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

/* Mobile overrides for KYC card layout */
.kyc-cards-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
}

.kyc-verification-panel {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}

.kyc-panel-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin-bottom: 20px !important;
}

.kyc-panel-header h4 {
    font-size: 18px !important;
}

.kyc-panel-header p {
    font-size: 12px !important;
}

.kyc-card {
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
}

.kyc-result-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 16px;
}

.kyc-result-card.kyc-fail {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.kyc-result-card.kyc-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.kyc-result-card i {
    margin-bottom: 16px;
}

.kyc-result-card h4 {
    font-weight: 700;
    margin-bottom: 10px;
}

.kyc-result-card p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.kyc-page {
    padding-bottom: 24px;
}

.kyc-box {
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.kyc-hero {
    display: grid;
    grid-template-columns: minmax(260px, .75fr) minmax(520px, 1.25fr);
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
    margin-bottom: 16px;
    background: var(--admin-card-bg);
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    box-shadow: var(--admin-shadow-sm);
}

.kyc-title {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.kyc-title i {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #ffffff;
    background: rgb(6, 65, 109);
    box-shadow: 0 8px 20px rgba(6, 65, 109, .18);
    font-size: 17px;
}

.kyc-title h4 {
    margin: 0 0 4px;
    color: var(--admin-text);
    font-size: 18px;
    font-weight: 800;
}

.kyc-title p {
    margin: 0;
    color: var(--admin-text-muted);
    font-size: 13px;
    line-height: 1.45;
}

.kyc-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(86px, 1fr));
    gap: 10px;
    width: 100%;
    font-family: Urbanist, sans-serif !important;
    min-width: 0;
}

.kyc-stat {
    min-width: 0;
    min-height: 68px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--admin-card-bg);
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.kyc-stat:hover {
    transform: translateY(-1px);
    border-color: rgba(6, 65, 109, .35);
    box-shadow: 0 5px 14px rgba(15, 23, 42, .06);
}

.kyc-stat strong {
    display: block;
    font-size: 22px;
    line-height: 1;
    color: rgb(6, 65, 109);
    font-weight: 800;
}

.kyc-stat span {
    display: block;
    margin-top: 7px;
    color: var(--admin-text-muted);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: .45px;
}

.kyc-stat-pending strong,
.kyc-stat-docs strong {
    color: #b45309;
}

.kyc-stat-rejected strong {
    color: #dc2626;
}

.kyc-stat-verified strong {
    color: #15803d;
}

body.kyc-requests-page,
body.kyc-requests-page .wrapper {
    min-height: 100dvh;
    height: auto !important;
}

body.kyc-requests-page {
    overflow-y: auto !important;
}

body.kyc-requests-page .wrapper,
body.kyc-requests-page .content-wrapper,
body.kyc-requests-page .container-full,
body.kyc-requests-page .content,
body.kyc-requests-page .kyc-page,
body.kyc-requests-page .kyc-box {
    overflow: visible !important;
}

body.kyc-requests-page .content-wrapper {
    min-height: calc(100dvh - var(--topbar-h, 64px));
}

body.kyc-requests-page .content {
    width: 100%;
    max-width: 100%;
    padding: 18px 20px 80px !important;
}

body.kyc-requests-page .filter-card {
    padding: 16px 18px;
    margin-bottom: 16px;
    border-radius: 3px !important;
}

body.kyc-requests-page .filter-card-header {
    margin-bottom: 14px;
}

body.kyc-requests-page #kycFilterForm.kyc-filter-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

body.kyc-requests-page #kycFilterForm .filter-field,
body.kyc-requests-page #kycFilterForm .kyc-filter-submit {
    min-width: 0;
    font-family: "Urbanist", sans-serif;
}

body.kyc-requests-page #kycFilterForm .kyc-filter-search {
    grid-column: span 4;
}

body.kyc-requests-page #kycFilterForm .kyc-filter-status,
body.kyc-requests-page #kycFilterForm .kyc-filter-account,
body.kyc-requests-page #kycFilterForm .kyc-filter-document,
body.kyc-requests-page #kycFilterForm .kyc-filter-sort {
    grid-column: span 2;
}

body.kyc-requests-page #kycFilterForm .kyc-filter-submit {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

body.kyc-requests-page #kycFilterForm .form-control-modern,
body.kyc-requests-page #kycFilterForm .form-select-modern,
body.kyc-requests-page #kycFilterForm .btn-primary-modern {
    height: 42px;
    min-height: 42px;
    border-radius: 8px !important;
}

body.kyc-requests-page #kycFilterForm .btn-primary-modern {
    min-width: 150px;
    white-space: nowrap;
}

.kyc-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 2px 2px 10px;
}

.kyc-list-header h5 {
    margin: 0 0 3px;
    color: var(--admin-text);
    font-size: 15px;
    font-weight: 800;
}

.kyc-list-header p {
    margin: 0;
    color: var(--admin-text-muted);
    font-size: 12px;
}

.kyc-result-count {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 11px;
    border-radius: 999px;
    color: rgb(6, 65, 109);
    background: rgba(6, 65, 109, .08);
    border: 1px solid rgba(6, 65, 109, .12);
    font-size: 11px;
    font-weight: 800;
}

body.kyc-requests-page #kycTableBody.modern-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    overflow: visible !important;
}

.kyc-request-card {
    min-width: 0;
    overflow: hidden;
    background: var(--admin-card-bg);
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    box-shadow: var(--admin-shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.kyc-request-card:hover {
    transform: translateY(-1px);
    border-color: rgba(6, 65, 109, .28);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .07);
}

.kyc-request-top {
    display: grid;
    grid-template-columns: minmax(300px, 1.25fr) minmax(320px, .85fr) auto;
    align-items: center;
    gap: 18px;
    min-width: 0;
    padding: 16px 18px;
}

.kyc-person-block {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.kyc-avatar {
    width: 46px;
    height: 46px;
}

.kyc-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.kyc-person-content {
    min-width: 0;
}

.kyc-person-name {
    display: inline-block;
    max-width: 100%;
    color: var(--admin-text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.kyc-person-name:hover {
    color: rgb(6, 65, 109);
}

.kyc-person-primary-meta,
.kyc-contact-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 12px;
    min-width: 0;
    margin-top: 4px;
    color: var(--admin-text-muted);
    font-size: 11px;
    line-height: 1.35;
}

.kyc-person-primary-meta span,
.kyc-contact-row span {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.kyc-person-primary-meta i,
.kyc-contact-row i {
    width: 13px;
    text-align: center;
    color: #6b8297;
}

.kyc-request-summary {
    display: grid;
    grid-template-columns: minmax(110px, .7fr) minmax(180px, 1.3fr);
    gap: 12px;
    min-width: 0;
}

.kyc-summary-field,
.kyc-detail-cell {
    min-width: 0;
}

.kyc-field-label {
    display: block;
    margin-bottom: 5px;
    color: var(--admin-text-muted);
    font-size: 9px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .55px;
}

.kyc-document-name,
.kyc-detail-cell>strong {
    display: block;
    max-width: 100%;
    color: var(--admin-text);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.kyc-status-wrap {
    min-width: 0;
}

.kyc-status-wrap .kyc-badge,
.kyc-status-wrap .status-badge {
    max-width: 100%;
    white-space: normal;
    line-height: 1.25;
}

.kyc-review-action {
    display: flex;
    align-self: stretch;
}

.kyc-review-btn {
    min-width: 88px;
    height: 100%;
    min-height: 54px;
    padding: 8px 12px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    transition: all .16s ease;
}

.kyc-review-btn i {
    font-size: 14px;
}

.kyc-review-btn:hover {
    color: #ffffff;
    background: #059669;
    border-color: #059669;
    transform: translateY(-1px);
}

.kyc-detail-grid {
    display: grid;
    grid-template-columns: minmax(120px, .75fr) minmax(170px, 1fr) minmax(150px, .9fr) minmax(260px, 1.8fr);
    gap: 0;
    min-width: 0;
    background: rgba(248, 250, 252, .72);
    border-top: 1px solid var(--admin-border);
}

.kyc-detail-cell {
    padding: 12px 16px;
    border-right: 1px solid var(--admin-border);
}

.kyc-detail-cell:last-child {
    border-right: 0;
}

.kyc-notes-cell p {
    display: -webkit-box;
    margin: 0;
    max-width: 100%;
    overflow: hidden;
    color: var(--admin-text);
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.kyc-account-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
    white-space: normal;
}

.kyc-account-badge.customer {
    color: #0369a1;
    background: #e0f2fe;
}

.kyc-account-badge.reseller {
    color: #c2410c;
    background: #ffedd5;
}

.kyc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
}

.kyc-badge-none {
    color: var(--admin-text-muted);
    background: var(--admin-bg);
    border: 1px solid var(--admin-border);
}

.kyc-badge-pending,
.kyc-badge-partial {
    color: #b45309;
    background: #fef3c7;
    word-break: break-all;
    width: 100%;
    display: block;
}

.kyc-badge-verified {
    color: #15803d;
    background: #dcfce7;
}

.kyc-badge-failed {
    color: #b91c1c;
    background: #fee2e2;
}

.kyc-loader {
    display: none;
    margin: 0 0 12px;
    padding: 12px 14px;
    color: rgb(6, 65, 109);
    background: rgba(6, 65, 109, .06);
    border: 1px solid rgba(6, 65, 109, .12);
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
}

.kyc-empty {
    padding: 42px 18px;
    text-align: center;
    color: var(--admin-text-muted);
    background: var(--admin-card-bg);
    border: 1px dashed var(--admin-border);
    border-radius: 12px;
}

.kyc-empty i {
    display: block;
    margin-bottom: 10px;
    color: var(--admin-text-muted);
    font-size: 32px;
    opacity: .5;
}

.kyc-empty h5 {
    margin: 0 0 6px;
    color: var(--admin-text);
    font-size: 15px;
    font-weight: 800;
}

.kyc-empty p {
    margin: 0;
    font-size: 12px;
}

html.mc-theme-dark .kyc-detail-grid {
    background: rgba(15, 23, 42, .32);
}

html.mc-theme-dark .kyc-review-btn {
    color: #34d399;
    background: rgba(16, 185, 129, .16);
    border-color: rgba(52, 211, 153, .25);
}

@media (max-width: 1399px) {
    .kyc-hero {
        grid-template-columns: 1fr;
    }

    body.kyc-requests-page #kycFilterForm .kyc-filter-search {
        grid-column: span 6;
    }

    body.kyc-requests-page #kycFilterForm .kyc-filter-status,
    body.kyc-requests-page #kycFilterForm .kyc-filter-account,
    body.kyc-requests-page #kycFilterForm .kyc-filter-document,
    body.kyc-requests-page #kycFilterForm .kyc-filter-sort {
        grid-column: span 3;
    }

    body.kyc-requests-page #kycFilterForm .kyc-filter-submit {
        grid-column: span 6;
        justify-content: stretch;
    }

    body.kyc-requests-page #kycFilterForm .kyc-filter-submit .btn-primary-modern {
        flex: 1 -1 0;
    }

    .kyc-request-top {
        grid-template-columns: minmax(280px, 1fr) minmax(300px, .85fr) auto;
    }
}

@media (max-width: 1199px) {
    .kyc-request-top {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .kyc-request-summary {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-top: 12px;
        border-top: 1px solid var(--admin-border);
    }

    .kyc-detail-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .kyc-notes-cell {
        grid-column: 1 / -1;
        border-top: 1px solid var(--admin-border);
    }

    .kyc-detail-cell:nth-child(3) {
        border-right: 0;
    }
}

@media (max-width: 991px) {
    body.kyc-requests-page .content {
        padding: 12px 12px 92px !important;
    }

    body.kyc-requests-page #kycFilterForm .kyc-filter-search,
    body.kyc-requests-page #kycFilterForm .kyc-filter-submit {
        grid-column: 1 / -1;
    }

    body.kyc-requests-page #kycFilterForm .kyc-filter-status,
    body.kyc-requests-page #kycFilterForm .kyc-filter-account,
    body.kyc-requests-page #kycFilterForm .kyc-filter-document,
    body.kyc-requests-page #kycFilterForm .kyc-filter-sort {
        grid-column: span 6;
    }
}

@media (max-width: 767px) {
    .kyc-hero {
        padding: 15px;
    }

    .kyc-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.kyc-requests-page .filter-card-header,
    .kyc-list-header {
        align-items: flex-start;
        flex-direction: column;
    }

    body.kyc-requests-page .kyc-filter-actions,
    body.kyc-requests-page .filter-clear-btn {
        width: 100%;
    }

    .kyc-request-top {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .kyc-request-summary,
    .kyc-review-action {
        grid-column: 1;
    }

    .kyc-review-btn {
        width: 100%;
        min-height: 42px;
        flex-direction: row;
    }

    .kyc-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kyc-detail-cell,
    .kyc-detail-cell:nth-child(3) {
        border-right: 0;
        border-bottom: 1px solid var(--admin-border);
    }

    .kyc-detail-cell:nth-child(odd):not(.kyc-notes-cell) {
        border-right: 1px solid var(--admin-border);
    }

    .kyc-notes-cell {
        grid-column: 1 / -1;
        border-bottom: 0;
    }
}

@media (max-width: 575px) {
    body.kyc-requests-page .content {
        padding: 10px 8px 96px !important;
    }

    .kyc-title {
        align-items: flex-start;
    }

    .kyc-title i {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .kyc-title h4 {
        font-size: 16px;
    }

    .kyc-title p {
        font-size: 12px;
    }

    .kyc-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.kyc-requests-page #kycFilterForm .kyc-filter-search,
    body.kyc-requests-page #kycFilterForm .kyc-filter-status,
    body.kyc-requests-page #kycFilterForm .kyc-filter-account,
    body.kyc-requests-page #kycFilterForm .kyc-filter-document,
    body.kyc-requests-page #kycFilterForm .kyc-filter-sort,
    body.kyc-requests-page #kycFilterForm .kyc-filter-submit {
        grid-column: 1 / -1;
    }

    body.kyc-requests-page #kycFilterForm .kyc-filter-submit {
        display: grid;
        grid-template-columns: 1fr;
    }

    body.kyc-requests-page #kycFilterForm .btn-primary-modern {
        width: 100%;
        min-width: 0;
    }

    .kyc-request-summary,
    .kyc-detail-grid {
        grid-template-columns: 1fr;
    }

    .kyc-summary-status {
        padding-top: 11px;
        border-top: 1px solid var(--admin-border);
    }

    .kyc-detail-cell,
    .kyc-detail-cell:nth-child(odd):not(.kyc-notes-cell) {
        border-right: 0;
        border-bottom: 1px solid var(--admin-border);
    }

    .kyc-detail-cell:last-child {
        border-bottom: 0;
    }

    .kyc-person-primary-meta,
    .kyc-contact-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .kyc-result-count {
        width: 100%;
    }
}

/* Source: manage-domain.php style block 1 */
.nocorner {
    border-radius: 0px;
}

.heightscroll {
    max-height: 550px;
    overflow-y: auto;
    overflow-x: hidden;
    float: left;
    display: block;
    width: 100%;

}

.inputbg {
    background-color: #eee;
}

.form-control-borderless {
    border: none;
}

.form-control-borderless:hover,
.form-control-borderless:active,
.form-control-borderless:focus {
    border: none;
    outline: none;
    box-shadow: none;
}

.domain-filter-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px 16px 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .03);
}

.domain-filter-card .row {
    margin-left: -6px;
    margin-right: -6px;
}

.domain-filter-card [class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
    margin-bottom: 12px;
}

.domain-filter-card label {
    display: block;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 7px;
}

.domain-filter-card .form-control,
.domain-filter-card .form-select {
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 7px;
    color: var(--text);
    background-color: var(--white);
    box-shadow: none;
}

.domain-filter-card .form-control:focus,
.domain-filter-card .form-select:focus {
    border-color: var(--border);
    box-shadow: none;
}

.filter-action-col {
    padding-top: 26px;
}

.filter-search-btn {
    height: 40px;
    background: #06466f;
    color: #fff;
    border: 0;
    border-radius: 5px;
}

.filter-search-btn:hover,
.filter-search-btn:focus {
    background: #003a5d;
    color: #fff;
}

.filter-reset-btn {
    height: 40px;
    background: #ff6f2c;
    color: #fff;
    border: 0;
    border-radius: 5px;
}

.filter-reset-btn:hover,
.filter-reset-btn:focus {
    background: #f15f1d;
    color: #fff;
}

.domain-ajax-loading {
    opacity: .45;
    pointer-events: none;
    position: relative;
}

.domain-ajax-loading:after {
    content: "Loading...";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--white) 78%, transparent);
    color: var(--blue);
    font-weight: 700;
    z-index: 5;
}

#domain_log_dtls_model.app-log-modal.show {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 18px !important;
    pointer-events: auto !important;
}

#domain_log_dtls_model.app-log-modal .modal-dialog {
    width: min(92vw, 860px) !important;
    max-width: min(92vw, 860px) !important;
    margin: 0 auto !important;
    position: relative !important;
    transform: none !important;
}

#domain_log_dtls_model.app-log-modal .modal-content {
    max-height: min(82vh, 760px) !important;
    border: 0 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: 0 28px 70px rgba(15, 23, 42, .32) !important;
}

#domain_log_dtls_model.app-log-modal .modal-header {
    min-height: 72px !important;
    border: 0 !important;
    padding: 18px 22px !important;
    background: radial-gradient(circle at 12% 18%, rgba(241, 104, 34, .22), transparent 28%), linear-gradient(135deg, #073b61 0%, #0b527e 56%, #123047 100%) !important;
}

#domain_log_dtls_model.app-log-modal .modal-title {
    color: #fff !important;
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
}

#domain_log_dtls_model.app-log-modal .modal-title span {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, .82) !important;
    font-size: 14px;
    word-break: break-word;
}

#domain_log_dtls_model.app-log-modal .btn-close {
    width: 38px !important;
    height: 38px !important;
    border-radius: 13px !important;
    background-color: rgba(255, 255, 255, .16) !important;
    opacity: 1 !important;
    filter: invert(1) grayscale(1);
}

#domain_log_dtls_model.app-log-modal .modal-body {
    padding: 18px !important;
    background: var(--white) !important;
    text-align: left !important;
    max-height: calc(82vh - 150px) !important;
    overflow: auto !important;
}

#domain_log_dtls_model.app-log-modal .modal-footer {
    padding: 14px 18px !important;
    border-top: 1px solid var(--border) !important;
    background: var(--soft-bg) !important;
}

#domain_log_dtls_model.app-log-modal .modal-footer .btn {
    min-width: 110px;
    border-radius: 3px !important;
}

.domain-log-list {
    display: grid !important;
    gap: 12px !important;
}

.domain-log-item {
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 14px !important;
    border: 1px solid var(--border) !important;
    border-radius: 17px !important;
    background: var(--white) !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .055) !important;
}

.domain-log-stamp {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 3px !important;
    padding: 12px !important;
    border-radius: 3px !important;
    background: var(--soft-bg) !important;
}

.domain-log-stamp span {
    color: #7c8da3 !important;
    font-size: 9px !important;
    font-weight: 900 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
}

.domain-log-stamp strong {
    color: var(--blue) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}

.domain-log-stamp small {
    color: var(--text-2) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

.domain-log-message {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    min-width: 0 !important;
}

.domain-log-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #e0f2fe !important;
    color: #075985 !important;
    flex: 0 0 auto !important;
}

.domain-log-message p {
    margin: 7px 0 0 !important;
    color: var(--text) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    word-break: break-word !important;
}

.domain-log-empty {
    min-height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    border: 1px dashed var(--border);
    border-radius: 18px;
    background: var(--white);
    color: var(--text-2);
    text-align: center;
}

.domain-log-loader {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: #0b527e;
    font-weight: 700;
}

.domain-log-loader span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 4px solid #d8eef9;
    border-top-color: #0b527e;
    animation: domainLogSpin .8s linear infinite;
}

@keyframes domainLogSpin {
    to {
        transform: rotate(360deg);
    }
}

#domain-list-box .box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background-color: #003b5b !important;
}

#domain-list-box .box-header .box-title {
    width: auto !important;
    float: none !important;
    padding-top: 0 !important;
    margin: 0;
}

#domain-list-box .box-header .box-body {
    width: auto;
    padding: 0 !important;
}

#domain-list-box .box-header .flexbox {
    float: right !important;
}

.manage-domain-page {
    padding-top: 14px !important
}

.manage-domain-shell {
    width: min(1080px, 100%);
    margin: 0 auto
}

.manage-domain-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
    padding: 20px 24px;
    border-radius: 14px 14px 0 0;
    background: #0b4f7a;
    color: #fff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .08)
}

.manage-domain-title {
    display: flex;
    align-items: center;
    gap: 14px
}

.manage-domain-icon {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .14);
    font-size: 22px
}

.manage-domain-kicker {
    display: block;
    color: #cfe5f6;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 400;
    font-family: "Rubik", sans-serif;
    text-transform: uppercase
}

.manage-domain-title h3 {
    margin: 0 0 5px 0;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1
}

.manage-domain-title p {
    margin: 0;
    color: #e6f2fb;
    font-size: 13px;
    font-family: "Rubik", sans-serif;
    font-weight: 400;
    line-height: 1.35
}

.manage-domain-hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end
}

.manage-domain-scope {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #e6f2fb;
    font-size: 12px;
    font-weight: 900;
    font-family: "Urbanist", sans-serif !important;
}

.manage-domain-primary {
    display: inline-flex;
    align-items: center;
    font-family: "Urbanist", sans-serif !important;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 9px;
    background: #ff6b2c;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none
}

.domain-filter-card {
    margin-bottom: 14px !important;
    padding: 16px !important;
    border: 1px solid #dce8f2 !important;
    border-radius: 0 0 14px 14px !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .05) !important
}

.domain-filter-card label {
    color: var(--text) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    font-family: "Urbanist", sans-serif !important;
    letter-spacing: .02em
}

.domain-filter-card .form-control,
.domain-filter-card .form-select {
    height: 42px !important;
    border-radius: 3px !important;
    color: var(--text) !important;
    font-size: 13px !important;
    /* font-weight: 700 !important; */
}

.filter-action-col {
    padding-top: 25px !important
}

.filter-search-btn,
.filter-reset-btn {
    height: 42px !important;
    border-radius: 3px !important;
    font-weight: 900 !important
}

#domain-list-box {
    overflow: hidden !important;
    border: 1px solid var(--border) !important;
    border-radius: 3px !important;
    background: var(--white) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .055) !important
}

#domain-list-box .box-header {
    padding: 16px 18px !important;
    background: var(--white) !important;
    border-bottom: 1px solid var(--border) !important
}

.domain-list-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0
}

.domain-list-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    border-radius: 12px;
    background: #fff0e8;
    color: #ff6b2c;
    font-size: 17px
}

.domain-list-heading .box-title {
    color: var(--text) !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important
}

.domain-list-heading p {
    margin: 3px 0 0;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 700
}

#domain_csv_download {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 13px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #039447 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: none !important
}

#domain-list-content .box-body.no-padding {
    padding: 0 !important
}

#domain-list-box .table-responsive {
    padding: 0 16px 12px !important
}

#regdomainlist {
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important
}

#regdomainlist tbody>tr:first-child th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 12px 10px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--border) !important;
    background: var(--soft-bg) !important;
    color: var(--text) !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: .03em;
    white-space: nowrap
}

#regdomainlist tbody>tr:not(:first-child) {
    transition: background .15s ease
}

#regdomainlist tbody>tr:not(:first-child):hover {
    background: var(--soft-bg) !important
}

#regdomainlist tbody>tr:not(:first-child) td {
    padding: 12px 10px !important;
    border-top: 1px solid var(--border) !important;
    color: var(--text) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    vertical-align: middle !important
}

#regdomainlist td[data-label="Domain"] a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #eef7ff;
    color: #0b4f7a !important;
    font-weight: 900 !important;
    text-decoration: none
}

#regdomainlist td[data-label="Customer"] a {
    color: var(--text) !important;
    font-weight: 900 !important;
    text-decoration: none
}

#regdomainlist td[data-label="Customer"] span {
    color: var(--text-2) !important;
    font-size: 11px !important;
    font-weight: 700 !important
}

#regdomainlist td[data-label="Reg. Type"] span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef7ff;
    font-size: 11px;
    font-weight: 900
}

#regdomainlist .badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 4px 9px !important;
    font-size: 10px !important;
    font-weight: 900 !important
}

#regdomainlist .badge-success {
    background: #dcfce7 !important;
    color: #04783b !important
}

#regdomainlist .badge-secondary {
    background: #f1f5f9 !important;
    color: #475569 !important
}

#regdomainlist .badge-danger {
    background: #ffe4e6 !important;
    color: #be123c !important
}

#regdomainlist .badge-warning {
    background: #fff7ed !important;
    color: #c2410c !important
}

#regdomainlist .badge-info {
    width: 28px;
    height: 28px;
    padding: 0 !important;
    background: #eef7ff !important;
    color: #0b4f7a !important
}

#domain-list-content>div[style*="text-align:right"] {
    padding: 0 16px 14px !important
}

@media(max-width:767px) {
    .manage-domain-page {
        padding: 10px !important
    }

    .manage-domain-hero {
        display: grid;
        grid-template-columns: 1fr;
        gap: 11px;
        margin-bottom: 10px;
        padding: 16px;
        border-radius: 8px;
    }

    .manage-domain-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 33px;
        font-size: 18px
    }

    .manage-domain-title h3 {
        font-size: 18px
    }

    .manage-domain-title p {
        font-size: 10px;
    }

    .manage-domain-hero-actions {
        justify-content: flex-start
    }

    .manage-domain-scope,
    .manage-domain-primary {
        width: 100%;
        font-weight: 600;
        justify-content: center;
        font-family: "Urbanist", sans-serif !important;
    }

    .domain-filter-card {
        border-radius: 3px !important;
        padding: 12px !important
    }

    .filter-action-col {
        padding-top: 0 !important
    }

    #domain_log_dtls_model.app-log-modal.show {
        align-items: flex-end !important;
        padding: 8px !important;
    }

    #domain_log_dtls_model.app-log-modal .modal-dialog {
        width: 100% !important;
        max-width: 100% !important;
    }

    #domain_log_dtls_model.app-log-modal .modal-content {
        max-height: calc(100dvh - 16px) !important;
        border-radius: 24px 24px 18px 18px !important;
    }

    #domain_log_dtls_model.app-log-modal .modal-body {
        max-height: calc(100dvh - 164px) !important;
        padding: 12px !important;
    }

    .domain-log-item {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 12px !important;
    }

    .domain-log-stamp {
        display: grid !important;
        grid-template-columns: auto 1fr !important;
        align-items: center !important;
        column-gap: 10px !important;
        padding: 10px 12px !important;
    }

    .domain-log-stamp span {
        grid-row: 1 / span 2;
    }

    .domain-log-message p {
        margin-top: 2px !important;
        font-size: 12px !important;
    }

    #domain-list-box {
        border-radius: 3px !important;
        overflow: visible !important;
    }

    #domain-list-box .box-header {
        align-items: stretch !important;
        flex-direction: column !important;
        gap: 10px !important;
        padding: 12px !important;
        background: var(--white) !important;
    }

    #domain-list-box .box-header .box-title {
        width: 100% !important;
        font-size: 15px !important;
        line-height: 1.25 !important;
    }

    .domain-list-heading p {
        font-size: 11px;
        font-family: "Rubik", sans-serif;
        font-weight: 400;
    }

    #domain-list-box .box-header .box-body {
        width: 100% !important;
    }

    #domain-list-box .box-header .flexbox {
        display: flex !important;
        width: 100% !important;
        justify-content: stretch !important;
    }

    #domain_csv_download {
        width: 100% !important;
        min-height: 40px !important;
        padding: 8px 12px !important;
        font-family: "Urbanist", sans-serif;
        font-size: 11px !important;
        line-height: 1.15 !important;
        border-radius: 3px !important;
    }

    #domain-list-content .box-body.no-padding {
        padding: 0 !important;
    }

    #domain-list-box .table-responsive {
        overflow: visible !important;
        padding: 0 8px 8px !important;
    }

    #domain-list-box #regdomainlist {
        display: block !important;
        width: 100% !important;
        border: 0 !important;
        margin: 0 !important;
        background: transparent !important;
    }

    #domain-list-box #regdomainlist tbody {
        display: block !important;
        width: 100% !important;
    }

    #domain-list-box #regdomainlist tbody>tr:first-child {
        display: none !important;
    }

    #domain-list-box #regdomainlist tbody>tr:not(:first-child) {
        display: block !important;
        width: 100% !important;
        margin: 0 0 10px !important;
        padding: 12px !important;
        border: 1px solid var(--border) !important;
        border-radius: 3px !important;
        background: var(--white) !important;
        box-shadow: 0 8px 18px rgba(15, 23, 42, .055) !important;
    }

    #domain-list-box #regdomainlist td {
        display: grid !important;
        grid-template-columns: minmax(84px, 36%) minmax(0, 1fr) !important;
        align-items: start !important;
        gap: 8px !important;
        width: 100% !important;
        min-height: 0 !important;
        padding: 5px 0 !important;
        border: 0 !important;
        color: var(--text) !important;
        text-align: left !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    #domain-list-box #regdomainlist td::before {
        content: attr(data-label) !important;
        float: none !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
        color: var(--text-2) !important;
        font-size: 9px !important;
        font-weight: 900 !important;
        letter-spacing: .03em !important;
        text-transform: uppercase !important;
        line-height: 1.25 !important;
        text-align: left !important;
    }

    #domain-list-box #regdomainlist td[data-label="Domain"] {
        padding-top: 0 !important;
    }

    #domain-list-box #regdomainlist td[data-label="Domain"] a {
        color: #06466f !important;
        font-size: 13px !important;
        font-weight: 900 !important;
        line-height: 1.3 !important;
    }

    #domain-list-box #regdomainlist td[data-label="Customer"] a {
        font-weight: 800 !important;
        color: var(--text) !important;
    }

    #domain-list-box #regdomainlist td .badge {
        display: inline-flex !important;
        align-items: center !important;
        width: max-content !important;
        max-width: 100% !important;
        white-space: normal !important;
        font-size: 10px !important;
        line-height: 1.15 !important;
        padding: 4px 7px !important;
    }
}

@media(max-width:360px) {
    #domain-list-box .table-responsive {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    #domain-list-box #regdomainlist tbody>tr:not(:first-child) {
        padding: 10px !important;
    }

    #domain-list-box #regdomainlist td {
        grid-template-columns: 1fr !important;
        gap: 2px !important;
        padding: 4px 0 !important;
    }

    #domain-list-box #regdomainlist td::before {
        font-size: 8px !important;
    }
}

html.mc-theme-dark .domain-filter-card,
html.mc-theme-dark #domain-list-box,
html.mc-theme-dark #domain-list-box .box-header,
html.mc-theme-dark #domain-list-box #regdomainlist tbody>tr:not(:first-child),
html.mc-theme-dark .domain-log-item {
    background: var(--white) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark .domain-filter-card .form-control,
html.mc-theme-dark .domain-filter-card .form-select {
    background: #111B2C !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark #regdomainlist tbody>tr:first-child th {
    background: var(--soft-bg) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark #regdomainlist tbody>tr:not(:first-child) td,
html.mc-theme-dark #domain-list-box #regdomainlist td {
    background: var(--white) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

html.mc-theme-dark #regdomainlist tbody>tr:not(:first-child):hover td {
    background: #203149 !important;
}

html.mc-theme-dark #regdomainlist td[data-label="Domain"] a,
html.mc-theme-dark #domain-list-box #regdomainlist td[data-label="Domain"] a,
html.mc-theme-dark #regdomainlist td[data-label="Reg. Type"] span,
html.mc-theme-dark #regdomainlist .badge-info {
    background: #223D5E !important;
    color: #B8DDFF !important;
}

html.mc-theme-dark #regdomainlist .badge-success {
    background: #123B2A !important;
    color: #7DE3A1 !important
}

html.mc-theme-dark #regdomainlist .badge-secondary {
    background: #1B2B40 !important;
    color: #C2CDDB !important
}

html.mc-theme-dark #regdomainlist .badge-danger {
    background: #451A24 !important;
    color: #FF9BA5 !important
}

html.mc-theme-dark #regdomainlist .badge-warning {
    background: #412B13 !important;
    color: #FFD08A !important
}

html.mc-theme-dark .domain-list-icon {
    background: #3A2117 !important;
    color: #FF8B4C !important
}

html.mc-theme-dark .domain-log-stamp,
html.mc-theme-dark .domain-log-empty {
    background: var(--soft-bg) !important;
    border-color: var(--border) !important;
    color: var(--text-2) !important;
}

html.mc-theme-dark .domain-log-stamp strong,
html.mc-theme-dark .domain-log-loader {
    color: #B8DDFF !important
}

html.mc-theme-dark .domain-log-icon {
    background: #223D5E !important;
    color: #B8DDFF !important
}

/* Source: manage-domain.php style block 2 */
.flexbox select {
    background-color: red;
    padding: 10px 15px;
    border: 0px;
}

/* Source: move-domain.php style block 1 */
.fullwidths {
    width: 100%;
}

/* Source: move-domain.php style block 2 */

/* Source: move-domain.php style block 3 */
.ajax_frmsubmit_loader {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #0000;
    z-index: 99;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.ajax_frmsubmit_loader img {
    border-radius: 50%;
    height: 100px;
    width: 100px;
    object-fit: cover;
}

.setblureffect {
    filter: blur(1px);
    -webkit-filter: blur(1px);
}

/* Source: move-domain-from-internal-server.php style block 1 */
.fullwidths {
    width: 100%;
}

/* Source: move-domain-from-internal-server.php style block 2 */

/* Source: move-domain-from-internal-server.php style block 3 */

/* Source: move-domain-from-internal-server-step-2.php style block 1 */
.fullwidths {
    width: 100%;
}

.select2-container .select2-selection--single {
    height: 33px;
}

/* Source: move-domain-from-internal-server-step-2.php style block 2 */

/* Source: move-domain-from-internal-server-step-2.php style block 3 */

/* Source: move-domain-from-other-client.php style block 1 */
.fullwidths {
    width: 100%;
}

.select2-container .select2-selection--single {
    height: 33px;
}

/* Source: move-domain-from-other-client.php style block 2 */

/* Source: move-domain-from-other-client.php style block 3 */

/* Source: move-domain-from-other-client-step-2.php style block 1 */
.fullwidths {
    width: 100%;
}

.select2-container .select2-selection--single {
    height: 33px;
}

/* Source: move-domain-from-other-client-step-2.php style block 2 */

/* Source: move-domain-from-other-client-step-2.php style block 3 */

/* Source: move-domain-from-other-client-step-3.php style block 1 */
.fullwidths {
    width: 100%;
}

.select2-container .select2-selection--single {
    height: 33px;
}

/* Source: move-domain-from-other-client-step-3.php style block 2 */

/* Source: move-domain-from-other-client-step-3.php style block 3 */

/* Source: move-domain-from-our-client.php style block 1 */
.fullwidths {
    width: 100%;
}

.select2-container .select2-selection--single {
    height: 33px;
}

/* Source: move-domain-from-our-client.php style block 2 */

/* Source: move-domain-from-our-client.php style block 3 */

/* Source: move-domain-from-our-client-step-2.php style block 1 */
.fullwidths {
    width: 100%;
}

.select2-container .select2-selection--single {
    height: 33px;
}

/* Source: move-domain-from-our-client-step-2.php style block 2 */

/* Source: move-domain-from-our-client-step-2.php style block 3 */

/* Source: move-domain-step-2.php style block 1 */
.fullwidths {
    width: 100%;
}

/* Source: move-domain-step-2.php style block 2 */

/* Source: move-domain-step-2.php style block 3 */

/* Source: move-domain-step-3.php style block 1 */
.fullwidths {
    width: 100%;
}

.select2-container .select2-selection--single {
    height: 33px;
}

/* Premium Modern Layout Design */
#ajax_frmsubmit_adnamesrvr_bg {
    font-family: 'Outfit', sans-serif !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border: none !important;
    overflow: hidden;
    background: #ffffff;
}

#ajax_frmsubmit_adnamesrvr_bg .box-header {
    background: linear-gradient(135deg, #1e3a8a, #0f172a) !important;
    padding: 24px 28px !important;
    border-bottom: none !important;
}

#ajax_frmsubmit_adnamesrvr_bg .box-header .box-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.35rem !important;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#ajax_frmsubmit_adnamesrvr_bg .box-body {
    padding: 35px 28px !important;
    background-color: #f8fafc;
}

.comparison-container {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .comparison-container {
        flex-direction: column;
    }
}

.comparison-card {
    flex: 1;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: all 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.comparison-card-header {
    padding: 18px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.comparison-card-header.source-header {
    background-color: #f0fdfa;
    border-left: 4px solid #0d9488;
}

.comparison-card-header.target-header {
    background-color: #eff6ff;
    border-left: 4px solid #2563eb;
}

.comparison-card-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.source-header .comparison-card-title {
    color: #0f766e;
}

.target-header .comparison-card-title {
    color: #1d4ed8;
}

.comparison-card-subtitle {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

.comparison-card-body {
    padding: 20px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-row {
    display: flex;
    flex-direction: column;
    border-bottom: 1px dashed #f1f5f9;
    padding-bottom: 8px;
}

.info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.info-value {
    font-size: 13.5px;
    color: #1e293b;
    font-weight: 500;
    line-height: 1.4;
}

.info-value a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.info-value a:hover {
    text-decoration: underline;
}

.info-value .badge-id {
    background-color: #f1f5f9;
    color: #475569;
    padding: 3px 8px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 12px;
    font-weight: 600;
}

/* Update Contacts Option Box */
.option-box {
    background-color: #fffdf5;
    border: 1px solid #fef3c7;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.option-box:hover {
    border-color: #fde68a;
    background-color: #fffbeb;
}

.option-box .checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.option-box .option-description {
    font-size: 12.5px;
    color: #b45309;
    margin: 6px 0 0 32px;
    line-height: 1.5;
}

/* Modern Box Footer and Buttons */
#ajax_frmsubmit_adnamesrvr_bg .box-footer {
    background-color: #ffffff !important;
    padding: 24px 28px !important;
    border-top: 1px solid #f1f5f9 !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 14px;
}

#ajax_frmsubmit_adnamesrvr_bg .box-footer button {
    padding: 10px 22px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 3px !important;
    transition: all 0.2s ease !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

#ajax_frmsubmit_adnamesrvr_bg #mobecancel_btn {
    background-color: #fee2e2 !important;
    color: #dc2626 !important;
    border: 1px solid #fecaca !important;
}

#ajax_frmsubmit_adnamesrvr_bg #mobecancel_btn:hover {
    background-color: #fca5a5 !important;
    color: #b91c1c !important;
    transform: translateY(-1px);
}

#ajax_frmsubmit_adnamesrvr_bg .btn-primary {
    background-color: #014586 !important;
    color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

#ajax_frmsubmit_adnamesrvr_bg .btn-primary:hover {
    background-color: #e2e8f0 !important;
    color: #1e293b !important;
    transform: translateY(-1px);
}

#ajax_frmsubmit_adnamesrvr_bg #movenow_btn {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2) !important;
}

#ajax_frmsubmit_adnamesrvr_bg #movenow_btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3) !important;
    filter: brightness(1.05);
}

/* Source: move-domain-step-3.php style block 2 */

/* Source: move-domain-step-3.php style block 3 */

/* Source: offer_price_package_list.php style block 1 */
.nocorner {
    border-radius: 0px;
}

.heightscroll {
    max-height: 550px;
    overflow-y: auto;
    overflow-x: hidden;
    float: left;
    display: block;
    width: 100%;

}

/* Source: offer-price-package-update.php style block 1 */

/* Source: poll-messages.php style block 1 */
.poll-summary-row {
    margin-bottom: 15px;
}

.poll-summary-card {
    background: #fff;
    border: 1px solid #e9edf4;
    border-radius: 8px;
    padding: 13px 14px;
    height: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.poll-summary-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 3px 10px rgba(13, 110, 253, 0.12);
}

.poll-summary-title {
    font-size: 12px;
    color: #6c757d;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.poll-summary-number {
    font-size: 23px;
    color: #1e293b;
    font-weight: 800;
    line-height: 1;
}

.poll-filter-area {
    background: #f8fafc;
    border: 1px solid #e9edf4;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.poll-filter-area label {
    font-size: 13px;
    font-weight: 700;
    color: #344767;
    margin-bottom: 5px;
}

.poll-filter-area .form-control,
.poll-filter-area .form-select {
    border-radius: 6px;
    font-size: 13px;
    min-height: 39px;
}

.poll-filter-gap {
    margin-bottom: 12px;
}

.poll-table {
    margin-bottom: 0;
}

.poll-table thead th {
    background: #f4f6fb;
    color: #344767;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    border-bottom: 1px solid #e9edf4 !important;
    padding: 12px 10px;
}

.poll-table tbody td {
    vertical-align: middle;
    font-size: 13px;
    padding: 12px 10px;
    border-bottom: 1px solid #eef1f7;
}

.poll-table tbody tr:hover {
    background: #f8fbff;
}

.poll-sl {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eef2ff;
    color: #344767;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.poll-domain {
    font-weight: 800;
    color: #1e293b;
    word-break: break-word;
}

.poll-extension {
    display: inline-block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 2px 7px;
}

.poll-domain-empty {
    color: #9ca3af;
    font-style: italic;
}

.poll-short-message {
    max-width: 520px;
    line-height: 1.5;
    color: #334155;
    word-break: break-word;
}

.poll-date {
    white-space: nowrap;
    font-weight: 700;
    color: #334155;
    font-size: 12px;
}

.poll-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
}

.poll-badge-success {
    background: #28a745;
}

.poll-badge-danger {
    background: #dc3545;
}

.poll-badge-info {
    background: #17a2b8;
}

.poll-badge-primary {
    background: #0d6efd;
}

.poll-badge-warning {
    background: #ffc107;
    color: #212529;
}

.poll-badge-secondary {
    background: #6c757d;
}

.poll-view-btn {
    border: 0;
    background: #0d6efd;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 11px;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
}

.poll-view-btn:hover {
    background: #0b5ed7;
}

.poll-footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 12px 0 0 0;
}

.poll-pagination {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.poll-page-btn {
    border: 1px solid #dbe3ef;
    background: #fff;
    color: #344767;
    min-width: 34px;
    height: 34px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.poll-page-btn.active,
.poll-page-btn:hover {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.poll-page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.poll-error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #be123c;
    padding: 12px;
    border-radius: 7px;
    font-weight: 700;
    margin-bottom: 15px;
}

.poll-empty {
    width: 100%;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #64748b;
    font-style: italic;
}

.poll-empty i {
    font-size: 30px;
    margin-bottom: 8px;
    color: #94a3b8;
}

.poll-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.poll-modal {
    width: 100%;
    max-width: 650px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
}

.poll-modal-header {
    background: #0d6efd;
    color: #fff;
    padding: 13px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.poll-modal-title {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.poll-modal-close {
    border: 0;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
}

.poll-modal-body {
    padding: 15px;
}

.poll-modal-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.poll-modal-info-box {
    background: #f8fafc;
    border: 1px solid #e9edf4;
    border-radius: 7px;
    padding: 9px;
}

.poll-modal-info-box small {
    display: block;
    font-size: 11px;
    color: #64748b;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.poll-modal-info-box strong {
    font-size: 13px;
    color: #1e293b;
    word-break: break-word;
}

.poll-modal-message {
    background: #f8fafc;
    border: 1px solid #e9edf4;
    border-radius: 7px;
    padding: 11px;
    color: #0f172a;
    font-size: 13px;
    line-height: 1.6;
    word-break: break-word;
    white-space: pre-wrap;
    max-height: 280px;
    overflow-y: auto;
}

.poll-modal-footer {
    border-top: 1px solid #e9edf4;
    padding: 12px 15px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.text-muted-custom {
    color: #94a3b8;
}

@media(max-width: 767px) {
    .poll-table {
        min-width: 950px;
    }

    .poll-filter-area .col-md-2,
    .poll-filter-area .col-md-3,
    .poll-filter-area .col-md-4,
    .poll-filter-area .col-md-5 {
        margin-bottom: 10px;
    }

    .poll-modal-info {
        grid-template-columns: 1fr;
    }
}

/* Source: price_package_list.php style block 1 */
.price-package-tabs {
    border-bottom: 1px solid #cdd6e3;
    margin-bottom: 0;
}

.price-package-tabs .nav-link {
    border: 0;
    border-radius: 0;
    color: #6d7483;
    padding: 10px 14px;
}

.price-package-tabs .nav-link.active {
    background: #0085c5;
    color: #fff;
}

.price-package-table-wrap {
    padding-top: 0;
}

.price-package-table th {
    font-weight: 700;
    color: #000;
    padding: 14px 14px;
    white-space: nowrap;
}

.price-package-table td {
    color: #000;
    padding: 10px 8px;
    vertical-align: middle;
}

.total-assign-count {
    background: #fff9e6;
    color: #0065b3;
    display: inline-block;
    min-width: 18px;
    padding: 1px 4px;
}

a.total-assign-count:hover {
    color: #004f8f;
    text-decoration: underline;
}

.price-package-actions {
    white-space: nowrap;
}

.pkg-action {
    align-items: center;
    border-radius: 4px;
    color: #fff;
    display: inline-flex;
    height: 28px;
    justify-content: center;
    margin-right: 4px;
    width: 30px;
}

.pkg-action:hover {
    color: #fff;
    opacity: 0.9;
}

.pkg-action-view {
    background: #0086c8;
}

.pkg-action-edit {
    background: #008f5a;
}

.pkg-action-delete {
    background: #ff1f5d;
}

.pkg-action-disabled {
    background: #edf1f7;
    color: #91a0b1;
    cursor: not-allowed;
}

.pkg-action-disabled:hover {
    color: #91a0b1;
    opacity: 1;
}

.assign-transfer-control {
    margin: 0 auto;
    max-width: 480px;
    text-align: center;
}

.assign-transfer-select {
    appearance: auto;
    background-color: #fff;
    color: #000;
    display: inline-block;
    height: 38px;
    max-width: 360px;
    width: 100%;
}

#target_package_id+.select2,
#target_package_id+.bootstrap-select {
    max-width: 360px;
    text-align: left;
    width: 100% !important;
}

#assign_list_model input[type="checkbox"] {
    appearance: checkbox !important;
    -webkit-appearance: checkbox !important;
    opacity: 1 !important;
    position: static !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    margin: 0 !important;
    transform: none !important;
}

#assign_list_model th:first-child,
#assign_list_model td:first-child {
    text-align: center;
    vertical-align: middle;
    width: 42px;
}

.nocorner {
    border-radius: 0;
}

.heightscroll {
    display: block;
    float: left;
    max-height: 550px;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
}

.ajax_frmsubmit_loader img,
.ajax_frmsubmit_domaindtls_loader img {
    border-radius: 50%;
    height: 100px;
    object-fit: cover;
    width: 100px;
}

/* Source: price-package-update.php style block 1 */
.assign-package-wrap {
    margin-top: 10px;
}

.assign-package-row {
    align-items: stretch;
}

.assign-package-col {
    display: flex;
    flex-direction: column;
}

.assign-search {
    margin-bottom: 0;
    border-radius: 4px 4px 0 0;
}

.assign-list {
    min-height: 220px;
    border-radius: 0 0 4px 4px;
}

.assign-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding-top: 34px;
    padding-left: 0;
    padding-right: 0;
}

.assign-action-btn {
    width: 100%;
    border-radius: 0;
    padding: 10px 8px;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .assign-actions {
        padding-top: 14px;
        padding-bottom: 14px;
    }
}

/* Source: price-package-update.php style block 2 */

/* Source: pricing.php style block 1 */

/* Source: pricing-edit.php style block 1 */

/* Source: renew-domain.php style block 1 */
.nocorner {
    border-radius: 0px;
}

.heightscroll {
    max-height: 550px;
    overflow-y: auto;
    overflow-x: hidden;
    float: left;
    display: block;
    width: 100%;

}

.inputbg {
    background-color: #eee;
}

.form-control-borderless {
    border: none;
}

.form-control-borderless:hover,
.form-control-borderless:active,
.form-control-borderless:focus {
    border: none;
    outline: none;
    box-shadow: none;
}

.domain-filter-card {
    background: #fff;
    border: 1px solid #dbe5ef;
    border-radius: 10px;
    padding: 18px 16px 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .03);
}

.domain-filter-card .row {
    margin-left: -6px;
    margin-right: -6px;
}

.domain-filter-card [class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
    margin-bottom: 12px;
}

.domain-filter-card label {
    display: block;
    color: #1f2b3d;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 7px;
}

.domain-filter-card .form-control,
.domain-filter-card .form-select {
    height: 40px;
    border: 1px solid #d5e1ed;
    border-radius: 7px;
    color: #001f3f;
    background-color: #fff;
    box-shadow: none;
}

.domain-filter-card .form-control:focus,
.domain-filter-card .form-select:focus {
    border-color: #d5e1ed;
    box-shadow: none;
}

.filter-action-col {
    padding-top: 26px;
}

.filter-search-btn {
    height: 40px;
    background: #06466f;
    color: #fff;
    border: 0;
    border-radius: 5px;
}

.filter-search-btn:hover,
.filter-search-btn:focus {
    background: #003a5d;
    color: #fff;
}

.filter-reset-btn {
    height: 40px;
    background: #ff6f2c;
    color: #fff;
    justify-content: center;
    border: 0;
    display: flex;
    align-items: center;
    border-radius: 5px;
}

.filter-reset-btn:hover,
.filter-reset-btn:focus {
    background: #f15f1d;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center !important;
}

.renew-ajax-loading {
    opacity: .45;
    pointer-events: none;
    position: relative;
}

.renew-ajax-loading:after {
    content: "Loading...";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .72);
    color: #007fc1;
    font-weight: 700;
    z-index: 5;
}

#renew-list-box {
    overflow: hidden;
    border: 1px solid #dce8f2;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .055);
}

#renew-list-box .box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border-bottom: 1px solid #dce8f2;
}

#renew-list-box .box-title {
    width: auto !important;
    float: none !important;
    padding-top: 0 !important;
    margin: 0;
    color: #102a43;
    font-size: 17px;
    font-weight: 700;
}

#renew_csv_download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 13px;
    border: 0;
    font-family: "Urbanist", sans-serif !important;
    border-radius: 9px;
    background: #039447 !important;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

#rendomainlist select {
    min-height: 34px;
    border: 1px solid #d8e3ef;
    border-radius: 8px;
    color: #102a43;
    font-size: 12px;
    font-weight: 700;
}

#rendomainlist td[data-label="Domain"] a {
    color: #0b4f7a;
    font-weight: 700;
    text-decoration: none;
}

#rendomainlist #avail_domainlist {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
}

.renew-mobile-cards {
    display: none;
}

@media(max-width:560px) {
    section.content {
        padding: 10px 0px 84px !important;
    }

    .domain-filter-card {
        margin-bottom: 10px !important;
        padding: 10px !important;
        border-radius: 3px !important;
    }

    .domain-filter-card [class*="col-"] {
        margin-bottom: 8px !important;
    }

    .domain-filter-card label {
        font-size: 12px !important;
        margin-bottom: 4px !important;
        font-weight: 700 !important;
        text-transform: capitalize;
        font-family: "Urbanist", sans-serif !important;
    }

    .domain-filter-card .form-control,
    .domain-filter-card .form-select {
        height: 38px !important;
        border-radius: 8px !important;
        font-family: "Urbanist", sans-serif !important;
        font-size: 10px !important;
    }

    .filter-action-col {
        padding-top: 0 !important;
    }

    .filter-search-btn,
    .filter-reset-btn {
        height: 38px !important;
        border-radius: 8px !important;
    }

    #renew-list-box {
        margin-top: 10px !important;
        border-radius: 3px !important;
    }

    #renew-list-box .box-header {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 12px !important;
    }

    #renew-list-box .box-title {
        font-size: 15px !important;
        line-height: 1.2 !important;
    }

    #renew_csv_download {
        width: 100% !important;
        min-height: 38px !important;
        font-size: 11px !important;
        background: #17ab10 !important;
        color: #fff !important;
    }

    #renew-list-box .table-responsive {
        overflow: visible !important;
        padding: 0 10px 10px !important;
    }

    #rendomainlist {
        display: none !important;
    }

    .renew-mobile-cards {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .renew-mobile-card {
        padding: 11px !important;
        border: 1px solid #e3edf7 !important;
        border-radius: 3px !important;
        background: #fff !important;
        box-shadow: 0 8px 18px rgba(15, 23, 42, .045) !important;
    }

    .renew-mobile-card-head {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding-bottom: 8px !important;
        margin-bottom: 6px !important;
        border-bottom: 1px solid #edf2f7 !important;
    }

    .renew-mobile-card-head span {
        color: #64748b !important;
        font-size: 11px !important;
        font-weight: 900 !important;
    }

    .renew-mobile-card-head a {
        max-width: 185px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        color: #0b4f7a !important;
        font-size: 13px !important;
        font-weight: 900 !important;
        text-decoration: none !important;
    }

    .renew-mobile-card-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        padding: 6px 0 !important;
        color: #102a43 !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
    }

    .renew-mobile-card-row span {
        flex: 0 0 74px !important;
        color: #64748b !important;
        font-size: 10px !important;
        font-weight: 900 !important;
        text-transform: uppercase !important;
        letter-spacing: .02em !important;
    }

    .renew-mobile-card-row strong {
        min-width: 0 !important;
        text-align: right !important;
        color: #102a43 !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        word-break: break-word !important;
    }

    .renew-mobile-price {
        align-items: flex-start !important;
    }

    .renew-mobile-price select {
        width: min(168px, 100%) !important;
        min-height: 36px !important;
        border: 1px solid #d8e3ef !important;
        border-radius: 8px !important;
        color: #102a43 !important;
        font-size: 12px !important;
        font-weight: 700 !important;
    }

    .renew-mobile-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;
        padding-top: 8px !important;
        margin-top: 4px !important;
        border-top: 1px solid #edf2f7 !important;
    }

    .renew-mobile-actions #avail_domainlist {
        width: 112px !important;
        min-height: 34px !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 8px !important;
        font-weight: 900 !important;
    }

    .renew-mobile-actions .badge {
        min-width: 34px !important;
        min-height: 34px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 8px !important;
    }

    /*
		   Kept for non-Chromium fallbacks if the desktop table is shown by older CSS engines.
		*/
    #rendomainlist {
        display: none !important;
        width: 100% !important;
        border: 0 !important;
        margin: 0 !important;
    }

    #rendomainlist tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    #rendomainlist tbody>tr:first-child,
    #rendomainlist tbody>tr:first-child th,
    #rendomainlist tr:first-child,
    #rendomainlist tr:first-child th {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
    }

    #rendomainlist tr.renew-mobile-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        padding: 11px !important;
        border: 1px solid #e3edf7 !important;
        border-radius: 3px !important;
        background: #fff !important;
        box-shadow: 0 8px 18px rgba(15, 23, 42, .045) !important;
    }

    #rendomainlist tr.renew-mobile-row td {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        width: 100% !important;
        padding: 6px 0 !important;
        border: 0 !important;
        color: #102a43 !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
        text-align: right !important;
        word-break: break-word !important;
    }

    #rendomainlist tr.renew-mobile-row td::before {
        content: attr(data-label);
        flex: 0 0 82px;
        color: #64748b;
        font-size: 10px;
        font-weight: 700;
        text-align: left;
        text-transform: uppercase;
        letter-spacing: .02em;
    }

    #rendomainlist td[data-label="Domain"] {
        align-items: flex-start !important;
    }

    #rendomainlist td[data-label="Domain"] a {
        max-width: 160px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #rendomainlist td[data-label="Price"] {
        align-items: flex-start !important;
    }

    #rendomainlist td[data-label="Price"] select {
        width: min(168px, 100%) !important;
        min-height: 36px !important;
    }

    #rendomainlist td[data-label="Action"],
    #rendomainlist td[data-label="Log"] {
        justify-content: space-between !important;
    }

    #rendomainlist #avail_domainlist {
        width: 112px !important;
        margin: 0 !important;
    }

    #rendomainlist .badge {
        min-width: 34px;
        min-height: 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
    }

    #domain_log_dtls_model.renew-log-modal.show {
        display: flex !important;
        align-items: flex-end !important;
        justify-content: center !important;
        padding: 8px !important;
    }

    #domain_log_dtls_model.renew-log-modal .modal-dialog {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        transform: none !important;
    }

    #domain_log_dtls_model.renew-log-modal .modal-content {
        height: min(84dvh, 680px) !important;
        max-height: calc(100dvh - 16px) !important;
        display: flex !important;
        flex-direction: column !important;
        border: 0 !important;
        border-radius: 18px 18px 12px 12px !important;
        overflow: hidden !important;
    }

    #domain_log_dtls_model.renew-log-modal .modal-header {
        flex: 0 0 auto !important;
        min-height: 56px !important;
        padding: 12px 14px !important;
        background: #0b4f7a !important;
    }

    #domain_log_dtls_model.renew-log-modal .modal-title {
        min-width: 0 !important;
        color: #fff !important;
        font-size: 13px !important;
        line-height: 1.25 !important;
    }

    #domain_log_dtls_model.renew-log-modal .modal-title span {
        display: block !important;
        max-width: 220px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        color: #d7eaf8 !important;
        font-size: 12px !important;
    }

    #domain_log_dtls_model.renew-log-modal .btn-close {
        width: 34px !important;
        height: 34px !important;
        border-radius: 3px !important;
        background-color: rgba(255, 255, 255, .16) !important;
        opacity: 1 !important;
        filter: invert(1) grayscale(1) !important;
    }

    #domain_log_dtls_model.renew-log-modal .modal-body {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        max-height: none !important;
        width: 100% !important;
        padding: 10px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        float: none !important;
        text-align: left !important;
        background: #f7fbff !important;
    }

    #domain_log_dtls_model.renew-log-modal .modal-footer {
        flex: 0 0 auto !important;
        padding: 10px !important;
        background: #fff !important;
        border-top: 1px solid #dce8f2 !important;
    }

    #domain_log_dtls_model.renew-log-modal .modal-footer .btn {
        width: 100% !important;
        min-height: 40px !important;
        border-radius: 3px !important;
    }

    #domain_log_dtls_model .domain-log-list {
        display: grid !important;
        gap: 10px !important;
        padding-bottom: 4px !important;
    }

    #domain_log_dtls_model .domain-log-item {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding: 10px !important;
        border: 1px solid #e3edf7 !important;
        border-radius: 3px !important;
        background: #fff !important;
        box-shadow: 0 8px 18px rgba(15, 23, 42, .045) !important;
    }

    #domain_log_dtls_model .domain-log-stamp {
        display: grid !important;
        grid-template-columns: 54px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 2px 10px !important;
        padding: 9px 10px !important;
        border-radius: 3px !important;
        background: #f1f7fc !important;
    }

    #domain_log_dtls_model .domain-log-stamp span {
        grid-row: 1 / span 2 !important;
        color: #6b7f95 !important;
        font-size: 9px !important;
        font-weight: 900 !important;
        text-transform: uppercase !important;
    }

    #domain_log_dtls_model .domain-log-stamp strong {
        color: #0b4f7a !important;
        font-size: 12px !important;
        font-weight: 900 !important;
    }

    #domain_log_dtls_model .domain-log-stamp small {
        color: #64748b !important;
        font-size: 10px !important;
        font-weight: 800 !important;
    }

    #domain_log_dtls_model .domain-log-message {
        display: grid !important;
        grid-template-columns: 32px minmax(0, 1fr) !important;
        gap: 9px !important;
        align-items: flex-start !important;
    }

    #domain_log_dtls_model .domain-log-icon {
        width: 32px !important;
        height: 32px !important;
        border-radius: 3px !important;
    }

    #domain_log_dtls_model .domain-log-message p {
        margin: 2px 0 0 !important;
        color: #102a43 !important;
        font-size: 11px !important;
        line-height: 1.45 !important;
        font-weight: 800 !important;
        word-break: break-word !important;
    }
}

/* Source: reseller-chain-tree.php style block 1 */
.chain-page {
    color: #102b53;
}

.chain-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.chain-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chain-title-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f16822;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.chain-title h4 {
    margin: 0;
    color: #fff;
    font-weight: 800;
}

.chain-title p {
    margin: 3px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
}

.chain-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.chain-action-btn {
    border: 0;
    border-radius: 6px;
    padding: 9px 12px;
    font-weight: 800;
    background: #fff;
    color: #0e4776;
}

.chain-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.chain-stat {
    border: 1px solid #dce8f4;
    border-radius: 8px;
    padding: 13px;
    background: #92c1ff17;
}

.chain-stat span {
    display: block;
    color: #667892;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 6px;
}

.chain-stat strong {
    display: block;
    font-size: 20px;
    color: #102b53;
}

.chain-selector {
    border: 1px solid #dce8f4;
    border-radius: 8px;
    background: #92c1ff17;
    padding: 14px;
    margin-bottom: 14px;
}

.chain-selector label {
    font-size: 12px;
    font-weight: 700;
    color: #102b53;
    margin-bottom: 6px;
    display: block;
}

.chain-selector-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.chain-admin-root-btn {
    min-height: 44px;
    border: 0;
    border-radius: 7px;
    padding: 0 14px;
    background: #0e4776;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

.chain-selector .select2-container .select2-selection--single {
    min-height: 44px;
    border: 1px solid #d4e0ec;
    border-radius: 7px;
}

.chain-selector .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 42px;
    color: #102b53;
    font-weight: 800;
}

.chain-selector .select2-container--default .select2-selection--single .select2-selection__arrow {
    min-height: 42px;
}

.chain-selected-card {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    border: 1px solid #dce8f4;
    border-radius: 8px;
    padding: 12px;
    margin: 12px 0 0;
    background: #fff;
}

.chain-selected-card.is-visible {
    display: flex;
}

.chain-selected-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.chain-selected-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f16822;
    color: #fff;
    flex: 0 0 auto;
}

.chain-selected-main strong,
.chain-selected-main small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chain-selected-main strong {
    color: #102b53;
    font-weight: 700;
}

.chain-selected-main small {
    color: #607189;
    font-size: 12px;
    font-weight: 800;
}

.chain-selected-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    color: #607189;
    font-size: 12px;
    font-weight: 800;
}

.chain-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 170px 150px 120px;
    gap: 12px;
    margin-bottom: 16px;
    align-items: end;
}

.chain-toolbar label {
    font-size: 12px;
    font-weight: 800;
    color: #102b53;
    margin-bottom: 6px;
    display: block;
}

.chain-toolbar input,
.chain-toolbar select {
    width: 100%;
    border: 1px solid #d4e0ec;
    border-radius: 7px;
    padding: 10px 12px;
    min-height: 42px;
    background: #fff;
}

.chain-toolbar-actions {
    display: flex;
    gap: 8px;
}

.chain-primary-btn,
.chain-secondary-btn {
    height: 42px;
    min-width: 48px;
    border: 0;
    border-radius: 7px;
    font-weight: 700;
}

.chain-primary-btn {
    background: #0e4776;
    color: #fff;
}

.chain-secondary-btn {
    background: #f16822;
    color: #fff;
}

.chain-canvas {
    overflow: hidden;
    border: 1px solid #dce8f4;
    border-radius: 8px;
    background: #92c1ff17;
    padding: 14px;
}

.chain-map {
    border-radius: 8px;
    border: 1px solid #dce8f4;
    overflow: hidden;
    margin-bottom: 14px;
    background: #92c1ff17;
}

.chain-map-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid #dce8f4;
    color: #102b53;
    font-weight: 700;
}

.chain-map-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.chain-map-top small {
    color: #607189;
    font-weight: 800;
    margin-left: 8px;
}

.chain-map-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.chain-map-count {
    color: #607189;
    font-size: 12px;
    font-weight: 700;
}

.chain-map-tool {
    width: 32px;
    height: 30px;
    border: 1px solid #cddbec;
    border-radius: 6px;
    background: #fff;
    color: #0e4776;
    font-weight: 700;
}

.chain-map-scroll {
    position: relative;
    height: 420px;
    min-height: 360px;
    overflow: auto;
    resize: vertical;
    cursor: grab;
    background:
        linear-gradient(#eef5fb 1px, transparent 1px),
        linear-gradient(90deg, #eef5fb 1px, transparent 1px),
        #f8fbff;
    background-size: 34px 34px;
}

.chain-map-scroll:after {
    content: "";
    position: sticky;
    left: 100%;
    bottom: 0;
    display: block;
    width: 18px;
    height: 18px;
    margin-left: auto;
    background:
        linear-gradient(135deg, transparent 50%, #c4d3e4 50%),
        linear-gradient(135deg, transparent 62%, #8ba4bd 62%);
    pointer-events: none;
}

.chain-map-scroll.is-panning {
    cursor: grabbing;
}

.chain-map-viewport {
    position: absolute;
    left: 0;
    top: 0;
    transform-origin: 0 0;
}

.chain-map-viewport svg,
.chain-map-nodes {
    position: absolute;
    left: 0;
    top: 0;
}

.chain-map-viewport svg {
    pointer-events: none;
    overflow: visible;
}

.chain-map-node {
    display: block;
    position: absolute;
    width: 168px;
    min-height: 76px;

    border-left: 3px solid #0e4776;
    border-radius: 8px;
    background: #fff;
    color: #102b53;
    box-shadow: 0 8px 20px rgba(16, 43, 83, .10);
    padding: 10px;
    text-align: left;
    text-decoration: none;
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.chain-map-node:hover,
.chain-map-node:focus {
    color: #102b53;
    text-decoration: none;
    border-color: #0e4776;
}

.chain-map-node.is-selected {
    border-color: #006eff;
    box-shadow: 0 0 0 3px rgba(0, 110, 255, .14), 0 8px 20px rgba(16, 43, 83, .12);
}

.chain-map-node.is-dragging {
    cursor: grabbing;
    z-index: 5;
}

.chain-map-node-root {
    border-left-color: #f16822;
}

.chain-map-node-admin {
    border-color: #0e4776;
}

.chain-map-node-reseller {
    border-color: #f16822;
}

.chain-map-node-customer {
    border-color: #0f9f6e;
}

.chain-map-node-inactive {
    opacity: .62;
    background: #f5f7fa;
    border-left-color: #94a3b8;
}

.chain-map-node strong,
.chain-map-node span,
.chain-map-node small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chain-map-node strong {
    font-size: 12px;
    font-weight: 700;
}

.chain-map-node span {
    font-size: 11px;
    font-weight: 800;
    margin-top: 4px;
    color: #607189;
}

.chain-map-node small {
    font-size: 10px;
    margin-top: 5px;
    color: #0d4f7c;
    font-weight: 700;
}

.chain-map-type {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #607189;
    margin-bottom: 5px;
}

.chain-node-details {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) repeat(5, minmax(120px, auto)) auto;
    gap: 10px;
    align-items: center;
    border-top: 1px solid #dce8f4;
    padding: 12px;
    background: #fff;
}

.chain-node-details-main {
    min-width: 0;
}

.chain-node-details-main strong,
.chain-node-details-main span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chain-node-details-main strong {
    color: #102b53;
    font-weight: 700;
}

.chain-node-details-main span {
    color: #607189;
    font-size: 12px;
    font-weight: 800;
    margin-top: 3px;
}

.chain-node-detail-stat {
    border: 1px solid #e2edf7;
    border-radius: 7px;
    padding: 8px 10px;
    min-width: 120px;
    background: #f8fbff;
}

.chain-node-detail-stat span {
    display: block;
    color: #607189;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.chain-node-detail-stat strong {
    display: block;
    color: #102b53;
    font-size: 13px;
    font-weight: 700;
    margin-top: 3px;
}

.chain-node-open {
    color: #006eff;
    font-weight: 700;
    white-space: nowrap;
}

.chain-scale-note {
    margin: 0 0 10px;
    color: #607189;
    font-size: 12px;
    font-weight: 700;
}

.chain-board {
    min-width: 1120px;
    border: 1px solid #dce8f4;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.chain-board-wrap {
    overflow: auto;
}

.chain-board-head,
.chain-row,
.chain-load-more {
    display: grid;
    grid-template-columns: minmax(290px, 2fr) 110px minmax(210px, 1.20fr) 121px 122px 112px 91px 72px;
    align-items: center;
}

.chain-board-head {
    background: #f4f8fc;
    color: #667892;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid #dce8f4;
}

.chain-board-head>div,
.chain-cell {
    padding: 9px 10px;
    min-width: 0;
}

.chain-rows {
    max-height: calc(100vh - 390px);
    min-height: 360px;
    overflow: auto;
}

.chain-row {
    min-height: 50px;
    border-bottom: 1px solid #edf2f7;
    background: #fff;
}

.chain-row-root {
    background: #fff8f3;
    border-bottom-color: #ffd7bf;
}

.chain-row-root:hover {
    background: #fff3ea;
}

.chain-row-selected {
    box-shadow: inset 4px 0 0 #006eff;
    background: #f4f9ff;
}

.chain-row:hover {
    background: #f9fcff;
}

.chain-account {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: calc(5px + (var(--level) * 5px));
    position: relative;
}

.chain-row-line {
    width: 16px;
    height: 1px;
    background: #c9d8e8;
    flex: 0 0 auto;
}

.chain-row-toggle {
    width: 24px;
    height: 24px;
    border: 1px solid #cddbec;
    background: #f6f9fc;
    border-radius: 6px;
    color: #102b53;
    flex: 0 0 auto;
}

.chain-row-toggle-spacer {
    display: inline-block;
    border-color: transparent;
    background: transparent;
}

.chain-row-avatar {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #0e4776;
    flex: 0 0 auto;
}

.chain-row-reseller .chain-row-avatar {
    background: #f16822;
}

.chain-row-admin .chain-row-avatar {
    background: #0e4776;
}

.chain-row-customer .chain-row-avatar {
    background: #0f9f6e;
}

.chain-row-name,
.chain-muted {
    min-width: 0;
}

.chain-row-name strong,
.chain-row-name small,
.chain-muted {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chain-row-name strong {
    color: #102b53;
    font-weight: 700;
}

.chain-row-name small,
.chain-muted {
    color: #607189;
    font-size: 12px;
}

.chain-type-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 700;
}

.chain-type-reseller {
    background: #fff1e8;
    color: #c04a0f;
}

.chain-type-admin {
    background: #eaf3ff;
    color: #0e4776;
}

.chain-type-customer {
    background: #e9fbf4;
    color: #007a4d;
}

.chain-money {
    color: #0d4f7c;
    font-weight: 700;
    white-space: nowrap;
}

.chain-status-pill {
    border-radius: 999px;
    background: #ecfdf3;
    color: #007a4d;
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 700;
}

.chain-status-inactive {
    opacity: .64;
}

.chain-status-inactive .chain-status-pill {
    background: #f1f5f9;
    color: #64748b;
}

.chain-open a {
    color: #006eff;
    font-weight: 700;
}

.chain-load-more {
    min-height: 46px;
    border-bottom: 1px solid #edf2f7;
    background: #fbfdff;
}

.chain-load-more .chain-cell {
    grid-column: 1 / -1;
    padding-left: calc(10px + (var(--level) * 24px));
}

.chain-load-more button {
    border: 1px solid #cddbec;
    background: #fff;
    color: #0e4776;
    border-radius: 6px;
    padding: 8px 11px;
    font-weight: 700;
}

.chain-loading,
.chain-empty {
    padding: 30px;
    text-align: center;
    color: #607189;
    font-weight: 800;
}

@media (max-width: 900px) {
    .chain-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .chain-toolbar {
        grid-template-columns: 1fr;
    }

    .chain-map-scroll {
        min-height: 330px;
    }

    .chain-map-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .chain-node-details {
        grid-template-columns: 1fr 1fr;
    }

    .chain-board {
        min-width: 980px;
    }

    .chain-board-head,
    .chain-row,
    .chain-load-more {
        grid-template-columns: minmax(280px, 2fr) 112px minmax(180px, 1fr) 105px 115px 105px 85px 62px;
    }
}

/* Source: reseller-profile.php style block 1 */
.reseller-profile-page {
    border-radius: 8px;
}

.reseller-profile-page .box-body {
    background: #fff;
    padding: 20px;
}

.reseller-profile-hero {
    border: 1px solid #dfe9f3;
    border-radius: 8px;
    padding: 22px;
    background: #f8fbff;
}

.reseller-avatar {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    background: #007fc1;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin-right: 14px;
    vertical-align: top;
}

.reseller-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.profile-photo-form {
    margin-top: 10px;
}

.reseller-hero-copy {
    display: inline-block;
    vertical-align: top;
}

.reseller-hero-copy h3 {
    font-size: 26px;
    font-weight: 700;
    color: #102b53;
    margin: 0 0 4px;
}

.reseller-hero-copy p {
    margin: 0 0 10px;
    color: #51627c;
}

.reseller-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.reseller-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d9e5f1;
    border-radius: 20px;
    background: #fff;
    color: #38506d;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
}

.chip-success {
    background: #e8f8ef;
    border-color: #bfe8ce;
    color: #087838;
}

.reseller-balance-card {
    background: #fff;
    border: 1px solid #dfe9f3;
    border-radius: 8px;
    padding: 14px 16px;
    display: inline-block;
    min-width: 260px;
    text-align: left;
}

.reseller-balance-card span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    /* color: #6f7f96; */
    letter-spacing: .04em;
}

.reseller-balance-card small {
    display: block;
    /* color: #62728b; */
}

.reseller-balance-card .reseller-locked-line {
    color: #b45309;
    font-weight: 700;
    margin-bottom: 2px;
}

.reseller-balance-card strong {
    display: block;
    font-size: 26px;
    /* color: #102b53; */
    margin: 4px 0;
}

.profile-stat-box,
.credential-card,
.profile-info-panel {
    border-radius: 8px;
    border: 1px solid #e5edf7;
    background: #fff;
}

.profile-stat-box {
    padding: 18px;
    margin-bottom: 20px;
    height: calc(100% - 20px);
}

.profile-stat-action {
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: block;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.profile-stat-action:hover {
    border-color: #007fc1;
    box-shadow: 0 8px 22px rgba(0, 127, 193, .14);
    outline: 0;
    transform: translateY(-1px);
}

.profile-stat-action:focus {
    border-color: #007fc1;
    box-shadow: none;
    outline: 0;
}

.profile-stat-label {
    display: block;
    color: #7888a4;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.profile-stat-box h3 {
    margin: 10px 0 6px;
    color: #23325f;
    font-size: 28px;
    font-weight: 700;
}

.profile-stat-box p {
    margin: 0;
    color: #60708d;
    font-size: 13px;
}

.whmcs-credential-panel {
    border: 1px solid #cfe0ef;
    border-radius: 8px;
    background: #fff;
    padding: 18px;
}

.credential-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 14px;
}

.credential-panel-header h4 {
    font-size: 20px;
    font-weight: 700;
    color: #102b53;
    margin: 0 0 4px;
}

.credential-panel-header p {
    margin: 0;
    color: #64748b;
}

.credential-card {
    border: 1px solid #e0e9f2;
    background: #f9fbfd;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 14px;
    min-height: 75px;
}

.credential-card label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #60728b;
    margin-bottom: 8px;
    font-weight: 700;
}

.credential-value {
    display: flex;
    align-items: center;
    gap: 8px;
}

.credential-value span {
    word-break: break-all;
    color: #001f3f;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.credential-value button {
    border: 0;
    background: #007fc1;
    color: #fff;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.credential-card-primary {
    background: #f3f9ff;
    border-color: #bcdaf1;
}

.fund-history-box {
    border-radius: 12px;
    border: 1px solid #e4ecf4;
    overflow: hidden;
}

.fund-history-total {
    font-size: 13px;
    color: #fff;
    font-weight: 700;
}

.fund-history-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #e8eef5;
    background: #f8fbff;
}

.fund-history-summary div {
    background: #fff;
    border: 1px solid #e1eaf3;
    border-radius: 8px;
    padding: 12px;
}

.fund-history-summary span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #667892;
    font-weight: 700;
    margin-bottom: 5px;
}

.fund-history-summary strong {
    font-size: 17px;
    color: #102b53;
}

.fund-history-filters {
    padding: 16px;
    border-bottom: 1px solid #e8eef5;
    background: #fff;
}

.fund-history-table {
    margin-bottom: 0;
}

.fund-history-table th {
    background: #f3f7fb;
    color: #102b53;
    font-weight: 700;
    white-space: nowrap;
}

.fund-history-table td {
    vertical-align: middle;
}

.empty-section-note {
    padding: 24px;
    border: 1px dashed #d7e3ef;
    background: #f8fbff;
    color: #60708d;
}

.cus-instruction-step-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.58);
    padding: 8px;
}

.cus-instruction-step-modal-overlay.active {
    display: flex;
}

.cus-instruction-step-modal {
    width: min(880px, 100%);
    max-height: 94vh;
    overflow: auto;
    background: #fff;
    border-radius: 7px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    color: #001f3f;
}

.cus-instruction-step-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 20px;
    border-bottom: 1px solid #e8eef5;
    background: #fff;
    color: #001f3f;
    position: sticky;
    top: 0;
    z-index: 2;
}

.cus-instruction-step-modal-header h2 {
    margin: 0;
    font-size: 15px;
    color: #001f3f;
    font-weight: 600;
}

.cus-instruction-step-close-btn {
    border: 0;
    background: transparent;
    color: #64748b;
    width: 36px;
    height: 36px;
    font-size: 22px;
    line-height: 1;
}

.cus-instruction-step-guide {
    padding: 30px 38px 36px;
}

.cus-instruction-step-section h2 {
    margin: 0 0 18px;
    color: #001f3f;
    font-size: 19px;
    font-weight: 700;
}

.cus-instruction-step-steps {
    list-style: none;
    counter-reset: install-step;
    padding-left: 0;
    margin: 0;
}

.cus-instruction-step-steps li {
    counter-increment: install-step;
    position: relative;
    margin-bottom: 18px;
    padding-left: 34px;
    color: #001f3f;
    font-size: 13px;
    line-height: 1.65;
}

.cus-instruction-step-steps li::before {
    content: counter(install-step);
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007fc1;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

.guide-download-hint {
    color: #e11d48;
    margin-left: 14px;
    font-weight: 600;
}

.guide-download-link {
    color: #005f91;
    margin-left: 8px;
    font-weight: 600;
}

.cus-instruction-step-code {
    margin-top: 8px;
    padding: 14px 16px;
    border-radius: 4px;
    background: #004f73;
    color: #fff;
    font-family: Consolas, Monaco, monospace;
    font-size: 12px;
    font-weight: 700;
    white-space: pre-wrap;
}

.cus-instruction-step-note {
    margin-top: 26px;
    padding: 16px;
    border-left: 3px solid #ff4b1f;
    background: #fffaf0;
}

.cus-instruction-step-note h3 {
    margin: 0 0 10px;
    color: #001f3f;
    font-size: 14px;
}

.cus-instruction-step-note ul {
    margin: 0;
    padding-left: 18px;
}

.cus-instruction-step-note li {
    margin-bottom: 7px;
    font-size: 13px;
    color: #001f3f;
}

.virtual-balance-modal {
    width: min(1040px, 100%);
}

.virtual-balance-content {
    padding: 18px;
}

.virtual-balance-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.virtual-balance-summary div {
    border: 1px solid #e1eaf3;
    background: #f8fbff;
    border-radius: 8px;
    padding: 12px;
}

.virtual-balance-summary span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #667892;
    font-weight: 700;
    margin-bottom: 5px;
}

.virtual-balance-summary strong {
    font-size: 18px;
    color: #102b53;
}

.virtual-balance-table {
    margin-bottom: 0;
}

.virtual-balance-table th {
    background: #f3f7fb;
    color: #102b53;
    font-weight: 700;
    white-space: nowrap;
}

.virtual-balance-table td {
    vertical-align: middle;
}

.profile-info-panel {
    height: calc(100% - 20px);
}

.profile-info-panel h5 {
    margin: 0 0 16px;
    color: #102b53;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.detail-grid span {
    display: block;
    font-size: 12px;
    color: #3f5069;
    margin-bottom: 4px;
    font-weight: 600;
}

.detail-grid strong {
    display: block;
    color: #102b53;
    font-size: 14px;
    word-break: break-word;
}

@media (max-width: 768px) {
    .reseller-profile-page .box-body {
        padding: 12px !important;
    }

    .reseller-profile-hero {
        padding: 16px;
        border-radius: 12px;
    }

    .reseller-profile-hero .row>[class*="col-"] {
        text-align: left !important;
    }

    .reseller-avatar {
        width: 52px;
        height: 52px;
        font-size: 24px;
        margin-right: 10px;
    }

    .reseller-hero-copy {
        width: calc(100% - 68px);
    }

    .reseller-hero-copy h3 {
        font-size: 20px;
        line-height: 1.2;
        word-break: break-word;
    }

    .reseller-hero-copy p {
        font-size: 13px;
        line-height: 1.45;
    }

    .profile-stat-box {
        height: auto;
        margin-bottom: 12px;
        padding: 15px;
    }

    .profile-stat-box h3 {
        font-size: 22px;
    }

    .whmcs-credential-panel {
        padding: 14px;
        border-radius: 12px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .credential-panel-header {
        flex-direction: column;
        align-items: stretch;
    }

    .credential-panel-header h4 {
        font-size: 17px;
    }

    .credential-panel-header .btn {
        width: 100%;
    }

    .credential-value {
        align-items: flex-start;
    }

    .credential-value span {
        min-width: 0;
    }

    .reseller-balance-card {
        min-width: 100%;
    }

    .fund-history-summary {
        grid-template-columns: 1fr;
    }

    .fund-history-filters .row>[class*="col-"] {
        margin-bottom: 8px;
    }

    .fund-history-table {
        min-width: 720px;
    }

    .virtual-balance-summary {
        grid-template-columns: 1fr;
    }

    .virtual-balance-table {
        min-width: 780px;
    }

    .cus-instruction-step-modal-overlay {
        padding: 0;
        align-items: stretch;
    }

    .cus-instruction-step-modal {
        width: 100%;
        max-height: 100dvh;
        border-radius: 0;
    }

    .cus-instruction-step-modal-header {
        padding: 14px 16px;
    }

    .cus-instruction-step-modal-header h2 {
        font-size: 15px;
        line-height: 1.3;
    }

    .cus-instruction-step-guide {
        padding: 16px;
    }

    .cus-instruction-step-section h2 {
        font-size: 17px;
    }

    .cus-instruction-step-steps {
        padding-left: 0;
    }

    .cus-instruction-step-steps li {
        padding: 12px 12px 12px 46px;
    }

    .cus-instruction-step-steps li::before {
        left: 12px;
        top: 12px;
    }

    .cus-instruction-step-code {
        overflow-x: auto;
        white-space: pre;
    }
}

/* Source: service_level_agreements.php style block 1 */
.toggle-switch {
    position: relative;
    width: 50px;
    display: flex;
    height: 26px;
}

.toggle-switch input {
    display: none;
}

.slider-btn {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    height: 28px;
    right: 0;
    width: 54px;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider-btn:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider-btn {
    background-color: #28a745;
    /* Green */
}

input:checked+.slider-btn:before {
    transform: translateX(26px);
}

/* preferred: specific to this toggle */
label.toggle-switch input:checked+.slider-btn {
    background-color: #28a745;
}

/* if still overridden, last-resort */
label.toggle-switch input:checked+.slider-btn {
    background-color: #28a745 !important;
}

/* Source: support-ticket.php style block 1 */
.support-ticket-page {
    padding: 0 !important;
}

.ticket-chat-app {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    height: calc(100vh - 85px);
    min-height: 460px;
    background: #fff;
    border: 1px solid #d8e0e8;
    border-radius: 8px;
    overflow: hidden;
}

.ticket-inbox {
    display: grid;
    grid-template-rows: 42px auto minmax(0, 1fr);
    background: #fff;
    border-right: 1px solid #d8e0e8;
    min-width: 0;
    min-height: 0;
}

.ticket-inbox-head {
    height: 42px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: #008069;
    color: #fff;
}

.ticket-chat-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.ticket-chat-brand strong {
    font-size: 14px;
    white-space: nowrap;
}

.ticket-chat-brand span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8fff7;
    color: #008069;
    font-size: 11px;
    font-weight: 800;
}

.ticket-chat-brand #ticket_waiting_badge {
    background: #fff1cf;
    color: #ad6200;
}

.ticket-sidebar-tools {
    padding: 10px;
    border-bottom: 1px solid #e5ebf1;
    background: #fbfcfd;
}

.ticket-sidebar-tools * {
    box-sizing: border-box;
}

.ticket-search-input {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #f5f7fa;
    border: 1px solid #d9e1ea;
    border-radius: 6px;
    padding: 0 9px;
    margin-bottom: 7px;
}

.ticket-search-input i {
    color: #8a9aac;
    font-size: 13px;
}

.ticket-search-input .form-control {
    border: 0;
    box-shadow: none;
    background: transparent;
    height: 29px;
    padding: 0;
    font-size: 12px;
}

.ticket-filter-row,
.ticket-sort-controls,
.ticket-date-row {
    display: grid;
    gap: 6px;
    margin-top: 6px;
}

.ticket-filter-row {
    grid-template-columns: minmax(106px, 1fr) 78px 88px;
    align-items: center;
}

.ticket-filter-row>* {
    min-width: 0;
}

.ticket-sort-controls {
    grid-template-columns: minmax(0, 1fr) 76px;
    align-items: center;
}

.ticket-date-row {
    grid-template-columns: 1fr;
}

.ticket-filter-drawer {
    display: none;
    margin-top: 6px;
    padding: 7px;
    border: 1px solid #dfe7ef;
    border-radius: 6px;
    background: #fff;
}

.ticket-filter-drawer.open {
    display: block;
}

.ticket-filter-drawer .form-control {
    margin-bottom: 0;
}

.ticket-filter-drawer #ticket_filter_reset {
    width: 116px;
    margin-top: 6px;
}

.ticket-filter-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
    height: 22px;
    margin-top: 6px;
    border: 0;
    background: transparent;
    color: #008069;
    font-size: 11px;
    font-weight: 700;
    padding: 0;
    text-align: left;
}

.ticket-filter-toggle:hover {
    color: #008069;
}

.ticket-sidebar-tools .form-select,
.ticket-sidebar-tools .form-control {
    width: 100%;
    height: 32px !important;
    min-height: 32px !important;
    line-height: 20px !important;
    padding: 5px 10px !important;
    font-size: 12px;
    border-color: #d8e0e8;
    border-radius: 5px;
    background-color: #fff;
    color: #172b3a;
    overflow: visible;
}

.ticket-sidebar-tools select.form-select {
    padding-right: 24px !important;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ticket-sidebar-tools .btn-sm {
    height: 32px;
    min-height: 32px;
    padding: 5px 8px;
    font-size: 12px;
    line-height: 20px;
    border-color: #d8e0e8;
    color: #34495e;
    background: #fff;
}

.ticket-filter-row #refresh_ticket_list {
    width: 100%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
}

.ticket-filter-row #refresh_ticket_list i {
    display: inline-block !important;
    position: static !important;
    margin: 0 !important;
    font-size: 11px;
    line-height: 1;
}

.ticket-unread-filter {
    height: 32px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0;
    color: #111;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    user-select: none;
}

.ticket-unread-filter input {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    position: static !important;
    opacity: 1 !important;
    display: inline-block !important;
    visibility: visible !important;
    width: 13px !important;
    height: 13px !important;
    margin: 0 !important;
    flex: 0 0 auto;
}

.ticket-sync-line {
    text-align: right;
    color: #8a97aa;
    font-size: 10px;
    line-height: 1.4;
    margin-top: 4px;
}

.ticket-icon-btn {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #edf4f7;
    color: #607384;
}

.ticket-icon-btn:hover {
    background: #dbeaf0;
    color: #008069;
}

.ticket-inbox-list {
    min-height: 0;
    overflow-y: auto;
    background: #fff;
}

.ticket-thread {
    position: relative;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #edf1f4;
    background: #fff;
    text-align: left;
    padding: 10px 8px 9px 51px;
    min-height: 78px;
    display: block;
    cursor: pointer;
}

.ticket-thread:hover,
.ticket-thread.active {
    background: #eef8f2;
}

.ticket-thread-avatar {
    position: absolute;
    left: 10px;
    top: 13px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #008069;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.ticket-thread-body {
    display: block;
    min-width: 0;
    padding-right: 54px;
}

.ticket-thread-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    color: #172b3a;
}

.ticket-thread-top strong {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.ticket-thread-top time {
    font-size: 10px;
    color: #8a97aa;
    white-space: nowrap;
}

.ticket-thread-title,
.ticket-thread-meta,
.ticket-thread-preview {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-thread-title {
    font-size: 12px;
    font-weight: 700;
    color: #293f54;
    margin-top: 3px;
}

.ticket-thread-meta {
    font-size: 11px;
    color: #64758a;
    margin-top: 1px;
}

.ticket-thread-preview {
    font-size: 11px;
    color: #8a97aa;
    margin-top: 2px;
}

.ticket-thread .ticket-status {
    position: absolute;
    right: 8px;
    bottom: 9px;
}

.ticket-unread-count {
    position: absolute;
    right: 8px;
    top: 34px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #18d26b;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 0 5px;
    line-height: 18px;
}

.ticket-status {
    display: inline-flex;
    align-items: center;
    border-radius: 10px;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
}

.ticket-status-active {
    background: #16c784;
    color: #062316;
    border: 1px solid #4ee3a7;
}

.ticket-status-waiting {
    background: #f59e0b;
    color: #241400;
    border: 1px solid #fbbf24;
}

.ticket-status-closed {
    background: #ef476f;
    color: #fff;
    border: 1px solid #ff7a99;
}

.ticket-conversation {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #fff;
}

.ticket-empty-state {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #8390a3;
    text-align: center;
    z-index: 1;
}

.ticket-empty-state i {
    font-size: 44px;
    color: #dde2e8;
}

.ticket-empty-state strong {
    font-size: 13px;
    font-weight: 500;
}

.ticket-empty-state span {
    font-size: 11px;
}

.ticket-chat-panel {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: 0;
    display: none;
    grid-template-rows: 52px minmax(0, 1fr) auto;
    /* background: #efe7dd; */
    overflow: hidden;
}

.ticket-chat-panel:not(.ticket-closed) .ticket-chat-composer {
    display: block !important;
    grid-row: 3;
}

.ticket-chat-panel.ticket-closed .ticket-chat-composer {
    display: none !important;
}

.ticket-chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    background: #f7fafc;
    border-bottom: 1px solid #d8e0e8;
    padding: 8px 12px;
}

.ticket-chat-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #008069;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    flex: 0 0 auto;
}

.ticket-chat-title {
    min-width: 0;
    flex: 1;
}

.ticket-chat-title h3 {
    margin: 0;
    font-size: 14px;
    color: #172b3a;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-chat-title span {
    display: block;
    font-size: 11px;
    color: #728194;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-chat-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticket-mobile-back {
    display: none;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #edf4f7;
    color: #607384;
    flex: 0 0 auto;
}

.ticket-chat-messages {
    min-height: 0;
    overflow-y: auto;
    padding: 16px;
    background: #efe7dd;
}

.ticket-chat-row {
    display: flex;
    margin-bottom: 10px;
}

.ticket-chat-row-own {
    justify-content: flex-end;
}

.ticket-chat-row-other {
    justify-content: flex-start;
}

.ticket-chat-bubble {
    max-width: 68%;
    border-radius: 8px;
    padding: 7px 9px;
    background: #fff;
    color: #172b3a;
    box-shadow: 0 1px 2px rgba(35, 45, 55, .14);
}

.ticket-chat-row-own .ticket-chat-bubble {
    background: #d9fdd3;
}

.ticket-chat-meta {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    font-size: 10px;
    color: #64758a;
    margin-bottom: 4px;
    font-weight: 700;
}

.ticket-chat-text {
    font-size: 13px;
    line-height: 1.45;
    white-space: normal;
    word-break: break-word;
}

.ticket-chat-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 9px;
}

.ticket-chat-attachment img {
    width: 76px;
    height: 64px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #c9d5e2;
}

.ticket-chat-loading,
.ticket-chat-empty,
.ticket-inbox-loading,
.ticket-inbox-empty {
    color: #8a97aa;
    text-align: center;
    padding: 60px 14px;
    font-style: italic;
    font-size: 12px;
}

.ticket-chat-composer {
    background: #f0f2f5;
    border-top: 1px solid #d8e0e8;
    padding: 6px 10px;
    max-height: 88px;
    overflow: hidden;
}

.ticket-composer-main {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 36px 36px;
    align-items: center;
    gap: 7px;
}

.ticket-chat-composer textarea {
    resize: none;
    border: 0;
    border-radius: 18px;
    box-shadow: none;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    padding: 8px 13px;
    font-size: 13px;
    background: #fff;
}

.ticket-file-button,
.ticket-send-button,
.ticket-close-button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    cursor: pointer;
    flex: 0 0 auto;
    border: 0;
}

.ticket-file-button {
    background: #fff;
    color: #526579;
}

.ticket-file-button input {
    display: none;
}

.ticket-send-button {
    background: #008069;
    color: #fff;
}

.ticket-close-button {
    background: #fff;
    color: #dc3545;
}

.ticket-send-button:hover {
    background: #006f5c;
    color: #fff;
}

.ticket-close-button:hover {
    background: #ffe7eb;
    color: #dc3545;
}

.ticket-file-preview {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
    margin: 5px 44px 0 39px;
}

.ticket-file-chip {
    background: #fff;
    border: 1px solid #d5e2ef;
    border-radius: 14px;
    padding: 4px 8px;
    font-size: 11px;
    color: #40566c;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-chat-app {
    background: #0b1724;
    border-color: #26384c;
}

.ticket-inbox,
.ticket-inbox-list {
    background: #0b1724;
    border-color: #26384c;
}

.ticket-sidebar-tools {
    background: #101d2b;
    border-color: #223449;
}

.ticket-search-input,
.ticket-filter-drawer {
    background: #0b1724;
    border-color: #2b4056;
}

.ticket-search-input i,
.ticket-sync-line {
    color: #8ca3bb;
}

.ticket-sidebar-tools .form-select,
.ticket-sidebar-tools .form-control {
    background-color: #0b1724 !important;
    border-color: #2b4056 !important;
    color: #d8e6f3 !important;
}

.ticket-sidebar-tools .form-control::placeholder,
.ticket-chat-composer textarea::placeholder {
    color: #8ca3bb;
}

.ticket-sidebar-tools .btn-sm,
.ticket-icon-btn,
.ticket-mobile-back {
    background: #102237;
    color: #d8e6f3;
    border-color: #2b4056;
}

.ticket-icon-btn:hover,
.ticket-sidebar-tools .btn-sm:hover {
    background: #17314f;
    color: #2dd4bf;
}

.ticket-unread-filter {
    color: #d8e6f3;
}

.ticket-thread {
    background: #0b1724;
    border-color: #1c2f43;
}

.ticket-thread:hover {
    background: #102237;
}

.ticket-thread.active {
    background: #123525;
}

.ticket-thread-top,
.ticket-thread-title {
    color: #f1f7fd;
}

.ticket-thread-meta {
    color: #a5b8ca;
}

.ticket-thread-preview,
.ticket-thread-top time {
    color: #8ca3bb;
}

.ticket-conversation,
.ticket-chat-panel,
.ticket-chat-messages {
    background: #07111d;
}

.ticket-chat-header {
    background: #0d1b2a;
    border-color: #26384c;
}

.ticket-chat-title h3 {
    color: #e8f2fb;
}

.ticket-chat-title span {
    color: #8ca3bb;
}

.ticket-thread .ticket-status-active,
.ticket-chat-header .ticket-status-active {
    background: #16c784 !important;
    color: #062316 !important;
    border-color: #4ee3a7 !important;
}

.ticket-thread .ticket-status-waiting,
.ticket-chat-header .ticket-status-waiting {
    background: #f59e0b !important;
    color: #241400 !important;
    border-color: #fbbf24 !important;
}

.ticket-thread .ticket-status-closed,
.ticket-chat-header .ticket-status-closed {
    background: #ef476f !important;
    color: #fff !important;
    border-color: #ff7a99 !important;
}

.ticket-chat-bubble {
    background: #102237;
    color: #e8f2fb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

.ticket-chat-row-own .ticket-chat-bubble {
    background: #075e54;
    color: #f3fffb;
}

.ticket-chat-meta {
    color: #9fb4c9;
}

.ticket-chat-composer {
    background: #0d1b2a;
    border-color: #26384c;
}

.ticket-chat-composer textarea {
    background: #102237;
    color: #e8f2fb;
}

.ticket-file-button {
    background: #102237;
    color: #9fb4c9;
}

.ticket-close-button {
    background: #102237;
    color: #ff6b7a;
}

.ticket-close-button:hover {
    background: #2b1520;
    color: #ff6b7a;
}

.ticket-file-chip {
    background: #102237;
    border-color: #2b4056;
    color: #d8e6f3;
}

html:not(.mc-theme-dark) .ticket-chat-app {
    background: #fff;
    border-color: #d8e0e8;
}

html:not(.mc-theme-dark) .ticket-inbox,
html:not(.mc-theme-dark) .ticket-inbox-list {
    background: #fff;
    border-color: #d8e0e8;
}

html:not(.mc-theme-dark) .ticket-sidebar-tools {
    background: #f7fafc;
    border-color: #d8e0e8;
}

html:not(.mc-theme-dark) .ticket-search-input,
html:not(.mc-theme-dark) .ticket-filter-drawer {
    background: #fff;
    border-color: #dfe7ef;
}

html:not(.mc-theme-dark) .ticket-search-input i,
html:not(.mc-theme-dark) .ticket-sync-line {
    color: #8a97aa;
}

html:not(.mc-theme-dark) .ticket-sidebar-tools .form-select,
html:not(.mc-theme-dark) .ticket-sidebar-tools .form-control {
    background-color: #fff !important;
    border-color: #d8e0e8 !important;
    color: #172b3a !important;
}

html:not(.mc-theme-dark) .ticket-sidebar-tools .form-control::placeholder,
html:not(.mc-theme-dark) .ticket-chat-composer textarea::placeholder {
    color: #8a97aa;
}

html:not(.mc-theme-dark) .ticket-sidebar-tools .btn-sm,
html:not(.mc-theme-dark) .ticket-icon-btn,
html:not(.mc-theme-dark) .ticket-mobile-back {
    background: #fff;
    color: #34495e;
    border-color: #d8e0e8;
}

html:not(.mc-theme-dark) .ticket-icon-btn:hover,
html:not(.mc-theme-dark) .ticket-sidebar-tools .btn-sm:hover {
    background: #edf4f7;
    color: #008069;
}

html:not(.mc-theme-dark) .ticket-unread-filter {
    color: #111;
}

html:not(.mc-theme-dark) .ticket-thread {
    background: #fff;
    border-color: #edf1f4;
}

html:not(.mc-theme-dark) .ticket-thread:hover,
html:not(.mc-theme-dark) .ticket-thread.active {
    background: #eef8f2;
}

html:not(.mc-theme-dark) .ticket-thread-top,
html:not(.mc-theme-dark) .ticket-thread-title {
    color: #172b3a;
}

html:not(.mc-theme-dark) .ticket-thread-meta {
    color: #64758a;
}

html:not(.mc-theme-dark) .ticket-thread-preview,
html:not(.mc-theme-dark) .ticket-thread-top time {
    color: #8a97aa;
}

html:not(.mc-theme-dark) .ticket-conversation {
    background: #fff;
}

html:not(.mc-theme-dark) .ticket-chat-panel,
html:not(.mc-theme-dark) .ticket-chat-messages {
    background: #efe7dd;
}

html:not(.mc-theme-dark) .ticket-chat-header {
    background: #f7fafc;
    border-color: #d8e0e8;
}

html:not(.mc-theme-dark) .ticket-chat-title h3 {
    color: #172b3a;
}

html:not(.mc-theme-dark) .ticket-chat-title span {
    color: #728194;
}

html:not(.mc-theme-dark) .ticket-chat-bubble {
    background: #fff;
    color: #172b3a;
    box-shadow: 0 1px 2px rgba(35, 45, 55, .14);
}

html:not(.mc-theme-dark) .ticket-chat-row-own .ticket-chat-bubble {
    background: #d9fdd3;
    color: #172b3a;
}

html:not(.mc-theme-dark) .ticket-chat-meta {
    color: #64758a;
}

html:not(.mc-theme-dark) .ticket-chat-composer {
    background: #f0f2f5;
    border-color: #d8e0e8;
}

html:not(.mc-theme-dark) .ticket-chat-composer textarea {
    background: #fff;
    color: #172b3a;
}

html:not(.mc-theme-dark) .ticket-file-button,
html:not(.mc-theme-dark) .ticket-close-button {
    background: #fff;
}

html:not(.mc-theme-dark) .ticket-file-button {
    color: #526579;
}

html:not(.mc-theme-dark) .ticket-close-button {
    color: #dc3545;
}

html:not(.mc-theme-dark) .ticket-close-button:hover {
    background: #ffe7eb;
    color: #dc3545;
}

html:not(.mc-theme-dark) .ticket-file-chip {
    background: #fff;
    border-color: #d5e2ef;
    color: #40566c;
}

@media (max-width: 1199px) {
    .ticket-chat-app {
        grid-template-columns: 300px minmax(0, 1fr);
        height: calc(100vh - 185px);
    }
}

@media (max-width: 767px) {
    .support-ticket-page {
        padding: 0 !important;
    }

    .ticket-chat-app {
        display: block;
        height: calc(100vh - 142px);
        min-height: 520px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .ticket-inbox {
        height: 100%;
        border-right: 0;
        border-bottom: 0;
    }

    .ticket-sidebar-tools {
        padding: 8px;
    }

    .ticket-filter-row {
        grid-template-columns: minmax(92px, 1fr) 76px 86px;
    }

    .ticket-sort-controls {
        grid-template-columns: minmax(0, 1fr) 70px;
    }

    .ticket-inbox-list {
        height: auto;
        min-height: 0;
    }

    .ticket-conversation {
        display: none;
        height: 100%;
        min-height: 0;
    }

    .ticket-empty-state {
        display: none;
    }

    body.ticket-mobile-chat-open .ticket-inbox {
        display: none;
    }

    body.ticket-mobile-chat-open .ticket-conversation {
        display: block;
    }

    body.ticket-mobile-chat-open .ticket-chat-panel {
        display: grid !important;
        height: 100%;
    }

    .ticket-mobile-back {
        display: inline-flex;
    }

    .ticket-chat-header {
        height: 50px;
        padding: 7px 8px;
        gap: 8px;
    }

    .ticket-chat-avatar {
        width: 32px;
        height: 32px;
    }

    .ticket-chat-title h3 {
        font-size: 13px;
    }

    .ticket-chat-title span {
        font-size: 10px;
    }

    .ticket-chat-tools .ticket-status {
        display: none;
    }

    .ticket-chat-messages {
        padding: 10px;
    }

    .ticket-chat-bubble {
        max-width: 88%;
    }

    .ticket-chat-composer {
        padding: 8px;
        max-height: 124px;
    }

    .ticket-composer-main {
        grid-template-columns: 34px minmax(0, 1fr) 38px 38px;
        gap: 6px;
    }

    .ticket-file-button,
    .ticket-send-button,
    .ticket-close-button {
        width: 34px;
        height: 34px;
    }

    .ticket-file-preview {
        margin: 6px 44px 0 40px;
        max-height: 26px;
        overflow: hidden;
    }
}

/* Source: support-ticket-create.php style block 1 */
.fullwidths {
    width: 100%;
}

.select2-container .select2-selection--single {
    height: 33px;
}

/* Source: support-ticket-create.php style block 2 */

/* Source: support-ticket-create.php style block 3 */

/* Source: support-ticket-details.php style block 1 */

/* Source: support-ticket-details.php style block 2 */
.ticket-chat-shell {
    background: #f4f7fb;
    padding: 18px !important;
}

.ticket-chat-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.ticket-chat-status {
    font-size: 13px;
    color: #526579;
    font-weight: 600;
}

.ticket-chat-messages {
    height: auto;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d9e2ef;
    border-radius: 6px;
    padding: 18px;
}

.ticket-chat-row {
    display: flex;
    margin-bottom: 14px;
}

.ticket-chat-row-own {
    justify-content: flex-end;
}

.ticket-chat-row-other {
    justify-content: flex-start;
}

.ticket-chat-bubble {
    max-width: 72%;
    border: 1px solid #d9e2ef;
    border-radius: 6px;
    padding: 10px 12px;
    background: #f8fafc;
    color: #172b3a;
    box-shadow: 0 1px 2px rgba(15, 35, 55, .04);
}

.ticket-chat-row-own .ticket-chat-bubble {
    background: #e7f4ff;
    border-color: #b9dcfb;
}

.ticket-chat-meta {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    font-size: 11px;
    color: #64758a;
    margin-bottom: 6px;
    font-weight: 700;
}

.ticket-chat-text {
    font-size: 14px;
    line-height: 1.45;
    white-space: normal;
    word-break: break-word;
}

.ticket-chat-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.ticket-chat-attachment img {
    width: 76px;
    height: 64px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #c9d5e2;
}

.ticket-chat-empty,
.ticket-chat-loading {
    color: #7b8da1;
    text-align: center;
    padding: 70px 0;
    font-style: italic;
}

.ticket-chat-composer {
    margin-top: 14px;
    background: #fff;
    border: 1px solid #d9e2ef;
    border-radius: 6px;
    padding: 12px;
}

.ticket-chat-composer textarea {
    resize: vertical;
    border: 0;
    box-shadow: none;
    padding: 0;
    min-height: 74px;
}

.ticket-chat-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #edf1f6;
    margin-top: 10px;
    padding-top: 10px;
}

.ticket-file-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #0069a8;
    font-weight: 700;
    cursor: pointer;
}

.ticket-file-button input {
    display: none;
}

.ticket-file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.ticket-file-chip {
    background: #eef4fa;
    border: 1px solid #d5e2ef;
    border-radius: 5px;
    padding: 5px 8px;
    font-size: 12px;
    color: #40566c;
}

@media (max-width: 767px) {
    .ticket-chat-bubble {
        max-width: 92%;
    }

    .ticket-chat-messages {
        height: 360px;
        padding: 12px;
    }
}

/* Source: support-ticket-details.php style block 3 */
.overflowh {
    overflow: hidden !important;
}

.nulook {
    padding-left: 20px;
    border-left: 1px solid #8a8a8a;
    color: #333 !important;
    min-height: 82px;
}

/* Source: support-ticket-issue.php style block 1 */

/* Source: support-ticket-issue-update.php style block 1 */
.fullwidths {
    width: 100%;
}

.select2-container .select2-selection--single {
    height: 33px;
}

/* Source: support-ticket-issue-update.php style block 2 */

/* Source: support-ticket-issue-update.php style block 3 */

/* Source: user-logs.php style block 1 */
.ulog-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 18px 40px
}

.ulog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #0D4F7C, #1C3E6E);
    border-radius: 12px;
    color: #fff;
    margin-bottom: 14px;
    flex-wrap: wrap
}

.ulog-header-l {
    display: flex;
    align-items: center;
    gap: 10px
}

.ulog-header-ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0
}

.ulog-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2
}

.ulog-header small {
    display: block;
    color: rgba(255, 255, 255, .7);
    font-size: 11px;
    font-weight: 600;
    margin-top: 2px
}

.ulog-header-r {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}

.ulog-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    font-family: "Urbanist", sans-serif !important;
    border-radius: 8px;
    background: rgba(255, 255, 255, .15);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap
}

.ulog-export {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 8px;
    font-family: "Urbanist", sans-serif !important;
    background: #F16822;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap
}

.ulog-export:hover {
    background: #e05a18;
    color: #fff;
    font-family: "Urbanist", sans-serif !important;
    text-decoration: none
}

.ulog-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 12px
}

.ulog-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text-2);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all .15s
}

.ulog-tab:hover {
    border-color: #0b4f7a;
    color: var(--text);
    text-decoration: none
}

.ulog-tab.on {
    background: #0D4F7C;
    border-color: #0D4F7C;
    color: #fff;
    box-shadow: 0 4px 14px rgba(13, 79, 124, .25)
}

.ulog-tab i {
    font-size: 13px
}

.ulog-tab .ulog-ct {
    font-size: 10px;
    background: rgba(255, 255, 255, .2);
    padding: 1px 6px;
    border-radius: 6px;
    font-weight: 900
}

.ulog-tab:not(.on) .ulog-ct {
    background: var(--soft-bg);
    color: var(--text-3)
}

.ulog-filters {
    display: grid;
    grid-template-columns: 130px 130px minmax(160px, 1.4fr) 120px 100px auto auto;
    gap: 8px;
    align-items: end;
    padding: 12px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: "Urbanist", sans-serif !important;
    margin-bottom: 12px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .04)
}

.ulog-fi label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 4px
}

.ulog-fi input,
.ulog-fi select {
    width: 100%;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--white);
    color: var(--text);
    font-size: 11px;
    font-weight: 600;
    padding: 0 8px;
    outline: none;
    transition: border-color .12s
}

.ulog-fi input:focus,
.ulog-fi select:focus {
    border-color: var(--border);
    box-shadow: none
}

.ulog-fi input::placeholder {
    color: var(--text-3);
    font-weight: 500
}

.ulog-fi-date {
    position: relative
}

.ulog-fi-date input {
    padding-right: 6px
}

.ulog-fi-date i {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-3);
    font-size: 11px;
    pointer-events: none
}

.ulog-srch {
    position: relative
}

.ulog-srch i {
    position: absolute;
    left: 9px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-3);
    font-size: 12px;
    pointer-events: none
}

.ulog-srch input {
    padding-left: 28px
}

.ulog-btn {
    height: 34px;
    border: 0;
    border-radius: 7px;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all .12s;
    white-space: nowrap
}

.ulog-btn-primary {
    background: #0D4F7C;
    color: #fff
}

.ulog-btn-primary:hover {
    background: #083757
}

.ulog-btn-orange {
    background: #F16822;
    color: #fff
}

.ulog-btn-orange:hover {
    background: #e05a18
}

.ulog-btn-ghost {
    background: var(--soft-bg);
    border: 1px solid var(--border);
    color: var(--text-2)
}

.ulog-btn-ghost:hover {
    background: var(--border);
    color: var(--text)
}

.ulog-kpis {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 12px;
    font-family: "Urbanist", sans-serif !important;
}

.ulog-kpi {
    padding: 10px 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform .1s
}

.ulog-kpi:hover {
    transform: translateY(-1px)
}

.ulog-kpi-i {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0
}

.ulog-kpi-i.b {
    background: #e8f4fb;
    color: #0b4f7a
}

.ulog-kpi-i.g {
    background: #dcfce7;
    color: #047857
}

.ulog-kpi-i.r {
    background: #fee2e2;
    color: #b91c1c
}

.ulog-kpi-i.o {
    background: #fef3c7;
    color: #92400e
}

.ulog-kpi-i.p {
    background: #f3e8ff;
    color: #7c3aed
}

.ulog-kpi-v {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.1
}

.ulog-kpi-l {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-2)
}

.ulog-kpi-s {
    font-size: 9px;
    color: var(--text-3);
    font-weight: 600
}

.ulog-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06)
}

.ulog-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--soft-bg)
}

.ulog-card-top h6 {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 6px
}

.ulog-card-top h6 i {
    color: var(--blue)
}

.ulog-card-tools {
    display: flex;
    align-items: center;
    gap: 6px
}

.ulog-pagesize {
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    color: var(--text);
    font-size: 11px;
    font-weight: 600;
    padding: 0 6px;
    cursor: pointer
}

.ulog-tw {
    overflow-x: auto
}

.ulog-tbl {
    width: 100%;
    border-collapse: collapse;
    font-family: "Urbanist", sans-serif !important;
}

.ulog-tbl thead th {
    background: #f6f9fc;
    color: #7c8da3;
    border-bottom: 1px solid var(--border) !important;
    padding: 10px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 2
}

.ulog-tbl tbody td {
    padding: 9px 10px;
    border-bottom: 1px solid #eef3f8;
    color: var(--text);
    font-size: 12px;
    vertical-align: middle;
}

.ulog-tbl tbody tr:hover {
    background: #f8fbff
}

.ulog-tbl tbody tr:last-child td {
    border-bottom: 0
}

.ulog-td-ts {
    font-size: 11px;
    color: var(--text-2);
    white-space: nowrap;
    font-weight: 600;
    font-variant-numeric: tabular-nums
}

.ulog-id {
    font-family: 'Roboto Mono', monospace;
    font-size: 10px;
    color: var(--text-2);
    font-weight: 700;
    background: var(--soft-bg);
    padding: 2px 6px;
    border-radius: 5px;
    white-space: nowrap
}

.ulog-tbl td strong {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--text)
}

.ulog-tbl td small {
    display: block;
    font-size: 10px;
    color: var(--text-3);
    margin-top: 1px
}

.ulog-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
    line-height: 1.2
}

.ulog-bc-green {
    background: #dcfce7;
    color: #047857
}

.ulog-bc-red {
    background: #fee2e2;
    color: #b91c1c
}

.ulog-bc-blue {
    background: #dbeafe;
    color: #1e40af
}

.ulog-bc-cyan {
    background: #cffafe;
    color: #0e7490
}

.ulog-bc-orange {
    background: #fef3c7;
    color: #92400e
}

.ulog-bc-purple {
    background: #f3e8ff;
    color: #7c3aed
}

.ulog-bc-gray {
    background: #f1f5f9;
    color: #475569
}

.ulog-ip {
    font-family: 'Roboto Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    background: var(--soft-bg);
    border: 1px solid var(--border);
    padding: 2px 6px;
    border-radius: 5px;
    white-space: nowrap
}

.ulog-td-desc {
    font-size: 11px;
    color: var(--text-2);
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    /* white-space: nowrap; */
}

.ulog-td-domain {
    font-size: 12px;
    font-weight: 800;
    color: var(--blue);
    white-space: nowrap
}

.ulog-td-domain i {
    font-size: 10px;
    margin-right: 3px
}

.ulog-extra-btn {
    width: 26px;
    height: 26px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    color: var(--text-2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: all .12s
}

.ulog-extra-btn:hover {
    background: #e8f4fb;
    color: #0b4f7a;
    border-color: #0b4f7a
}

.ulog-noextra {
    color: var(--text-3);
    font-size: 11px
}

.ulog-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-top: 1px solid var(--border);
    background: var(--soft-bg);
    flex-wrap: wrap
}

.ulog-showing {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-2)
}

.ulog-pags {
    display: flex;
    align-items: center;
    gap: 4px
}

.ulog-pbtn {
    min-width: 30px;
    height: 30px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    color: var(--text-2);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    transition: all .12s
}

.ulog-pbtn:hover:not(.active):not([disabled]) {
    background: #e8f4fb;
    border-color: #0b4f7a;
    color: #0b4f7a
}

.ulog-pbtn.active {
    background: #0D4F7C;
    border-color: #0D4F7C;
    color: #fff
}

.ulog-pbtn[disabled] {
    opacity: .35;
    pointer-events: none
}

.ulog-dots {
    color: var(--text-3);
    padding: 0 2px;
    font-size: 11px
}

.ulog-empty {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px;
    color: var(--text-3)
}

.ulog-empty i {
    font-size: 36px;
    color: var(--border);
    margin-bottom: 10px
}

.ulog-empty strong {
    color: var(--text-2);
    font-size: 14px;
    margin-bottom: 4px
}

.ulog-empty span {
    font-size: 11px;
    max-width: 280px
}

.ulog-modal .modal-content {
    border: 0;
    border-radius: 14px;
    overflow: hidden
}

.ulog-modal .modal-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--soft-bg);
    display: flex;
    align-items: center;
    justify-content: space-between
}

.ulog-modal .modal-header h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 6px
}

.ulog-modal .modal-header h5 i {
    color: var(--blue)
}

.ulog-modal .modal-body {
    padding: 14px 16px
}

.ulog-modal .modal-footer {
    padding: 10px 16px;
    border-top: 1px solid var(--border);
    background: var(--soft-bg);
    display: flex;
    justify-content: flex-end;
    gap: 8px
}

.ulog-json {
    background: #1e293b;
    color: #e2e8f0;
    border-radius: 10px;
    padding: 14px;
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    line-height: 1.55;
    max-height: 350px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0
}

.ulog-copybtn {
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--white);
    color: var(--text-2);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px
}

.ulog-copybtn:hover {
    background: #e8f4fb;
    color: #0b4f7a
}

.ulog-loading {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .75);
    z-index: 20;
    align-items: center;
    justify-content: center;
    border-radius: 12px
}

.ulog-loading.on {
    display: flex
}

.ulog-loading-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 16px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
    color: var(--text-2);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px
}

.ulog-loading-box i {
    color: #0D4F7C
}

@media(max-width:1100px) {
    .ulog-filters {
        grid-template-columns: 120px 120px minmax(140px, 1fr) 100px 90px auto auto;
        gap: 7px
    }

    .ulog-kpis {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width:900px) {
    .ulog-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center
    }

    .ulog-header-r {
        justify-content: center
    }

    .ulog-filters {
        grid-template-columns: 1fr 1fr;
        gap: 8px
    }

    .ulog-fi:first-child {
        grid-column: 1/-1
    }

    .ulog-kpis {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px
    }
}

@media(max-width:767px) {
    .ulog-wrap {
        padding: 10px 10px 80px
    }

    .ulog-header {
        padding: 12px;
        border-radius: 10px
    }

    .ulog-header h4 {
        font-size: 14px
    }

    .ulog-tabs {
        flex-direction: row
    }

    .ulog-tab {
        padding: 8px 10px;
        font-size: 11px
    }

    .ulog-filters {
        grid-template-columns: 1fr !important;
        padding: 10px
    }

    .ulog-fi input,
    .ulog-fi select {
        height: 36px;
        font-size: 12px
    }

    .ulog-btn {
        width: 100%;
        justify-content: center;
        height: 36px
    }

    .ulog-kpis {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px
    }

    .ulog-kpi {
        padding: 8px
    }

    .ulog-kpi-i {
        width: 30px;
        height: 30px;
        font-size: 13px
    }

    .ulog-kpi-v {
        font-size: 16px
    }

    /* Mobile cards */
    .ulog-tbl thead {
        display: none
    }

    .ulog-tbl,
    .ulog-tbl tbody,
    .ulog-tbl tr {
        display: block;
        width: 100%
    }

    .ulog-tbl tbody tr {
        margin: 0 10px 8px;
        padding: 12px;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: var(--white);
        box-shadow: 0 6px 16px rgba(15, 23, 42, .05)
    }

    .ulog-tbl tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 6px 0;
        border-bottom: 1px dashed #eef3f8;
        text-align: right;
        white-space: normal;
        font-size: 11px
    }

    .ulog-tbl tbody td:last-child {
        border-bottom: 0
    }

    .ulog-tbl tbody td::before {
        content: attr(data-label);
        flex: 0 0 38%;
        color: var(--text-2);
        font-size: 9px;
        font-weight: 700;
        letter-spacing: .03em;
        text-transform: uppercase;
        text-align: left
    }

    .ulog-tbl td strong {
        font-size: 13px
    }

    .ulog-td-desc {
        max-width: 100%;
        white-space: normal
    }

    .ulog-pager {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 10px
    }

    .ulog-pags {
        justify-content: center
    }
}

@media(max-width:480px) {
    .ulog-kpis {
        grid-template-columns: 1fr 1fr
    }
}

/* User logs page scroll and responsive hardening */
body.ulog-page,
body.ulog-page .wrapper {
    min-height: 100dvh;
    height: auto !important;
}

body.ulog-page {
    overflow-y: auto !important;
}

body.ulog-page .wrapper,
body.ulog-page .content-wrapper,
body.ulog-page .container-full,
body.ulog-page .content,
body.ulog-page .cb,
body.ulog-page .ulog-wrap {
    overflow: visible !important;
}

body.ulog-page .content {
    padding-bottom: 80px !important;
}

body.ulog-page .ulog-wrap {
    width: 100%;
    max-width: 1280px;
}

body.ulog-page .ulog-header-l,
body.ulog-page .ulog-header-r,
body.ulog-page .ulog-fi,
body.ulog-page .ulog-card,
body.ulog-page .ulog-tw,
body.ulog-page .ulog-tbl,
body.ulog-page .ulog-tbl td {
    min-width: 0;
}

body.ulog-page .ulog-header h4,
body.ulog-page .ulog-header small,
body.ulog-page .ulog-tbl td,
body.ulog-page .ulog-td-desc,
body.ulog-page .ulog-td-domain {
    overflow-wrap: anywhere;
}

body.ulog-page .ulog-tw {
    width: 100%;
    overflow-x: auto !important;
}

body.ulog-page .ulog-tbl {
    min-width: 980px;
}

@media(max-width:1100px) {
    body.ulog-page .ulog-filters {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.ulog-page .ulog-srch {
        grid-column: span 2;
    }

    body.ulog-page .ulog-btn {
        width: 100%;
        justify-content: center;
    }
}

@media(max-width:767px) {
    body.ulog-page .content {
        padding-bottom: 96px !important;
    }

    body.ulog-page .ulog-header,
    body.ulog-page .ulog-tabs,
    body.ulog-page .ulog-filters,
    body.ulog-page .ulog-kpis,
    body.ulog-page .ulog-card-top,
    body.ulog-page .ulog-pager {
        width: 100%;
    }

    body.ulog-page .ulog-header-r {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    body.ulog-page .ulog-pill,
    body.ulog-page .ulog-export {
        justify-content: center;
        width: 100%;
    }

    body.ulog-page .ulog-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    body.ulog-page .ulog-tw {
        overflow-x: visible !important;
    }

    body.ulog-page .ulog-tbl {
        min-width: 0;
    }

    body.ulog-page .ulog-empty {
        padding: 28px 12px;
    }
}

@media(max-width:480px) {
    body.ulog-page .ulog-wrap {
        padding-left: 8px;
        padding-right: 8px;
    }

    body.ulog-page .ulog-kpis {
        grid-template-columns: 1fr;
    }

    body.ulog-page .ulog-card-top {
        align-items: stretch;
        gap: 10px;
    }

    body.ulog-page .ulog-card-tools,
    body.ulog-page .ulog-pagesize {
        width: 100%;
    }
}

/* Source: view-customers.php style block 1 */
.customer-page-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.customer-box {
    border-radius: 9px;
    overflow: hidden;
}

.customer-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.customer-box-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.customer-download-btn {
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
}

.customer-search-section {
    background: #f8fafc;
    border: 1px solid #e5e9f0;
    border-radius: 9px;
    padding: 15px;
    margin-bottom: 16px;
}

.customer-filter-grid {
    display: grid;
    grid-template-columns:
        minmax(260px, 2fr) minmax(130px, 0.8fr) minmax(160px, 1fr) minmax(150px, 0.9fr) minmax(100px, 0.6fr) auto;
    gap: 11px;
    align-items: end;
}

.customer-filter-item label {
    display: block;
    color: #475569;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 6px;
}

.customer-filter-item .form-control,
.customer-filter-item .form-select {
    width: 100%;
    height: 40px;
    min-height: 40px;
    border: 1px solid #d8dee8;
    border-radius: 6px;
    background: #fff;
    color: #1f2937;
    font-size: 13px;
}

.customer-search-wrap {
    position: relative;
}

.customer-search-wrap i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.customer-search-wrap input {
    padding-left: 37px;
    padding-right: 35px;
}

.customer-search-clear {
    display: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
}

.customer-search-clear:hover {
    color: #dc3545;
}

.customer-reset-btn {
    height: 40px;
    min-width: 44px;
    border-radius: 6px;
}

.customer-list-box {
    position: relative;
}

.customer-table {
    width: 100%;
    margin: 0;
}

.customer-table thead th {
    background: #f8fafc;
    color: #64748b;
    border-bottom: 1px solid #e5e9f0 !important;
    padding: 12px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.customer-table tbody td {
    padding: 12px 10px;
    border-bottom: 1px solid #eef1f5;
    vertical-align: middle;
    color: #334155;
    font-size: 13px;
}

.customer-table tbody tr:hover {
    background: #f8fbff;
}

.customer-row-inactive {
    background: #fff7f7;
}

.customer-sl {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eef4ff;
    color: #1769aa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
}

.customer-name-btn {
    border: 0;
    background: transparent;
    color: #0d6efd;
    font-size: 13px;
    font-weight: 500;
    padding: 0;
    text-align: left;
    cursor: pointer;
    word-break: break-word;
}

.customer-name-cell {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-align: left;
}

.customer-list-avatar {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: #eaf3ff;
    color: #1769aa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    overflow: hidden;
}

.customer-list-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-name-btn:hover {
    text-decoration: underline;
}

.customer-meta {
    color: #64748b;
    font-size: 11px;
    margin-top: 3px;
}

.customer-company {
    max-width: 220px;
    word-break: break-word;
}

.customer-package-assigned,
.customer-package-unassigned {
    display: inline-block;
    border-radius: 14px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.customer-package-assigned {
    background: #edf8f1;
    color: #18864b;
}

.customer-package-unassigned {
    background: #fff1f1;
    color: #c62828;
}

.customer-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 14px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 500;
}

.customer-status-active {
    background: #edf8f1;
    color: #18864b;
}

.customer-status-inactive {
    background: #fff1f1;
    color: #c62828;
}

.customer-mobile-status {
    display: none;
    margin-top: 6px;
}

.customer-action,
.customer-action-disabled {
    width: 31px;
    height: 31px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    font-size: 13px;
}

.customer-action {
    cursor: pointer;
    transition: transform 0.15s ease;
}

.customer-action:hover {
    transform: translateY(-1px);
}

.customer-action-edit {
    background: #eaf6ff;
    color: #087bbd;
}

.customer-action-login {
    background: #fff5df;
    color: #b77900;
}

.customer-action-view {
    background: #ebf8ef;
    color: #18864b;
}

.customer-action-log {
    background: #fff5df;
    color: #b77900;
}

.customer-action-disabled {
    background: #f1f5f9;
    color: #a0aec0;
}

.customer-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 0 0;
}

.customer-showing-text {
    color: #64748b;
    font-size: 12px;
}

.customer-pagination {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.customer-page-btn {
    min-width: 34px;
    height: 34px;
    border: 1px solid #dce3ed;
    border-radius: 6px;
    background: #fff;
    color: #475569;
    font-size: 12px;
    cursor: pointer;
    padding: 0 9px;
}

.customer-page-btn:hover,
.customer-page-btn.active {
    background: #0d86d9;
    border-color: #0d86d9;
    color: #fff;
}

.customer-page-btn.disabled {
    opacity: 0.45;
    pointer-events: none;
}

.customer-page-dots {
    color: #94a3b8;
    padding: 0 3px;
}

.customer-empty-state {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #64748b;
    text-align: center;
}

.customer-empty-state i {
    font-size: 34px;
    color: #a8b3c2;
    margin-bottom: 10px;
}

.customer-empty-state strong {
    color: #334155;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.customer-empty-state span {
    font-size: 12px;
}

.customer-loading-layer {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.78);
    z-index: 20;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.customer-loading-box {
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    padding: 12px 18px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.08);
    color: #475569;
    font-size: 13px;
}

.customer-loading-box i {
    margin-right: 6px;
    color: #0d86d9;
}

.customer-modal-body {
    max-height: 550px;
    overflow-y: auto;
    overflow-x: hidden;
}

@media(max-width: 1199px) {
    .customer-filter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media(max-width: 767px) {

    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .content {
        padding: 10px !important;
    }

    .customer-page-container {
        max-width: 100%;
    }

    .customer-filter-grid {
        grid-template-columns: 1fr;
    }

    .customer-search-section {
        padding: 12px;
    }

    .customer-reset-btn {
        width: 100%;
    }

    .customer-table {
        display: block;
        width: 100%;
    }

    .customer-table thead {
        display: none;
    }

    .customer-table tbody {
        display: block;
        width: 100%;
    }

    .customer-table tbody tr {
        display: block;
        width: 100%;
        margin-bottom: 12px;
        padding: 10px 12px;
        background: #fff;
        border: 1px solid #e5e9f0;
        border-radius: 9px;
        box-shadow: 0 2px 7px rgba(15, 23, 42, 0.04);
    }

    .customer-table tbody tr.customer-row-inactive {
        background: #fff8f8;
        border-color: #ffdada;
    }

    .customer-table tbody td {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 10px;
        width: 100%;
        padding: 9px 0;
        border-bottom: 1px dashed #e5e9f0;
        text-align: left;
    }

    .customer-table tbody td:last-child {
        border-bottom: 0;
    }

    .customer-table tbody td::before {
        content: attr(data-label);
        color: #64748b;
        font-size: 10px;
        font-weight: 600;
        text-transform: uppercase;
    }

    .customer-mobile-status {
        display: block;
    }

    .customer-company {
        max-width: 100%;
    }

    .customer-list-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .customer-pagination {
        width: 100%;
    }

    .customer-page-btn {
        min-width: 32px;
        height: 32px;
    }

    .customer-box-header {
        align-items: flex-start;
    }

    .customer-download-btn {
        width: 100%;
    }
}

@media(max-width: 360px) {
    .customer-table tbody td {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 8px;
    }
}

/* Professional customer list refresh */
.customer-page-container {
    max-width: 1240px;
}

.customer-box {
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.customer-box>.box-header {
    padding: 0;
    border: 0;
    background: #1C3E6E !important;
}

.customer-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 96px;
    padding: 22px 24px;
}

.customer-title-block {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.customer-title-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    flex: 0 0 auto;
}

.customer-kicker {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.customer-box-header h4 {
    margin: 0;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.12;
}

.customer-subtitle {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    font-weight: 600;
}

.customer-hero-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.customer-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    border-radius: 999px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.customer-download-btn {
    min-height: 40px;
    border: 0;
    border-radius: 12px;
    padding: 10px 15px;
    background: #F16822 !important;
    box-shadow: 0 10px 22px rgba(241, 104, 34, 0.24);
    font-size: 12px;
    font-weight: 700;
}

.customer-box>.box-body {
    padding: 18px 20px 20px;
    background: #fff;
}

.customer-search-section {
    border: 1px solid #dbe7f1;
    border-radius: 16px;
    padding: 18px;
    background: #f8fafc;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
}

.customer-filter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 13px;
}

.customer-filter-title strong {
    color: #0f2f47;
    font-size: 13px;
    font-weight: 700;
}

.customer-filter-title span {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

.customer-filter-item label {
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.customer-filter-item .form-control,
.customer-filter-item .form-select {
    height: 42px;
    border-color: #d6e1ec;
    border-radius: 12px;
    color: #102a43;
    font-weight: 650;
}

.customer-reset-btn {
    height: 42px;
    min-width: 48px;
    border: 0;
    border-radius: 12px;
    background: #F16822 !important;
    box-shadow: 0 9px 20px rgba(249, 115, 22, 0.22);
    color: #fff;
}

.customer-list-box {
    border: 1px solid #e5eef7;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.customer-table thead th {
    background: #f6f9fc;
    color: #7c8da3;
    padding: 14px 13px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.customer-table tbody td {
    padding: 17px 13px;
    border-bottom: 1px solid #eef3f8;
    color: #24364b;
}

.customer-table tbody tr:hover {
    background: #f8fbff;
    /* box-shadow: inset 4px 0 0 #0ea5e9; */
}

.customer-sl {
    width: 32px;
    height: 32px;
    background: #EEF3F9;
    color: #1C3E6E;
    font-weight: 700;
}

.customer-name-btn {
    color: #1C3E6E;
    font-weight: 700;
}

.customer-meta {
    font-weight: 700;
}

.customer-package-assigned,
.customer-package-unassigned,
.customer-status {
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.customer-package-assigned,
.customer-status-active {
    background: #dcfce7;
    color: #047857;
}

.customer-package-unassigned,
.customer-status-inactive {
    background: #fee2e2;
    color: #b91c1c;
}

.customer-action,
.customer-action-disabled {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.customer-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.12);
}

.customer-action-edit {
    background: #e0f2fe;
    color: #0284c7;
}

.customer-action-login,
.customer-action-log {
    background: #fef3c7;
    color: #b45309;
}

.customer-action-view {
    background: #dcfce7;
    color: #047857;
}

.customer-list-footer {
    padding: 14px 16px;
    background: #fbfdff;
    border-top: 1px solid #eef3f8;
}

.customer-showing-text {
    color: #475569;
    font-weight: 800;
}

.customer-page-btn {
    border-radius: 10px;
    font-weight: 700;
}

.customer-page-btn:hover,
.customer-page-btn.active {
    background: #1C3E6E;
    border-color: #1C3E6E;
}

@media(max-width: 767px) {
    .customer-box {
        border-radius: 16px;
    }

    .customer-hero {
        align-items: flex-start;
        padding: 18px;
    }

    .customer-title-block {
        align-items: flex-start;
    }

    .customer-box-header h4 {
        font-size: 19px;
    }

    .customer-hero-actions {
        width: 100%;
        justify-content: stretch;
    }

    .customer-count-pill,
    .customer-download-btn {
        width: 100%;
        justify-content: center;
    }

    .customer-box>.box-body {
        padding: 12px;
    }

    .customer-search-section {
        padding: 14px;
        border-radius: 14px;
    }

    .customer-filter-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .customer-list-box {
        border: 0;
        background: transparent;
        overflow: visible;
    }

    .customer-table tbody tr {
        border-radius: 16px;
        border: 1px solid #e2edf7;
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
    }

    .customer-table tbody tr:hover {
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
    }

    .customer-table tbody td {
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .customer-list-footer {
        border: 1px solid #e2edf7;
        border-radius: 14px;
        margin-top: 12px;
    }
}

/* Mobile customer cards: readable app layout */
@media(max-width: 767px) {
    .customer-table {
        min-width: 0 !important;
    }

    .customer-table tbody tr {
        position: relative;
        display: block !important;
        padding: 16px 14px 14px !important;
        margin-bottom: 14px !important;
        background: #fff !important;
        border: 1px solid #dfeaf4 !important;
        border-radius: 18px !important;
        box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08) !important;
    }

    .customer-table tbody td {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        min-height: 42px;
        padding: 10px 0 !important;
        border-bottom: 1px solid #eef4f9 !important;
        text-align: left;
        white-space: normal !important;
    }

    .customer-table tbody td::before {
        content: attr(data-label);
        width: auto;
        min-width: 82px;
        color: #6b7c91;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        flex: 0 0 auto;
    }

    .customer-table tbody td[data-label="Sl No."] {
        position: absolute;
        top: 14px;
        right: 14px;
        display: block !important;
        width: auto;
        min-height: 0;
        padding: 0 !important;
        border: 0 !important;
    }

    .customer-table tbody td[data-label="Sl No."]::before {
        display: none;
    }

    .customer-table tbody td[data-label="Customer"] {
        display: block !important;
        padding: 0 46px 12px 0 !important;
        border-bottom: 1px solid #e5edf6 !important;
    }

    .customer-table tbody td[data-label="Customer"]::before {
        display: none;
    }

    .customer-name-btn {
        display: block;
        width: 100%;
        color: #063f63;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.25;
    }

    .customer-meta {
        margin-top: 7px;
        font-size: 11px;
    }

    .customer-status {
        margin-left: 0;
    }

    .customer-company,
    .customer-package-assigned,
    .customer-package-unassigned,
    .customer-table tbody td[data-label="Balance"] span,
    .customer-table tbody td[data-label="Balance"] strong {
        max-width: calc(100% - 96px);
        text-align: right;
        white-space: normal;
        word-break: break-word;
    }

    .customer-table tbody td[data-label="Company"],
    .customer-table tbody td[data-label="Package"],
    .customer-table tbody td[data-label="Balance"] {
        background: #f8fbff;
        border: 1px solid #eef4f9 !important;
        border-radius: 12px;
        margin-top: 8px;
        padding: 10px 11px !important;
    }

    .customer-table tbody td[data-label="Edit"],
    .customer-table tbody td[data-label="Login"],
    .customer-table tbody td[data-label="View"],
    .customer-table tbody td[data-label="Log"] {
        display: inline-flex !important;
        justify-content: center;
        width: calc(25% - 4px);
        min-height: 44px;
        margin-top: 12px;
        padding: 0 !important;
        border: 0 !important;
        background: transparent;
    }

    .customer-table tbody td[data-label="Edit"]::before,
    .customer-table tbody td[data-label="Login"]::before,
    .customer-table tbody td[data-label="View"]::before,
    .customer-table tbody td[data-label="Log"]::before {
        display: none;
    }

    .customer-action,
    .customer-action-disabled {
        width: 40px !important;
        height: 40px !important;
        border-radius: 3px !important;
        font-size: 14px;
    }
}

/* Final responsive filter/table polish */
.customer-filter-grid {
    grid-template-columns: minmax(240px, 1.6fr) repeat(5, minmax(128px, 1fr)) 52px !important;
    gap: 12px !important;
    align-items: end !important;
}

.customer-filter-item {
    min-width: 0;
}

.customer-filter-item .form-control,
.customer-filter-item .form-select {
    min-width: 0;
}

.customer-reset-btn {
    width: 48px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.customer-table {
    table-layout: auto;
}

.customer-table th,
.customer-table td {
    white-space: nowrap;
}

.customer-table td[data-label="Customer"],
.customer-table td[data-label="Company"],
.customer-table td[data-label="Package"] {
    white-space: normal;
}

@media(max-width: 1280px) {
    .customer-filter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .customer-filter-item:first-child {
        grid-column: span 2;
    }

    .customer-reset-btn {
        width: 100%;
    }
}

@media(max-width: 900px) {
    .customer-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .customer-title-block {
        min-width: 0;
    }

    .customer-subtitle {
        line-height: 1.45;
    }

    .customer-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .customer-filter-item:first-child {
        grid-column: 1 / -1;
    }
}

@media(max-width: 767px) {
    .customer-filter-grid {
        grid-template-columns: 1fr !important;
    }

    .customer-filter-item:first-child {
        grid-column: auto;
    }

    .customer-search-section {
        padding: 12px !important;
    }

    .customer-filter-title span {
        line-height: 1.35;
    }

    .customer-box>.box-body {
        padding: 10px !important;
    }
}

/* Source: view-customers.php style block 2 */
body .customer-mobile-actions {
    display: none;
}

@media(max-width: 575px) {
    body .customer-page-container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    body .customer-box {
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        overflow: visible !important;
    }

    body .customer-hero {
        padding: 12px !important;
        border-radius: 3px !important;
        gap: 10px !important;
    }

    body .customer-title-block {
        width: 100% !important;
        align-items: flex-start !important;
        gap: 9px !important;
    }

    body .customer-title-icon {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
    }

    body .customer-kicker {
        font-size: 9px !important;
    }

    body .customer-box-header h4 {
        font-size: 15px !important;
        line-height: 1.25 !important;
    }

    body .customer-subtitle {
        display: none !important;
    }

    body .customer-hero-actions {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    body .customer-count-pill,
    body .customer-download-btn {
        width: 100% !important;
        justify-content: center !important;
        min-height: 40px !important;
    }

    body .customer-box>.box-body {
        padding: 10px 8px 92px !important;
    }

    body .customer-search-section {
        margin: 0 0 10px !important;
        padding: 10px !important;
        border-radius: 3px !important;
    }

    body .customer-filter-title {
        display: none !important;
    }

    body .customer-filter-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 9px !important;
    }

    body .customer-filter-item,
    body .customer-filter-item:first-child {
        grid-column: auto !important;
        width: 100% !important;
    }

    body .customer-filter-item label {
        margin-bottom: 4px !important;
        font-size: 10px !important;
    }

    body .customer-filter-item .form-control,
    body .customer-filter-item .form-select {
        height: 40px !important;
        min-height: 40px !important;
        font-size: 12px !important;
        border-radius: 3px !important;
    }

    body .customer-reset-btn {
        width: 100% !important;
        height: 42px !important;
        min-height: 42px !important;
        border-radius: 3px !important;
    }

    body .customer-list-box,
    body .customer-list-box .table-responsive {
        width: 100% !important;
        overflow: visible !important;
        border: 0 !important;
        background: transparent !important;
    }

    body .customer-table {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    body .customer-table thead {
        display: none !important;
    }

    body .customer-table tbody,
    body .customer-table tr {
        display: block !important;
        width: 100% !important;
    }

    body .customer-table tbody tr {
        position: relative !important;
        margin: 0 0 12px !important;
        padding: 14px !important;
        border: 1px solid #dbe8f3 !important;
        border-radius: 16px !important;
        background: #fff !important;
        box-shadow: 0 10px 24px rgba(15, 23, 42, .07) !important;
    }

    body .customer-table tbody td {
        box-sizing: border-box !important;
        width: 100% !important;
        min-height: 0 !important;
        padding: 9px 0 !important;
        border: 0 !important;
        border-bottom: 1px solid #edf3f8 !important;
        background: transparent !important;
        white-space: normal !important;
        word-break: break-word !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        text-align: right !important;
    }

    body .customer-table tbody td::before {
        content: attr(data-label) !important;
        flex: 0 0 42% !important;
        min-width: 0 !important;
        color: #627589 !important;
        font-size: 10px !important;
        font-weight: 900 !important;
        letter-spacing: .04em !important;
        text-align: left !important;
        text-transform: uppercase !important;
    }

    body .customer-table tbody td[data-label="Sl No."] {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        width: auto !important;
        padding: 0 !important;
        border: 0 !important;
        display: block !important;
    }

    body .customer-table tbody td[data-label="Sl No."]::before,
    body .customer-table tbody td[data-label="Customer"]::before,
    body .customer-table tbody td[data-label="Edit"]::before,
    body .customer-table tbody td[data-label="Login"]::before,
    body .customer-table tbody td[data-label="View"]::before,
    body .customer-table tbody td[data-label="Log"]::before {
        display: none !important;
    }

    body .customer-table tbody td[data-label="Customer"] {
        display: block !important;
        padding: 0 46px 12px 0 !important;
        margin: 0 0 8px !important;
        text-align: left !important;
        border-bottom: 1px solid #e5edf6 !important;
    }

    body .customer-name-btn {
        display: block !important;
        max-width: 100% !important;
        font-size: 14px !important;
        line-height: 1.25 !important;
        white-space: normal !important;
    }

    body .customer-meta {
        margin-top: 5px !important;
        font-size: 11px !important;
    }

    body .customer-mobile-status {
        display: block !important;
        margin-top: 8px !important;
    }

    body .customer-mobile-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        width: 100% !important;
        margin-top: 12px !important;
        padding-top: 12px !important;
        border-top: 1px solid #e5edf6 !important;
    }

    body .customer-company,
    body .customer-package-assigned,
    body .customer-package-unassigned,
    body .customer-table tbody td[data-label="Balance"] span {
        max-width: 56% !important;
        white-space: normal !important;
        word-break: break-word !important;
        text-align: right !important;
    }

    body .customer-package-assigned,
    body .customer-package-unassigned {
        justify-content: center !important;
        padding: 7px 9px !important;
        font-size: 9px !important;
        line-height: 1.2 !important;
    }

    body .customer-table tbody td[data-label="Edit"],
    body .customer-table tbody td[data-label="Login"],
    body .customer-table tbody td[data-label="View"],
    body .customer-table tbody td[data-label="Log"] {
        display: none !important;
    }

    body .customer-action,
    body .customer-action-disabled {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        border-radius: 13px !important;
        font-size: 13px !important;
    }

    body .customer-list-footer {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        text-align: center !important;
    }
}

/* Source: view-resellers.php style block 1 */
.reseller-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.reseller-box {
    border: 1px solid #e5e9f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.reseller-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.reseller-header-flex h4 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.reseller-download-btn {
    border-radius: 7px;
    font-size: 12px;
    font-weight: 500;
}

.reseller-filter-card {
    background: #f8fafc;
    border: 1px solid #e5e9f0;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 16px;
}

.reseller-filter-grid {
    display: grid;
    grid-template-columns:
        minmax(260px, 2fr) minmax(130px, 0.8fr) minmax(160px, 1fr) minmax(130px, 0.8fr) minmax(150px, 0.9fr) minmax(95px, 0.55fr) auto;
    gap: 11px;
    align-items: end;
}

.reseller-filter-item label {
    display: block;
    color: #475569;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 6px;
}

.reseller-filter-item .form-control,
.reseller-filter-item .form-select {
    width: 100%;
    height: 40px;
    border: 1px solid #d8dee8;
    border-radius: 7px;
    background: #fff;
    color: #1f2937;
    font-size: 13px;
    box-shadow: none;
}

.reseller-filter-item .form-control:focus,
.reseller-filter-item .form-select:focus {
    border-color: #d8dee8;
    box-shadow: none;
}

.reseller-search-wrap {
    position: relative;
}

.reseller-search-wrap .fa-search {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.reseller-search-wrap input {
    padding-left: 38px;
    padding-right: 36px;
}

.reseller-search-clear {
    display: none;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
}

.reseller-search-clear:hover {
    color: #dc3545;
}

.reseller-reset-btn {
    height: 40px;
    min-width: 44px;
    border-radius: 7px;
}

.reseller-list-area {
    position: relative;
}

.reseller-table {
    width: 100%;
    margin: 0;
}

.reseller-table thead th {
    background: #f8fafc;
    color: #64748b;
    border-bottom: 1px solid #e5e9f0 !important;
    padding: 12px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.reseller-table tbody td {
    padding: 12px 10px;
    border-bottom: 1px solid #eef1f5;
    vertical-align: middle;
    color: #334155;
    font-size: 13px;
}

.reseller-table tbody tr:hover {
    background: #f8fbff;
}

.reseller-row-inactive {
    background: #fff7f7;
}

.reseller-sl {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eef4ff;
    color: #1769aa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
}

.reseller-name-btn {
    border: 0;
    background: transparent;
    color: #0d6efd;
    font-size: 13px;
    font-weight: 500;
    padding: 0;
    text-align: left;
    cursor: pointer;
    word-break: break-word;
}

.reseller-name-btn:hover {
    text-decoration: underline;
}

.reseller-meta {
    color: #64748b;
    font-size: 11px;
    margin-top: 3px;
}

.reseller-mobile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 7px;
}

.reseller-status,
.reseller-api,
.reseller-package {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 14px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.reseller-status-active,
.reseller-package-yes,
.reseller-api-on {
    background: #edf8f1;
    color: #18864b;
}

.reseller-status-inactive,
.reseller-package-no {
    background: #fff1f1;

    color: #c62828;
}

.reseller-api-off {
    background: #f1f5f9;
    color: #64748b;
}

.reseller-action,
.reseller-action-disabled {
    width: 31px;
    height: 31px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    font-size: 13px;
}

.reseller-action {
    cursor: pointer;
    transition: transform 0.15s ease;
}

.reseller-action:hover {
    transform: translateY(-1px);
}

.reseller-edit {
    background: #eaf6ff;
    color: #087bbd;
}

.reseller-login,
.reseller-log {
    background: #fff5df;
    color: #b77900;
}

.reseller-view {
    background: #ebf8ef;
    color: #18864b;
}

.reseller-delete {
    background: #fff1f1;
    color: #c62828;
}

.reseller-action-disabled {
    background: #f1f5f9;
    color: #a0aec0;
}

.reseller-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 0 0;
}

.reseller-showing {
    color: #64748b;
    font-size: 12px;
}

.reseller-pagination {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.reseller-page-btn {
    min-width: 34px;
    height: 34px;
    border: 1px solid #dce3ed;
    border-radius: 7px;
    background: #fff;
    color: #475569;
    font-size: 12px;
    cursor: pointer;
    padding: 0 9px;
}

.reseller-page-btn:hover,
.reseller-page-btn.active {
    background: #0d86d9;
    border-color: #0d86d9;
    color: #fff;
}

.reseller-page-btn.disabled {
    opacity: 0.45;
    pointer-events: none;
}

.reseller-page-dots {
    color: #94a3b8;
    padding: 0 3px;
}

.reseller-empty {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #64748b;
    text-align: center;
}

.reseller-empty i {
    font-size: 34px;
    color: #a8b3c2;
    margin-bottom: 10px;
}

.reseller-empty strong {
    color: #334155;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.reseller-empty span {
    font-size: 12px;
}

.reseller-loader {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.78);
    z-index: 20;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.reseller-loader-box {
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    padding: 12px 18px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.08);
    color: #475569;
    font-size: 13px;
}

.reseller-loader-box i {
    margin-right: 6px;
    color: #0d86d9;
}

.heightscroll {
    max-height: 550px;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
}

.nocorner {
    border-radius: 0;
}

@media(max-width: 1199px) {
    .reseller-filter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media(max-width: 767px) {

    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .content {
        padding: 10px !important;
    }

    .reseller-filter-grid {
        grid-template-columns: 1fr;
    }

    .reseller-reset-btn {
        width: 100%;
    }

    .reseller-table {
        display: block;
        width: 100%;
    }

    .reseller-table thead {
        display: none;
    }

    .reseller-table tbody {
        display: block;
        width: 100%;
    }

    .reseller-table tbody tr {
        display: block;
        width: 100%;
        margin-bottom: 12px;
        padding: 10px 12px;
        background: #fff;
        border: 1px solid #e5e9f0;
        border-radius: 10px;
        box-shadow: 0 2px 7px rgba(15, 23, 42, 0.04);
    }

    .reseller-table tbody tr.reseller-row-inactive {
        background: #fff8f8;
        border-color: #ffdada;
    }

    .reseller-table tbody td {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 10px;
        width: 100%;
        padding: 9px 0;
        border-bottom: 1px dashed #e5e9f0;
    }

    .reseller-table tbody td:last-child {
        border-bottom: 0;
    }

    .reseller-table tbody td::before {
        content: attr(data-label);
        color: #64748b;
        font-size: 10px;
        font-weight: 600;
        text-transform: uppercase;
    }

    .reseller-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .reseller-pagination {
        width: 100%;
    }

    .reseller-header-flex {
        align-items: flex-start;
    }

    .reseller-download-btn {
        width: 100%;
    }
}

/* Professional reseller list refresh */
.reseller-page {
    max-width: 1240px;
}

.reseller-box {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.reseller-box>.box-header {
    padding: 0;
    border: 0;
    background: #1C3E6E !important;
}

.reseller-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    min-height: 96px;
}

.reseller-title-block {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.reseller-title-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    flex: 0 0 auto;
}

.reseller-kicker {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.reseller-header-flex h4 {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.12;
}

.reseller-subtitle {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    font-weight: 600;
}

.reseller-hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.reseller-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    border-radius: 999px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.reseller-download-btn {
    min-height: 40px;
    border: 0;
    border-radius: 12px;
    padding: 10px 15px;
    background: #F16822 !important;
    box-shadow: 0 10px 22px rgba(241, 104, 34, 0.24);
    font-size: 12px;
    font-weight: 700;
}

.reseller-download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(241, 104, 34, 0.30);
}

.reseller-box>.box-body {
    padding: 18px 20px 20px;
    background: #ffffff;
}

.reseller-filter-card {
    position: relative;
    border: 1px solid #dbe7f1;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 18px;
    background: #f8fafc;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
}

.reseller-filter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 13px;
}

.reseller-filter-title strong {
    color: #0f2f47;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.reseller-filter-title span {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

.reseller-filter-item label {
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.reseller-filter-item .form-control,
.reseller-filter-item .form-select {
    height: 42px;
    border-color: #d6e1ec;
    border-radius: 12px;
    color: #102a43;
    font-size: 13px;
    font-weight: 650;
}

.reseller-filter-item .form-control::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.reseller-reset-btn {
    height: 42px;
    min-width: 48px;
    border: 0;
    border-radius: 12px;
    background: #F16822 !important;
    box-shadow: 0 9px 20px rgba(249, 115, 22, 0.22);
    color: #ffffff;
}

.reseller-list-area {
    border: 1px solid #e5eef7;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
}

.reseller-table thead th {
    background: #f6f9fc;
    color: #7c8da3;
    padding: 14px 13px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.reseller-table tbody td {
    padding: 17px 13px;
    border-bottom: 1px solid #eef3f8;
    color: #24364b;
    font-size: 13px;
}

.reseller-table tbody tr {
    transition: background 0.18s ease, box-shadow 0.18s ease;
}

.reseller-table tbody tr:hover {
    background: #f8fbff;
    /* box-shadow: inset 4px 0 0 #0ea5e9; */
}

.reseller-sl {
    width: 32px;
    height: 32px;
    background: #EEF3F9;
    color: #1C3E6E;
    font-weight: 700;
}

.reseller-name-btn {
    color: #1C3E6E;
    font-size: 13px;
    font-weight: 700;
}

.reseller-meta {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

.reseller-status,
.reseller-api,
.reseller-package {
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 10px;
    font-weight: 700;
}

.reseller-status-active,
.reseller-package-yes,
.reseller-api-on {
    background: #dcfce7;
    color: #047857;
}

.reseller-status-inactive,
.reseller-package-no {
    background: #fee2e2;
    color: #b91c1c;
}

.reseller-api-off {
    background: #e2e8f0;
    color: #475569;
}

.reseller-action,
.reseller-action-disabled {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 13px;
}

.reseller-action {
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.reseller-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.12);
}

.reseller-edit {
    background: #e0f2fe;
    color: #0284c7;
}

.reseller-login,
.reseller-log {
    background: #fef3c7;
    color: #b45309;
}

.reseller-view {
    background: #dcfce7;
    color: #047857;
}

.reseller-delete {
    background: #fee2e2;
    color: #dc2626;
}

.reseller-footer {
    padding: 14px 16px;
    background: #fbfdff;

    border-top: 1px solid #eef3f8;
}

.reseller-showing {
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

.reseller-page-btn {
    border-color: #dbe7f1;
    border-radius: 10px;
    font-weight: 700;
}

.reseller-page-btn:hover,
.reseller-page-btn.active {
    background: #1C3E6E;
    border-color: #1C3E6E;
}

@media(max-width: 767px) {
    .reseller-box {
        border-radius: 16px;
    }

    .reseller-hero {
        padding: 18px;
        align-items: flex-start;
    }

    .reseller-title-block {
        align-items: flex-start;
    }

    .reseller-header-flex h4 {
        font-size: 19px;
    }

    .reseller-hero-actions {
        width: 100%;
        justify-content: stretch;
    }

    .reseller-count-pill,
    .reseller-download-btn {
        width: 100%;
        justify-content: center;
    }

    .reseller-box>.box-body {
        padding: 12px;
    }

    .reseller-filter-card {
        padding: 14px;
        border-radius: 14px;
    }

    .reseller-filter-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .reseller-list-area {
        border: 0;
        background: transparent;
        overflow: visible;
    }

    .reseller-table tbody tr {
        border-radius: 16px;
        border: 1px solid #e2edf7;
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
    }

    .reseller-table tbody tr:hover {
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
    }

    .reseller-table tbody td {
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .reseller-footer {
        border: 1px solid #e2edf7;
        border-radius: 14px;
        margin-top: 12px;
    }
}

/* Mobile reseller cards: readable app layout */
@media(max-width: 767px) {
    .reseller-table {
        min-width: 0 !important;
    }

    .reseller-table tbody tr {
        position: relative;
        display: block !important;
        padding: 16px 14px 14px !important;
        margin-bottom: 14px !important;
        background: #fff !important;
        border: 1px solid #dfeaf4 !important;
        border-radius: 18px !important;
        box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08) !important;
    }

    .reseller-table tbody td {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        min-height: 42px;
        padding: 10px 0 !important;
        border-bottom: 1px solid #eef4f9 !important;
        text-align: left;
        white-space: normal !important;
    }

    .reseller-table tbody td::before {
        content: attr(data-label);
        width: auto;
        min-width: 82px;
        color: #6b7c91;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        flex: 0 0 auto;
    }

    .reseller-table tbody td[data-label="Sl No."] {
        position: absolute;
        top: 14px;
        right: 14px;
        display: block !important;
        width: auto;
        min-height: 0;
        padding: 0 !important;
        border: 0 !important;
    }

    .reseller-table tbody td[data-label="Sl No."]::before {
        display: none;
    }

    .reseller-table tbody td[data-label="Reseller"] {
        display: block !important;
        padding: 0 46px 12px 0 !important;
        border-bottom: 1px solid #e5edf6 !important;
    }

    .reseller-table tbody td[data-label="Reseller"]::before {
        display: none;
    }

    .reseller-name-btn {
        display: block;
        width: 100%;
        color: #063f63;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.25;
    }

    .reseller-meta {
        margin-top: 7px;
        font-size: 11px;
    }

    .reseller-status {
        margin-left: 0;
    }

    .reseller-package-assigned,
    .reseller-package-unassigned,
    .reseller-table tbody td[data-label="Company"] {
        max-width: calc(100% - 96px);
        text-align: right;
        white-space: normal;
        word-break: break-word;
    }

    .reseller-table tbody td[data-label="Company"],
    .reseller-table tbody td[data-label="Package"] {
        background: #f8fbff;
        border: 1px solid #eef4f9 !important;
        border-radius: 12px;
        margin-top: 8px;
        padding: 10px 11px !important;
    }

    .reseller-table tbody td[data-label="Edit"],
    .reseller-table tbody td[data-label="Login"],
    .reseller-table tbody td[data-label="Delete"],
    .reseller-table tbody td[data-label="View"],
    .reseller-table tbody td[data-label="Log"] {
        display: inline-flex !important;
        justify-content: center;
        width: calc(20% - 4px);
        min-height: 44px;
        margin-top: 12px;
        padding: 0 !important;
        border: 0 !important;
        background: transparent;
    }

    .reseller-table tbody td[data-label="Edit"]::before,
    .reseller-table tbody td[data-label="Login"]::before,
    .reseller-table tbody td[data-label="Delete"]::before,
    .reseller-table tbody td[data-label="View"]::before,
    .reseller-table tbody td[data-label="Log"]::before {
        display: none;
    }

    .reseller-action,
    .reseller-action-disabled {
        width: 38px !important;
        height: 38px !important;
        border-radius: 3px !important;
        font-size: 14px;
    }
}

/* Source: view-resellers.php style block 2 */
body .reseller-mobile-actions {
    display: none;
}

body .reseller-page,
body .reseller-box,
body .reseller-filter-card,
body .reseller-list-area {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

body .reseller-page {
    width: 100% !important;
}

body .reseller-box {
    overflow: hidden !important;
}

body .reseller-filter-card {
    overflow: hidden !important;
}

body .reseller-filter-title {
    min-width: 0 !important;
}

body .reseller-filter-title span {
    min-width: 0 !important;
    white-space: normal !important;
    text-align: right !important;
}

body .reseller-filter-grid {
    display: grid !important;
    grid-template-columns: minmax(220px, 1.55fr) repeat(5, minmax(118px, 1fr)) minmax(48px, .45fr) !important;
    gap: 12px !important;
    align-items: end !important;
    width: 100% !important;
    max-width: 100% !important;
}

body .reseller-filter-item {
    min-width: 0 !important;
    width: 100% !important;
}

body .reseller-filter-item .form-control,
body .reseller-filter-item .form-select {
    min-width: 0 !important;
    width: 100% !important;
}

body .reseller-reset-btn {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body .reseller-list-area .table-responsive {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}

body .reseller-table {
    width: 100% !important;
    min-width: 980px;
}

body .reseller-table th,
body .reseller-table td {
    white-space: nowrap;
}

body .reseller-table td[data-label="Reseller"],
body .reseller-table td[data-label="Company"],
body .reseller-table td[data-label="Package"] {
    white-space: normal;
}

@media(max-width: 1280px) {
    body .reseller-hero {
        align-items: flex-start !important;
    }

    body .reseller-title-block {
        min-width: 0 !important;
    }

    body .reseller-subtitle {
        line-height: 1.45 !important;
    }

    body .reseller-filter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    body .reseller-filter-item:first-child {
        grid-column: span 2 !important;
    }
}

@media(max-width: 991px) {
    body .reseller-hero {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    body .reseller-hero-actions {
        width: 100% !important;
        justify-content: flex-start !important;
    }

    body .reseller-filter-title {
        display: block !important;
    }

    body .reseller-filter-title span {
        display: block !important;
        margin-top: 4px !important;
        text-align: left !important;
    }

    body .reseller-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body .reseller-filter-item:first-child {
        grid-column: 1 / -1 !important;
    }

    body .reseller-table {
        min-width: 880px;
    }
}

@media(max-width: 575px) {
    body .reseller-page {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    body .reseller-box {
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        overflow: visible !important;
    }

    body .reseller-hero {
        padding: 12px !important;
        border-radius: 3px !important;
        gap: 10px !important;
    }

    body .reseller-title-block {
        width: 100% !important;
        align-items: flex-start !important;
        gap: 9px !important;
    }

    body .reseller-title-icon {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
    }

    body .reseller-kicker {
        font-size: 9px !important;
    }

    body .reseller-header-flex h4 {
        font-size: 15px !important;
        line-height: 1.25 !important;
    }

    body .reseller-subtitle {
        display: none !important;
    }

    body .reseller-hero-actions {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    body .reseller-count-pill,
    body .reseller-download-btn {
        width: 100% !important;
        justify-content: center !important;
        min-height: 40px !important;
    }

    body .reseller-box>.box-body {
        padding: 10px 8px 92px !important;
    }

    body .reseller-filter-card {
        margin: 0 0 10px !important;
        padding: 10px !important;
        border-radius: 3px !important;
    }

    body .reseller-filter-title {
        display: none !important;
    }

    body .reseller-filter-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 9px !important;
    }

    body .reseller-filter-item,
    body .reseller-filter-item:first-child {
        grid-column: auto !important;
        width: 100% !important;
    }

    body .reseller-filter-item label {
        margin-bottom: 4px !important;
        font-size: 10px !important;
    }

    body .reseller-filter-item .form-control,
    body .reseller-filter-item .form-select {
        height: 40px !important;
        min-height: 40px !important;
        font-size: 12px !important;
        border-radius: 3px !important;
    }

    body .reseller-reset-btn {
        width: 100% !important;
        height: 42px !important;
        min-height: 42px !important;
        border-radius: 3px !important;
    }

    body .reseller-list-area,
    body .reseller-list-area .table-responsive {
        width: 100% !important;
        overflow: visible !important;
        border: 0 !important;
        background: transparent !important;
    }

    body .reseller-table {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    body .reseller-table thead {
        display: none !important;
    }

    body .reseller-table tbody,
    body .reseller-table tr {
        display: block !important;
        width: 100% !important;
    }

    body .reseller-table tbody tr {
        position: relative !important;
        margin: 0 0 12px !important;
        padding: 14px !important;
        border: 1px solid #dbe8f3 !important;
        border-radius: 16px !important;
        background: #fff !important;
        box-shadow: 0 10px 24px rgba(15, 23, 42, .07) !important;
    }

    body .reseller-table tbody tr::after {
        content: "" !important;
        display: table !important;
        clear: both !important;
    }

    body .reseller-table tbody td {
        box-sizing: border-box !important;
        width: 100% !important;
        min-height: 0 !important;
        padding: 9px 0 !important;
        border: 0 !important;
        border-bottom: 1px solid #edf3f8 !important;
        background: transparent !important;
        white-space: normal !important;
        word-break: break-word !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        text-align: right !important;
    }

    body .reseller-table tbody td::before {
        content: attr(data-label) !important;
        flex: 0 0 42% !important;
        min-width: 0 !important;
        color: #627589 !important;
        font-size: 10px !important;
        font-weight: 900 !important;
        letter-spacing: .04em !important;
        text-align: left !important;
        text-transform: uppercase !important;
    }

    body .reseller-table tbody td[data-label="Sl No."] {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        width: auto !important;
        padding: 0 !important;
        border: 0 !important;
        display: block !important;
    }

    body .reseller-table tbody td[data-label="Sl No."]::before,
    body .reseller-table tbody td[data-label="Reseller"]::before,
    body .reseller-table tbody td[data-label="Edit"]::before,
    body .reseller-table tbody td[data-label="Login"]::before,
    body .reseller-table tbody td[data-label="Delete"]::before,
    body .reseller-table tbody td[data-label="View"]::before,
    body .reseller-table tbody td[data-label="Log"]::before {
        display: none !important;
    }

    body .reseller-table tbody td[data-label="Reseller"] {
        display: block !important;
        padding: 0 46px 12px 0 !important;
        margin: 0 0 8px !important;
        text-align: left !important;
        border-bottom: 1px solid #e5edf6 !important;
    }

    body .reseller-name-btn {
        display: block !important;
        max-width: 100% !important;
        font-size: 14px !important;
        line-height: 1.25 !important;
        white-space: normal !important;
    }

    body .reseller-meta {
        margin-top: 5px !important;
        font-size: 11px !important;
    }

    body .reseller-mobile-badges {
        display: flex !important;
        gap: 6px !important;
        margin-top: 8px !important;
    }

    body .reseller-mobile-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 7px !important;
        width: 100% !important;
        margin-top: 12px !important;
        padding-top: 12px !important;
        border-top: 1px solid #e5edf6 !important;
    }

    body .reseller-package,
    body .reseller-table tbody td[data-label="Company"] {
        max-width: 56% !important;
        white-space: normal !important;
        word-break: break-word !important;
        text-align: right !important;
    }

    body .reseller-package {
        justify-content: center !important;
        padding: 7px 9px !important;
        font-size: 9px !important;
        line-height: 1.2 !important;
    }

    body .reseller-table tbody td[data-label="Edit"],
    body .reseller-table tbody td[data-label="Login"],
    body .reseller-table tbody td[data-label="Delete"],
    body .reseller-table tbody td[data-label="View"],
    body .reseller-table tbody td[data-label="Log"] {
        display: none !important;
    }

    body .reseller-action,
    body .reseller-action-disabled {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        border-radius: 13px !important;
        font-size: 13px !important;
    }

    body .reseller-footer {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        text-align: center !important;
    }
}

/* Source: view-resellers-details.php style block 1 */
.flexbox select {
    background-color: red;
    padding: 10px 15px;
    border: 0px;
}

/* Source: view-resellers-details.php style block 2 */
.nocorner {
    border-radius: 0px;
}

.heightscroll {
    max-height: 550px;
    overflow-y: auto;
    overflow-x: hidden;
    float: left;
    display: block;
    width: 100%;

}

.ajax_frmsubmit_loader {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #0000;
    z-index: 99;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.ajax_frmsubmit_loader img {
    border-radius: 50%;
    height: 100px;
    width: 100px;
    object-fit: cover;
}

.setblureffect {
    filter: blur(1px);
    -webkit-filter: blur(1px);
}

/* =======================================================================
   Consolidated inline style classes (moved from PHP style attributes)
   ======================================================================= */
.mc-inline-style-001 {
    display: inline-block;
}

.mc-inline-style-002 {
    font-size: 11px;
}

.mc-inline-style-003 {
    font-size: 12px;
    font-weight: 600;
}

.mc-inline-style-004 {
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 4px;
}

.mc-inline-style-005 {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin: 0 0 20px 0;
    border: 1px solid #e9ecef;
}

.mc-inline-style-006 {
    width: 100%;
    line-height: 100px;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-style: italic;
}

.mc-inline-style-007 {
    display: none;
}

.mc-inline-style-008 {
    position: relative;
}

.mc-inline-style-009 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mc-inline-style-010 {
    width: 100%;
    max-width: 500px;
    height: 38px;
}

.mc-inline-style-011 {
    font-weight: 700;
    color: #475569;
    font-size: 12px;
    display: block;
    margin-bottom: 6px;
}

.mc-inline-style-012 {
    margin-bottom: 12px;
}

.mc-inline-style-013 {
    margin-top: 16px;
    border-top: 1px solid #e2e8f0;
    padding-top: 14px;
}

.mc-inline-style-014 {
    margin: 8px 0;
}

.mc-inline-style-015 {
    margin-top: 10px;
}

.mc-inline-style-016 {
    word-break: break-word;
}

.mc-inline-style-017 {
    min-width: 0;
}

.mc-inline-style-018 {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 8px;
    margin-top: 4px;
}

.mc-inline-style-019 {
    display: inline-block;
    margin-bottom: 8px;
}

.mc-inline-style-020 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.mc-inline-style-021 {
    border-radius: 8px;
    margin-top: 6px;
}

.mc-inline-style-022 {
    margin-top: 8px;
}

.mc-inline-style-023 {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mc-inline-style-024 {
    margin-bottom: 20px;
}

.mc-inline-style-025 {
    background: none;
    border: none;
    font-size: 18px;
    color: #94a3b8;
    cursor: pointer;
}

.mc-inline-style-026 {
    font-size: 13px;
}

.mc-inline-style-027 {
    flex: 1;
}

.mc-inline-style-028 {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.mc-inline-style-029 {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 9999;
    min-width: 360px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
    border-left: 5px solid #22c55e;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mc-inline-style-030 {
    font-size: 12px;
    color: #64748b;
}

.mc-inline-style-031 {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 9999;
    min-width: 360px;
    max-width: 460px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
    border-left: 5px solid #22c55e;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mc-inline-style-032 {
    max-height: 330px;
    overflow-y: auto;
}

.mc-inline-style-033 {
    margin-bottom: 16px;
}

.mc-inline-style-034 {
    max-height: 280px;
    overflow-y: auto;
}

.mc-inline-style-035 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mc-inline-style-036 {
    overflow-x: auto;
}

.mc-inline-style-037 {
    min-height: 230px;
}

.mc-inline-style-038 {
    padding: 8px 12px;
}

.mc-inline-style-039 {
    font-size: 18px;
}

.mc-inline-style-040 {
    font-size: 13px;
    color: #4b5563;
}

.mc-inline-style-041 {
    margin-left: 8px;
    font-size: 13px;
    color: #2563eb;
    font-weight: 600;
}

.mc-inline-style-042 {
    color: #1d4ed8;
}

.mc-inline-style-043 {
    color: #3b82f6;
    font-size: 22px;
}

.mc-inline-style-044 {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1.5px solid #bfdbfe;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1e40af;
}

.mc-inline-style-045 {
    color: #c2410c;
}

.mc-inline-style-046 {
    color: #f97316;
    font-size: 22px;
}

.mc-inline-style-047 {
    background: linear-gradient(135deg, #fff5e6, #fff0f0);
    border: 1.5px solid #ffb84d33;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9a3412;
}

.mc-inline-style-048 {
    color: #b91c1c;
}

.mc-inline-style-049 {
    color: #ef4444;
    font-size: 22px;
}

.mc-inline-style-050 {
    background: linear-gradient(135deg, #fff5f5, #fff0f0);
    border: 1.5px solid #fca5a5;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #991b1b;
}

.mc-inline-style-051 {
    width: 180px;
    padding: .7rem;
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 14px;
}

.mc-inline-style-052 {
    width: 235px;
    padding: .7rem;
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 14px;
    margin-right: 7px;
}

.mc-inline-style-053 {
    padding: 0 2.3rem 2rem;
}

.mc-inline-style-054 {
    width: 80px;
    padding: .7rem;
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 14px;
}

.mc-inline-style-055 {
    width: 45%;
    display: inline-block;
    margin-right: 10px;
    padding: .7rem;
}

.mc-inline-style-056 {
    margin-bottom: 10px;
}

.mc-inline-style-057 {
    padding: 2.5rem;
}

.mc-inline-style-058 {
    padding: 1.5rem;
}

.mc-inline-style-059 {
    float: right;
}

.mc-inline-style-060 {
    width: 50%;
    float: left;
    padding-top: 10px;
}

.mc-inline-style-061 {
    width: 100%;
    line-height: 100px;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-style: italic;
}

.mc-inline-style-062 {
    text-align: right;
}

.mc-inline-style-063 {
    font-size: 14px;
}

.mc-inline-style-064 {
    width: 95%;
    float: left;
}

.mc-inline-style-065 {
    padding: 20px;
    border: 1px solid #ccc;
}

.mc-inline-style-066 {
    font-size: 20px;
}

.mc-inline-style-067 {
    color: #fff !important;
}

.mc-inline-style-068 {
    padding: 0 20px;
}

.mc-inline-style-069 {
    background-color: #ff8500;
    border-radius: 5px;
}

.mc-inline-style-070 {
    color: #999;
}

.mc-inline-style-071 {
    width: 80%;
}

.mc-inline-style-072 {
    width: 100%;
}

.mc-inline-style-073 {
    justify-content: flex-start;
}

.mc-inline-style-074 {
    display: flex;
    justify-content: end;
}

.mc-inline-style-075 {
    border: none;
    background: none;
    color: red;
    margin-left: 10px;
    font-size: 18px;
    cursor: pointer;
}

.mc-inline-style-076 {
    color: #56980A;
    font-size: 14px;
    font-family: "Times New Roman", Georgia, Serif;
}

.mc-inline-style-077 {
    width: 100%;
    line-height: 100px;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-style: italic;
}

.mc-inline-style-078 {
    width: 10%;
}

.mc-inline-style-079 {
    width: 5%;
}

.mc-inline-style-080 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.mc-inline-style-081 {
    min-height: 354px;
}

.mc-inline-style-082 {
    color: #F16822;
}

.mc-inline-style-083 {
    color: #6B7280;
}

.mc-inline-style-084 {
    color: #000;
}

.mc-inline-style-085 {
    color: #fff;
    font-weight: bold;
}

.mc-inline-style-086 {
    border: groove 1px #fff;
}

.mc-inline-style-087 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mc-inline-style-088 {
    color: var(--text-3);
    font-size: 13px;
}

.mc-inline-style-089 {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 260px;
    max-width: 360px;
    background: var(--soft-bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 7px 12px;
}

.mc-inline-style-090 {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    height: 44px;
    width: 100%;
    object-fit: cover;
}

.mc-inline-style-091 {
    color: #ef4444;
}

.mc-inline-style-092 {
    color: #22c55e;
}

.mc-inline-style-093 {
    max-height: 45px;
    display: block;
    margin: 0 auto 10px auto;
}

.mc-inline-style-094 {
    margin-bottom: 0;
}

.mc-inline-style-095 {
    margin: 0 20px 16px;
}

.mc-inline-style-096 {
    display: none;
    padding: 14px 16px;
    color: rgb(6, 65, 109);
    font-weight: 800;
    border-bottom: 1px solid var(--admin-border);
}

.mc-inline-style-097 {
    width: 100%;
}

.mc-inline-style-098 {
    display: flex;
    align-items: end;
    gap: 8px;
}

.mc-inline-style-099 {
    margin: 0;
}

.mc-inline-style-100 {
    text-decoration: none;
}

.mc-inline-style-101 {
    justify-content: flex-end;
}

.mc-inline-style-102 {
    min-width: 140px;
    flex: 0 1 150px;
}

.mc-inline-style-103 {
    min-width: 120px;
    flex: 0 1 130px;
}

.mc-inline-style-104 {
    min-width: 145px;
    flex: 0 1 160px;
}

.mc-inline-style-105 {
    min-width: 200px;
    flex: 0 1 200px;
}

.mc-inline-style-106 {
    min-width: 120px;
    flex: 0 1 120px;
}

.mc-inline-style-107 {
    min-width: 110px;
    flex: 0 1 110px;
}

.mc-inline-style-108 {
    margin-top: 4px;
}

.mc-inline-style-109 {
    margin-left: 8px;
}

.item-meta .mc-inline-style-109 {
    margin-left: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 220px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mc-inline-style-110 {
    flex-wrap: wrap;
    gap: 8px 12px;
}

.mc-inline-style-111 {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 260px;
    flex: 0 1 260px;
}

.mc-inline-style-112 {
    background: #0d4f7c;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 6px;
    font-weight: 700;
    display: inline-block;
}

.mc-inline-style-113 {
    margin: 24px 0;
}

.mc-inline-style-114 {
    padding: 20px;
    color: #1f2937;
    font-size: 14px;
    line-height: 1.6;
}

.mc-inline-style-115 {
    background: #0d4f7c;
    color: #ffffff;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 700;
}

.mc-inline-style-116 {
    max-width: 680px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e5e9f2;
    border-radius: 10px;
    overflow: hidden;
}

.mc-inline-style-117 {
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    padding: 24px;
}

.mc-inline-style-118 {
    font-weight: 600;
    color: #92400e !important;
}

.mc-inline-style-119 {
    grid-column: 1 / -1;
}

.mc-inline-style-120 {
    text-align: center;
    padding: 30px;
    font-style: italic;
    color: #999;
}

.mc-inline-style-121 {
    margin-top: 18px;
}

.mc-inline-style-122 {
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.mc-inline-style-123 {
    padding-left: 20px;
}

.mc-inline-style-124 {
    text-align: center;
}

.mc-inline-style-125 {
    margin-right: 5%;
}

.mc-inline-style-126 {
    padding: 0;
}

.mc-inline-style-127 {
    display: none;
}

.mc-inline-style-128 {
    width: 100%;
    text-align: center;
    line-height: 100px;
    font-style: italic;
}

.mc-inline-style-129 {
    width: 60px;
}

.mc-inline-style-130 {
    width: 64%;
}

.mc-inline-style-131 {
    display: block;
}

.mc-inline-style-132 {
    margin-right: 1%;
}

.mc-inline-style-133 {
    width: 307px;
    margin: 0 auto;
}

.mc-inline-style-134 {
    width: 50%;
    margin: 10px auto;
}

.mc-inline-style-135 {
    margin-right: 3px;
}

.mc-inline-style-136 {
    margin-right: 6px;
    color: #0d86d9;
}

.mc-inline-style-137 {
    display: none;
}

.mc-inline-style-138 {
    width: 100%;
    min-height: 40px;
}

.mc-inline-style-139 {
    display: none;
}

.mc-inline-style-140 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex: 0 0 auto;
}

.mc-inline-style-141 {
    white-space: nowrap;
    font-size: 20px;
}

.mc-inline-style-142 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.mc-inline-style-143 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mc-inline-style-144 {
    min-width: 84px;
    flex: 0 0 auto;
}

.mc-inline-style-145 {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #059669;
    font-weight: 700;
    white-space: nowrap;
}

.mc-inline-style-146 {
    border: 0;
    background: transparent;
    padding: 0;
    text-align: left;
    max-width: 100%;
}

.mc-inline-style-147 {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mc-inline-style-148 {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    flex: 1 1 340px;
}

.mc-inline-style-149 {
    opacity: .55;
    pointer-events: none;
    cursor: not-allowed;
    filter: grayscale(.2);
}

.mc-inline-style-150 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.mc-inline-style-151 {
    min-width: 130px;
}

.mc-inline-style-152 {
    color: #10b981;
}

.mc-inline-style-153,
.mc-inline-style-154 {
    margin-right: 4px;
}

.mc-inline-style-155 {
    display: block;
    width: 80%;
}

.mc-inline-style-156 {
    font-size: 12.5px;
    font-weight: 600;
    font-family: "Rubik", sans-serif;
    color: var(--text);
    margin-bottom: 4px;
}

.mc-inline-style-157 {
    color: var(--danger);
}

.mc-inline-style-158 {
    color: var(--warning);
}

.mc-inline-style-159 {
    color: var(--success);
}

.mc-inline-style-160 {
    color: var(--text-3);
    font-size: 11px;
}

.mc-inline-style-161 {
    margin-left: 8px;
    font-size: 13px;
    color: var(--blue);
    font-weight: 600;
}

.mc-inline-style-162 {
    color: var(--warning);
    font-size: 22px;
}

.mc-inline-style-163 {
    color: var(--warning);
    border-color: var(--warning);
}

.mc-inline-style-164 {
    font-size: 15px;
    font-weight: 700;
    color: var(--blue);
    background: var(--blue-l);
    border-radius: 8px;
    padding: 6px 14px;
}

.mc-inline-style-165 {
    background: var(--danger);
    margin-left: 4px;
}

.mc-inline-style-166 {
    width: 220px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 12px;
}

.mc-inline-style-167 {
    font-size: 12px;
    color: var(--primary);
}

.mc-inline-style-168 {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mc-inline-style-169 {
    font-weight: 700;
    color: var(--admin-text);
    white-space: nowrap;
    font-size: 12px;
}

.mc-inline-style-170 {
    font-weight: 700;
    color: var(--admin-text);
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mc-inline-style-171 {
    border: 0;
    background: transparent;
    padding: 0;
    text-align: left;
    max-width: 100%;
}

.mc-inline-style-172 {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--admin-text-muted);
}

.mc-inline-style-173 {
    margin: 0 0 6px;
    font-size: 15px;
    color: var(--admin-text);
    font-weight: 800;
}

.mc-inline-style-174 {
    display: block;
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--admin-text-muted);
    opacity: .5;
}

.mc-inline-style-175 {
    padding: 34px;
    text-align: center;
    color: var(--admin-text-muted);
}

.mc-inline-style-176 {
    border: 0;
    background: transparent;
    color: var(--text-2);
    font-size: 18px;
    cursor: pointer;
    padding: 0;
}

.mc-inline-style-177 {
    font-size: 10px;
    color: var(--text-3);
    font-weight: 700;
}

.mc-inline-style-178 {
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    padding: 12px 18px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, .08);
    color: #475569;
    font-size: 13px;
}

.mc-inline-style-179 {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--admin-text-muted);
    text-align: center;
}

/* ==========================================================================
   Final inline-style cleanup helpers (moved on 2026-07-28)
   ========================================================================== */
.tb-role-super-admin {
    --tb-accent: #F16822;
}

.tb-role-admin {
    --tb-accent: #1C3E6E;
}

.tb-role-reseller {
    --tb-accent: #F16822;
}

.tb-role-customer {
    --tb-accent: #1C3E6E;
}

.registration-selected-customer,
.move-selected-customer {
    display: flex;
}

.kyc-mail-action-btn {
    height: 38px;
    background: #0f766e !important;
    border-color: #0f766e !important;
}

.client-modal-loading {
    padding: 40px;
}

.mc-position-relative {
    position: relative;
}

.ns-row-dynamic {
    margin-bottom: 10px;
}

.ns-input-dynamic {
    width: 45%;
    display: inline-block;
    margin-right: 10px;
    padding: 0.7rem;
}

.ns-remove-btn-dynamic {
    width: 80px;
    padding: 0.7rem;
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 14px;
}

.price-input-warning {
    border-color: #ff9800 !important;
    background-color: #fff3e0 !important;
}

.price-warn-msg {
    color: #7e0101;
    font-size: 11px;
    display: block;
    margin-top: 4px;
}

/* Customer list layout polish */
.customer-page-container.mc-inline-style-142 {
    max-width: 100%;
}

.customer-page-container .page-title-block {
    align-items: flex-start;
    margin-bottom: 22px;
}

.customer-page-container .page-title {
    font-size: 23px;
    line-height: 1.15;
}

.customer-page-container .btn-primary-modern {
    min-height: 40px;
    font-family: "Urbanist", sans-serif !important;
}

.customer-page-container .stats-cards-grid {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 26px;
}

.customer-page-container .stats-card {
    min-height: 108px;
    padding: 18px 20px;
    align-items: stretch;
}

.customer-page-container .stats-card-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
}

.customer-page-container .filter-card {
    padding: 16px 20px;
    margin-bottom: 22px;
}

.customer-page-container .filter-card-header {
    margin-bottom: 16px;
}

.customer-page-container .filter-grid {
    grid-template-columns: minmax(240px, 1.8fr) minmax(110px, .9fr) minmax(108px, .95fr) minmax(122px, .95fr) minmax(117px, .9fr) minmax(110px, .7fr) 64px;
    gap: 12px 16px;
    align-items: end;
}

.customer-page-container .filter-field {
    min-width: 0;
}

.customer-page-container .filter-field:first-child {
    align-self: end;
}

.customer-page-container .filter-field label {
    min-height: 13px;
    margin-bottom: 7px;
    color: #0f172a;
}

.customer-page-container .search-input-wrap {
    width: 100%;
}

.customer-page-container .search-input-wrap i.search-icon {
    left: 15px;
    color: #64748b;
}

.customer-page-container #customerSearchInput.form-control-modern {
    height: 42px;
    padding-left: 42px !important;
    padding-right: 38px !important;
    text-overflow: ellipsis;
}

.customer-page-container #customerSearchInput.form-control-modern::placeholder {
    color: #64748b;
    font-weight: 600;
}

.customer-page-container #customerSearchClear {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 26px;
    height: 26px;
    transform: translateY(-50%);
    border-radius: 50%;
}

.customer-page-container .form-select-modern,
.customer-page-container .filter-card .form-select {
    height: 42px;
    padding-right: 34px;
}

.customer-page-container .filter-grid .btn-primary-modern {
    width: 52px !important;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 10px;
}

.customer-page-container .reseller-list-area {
    margin-top: 0;
}

.customer-page-container .modern-list {
    gap: 12px;
}

.customer-page-container .modern-list-item.customer-item {
    display: grid;
    grid-template-columns: minmax(250px, 330px) minmax(128px, 158px) minmax(112px, 140px) minmax(78px, 96px) max-content;
    align-items: center;
    gap: 10px clamp(10px, 1.15vw, 18px);
    justify-content: start;
    padding: 14px 18px;
}

.customer-page-container .customer-item .item-left-block {
    min-width: 0;
    width: 100%;
}

.customer-page-container .customer-item .item-name {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-page-container .customer-item .item-meta {
    gap: 8px 12px;
    line-height: 1.3;
}

.customer-page-container .customer-item .column-label-val {
    justify-self: start;
    max-width: 100%;
}

.customer-page-container .customer-item .status-badge {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-page-container .customer-item .column-label-val.mc-inline-style-144 {
    justify-self: end;
    min-width: 0;
}

.customer-page-container .customer-item .action-buttons-wrap {
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
    flex-wrap: nowrap;
    margin-left: clamp(4px, 1vw, 14px);
}

.customer-page-container .action-btn-stacked {
    width: 46px;
    height: 44px;
    border-radius: 9px;
}

.customer-page-container .contact-btn-circle {
    width: 34px;
    height: 34px;
}

.customer-page-container .pagination-modern {
    margin-top: 14px;
}

html.mc-theme-dark .customer-page-container .filter-field label {
    color: var(--admin-text);
}

@media (max-width: 1399px) {
    .customer-page-container .modern-list-item.customer-item {
        grid-template-columns: minmax(240px, 310px) minmax(120px, 146px) minmax(104px, 128px) minmax(70px, 88px) max-content;
        gap: 10px clamp(8px, 1vw, 14px);
    }
}

/* Customer profile view: compact responsive admin layout */
.reseller-profile-page {
    border: 0;
    border-radius: 14px;
    overflow: visible;
    background: transparent;
    box-shadow: none;
}

.reseller-profile-page>.box-header.bg-primary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
    padding: 16px 20px;
    border: 1px solid #d9e8f5;
    /* border-radius: 14px 14px 0 0; */
    background: #00507b !important;
    color: #082443;
}

.reseller-profile-page>.box-header .box-title {
    margin: 0;
    color: #082443;
    font-size: 20px;
    font-weight: 700;
}

.reseller-profile-page>.box-body {
    display: grid;
    gap: 16px;
    padding: 18px 20px;
    border-right: 1px solid #d9e8f5;
    border-left: 1px solid #d9e8f5;
    background: #f5f9fc;
}

.reseller-profile-page .mc-inline-style-024 {
    margin-bottom: 0 !important;
}

.reseller-profile-page .reseller-profile-hero,
.reseller-profile-page .whmcs-credential-panel,
.reseller-profile-page .kyc-verification-panel,
.reseller-profile-page .profile-info-panel,
.reseller-profile-page .profile-recent-panel {
    border-color: #cfe3f3;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 45, 78, .05);
}

.reseller-profile-page .reseller-profile-hero {
    padding: 18px;
}

.reseller-profile-page .reseller-profile-hero .col-lg-7 {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.reseller-profile-page .reseller-avatar {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    margin: 0;
    border-radius: 18px;
    background: #e8f2fb;
    color: #005083;
    font-size: 26px;
    box-shadow: inset 0 0 0 1px #d3e6f4;
}

.reseller-profile-page .reseller-hero-copy {
    min-width: 0;
}

.reseller-profile-page .reseller-hero-copy h3 {
    margin: 0 0 4px;
    color: #071f3c;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.18;
    word-break: break-word;
}

.reseller-profile-page .reseller-hero-copy p {
    max-width: 620px;
    margin-bottom: 10px;
    color: #55708a;
}

.reseller-profile-page .profile-photo-form {
    margin-top: 10px;
}

.reseller-profile-page .profile-photo-form .btn,
.reseller-profile-page .box-footer .btn,
.reseller-profile-page .kyc-panel-header .btn,
.reseller-profile-page .kyc-action-btn {
    border-radius: 10px;
    font-weight: 800;
}

.reseller-profile-page .reseller-balance-card {
    width: min(100%, 270px);
    min-width: 0;
    padding: 18px;
    border-radius: 16px;
    background: #004f7d;
    box-shadow: 0 14px 28px rgba(0, 79, 125, .18);
    text-align: left;
}

.reseller-profile-page .profile-stat-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.reseller-profile-page .profile-stat-row::before,
.reseller-profile-page .profile-stat-row::after {
    display: none;
}

.reseller-profile-page .profile-stat-row>[class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
}

.reseller-profile-page .profile-stat-box {
    min-height: 116px;
    padding: 16px;
}

.reseller-profile-page .profile-stat-box h3 {
    margin-bottom: 4px;
    font-size: 26px;
    font-weight: 700;
}

.reseller-profile-page .whmcs-credential-panel {
    padding: 18px;
}

.reseller-profile-page .whmcs-credential-panel .row {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.reseller-profile-page .whmcs-credential-panel .row::before,
.reseller-profile-page .whmcs-credential-panel .row::after {
    display: none;
}

.reseller-profile-page .whmcs-credential-panel .col-lg-4,
.reseller-profile-page .whmcs-credential-panel .col-lg-6,
.reseller-profile-page .whmcs-credential-panel .col-lg-8 {
    width: auto;
    max-width: none;
    padding: 0;
}

.reseller-profile-page .whmcs-credential-panel .col-lg-4 {
    grid-column: span 4;
}

.reseller-profile-page .whmcs-credential-panel .col-lg-6 {
    grid-column: span 6;
}

.reseller-profile-page .whmcs-credential-panel .col-lg-8 {
    grid-column: span 8;
}

.profile-security-panel {
    padding: 18px !important;
    overflow: hidden;
}

.profile-security-head {
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center !important;
    justify-content: start !important;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e5eef6;
}

.profile-security-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eaf4fb;
    color: #004f7d;
    box-shadow: inset 0 0 0 1px #d6e8f5;
}

.profile-security-head h4 {
    margin: 0 0 4px !important;
    color: #071f3c !important;
    font-size: 21px !important;
    font-weight: 900 !important;
    line-height: 1.2;
}

.profile-security-head p {
    max-width: 760px;
    color: #55708a !important;
    font-size: 13px;
    line-height: 1.45;
}

.profile-security-form {
    display: flex;
    grid-template-columns: minmax(260px, .95fr) minmax(360px, 1.35fr);
    gap: 17px;
    align-items: stretch;
    flex-direction: column;
}

.profile-security-group {
    min-width: 0;
    padding: 15px;
    border: 1px solid #dbe9f4;
    border-radius: 12px;
    background: #fbfdff;
}

.profile-security-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #072443;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.profile-security-group-title i {
    color: #005083;
}

.profile-security-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.profile-security-group:nth-child(2) .profile-security-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-security-field {
    min-width: 0;
    margin: 0;
}

.profile-security-field span {
    display: block;
    margin-bottom: 6px;
    color: #072443;
    font-size: 12px;
    font-weight: 800;
}

.profile-security-field small {
    display: block;
    margin-top: 6px;
    color: #6f8296;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}

.profile-security-field .form-control {
    height: 42px;
    border-color: #cfe1ef;
    border-radius: 10px;
    box-shadow: none;
}

.profile-security-field .form-control:focus {
    border-color: #cfe1ef;
    box-shadow: none;
}

.profile-password-wrap {
    position: relative;
    display: block;
}

.profile-password-wrap .form-control {
    padding-right: 42px;
}

.profile-password-eye {
    position: absolute;
    right: 7px;
    top: 50%;
    width: 30px;
    height: 30px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 8px;
    background: #eef5fb;
    color: #005083;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.profile-password-eye:hover {
    background: #dcecf7;
}

.profile-security-note-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.profile-security-note {
    display: block;
    margin: 0;
    color: #6f8296;
    font-weight: 700;
}

.profile-forgot-link {
    border: 0;
    background: transparent;
    color: #005083;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.profile-forgot-link:hover {
    color: #003d63;
    text-decoration: underline;
}

.profile-security-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 2px;
}

.profile-security-save,
.profile-security-verify {
    min-height: 44px;
    min-width: 150px;
    border-radius: 3px !important;
    font-weight: 900 !important;
    box-shadow: 0 8px 18px rgba(0, 79, 125, .18);
}

.profile-security-save[disabled],
.profile-security-verify[disabled] {
    opacity: .75;
    cursor: wait;
}

.profile-security-otp,
.profile-forgot-panel {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #bbe7d5;
    border-radius: 12px;
    background: #f5fffa;
}

.profile-forgot-panel {
    border-color: #cfe1ef;
    background: #f8fbff;
}

.profile-security-otp-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #075236;
}

.profile-security-otp-head i {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #dff8ec;
}

.profile-security-otp-head strong,
.profile-security-otp-head span {
    display: block;
}

.profile-security-otp-head span {
    color: #52786a;
    font-size: 12px;
    font-weight: 700;
}

.profile-otp-timer {
    display: inline-flex;
    width: fit-content;
    margin-top: 7px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fff7e8;
    color: #8a5300;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

.profile-security-otp-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 12px;
}

.profile-forgot-grid {
    grid-template-columns: .7fr 1fr 1fr;
    margin-bottom: 12px;
}

.profile-security-inline-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-debug-otp-box {
    display: flex;
    align-items: stretch;
    gap: 8px;
    flex-wrap: wrap;
    margin: 2px 0 14px;
    padding: 10px;
    border: 1px dashed #85c8f0;
    border-radius: 10px;
    background: #eef8ff;
}

.profile-debug-otp-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 7px 9px;
    border-radius: 8px;
    color: #004f7d;
    background: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.profile-debug-otp-pill {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 2px 8px;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid #b9dff5;
    border-radius: 8px;
    background: #ffffff;
    color: #0b3954;
    text-align: left;
    cursor: pointer;
}

.profile-debug-otp-pill span {
    font-size: 11px;
    font-weight: 700;
}

.profile-debug-otp-pill strong {
    font-size: 15px;
    letter-spacing: 0;
    color: #005083;
}

.profile-debug-otp-pill small {
    grid-column: 1 / -1;
    color: #5b7180;
    font-size: 10px;
    font-weight: 800;
}

.profile-debug-otp-pill:hover {
    border-color: #007fc1;
    background: #f8fcff;
}

.profile-security-inline-actions .btn {
    border-radius: 10px;
    font-weight: 700;
    min-height: 40px;
}

.profile-security-inline-actions .btn-default {
    border-color: #cfe1ef;
    background: #ffffff;
    color: #005083;
}

.profile-security-inline-actions .btn-default:hover {
    background: #eef6fb;
}

@media (max-width: 1199px) {
    .profile-security-form {
        grid-template-columns: 1fr;
    }

    .profile-security-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .profile-security-panel {
        padding: 16px !important;
    }

    .profile-security-head {
        gap: 10px;
    }

    .profile-security-grid,
    .profile-security-group:nth-child(2) .profile-security-grid,
    .profile-security-otp-grid,
    .profile-forgot-grid {
        grid-template-columns: 1fr;
    }

    .profile-security-save,
    .profile-security-verify {
        width: 100%;
    }

    .profile-security-inline-actions {
        flex-direction: column;
    }

    .profile-debug-otp-box,
    .profile-security-inline-actions .btn {
        width: 100%;
    }

    .profile-debug-otp-box {
        display: grid;
        grid-template-columns: 1fr;
    }

    .profile-security-note-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

.reseller-profile-page .credential-card {
    min-height: 84px;
    margin: 0;
    padding: 14px;
    display: flex;
    flex-direction: column;
}

.reseller-profile-page .credential-card-primary {
    min-height: 84px;
}

.reseller-profile-page .credential-value {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.reseller-profile-page .credential-value span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow-wrap: normal;
}

.reseller-profile-page .kyc-verification-panel {
    padding: 18px;
    overflow: visible;
    background: #ffffff;
}

.reseller-profile-page .kyc-verification-panel::before {
    display: none;
}

.reseller-profile-page .kyc-panel-header {
    align-items: center;
    margin-bottom: 14px;
}

.reseller-profile-page .kyc-panel-header h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
}

.reseller-profile-page .kyc-panel-header p {
    max-width: 620px;
}

.reseller-profile-page .mc-inline-style-023 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.reseller-profile-page .kyc-cards-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 0;
}

.reseller-profile-page .kyc-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
    gap: 4px 12px;
    min-height: 0;
    padding: 16px;
    text-align: left;
    box-shadow: none;
}

.reseller-profile-page .kyc-card:hover {
    transform: none;
}

.reseller-profile-page .kyc-card-icon {
    grid-row: span 4;
    width: 46px;
    height: 46px;
    margin: 0;
    border-radius: 14px;
    font-size: 19px;
}

.reseller-profile-page .kyc-card h5 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.reseller-profile-page .kyc-card-desc {
    margin-bottom: 6px;
    line-height: 1.4;
}

.reseller-profile-page .kyc-card-status {
    width: max-content;
    max-width: 100%;
    margin: 0 0 6px;
}

.reseller-profile-page .kyc-action-btn {
    width: max-content;
    max-width: 100%;
    margin-top: 2px;
}

.reseller-profile-page .kyc-score-bar {
    width: 100%;
    margin: 4px 0;
}

.reseller-profile-page .kyc-location-data {
    margin: 0;
    padding: 8px;
}

.reseller-profile-page .kyc-admin-panel {
    margin-top: 14px;
    border-radius: 14px;
}

.reseller-profile-page .kyc-admin-files video {
    max-width: 100%;
}

.reseller-profile-page .profile-info-panel {
    margin-bottom: 16px;
}

.reseller-profile-page .profile-info-panel .box-body {
    padding: 18px;
    background: transparent;
}

.reseller-profile-page .profile-recent-row {
    margin-top: 0;
    margin-bottom: 0;
}

.reseller-profile-page>.box-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 20px;
    border: 1px solid #d9e8f5;
    border-top: 0;
    border-radius: 0 0 14px 14px;
    background: #ffffff;
}

.reseller-profile-page>.box-footer .pull-right {
    float: none !important;
}

@media (max-width: 1199px) {
    .reseller-profile-page .profile-stat-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reseller-profile-page .kyc-cards-row {
        grid-template-columns: 1fr;
    }

    .reseller-profile-page .kyc-card {
        grid-template-columns: 44px minmax(0, 1fr) auto;
        align-items: center;
    }
}

@media (max-width: 991px) {

    .reseller-profile-page .reseller-profile-hero .col-lg-7,
    .reseller-profile-page .reseller-profile-hero .col-lg-5 {
        width: 100%;
    }

    .reseller-profile-page .reseller-profile-hero .col-lg-5 {
        margin-top: 14px !important;
        text-align: left !important;
    }

    .reseller-profile-page .whmcs-credential-panel .col-lg-4,
    .reseller-profile-page .whmcs-credential-panel .col-lg-6,
    .reseller-profile-page .whmcs-credential-panel .col-lg-8 {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {

    .reseller-profile-page>.box-header.bg-primary,
    .reseller-profile-page>.box-body,
    .reseller-profile-page>.box-footer {
        padding-right: 12px;
        padding-left: 12px;
    }

    .reseller-profile-page>.box-body {
        gap: 12px;
    }

    .reseller-profile-page .reseller-profile-hero .col-lg-7 {
        align-items: flex-start;
    }

    .reseller-profile-page .reseller-avatar {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
        font-size: 22px;
    }

    .reseller-profile-page .reseller-hero-copy {
        width: auto;
    }

    .reseller-profile-page .profile-stat-row,
    .reseller-profile-page .whmcs-credential-panel .row,
    .reseller-profile-page .detail-grid {
        grid-template-columns: 1fr;
    }

    .reseller-profile-page .whmcs-credential-panel .col-lg-4,
    .reseller-profile-page .whmcs-credential-panel .col-lg-6,
    .reseller-profile-page .whmcs-credential-panel .col-lg-8 {
        grid-column: span 1;
    }

    .reseller-profile-page .kyc-panel-header {
        align-items: stretch;
    }

    .reseller-profile-page .mc-inline-style-023 {
        justify-content: flex-start;
    }

    .reseller-profile-page .kyc-card {
        grid-template-columns: 42px minmax(0, 1fr);
        align-items: start;
        padding: 14px;
    }

    .reseller-profile-page .kyc-action-btn,
    .reseller-profile-page .kyc-card .btn {
        width: 100%;
    }

    .reseller-profile-page>.box-footer {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 1199px) {
    .customer-page-container .stats-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .customer-page-container .filter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .customer-page-container .filter-field:first-child {
        grid-column: 1 / -1;
    }

    .customer-page-container .filter-grid .btn-primary-modern {
        width: 100% !important;
    }

    .customer-page-container .modern-list-item.customer-item {
        grid-template-columns: minmax(230px, 300px) minmax(118px, 142px) minmax(100px, 126px) minmax(68px, 86px) max-content;
        gap: 10px 10px;
    }

    .customer-page-container .action-btn-stacked {
        width: 43px;
        height: 42px;
    }

    .customer-page-container .action-btn-stacked span {
        font-size: 8.5px;
    }
}

@media (max-width: 991px) {
    .customer-page-container .modern-list-item.customer-item {
        grid-template-columns: minmax(0, 1fr) minmax(130px, auto);
    }

    .customer-page-container .customer-item .item-left-block,
    .customer-page-container .customer-item .action-buttons-wrap {
        grid-column: 1 / -1;
    }

    .customer-page-container .customer-item .action-buttons-wrap {
        padding-left: 0;
        border-top: 1px solid var(--admin-border);
        padding-top: 12px;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .customer-page-container .page-title-block {
        gap: 14px;
    }

    .customer-page-container .page-title-block>div,
    .customer-page-container .page-title-block .btn-primary-modern {
        width: 100%;
    }

    .customer-page-container .stats-cards-grid,
    .customer-page-container .filter-grid,
    .customer-page-container .modern-list-item.customer-item {
        grid-template-columns: 1fr;
    }

    .customer-page-container .stats-card {
        min-height: 96px;
    }

    .customer-page-container .filter-card {
        padding: 14px;
    }

    .customer-page-container .filter-card-header {
        align-items: stretch;
        flex-direction: column;
    }

    .customer-page-container .filter-tab-btn,
    .customer-page-container .filter-clear-btn {
        width: 100%;
        justify-content: center;
    }

    .customer-page-container .customer-item .column-label-val,
    .customer-page-container .customer-item .column-label-val.mc-inline-style-144 {
        justify-self: stretch;
    }

    .customer-page-container .customer-item .action-buttons-wrap {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }
}

/* Reseller management reference layout polish */
.reseller-page.mc-inline-style-142 {
    max-width: 100%;
}

.reseller-page .page-title-block {
    align-items: flex-start;
    margin-bottom: 22px;
}

.reseller-page .page-title {
    font-size: 23px;
    line-height: 1.15;
}

.reseller-page .page-subtitle {
    color: #475569;
}

.reseller-page .btn-primary-modern {
    min-height: 40px;
}

.reseller-page .stats-cards-grid {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.reseller-page .stats-card {
    min-height: 110px;
    padding: 18px 20px;
    align-items: stretch;
}

.reseller-page .stats-card-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
}

.reseller-page .filter-card {
    padding: 16px 20px;
    margin-bottom: 22px;
}

.reseller-page .filter-card-header {
    margin-bottom: 16px;
}

.reseller-page .filter-tabs {
    gap: 10px;
}

.reseller-page .filter-tab-btn,
.reseller-page .filter-clear-btn {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.reseller-page .filter-tab-btn {
    min-width: 118px;
}

.reseller-page .filter-grid {
    grid-template-columns: minmax(280px, 1.7fr) minmax(128px, .9fr) minmax(136px, .95fr) minmax(128px, .85fr) minmax(128px, .9fr) minmax(110px, .7fr) 64px;
    gap: 12px 16px;
    align-items: end;
}

.reseller-page .filter-field {
    min-width: 0;
}

.reseller-page .filter-field:first-child {
    align-self: end;
}

.reseller-page .filter-field label {
    min-height: 13px;
    margin-bottom: 7px;
    color: #0f172a;
}

.reseller-page .search-input-wrap {
    width: 100%;
}

.reseller-page .search-input-wrap i.search-icon {
    left: 15px;
    color: #64748b;
}

.reseller-page #resellerSearchInput.form-control-modern {
    height: 42px;
    padding-left: 34px !important;
    padding-right: 0px !important;
    text-overflow: ellipsis;
}

.reseller-page #resellerSearchInput.form-control-modern::placeholder {
    color: #64748b;
    font-weight: 600;
}

.reseller-page #resellerSearchClear {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 26px;
    height: 26px;
    transform: translateY(-50%);
    border-radius: 50%;
}

.reseller-page .filter-card .form-select-modern,
.reseller-page .filter-card .form-select {
    height: 42px;
    padding-right: 34px;
}

.reseller-page .filter-grid .btn-primary-modern {
    width: 52px !important;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 10px;
}

.reseller-page .reseller-filter-panel {
    padding: 18px;
    border-radius: 8px;
}

.reseller-page .reseller-smart-filter-grid {
    grid-template-columns: minmax(200px, 1.8fr) minmax(120px, .85fr) minmax(132px, .95fr) minmax(116px, .8fr) minmax(126px, .9fr) minmax(92px, .68fr) minmax(92px, .62fr);
    gap: 14px 18px;
    align-items: end;
}

.reseller-page .reseller-smart-filter-grid .filter-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.reseller-page .reseller-smart-filter-grid .filter-field label {
    min-height: 14px;
    margin: 0 0 8px;
    line-height: 1.2;
}

.reseller-page .reseller-smart-filter-grid .form-control-modern,
.reseller-page .reseller-smart-filter-grid .form-select-modern {
    height: 42px;
    border-radius: 8px;
}

.reseller-page .reseller-smart-filter-grid .filter-field-action {
    min-width: 96px;
}

.reseller-page .reseller-smart-filter-grid .reseller-filter-apply {
    width: 100% !important;
    height: 42px;
    min-height: 42px;
    gap: 7px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}

.reseller-page .modern-list {
    gap: 10px;
}

.reseller-page .modern-list-item.reseller-item {
    display: grid;
    grid-template-columns: minmax(250px, 330px) minmax(138px, 172px) minmax(78px, 96px) max-content;
    align-items: center;
    gap: 10px clamp(10px, 1.15vw, 18px);
    justify-content: start;
    padding: 14px 18px;
}

.reseller-page .reseller-item .item-left-block {
    min-width: 0;
    width: 100%;
}

.reseller-page .reseller-item .item-name {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reseller-page .reseller-item .item-meta {
    gap: 8px 12px;
    line-height: 1.3;
}

.reseller-page .reseller-item .column-label-val {
    justify-self: start;
    max-width: 100%;
}

.reseller-page .reseller-item .status-badge {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reseller-page .reseller-item .column-label-val.mc-inline-style-144 {
    justify-self: start;
    min-width: 0;
}

.reseller-page .reseller-item .action-buttons-wrap {
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
    flex-wrap: nowrap;
    margin-left: clamp(4px, 1vw, 14px);
}

.reseller-page .action-btn-stacked {
    width: 46px;
    height: 44px;
    border-radius: 9px;
}

.reseller-page .contact-btn-circle {
    width: 34px;
    height: 34px;
}

.reseller-page .pagination-modern {
    margin-top: 14px;
}

html.mc-theme-dark .reseller-page .page-subtitle,
html.mc-theme-dark .reseller-page .filter-field label {
    color: var(--admin-text);
}

@media (max-width: 1399px) {
    .reseller-page .modern-list-item.reseller-item {
        grid-template-columns: minmax(240px, 310px) minmax(130px, 158px) minmax(70px, 88px) max-content;
        gap: 10px clamp(8px, 1vw, 14px);
    }

    .reseller-page .reseller-item .action-buttons-wrap {
        justify-content: flex-end;
        padding-left: 0;
    }

    .reseller-page .action-btn-stacked {
        width: 43px;
        height: 42px;
    }

    .reseller-page .action-btn-stacked span {
        font-size: 8.5px;
    }
}

@media (max-width: 1199px) {
    .reseller-page .stats-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reseller-page .filter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .reseller-page .filter-field:first-child {
        grid-column: 1 / -1;
    }

    .reseller-page .filter-grid .btn-primary-modern {
        width: 100% !important;
    }
}

@media (max-width: 991px) {
    .reseller-page .modern-list-item.reseller-item {
        grid-template-columns: minmax(0, 1fr) minmax(130px, auto);
        gap: 12px 16px;
    }

    .reseller-page .reseller-item .item-left-block,
    .reseller-page .reseller-item .action-buttons-wrap {
        grid-column: 1 / -1;
    }

    .reseller-page .reseller-item .action-buttons-wrap {
        padding-left: 0;
        border-top: 1px solid var(--admin-border);
        padding-top: 12px;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .reseller-page .page-title-block {
        gap: 14px;
    }

    .reseller-page .page-title-block>div,
    .reseller-page .page-title-block .btn-primary-modern {
        width: 100%;
    }

    .reseller-page .stats-cards-grid,
    .reseller-page .filter-grid,
    .reseller-page .modern-list-item.reseller-item {
        grid-template-columns: 1fr;
    }

    .reseller-page .stats-card {
        min-height: 96px;
    }

    .reseller-page .filter-card {
        padding: 14px;
    }

    .reseller-page .filter-card-header,
    .reseller-page .filter-tabs {
        align-items: stretch;
        flex-direction: column;
    }

    .reseller-page .filter-tab-btn,
    .reseller-page .filter-tabs .form-select-modern,
    .reseller-page .filter-clear-btn {
        width: 100%;
        justify-content: center;
    }

    .reseller-page .reseller-item .column-label-val,
    .reseller-page .reseller-item .column-label-val.mc-inline-style-144 {
        justify-self: stretch;
    }

    .reseller-page .reseller-item .action-buttons-wrap {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }
}

/* Customer and reseller list table-card redesign */
.customer-page-container .reseller-list-area,
.reseller-page .reseller-list-area {
    overflow: visible;
}

.customer-page-container .modern-list,
.reseller-page .modern-list {
    gap: 10px;
    overflow: visible;
    position: relative;
}

.modern-list-heading {
    display: grid;
    grid-template-columns: minmax(320px, 1.35fr) minmax(190px, .95fr) minmax(104px, .45fr) minmax(220px, auto);
    align-items: center;
    gap: 12px;
    min-height: 46px;
    margin: 0 0 10px;
    padding: 0 18px;
    border: 1px solid #e2edf7;
    border-radius: 8px;
    background: #f8fbfe;
    color: #6a7f93;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.modern-list-heading.customer-list-heading {
    grid-template-columns: minmax(300px, 1.3fr) minmax(180px, .82fr) minmax(110px, .38fr) minmax(112px, .42fr) minmax(230px, auto);
}

.customer-page-container .modern-list-item.customer-item,
.reseller-page .modern-list-item.reseller-item {
    position: relative;
    z-index: 1;
    overflow: visible;
    min-height: 74px;
    padding: 14px 18px;
    border-color: #dceaf5;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 45, 78, .04);
}

.customer-page-container .modern-list-item.customer-item:has(.list-more-menu.open),
.reseller-page .modern-list-item.reseller-item:has(.list-more-menu.open) {
    z-index: 80;
}

.reseller-page .modern-list-item.reseller-item {
    grid-template-columns: minmax(300px, 1.3fr) minmax(180px, .85fr) minmax(112px, .42fr) minmax(230px, auto);
}

.customer-page-container .modern-list-item.customer-item {
    grid-template-columns: minmax(300px, 1.3fr) minmax(180px, .82fr) minmax(110px, .38fr) minmax(112px, .42fr) minmax(230px, auto);
}

.customer-page-container .modern-list-item.customer-item:hover,
.reseller-page .modern-list-item.reseller-item:hover {
    transform: none;
    border-color: #c9e1f2;
    box-shadow: 0 10px 26px rgba(15, 45, 78, .07);
}

.customer-page-container .customer-item .item-left-block,
.reseller-page .reseller-item .item-left-block {
    display: grid !important;
    grid-template-columns: 38px 48px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-width: 0;
    width: 100%;
}

.customer-page-container .customer-item .sl-block,
.reseller-page .reseller-item .sl-block {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #28709f;
    color: #ffffff;
}

.customer-page-container .customer-item .avatar-initial,
.reseller-page .reseller-item .avatar-initial {
    width: 48px;
    height: 48px;
    font-size: 15px;
    background: #e9f3fb;
}

.customer-page-container .customer-item .item-title-wrap,
.reseller-page .reseller-item .item-title-wrap {
    min-width: 0;
}

.customer-page-container .customer-item .item-title-wrap>.mc-inline-style-147,
.customer-page-container .customer-item .item-title-wrap>.item-meta,
.reseller-page .reseller-item .item-title-wrap>.mc-inline-style-147,
.reseller-page .reseller-item .item-title-wrap>.item-meta {
    min-width: 0;
}

.customer-page-container .customer-item .item-name,
.reseller-page .reseller-item .item-name {
    max-width: min(100%, 230px);
    color: #09233f;
    font-size: 13px;
    line-height: 1.2;
}

.customer-page-container .customer-item .item-meta,
.reseller-page .reseller-item .item-meta {
    display: grid;
    gap: 2px;
    margin-top: 3px;
    color: #668098;
    font-size: 11px;
}

.customer-page-container .customer-item .item-meta span,
.reseller-page .reseller-item .item-meta span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-package-wrap {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.list-package-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0e9ff;
    color: #8b5cf6;
    box-shadow: inset 0 0 0 1px #e4d6ff;
}

.customer-page-container .customer-item:nth-child(2n) .list-package-icon,
.reseller-page .reseller-item:nth-child(2n) .list-package-icon {
    background: #e7f3ff;
    color: #2b82d9;
    box-shadow: inset 0 0 0 1px #cce5ff;
}

.list-package-wrap strong {
    display: block;
    max-width: 100%;
    margin-bottom: 4px;
    color: #102a43;
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-page-container .customer-item .badge-package,
.reseller-page .reseller-item .badge-package {
    max-width: 100%;
    padding: 3px 9px;
    background: #dff2ec;
    color: #07965f;
    font-size: 10px;
}

.customer-page-container .customer-item .contact-btn-circle,
.reseller-page .reseller-item .contact-btn-circle {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    color: #0b75b7;
    background: #ffffff;
}

.customer-page-container .customer-item .column-label-val.mc-inline-style-144,
.reseller-page .reseller-item .column-label-val.mc-inline-style-144 {
    justify-self: start;
    min-width: 112px;
    width: 112px;
}

.customer-page-container .customer-item .column-label-val.mc-inline-style-144 .col-label,
.reseller-page .reseller-item .column-label-val.mc-inline-style-144 .col-label {
    display: block;
    margin-bottom: 6px;
    line-height: 1;
    white-space: nowrap;
}

.customer-page-container .customer-item .column-label-val.mc-inline-style-144 .mc-inline-style-143,
.reseller-page .reseller-item .column-label-val.mc-inline-style-144 .mc-inline-style-143 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
}

.customer-page-container .customer-item .action-buttons-wrap,
.reseller-page .reseller-item .action-buttons-wrap {
    justify-self: end;
    gap: 8px;
    margin-left: 0;
    overflow: visible;
}

.customer-page-container .action-btn-stacked,
.reseller-page .action-btn-stacked {
    width: auto;
    min-width: 54px;
    height: 34px;
    padding: 0 12px;
    border-radius: 5px;
    flex-direction: row;
    gap: 6px;
}

.customer-page-container .action-btn-stacked i,
.reseller-page .action-btn-stacked i {
    margin: 0;
}

.customer-page-container .action-btn-stacked span,
.reseller-page .action-btn-stacked span {
    font-size: 10px;
}

.customer-page-container .action-btn-stacked.btn-more,
.reseller-page .action-btn-stacked.btn-more {
    min-width: 34px;
    width: 34px;
    padding: 0;
    background: #ffffff;
}

.customer-page-container .action-btn-stacked.btn-more span,
.reseller-page .action-btn-stacked.btn-more span {
    display: none;
}

.list-more-menu {
    position: relative;
    z-index: 20;
}

.list-more-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 100;
    display: none;
    width: 190px;
    padding: 6px;
    border: 1px solid #dce8f4;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(15, 45, 78, .16);
}

.list-more-menu.open .list-more-dropdown {
    display: grid;
    gap: 3px;
}

.list-more-dropdown button {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 34px;
    padding: 7px 9px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #334b63;
    font-size: 12px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    line-height: 1.2;
}

.list-more-dropdown button:hover {
    background: #f4f8fc;
    color: #005083;
}

.list-more-dropdown button.is-danger {
    color: #e11d48;
}

.list-more-dropdown button.is-danger:hover {
    background: #fff1f2;
}

@media (max-width: 1199px) {

    .modern-list-heading,
    .modern-list-heading.customer-list-heading {
        display: none;
    }

    .reseller-page .modern-list-item.reseller-item,
    .customer-page-container .modern-list-item.customer-item {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
    }

    .customer-page-container .customer-item .item-title-wrap,
    .reseller-page .reseller-item .item-title-wrap {
        grid-column: auto;
    }

    .customer-page-container .customer-item .column-label-val,
    .reseller-page .reseller-item .column-label-val {
        justify-self: start;
    }

    .customer-page-container .customer-item .action-buttons-wrap,
    .reseller-page .reseller-item .action-buttons-wrap {
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding-top: 10px;
        border-top: 1px solid #e7eff7;
    }
}

@media (max-width: 767px) {

    .reseller-page .modern-list-item.reseller-item,
    .customer-page-container .modern-list-item.customer-item {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .customer-page-container .customer-item .item-title-wrap,
    .reseller-page .reseller-item .item-title-wrap {
        min-width: 0;
    }

    .customer-page-container .customer-item .item-left-block,
    .reseller-page .reseller-item .item-left-block,
    .list-package-wrap {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .customer-page-container .customer-item .sl-block,
    .reseller-page .reseller-item .sl-block {
        display: none;
    }

    .customer-page-container .customer-item .avatar-initial,
    .reseller-page .reseller-item .avatar-initial {
        width: 42px;
        height: 42px;
    }

    .customer-page-container .customer-item .action-buttons-wrap,
    .reseller-page .reseller-item .action-buttons-wrap {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)) 38px;
        gap: 8px;
    }

    .customer-page-container .action-buttons-wrap .action-btn-stacked,
    .reseller-page .action-buttons-wrap .action-btn-stacked {
        width: 100%;
        justify-content: center;
    }

    .customer-page-container .action-buttons-wrap .btn-more,
    .reseller-page .action-buttons-wrap .btn-more {
        min-width: 38px;
    }

    .list-more-dropdown {
        right: 0;
        width: min(190px, calc(100vw - 40px));
    }
}

/* Manage domains: compact responsive domain cards */
.manage-domain-shell {
    width: 100%;
    max-width: 100%;
}

.manage-domain-page .domain-filter-card {
    background: #ffffff !important;
}

#domain-list-box {
    overflow: visible !important;
}

#domain-list-content .box-body.no-padding {
    background: #f5f9fc;
}

.domain-card-list-wrap {
    padding: 0 16px 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.domain-card-heading {
    display: grid;
    grid-template-columns: minmax(180px, 1.1fr) minmax(130px, .75fr) minmax(145px, .75fr) minmax(110px, .6fr) minmax(75px, .4fr) minmax(185px, auto);
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin-bottom: 10px;
    margin-top: 15px;
    padding: 0 16px;
    border: 1px solid #e2edf7;
    border-radius: 8px;
    background: #f8fbfe;
    color: #6a7f93;
    font-size: 10px;
    font-family: "Urbanist", sans-serif !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    min-width: 840px;
}

.domain-card-heading span:nth-child(5) {
    text-align: center;
}

.domain-card-heading span:nth-child(6) {
    text-align: right;
}

.domain-card-list {
    display: grid;
    gap: 10px;
    min-width: 840px;
}

.domain-card-row {
    display: grid;
    grid-template-columns: minmax(180px, 1.1fr) minmax(130px, .75fr) minmax(145px, .75fr) minmax(110px, .6fr) minmax(75px, .4fr) minmax(185px, auto);
    align-items: center;
    gap: 10px;
    min-height: 78px;
    padding: 12px 14px;
    border: 1px solid #dceaf5;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 45, 78, .04);
    box-sizing: border-box;
    min-width: 840px;
}

.domain-card-row:hover {
    border-color: #c9e1f2;
    box-shadow: 0 10px 26px rgba(15, 45, 78, .07);
}

.domain-card-main {
    display: grid;
    grid-template-columns: 36px 46px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.domain-card-sl {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f7fc;
    color: #28709f;
    font-size: 12px;
    font-weight: 700;
}

.domain-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e9f3fb;
    color: #005083;
    font-size: 17px;
    box-shadow: inset 0 0 0 1px #d3e6f4;
}

.domain-card-title {
    min-width: 0;
}

.domain-card-title a,
.domain-card-customer a {
    display: inline-block;
    max-width: 100%;
    color: #09233f !important;
    font-size: 13px;
    font-weight: 700;
    font-family: "Urbanist", sans-serif !important;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    white-space: nowrap;
}

.domain-card-title a {
    color: #005083 !important;
}

.domain-card-sub {
    display: block;
    max-width: 100%;
    margin-top: 5px;
    color: #668098;
    font-size: 11px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.domain-type-pill {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.domain-type-pill.is-new {
    background: #eaf4ff;
    color: #0b75b7;
}

.domain-type-pill.is-transfer {
    background: #e8f8ef;
    color: #07965f;
}

.domain-col-label {
    display: block;
    margin-bottom: 4px;
    color: #6a7f93;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.domain-card-customer,
.domain-card-owner {
    min-width: 0;
}

.domain-card-owner strong {
    display: block;
    color: #102a43;
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.domain-card-dates {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 8px 16px;
    min-width: 0;
}

.domain-card-dates span {
    display: contents;
}

.domain-card-dates strong {
    color: #6a7f93;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    white-space: nowrap;
}

.domain-card-dates em {
    color: #102a43;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    white-space: nowrap;
}

.domain-card-owner {
    padding-left: 2px;
}

/* Legacy fallback if date values render without the em wrapper. */
.domain-card-dates span:not(:has(em)) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #334b63;
    font-size: 12px;
    font-weight: 800;
}

.domain-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 100%;
    min-height: 28px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.domain-status-pill.is-active {
    background: #c5ffd987;
    color: #04783b;
}

.domain-status-pill.is-muted {
    background: #f1f5f9;
    color: #475569;
}

.domain-status-pill.is-danger {
    background: #ffe4e6;
    color: #be123c;
}

.domain-status-pill.is-warning {
    color: #c2410c;
    border: 1px solid;
}

.domain-card-error {
    display: block;
    margin-top: 6px;
    max-width: 180px;
    color: #b91c1c !important;
    white-space: normal;
}

.domain-card-status {
    display: flex;
    align-items: center;
    justify-content: center;
}

.domain-card-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.domain-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 48px;
    height: 28px;
    padding: 0 11px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
}

.domain-action-btn.is-view {
    background: #07965f !important;
    border-color: #c8f0dc;
    color: #fff !important;
}

.domain-action-btn.is-renew {
    background: #d97706 !important;
    border-color: #b45309;
    color: #ffffff !important;
}

.domain-action-btn.is-renew:hover {
    background: #b45309 !important;
    color: #ffffff !important;
}

.domain-action-btn.is-log {
    background: #0b75b7;
    color: #ffffff !important;
}

.domain-action-btn.is-retry {
    background: #c45f00;
    border-color: #c45f00;
    color: #ffffff !important;
}

.domain-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(15, 45, 78, .08);
}

@media (max-width: 1399px) {
    .domain-card-heading {
        grid-template-columns: minmax(180px, 1.1fr) minmax(130px, .75fr) minmax(170px, .85fr) minmax(75px, .4fr) minmax(185px, auto);
        gap: 10px;
        padding: 0 14px;
        min-width: 760px;
    }

    .domain-card-row {
        grid-template-columns: minmax(180px, 1.1fr) minmax(130px, .75fr) minmax(170px, .85fr) minmax(75px, .4fr) minmax(185px, auto);
        align-items: center;
        gap: 10px;
        min-height: 86px;
        padding: 12px 14px;
        min-width: 760px;
    }

    .domain-card-heading span:nth-child(4) {
        display: none;
    }

    .domain-card-heading span:nth-child(5) {
        display: block;
        text-align: center;
    }

    .domain-card-heading span:nth-child(6) {
        text-align: right;
    }

    .domain-card-customer {
        min-width: 0;
    }

    .domain-card-dates {
        grid-column: 3;
        grid-row: 1;
        gap: 5px 12px;
    }

    .domain-card-owner {
        grid-column: 3;
        grid-row: 2;
        display: grid;
        grid-template-columns: max-content minmax(0, 1fr);
        align-items: center;
        gap: 8px;
        padding-left: 0;
        margin-top: -8px;
    }

    .domain-card-owner .domain-col-label {
        margin: 0;
    }

    .domain-card-owner strong {
        font-size: 12px;
    }

    .domain-card-status {
        justify-self: center;
        grid-column: 4;
        grid-row: 1;
    }

    .domain-card-actions {
        justify-self: end;
        grid-column: 5;
        grid-row: 1;
        justify-content: flex-end;
        width: 100%;
        padding-top: 0;
        border-top: 0;
    }

    .domain-action-btn {
        min-width: 53px;
        height: 28px;
        padding: 0px 13px;
    }
}

@media (max-width: 991px) {
    .domain-card-heading {
        display: none;
    }

    .domain-card-row {
        grid-template-columns: minmax(0, 1fr) minmax(140px, auto);
        align-items: start;
    }

    .domain-card-main {
        grid-column: 1 / -1;
    }

    .domain-card-owner,
    .domain-card-status,
    .domain-card-actions {
        grid-column: auto;
        grid-row: auto;
        justify-self: start;
    }

    .domain-card-owner {
        display: block;
        margin-top: 0;
    }

    .domain-card-owner .domain-col-label {
        margin-bottom: 4px;
    }

    .domain-card-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding-top: 10px;
        border-top: 1px solid #e7eff7;
    }
}

@media (max-width: 767px) {
    .domain-card-list-wrap {
        padding: 0;
        border: none;
    }

    .domain-card-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px;
    }

    .domain-card-main {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .domain-card-sl {
        display: none;
    }

    .domain-card-icon {
        width: 42px;
        height: 42px;
    }

    .domain-card-dates span {
        justify-content: flex-start;
    }

    .domain-card-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .domain-action-btn {
        width: 100%;
    }
}

/* Order history: ledger-style rows */
.order-history-page .manage-domain-shell {
    /* width: min(1064px, 100%); */
}

.order-history-page .domain-filter-card {
    margin-bottom: 14px;
    padding: 18px 20px;
    border: 1px solid #dceaf5;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(15, 45, 78, .04);
}

.order-history-page .domain-filter-card .row {
    row-gap: 12px;
}

.order-history-page .filter-action-col {
    align-self: end;
}

.order-history-page .box-body.no-padding {
    padding: 16px !important;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 45, 78, .05);
}

.order-history-page .domain-card-list-wrap {
    padding: 0;
}

.order-history-page .domain-card-heading,
.order-history-page .domain-card-row {
    grid-template-columns: minmax(280px, 1.3fr) minmax(150px, .72fr) minmax(160px, .68fr) minmax(112px, .48fr) minmax(92px, .36fr) minmax(128px, auto);
    gap: 14px;
}

.order-history-page .domain-card-heading {
    margin-bottom: 10px;
    padding: 0 14px;
    background: #f7fbfe;
}

.order-history-page .domain-card-row {
    min-height: 116px;
    padding: 16px 14px;
    border-color: #d9e9f6;
    box-shadow: none;
}

.order-history-page .domain-card-row:hover {
    transform: none;
}

.order-history-page .domain-card-main {
    grid-template-columns: 34px 44px minmax(0, 1fr);
    gap: 12px;
}

.order-history-page .domain-card-sl {
    width: 34px;
    height: 34px;
    background: #006399;
    color: #ffffff;
}

.order-history-page .domain-card-icon {
    width: 44px;
    height: 44px;
}

.order-history-page .domain-card-title strong {
    display: block;
    max-width: 100%;
    color: #061f38;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-history-page .domain-card-sub {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 7px;
    color: #60798f;
    white-space: normal;
}

.order-history-page .domain-card-error {
    max-width: 100%;
    color: #dc2626 !important;
    font-weight: 800;
    line-height: 1.35;
}

.order-history-page .domain-card-customer strong {
    display: block;
    max-width: 100%;
    color: #061f38;
    font-size: 13px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-history-page .domain-card-dates {
    display: block;
}

.order-history-page .domain-card-dates span {
    display: block;
}

.order-history-page .domain-card-dates strong,
.order-history-page .domain-card-owner .domain-col-label {
    display: block;
    margin-bottom: 7px;
    color: #60798f;
}

.order-history-page .domain-card-dates em,
.order-history-page .domain-card-owner strong {
    display: block;
    color: #061f38;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    white-space: normal;
}

.order-history-page .domain-card-status {
    justify-self: start;
}

.order-history-page .domain-card-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
}

.order-history-page .domain-action-btn {
    min-width: 62px;
    height: 34px;
    border-radius: 7px;
}

.order-history-page .domain-type-pill {
    min-height: 18px;
    padding: 2px 8px;
}

.order-history-page .domain-type-pill.is-registration {
    background: #eaf4ff;
    color: #0b75b7;
}

.order-history-page .domain-type-pill.is-transfer {
    background: #e8f8ef;
    color: #07965f;
}

.order-history-page .domain-type-pill.is-renewal {
    background: #fff7ed;
    color: #c2410c;
}

@media (max-width: 1399px) {

    .order-history-page .domain-card-heading,
    .order-history-page .domain-card-row {
        grid-template-columns: minmax(300px, 1.25fr) minmax(150px, .68fr) minmax(150px, .64fr) minmax(105px, .44fr) minmax(82px, .34fr) minmax(126px, auto);
        gap: 12px;
    }

    .order-history-page .domain-card-heading span:nth-child(4),
    .order-history-page .domain-card-heading span:nth-child(5) {
        display: block;
    }

    .order-history-page .domain-card-dates,
    .order-history-page .domain-card-owner,
    .order-history-page .domain-card-status,
    .order-history-page .domain-card-actions {
        grid-column: auto;
        grid-row: auto;
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }

    .order-history-page .domain-card-owner {
        display: block;
    }
}

@media (max-width: 1199px) {
    .order-history-page .domain-card-heading {
        display: none;
    }

    .order-history-page .domain-card-row {
        grid-template-columns: minmax(0, 1.3fr) minmax(150px, .7fr) minmax(132px, .56fr) minmax(116px, auto);
        align-items: start;
        min-height: 0;
    }

    .order-history-page .domain-card-main {
        grid-column: 1 / -1;
    }

    .order-history-page .domain-card-customer,
    .order-history-page .domain-card-dates,
    .order-history-page .domain-card-owner,
    .order-history-page .domain-card-status {
        grid-column: auto;
        grid-row: auto;
        justify-self: start;
    }

    .order-history-page .domain-card-actions {
        grid-column: 4;
        grid-row: 2;
        justify-self: end;
        width: auto;
    }
}

@media (max-width: 767px) {
    .order-history-page .domain-filter-card {
        padding: 14px;
    }

    .order-history-page .box-body.no-padding {
        padding: 10px !important;
    }

    .order-history-page .domain-card-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px;
    }

    .order-history-page .domain-card-main {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .order-history-page .domain-card-icon {
        width: 40px;
        height: 40px;
    }

    .order-history-page .domain-card-actions {
        grid-column: auto;
        grid-row: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        padding-top: 10px;
        border-top: 1px solid #e7eff7;
    }
}

.kyc-score-width-0 {
    width: 0%;
}

.kyc-score-width-1 {
    width: 1%;
}

.kyc-score-width-2 {
    width: 2%;
}

.kyc-score-width-3 {
    width: 3%;
}

.kyc-score-width-4 {
    width: 4%;
}

.kyc-score-width-5 {
    width: 5%;
}

.kyc-score-width-6 {
    width: 6%;
}

.kyc-score-width-7 {
    width: 7%;
}

.kyc-score-width-8 {
    width: 8%;
}

.kyc-score-width-9 {
    width: 9%;
}

.kyc-score-width-10 {
    width: 10%;
}

.kyc-score-width-11 {
    width: 11%;
}

.kyc-score-width-12 {
    width: 12%;
}

.kyc-score-width-13 {
    width: 13%;
}

.kyc-score-width-14 {
    width: 14%;
}

.kyc-score-width-15 {
    width: 15%;
}

.kyc-score-width-16 {
    width: 16%;
}

.kyc-score-width-17 {
    width: 17%;
}

.kyc-score-width-18 {
    width: 18%;
}

.kyc-score-width-19 {
    width: 19%;
}

.kyc-score-width-20 {
    width: 20%;
}

.kyc-score-width-21 {
    width: 21%;
}

.kyc-score-width-22 {
    width: 22%;
}

.kyc-score-width-23 {
    width: 23%;
}

.kyc-score-width-24 {
    width: 24%;
}

.kyc-score-width-25 {
    width: 25%;
}

.kyc-score-width-26 {
    width: 26%;
}

.kyc-score-width-27 {
    width: 27%;
}

.kyc-score-width-28 {
    width: 28%;
}

.kyc-score-width-29 {
    width: 29%;
}

.kyc-score-width-30 {
    width: 30%;
}

.kyc-score-width-31 {
    width: 31%;
}

.kyc-score-width-32 {
    width: 32%;
}

.kyc-score-width-33 {
    width: 33%;
}

.kyc-score-width-34 {
    width: 34%;
}

.kyc-score-width-35 {
    width: 35%;
}

.kyc-score-width-36 {
    width: 36%;
}

.kyc-score-width-37 {
    width: 37%;
}

.kyc-score-width-38 {
    width: 38%;
}

.kyc-score-width-39 {
    width: 39%;
}

.kyc-score-width-40 {
    width: 40%;
}

.kyc-score-width-41 {
    width: 41%;
}

.kyc-score-width-42 {
    width: 42%;
}

.kyc-score-width-43 {
    width: 43%;
}

.kyc-score-width-44 {
    width: 44%;
}

.kyc-score-width-45 {
    width: 45%;
}

.kyc-score-width-46 {
    width: 46%;
}

.kyc-score-width-47 {
    width: 47%;
}

.kyc-score-width-48 {
    width: 48%;
}

.kyc-score-width-49 {
    width: 49%;
}

.kyc-score-width-50 {
    width: 50%;
}

.kyc-score-width-51 {
    width: 51%;
}

.kyc-score-width-52 {
    width: 52%;
}

.kyc-score-width-53 {
    width: 53%;
}

.kyc-score-width-54 {
    width: 54%;
}

.kyc-score-width-55 {
    width: 55%;
}

.kyc-score-width-56 {
    width: 56%;
}

.kyc-score-width-57 {
    width: 57%;
}

.kyc-score-width-58 {
    width: 58%;
}

.kyc-score-width-59 {
    width: 59%;
}

.kyc-score-width-60 {
    width: 60%;
}

.kyc-score-width-61 {
    width: 61%;
}

.kyc-score-width-62 {
    width: 62%;
}

.kyc-score-width-63 {
    width: 63%;
}

.kyc-score-width-64 {
    width: 64%;
}

.kyc-score-width-65 {
    width: 65%;
}

.kyc-score-width-66 {
    width: 66%;
}

.kyc-score-width-67 {
    width: 67%;
}

.kyc-score-width-68 {
    width: 68%;
}

.kyc-score-width-69 {
    width: 69%;
}

.kyc-score-width-70 {
    width: 70%;
}

.kyc-score-width-71 {
    width: 71%;
}

.kyc-score-width-72 {
    width: 72%;
}

.kyc-score-width-73 {
    width: 73%;
}

.kyc-score-width-74 {
    width: 74%;
}

.kyc-score-width-75 {
    width: 75%;
}

.kyc-score-width-76 {
    width: 76%;
}

.kyc-score-width-77 {
    width: 77%;
}

.kyc-score-width-78 {
    width: 78%;
}

.kyc-score-width-79 {
    width: 79%;
}

.kyc-score-width-80 {
    width: 80%;
}

.kyc-score-width-81 {
    width: 81%;
}

.kyc-score-width-82 {
    width: 82%;
}

.kyc-score-width-83 {
    width: 83%;
}

.kyc-score-width-84 {
    width: 84%;
}

.kyc-score-width-85 {
    width: 85%;
}

.kyc-score-width-86 {
    width: 86%;
}

.kyc-score-width-87 {
    width: 87%;
}

.kyc-score-width-88 {
    width: 88%;
}

.kyc-score-width-89 {
    width: 89%;
}

.kyc-score-width-90 {
    width: 90%;
}

.kyc-score-width-91 {
    width: 91%;
}

.kyc-score-width-92 {
    width: 92%;
}

.kyc-score-width-93 {
    width: 93%;
}

.kyc-score-width-94 {
    width: 94%;
}

.kyc-score-width-95 {
    width: 95%;
}

.kyc-score-width-96 {
    width: 96%;
}

.kyc-score-width-97 {
    width: 97%;
}

.kyc-score-width-98 {
    width: 98%;
}

.kyc-score-width-99 {
    width: 99%;
}

.kyc-score-width-100 {
    width: 100%;
}

.rb-bar-width-0 {
    width: 0%;
}

.rb-bar-width-1 {
    width: 1%;
}

.rb-bar-width-2 {
    width: 2%;
}

.rb-bar-width-3 {
    width: 3%;
}

.rb-bar-width-4 {
    width: 4%;
}

.rb-bar-width-5 {
    width: 5%;
}

.rb-bar-width-6 {
    width: 6%;
}

.rb-bar-width-7 {
    width: 7%;
}

.rb-bar-width-8 {
    width: 8%;
}

.rb-bar-width-9 {
    width: 9%;
}

.rb-bar-width-10 {
    width: 10%;
}

.rb-bar-width-11 {
    width: 11%;
}

.rb-bar-width-12 {
    width: 12%;
}

.rb-bar-width-13 {
    width: 13%;
}

.rb-bar-width-14 {
    width: 14%;
}

.rb-bar-width-15 {
    width: 15%;
}

.rb-bar-width-16 {
    width: 16%;
}

.rb-bar-width-17 {
    width: 17%;
}

.rb-bar-width-18 {
    width: 18%;
}

.rb-bar-width-19 {
    width: 19%;
}

.rb-bar-width-20 {
    width: 20%;
}

.rb-bar-width-21 {
    width: 21%;
}

.rb-bar-width-22 {
    width: 22%;
}

.rb-bar-width-23 {
    width: 23%;
}

.rb-bar-width-24 {
    width: 24%;
}

.rb-bar-width-25 {
    width: 25%;
}

.rb-bar-width-26 {
    width: 26%;
}

.rb-bar-width-27 {
    width: 27%;
}

.rb-bar-width-28 {
    width: 28%;
}

.rb-bar-width-29 {
    width: 29%;
}

.rb-bar-width-30 {
    width: 30%;
}

.rb-bar-width-31 {
    width: 31%;
}

.rb-bar-width-32 {
    width: 32%;
}

.rb-bar-width-33 {
    width: 33%;
}

.rb-bar-width-34 {
    width: 34%;
}

.rb-bar-width-35 {
    width: 35%;
}

.rb-bar-width-36 {
    width: 36%;
}

.rb-bar-width-37 {
    width: 37%;
}

.rb-bar-width-38 {
    width: 38%;
}

.rb-bar-width-39 {
    width: 39%;
}

.rb-bar-width-40 {
    width: 40%;
}

.rb-bar-width-41 {
    width: 41%;
}

.rb-bar-width-42 {
    width: 42%;
}

.rb-bar-width-43 {
    width: 43%;
}

.rb-bar-width-44 {
    width: 44%;
}

.rb-bar-width-45 {
    width: 45%;
}

.rb-bar-width-46 {
    width: 46%;
}

.rb-bar-width-47 {
    width: 47%;
}

.rb-bar-width-48 {
    width: 48%;
}

.rb-bar-width-49 {
    width: 49%;
}

.rb-bar-width-50 {
    width: 50%;
}

.rb-bar-width-51 {
    width: 51%;
}

.rb-bar-width-52 {
    width: 52%;
}

.rb-bar-width-53 {
    width: 53%;
}

.rb-bar-width-54 {
    width: 54%;
}

.rb-bar-width-55 {
    width: 55%;
}

.rb-bar-width-56 {
    width: 56%;
}

.rb-bar-width-57 {
    width: 57%;
}

.rb-bar-width-58 {
    width: 58%;
}

.rb-bar-width-59 {
    width: 59%;
}

.rb-bar-width-60 {
    width: 60%;
}

.rb-bar-width-61 {
    width: 61%;
}

.rb-bar-width-62 {
    width: 62%;
}

.rb-bar-width-63 {
    width: 63%;
}

.rb-bar-width-64 {
    width: 64%;
}

.rb-bar-width-65 {
    width: 65%;
}

.rb-bar-width-66 {
    width: 66%;
}

.rb-bar-width-67 {
    width: 67%;
}

.rb-bar-width-68 {
    width: 68%;
}

.rb-bar-width-69 {
    width: 69%;
}

.rb-bar-width-70 {
    width: 70%;
}

.rb-bar-width-71 {
    width: 71%;
}

.rb-bar-width-72 {
    width: 72%;
}

.rb-bar-width-73 {
    width: 73%;
}

.rb-bar-width-74 {
    width: 74%;
}

.rb-bar-width-75 {
    width: 75%;
}

.rb-bar-width-76 {
    width: 76%;
}

.rb-bar-width-77 {
    width: 77%;
}

.rb-bar-width-78 {
    width: 78%;
}

.rb-bar-width-79 {
    width: 79%;
}

.rb-bar-width-80 {
    width: 80%;
}

.rb-bar-width-81 {
    width: 81%;
}

.rb-bar-width-82 {
    width: 82%;
}

.rb-bar-width-83 {
    width: 83%;
}

.rb-bar-width-84 {
    width: 84%;
}

.rb-bar-width-85 {
    width: 85%;
}

.rb-bar-width-86 {
    width: 86%;
}

.rb-bar-width-87 {
    width: 87%;
}

.rb-bar-width-88 {
    width: 88%;
}

.rb-bar-width-89 {
    width: 89%;
}

.rb-bar-width-90 {
    width: 90%;
}

.rb-bar-width-91 {
    width: 91%;
}

.rb-bar-width-92 {
    width: 92%;
}

.rb-bar-width-93 {
    width: 93%;
}

.rb-bar-width-94 {
    width: 94%;
}

.rb-bar-width-95 {
    width: 95%;
}

.rb-bar-width-96 {
    width: 96%;
}

.rb-bar-width-97 {
    width: 97%;
}

.rb-bar-width-98 {
    width: 98%;
}

.rb-bar-width-99 {
    width: 99%;
}

.rb-bar-width-100 {
    width: 100%;
}

.rb-bar-color-0 {
    background: #1C3E6E;
}

.rb-bar-color-1 {
    background: #28a745;
}

.rb-bar-color-2 {
    background: #F16822;
}

.rb-bar-color-3 {
    background: #7c3aed;
}

.rb-bar-color-4 {
    background: #00c4b4;
}

.chain-level-0 {
    --level: 0;
}

.chain-level-1 {
    --level: 1;
}

.chain-level-2 {
    --level: 2;
}

.chain-level-3 {
    --level: 3;
}

.chain-level-4 {
    --level: 4;
}

.chain-level-5 {
    --level: 5;
}

.chain-level-6 {
    --level: 6;
}

.chain-level-7 {
    --level: 7;
}

.chain-level-8 {
    --level: 8;
}

.chain-level-9 {
    --level: 9;
}

.chain-level-10 {
    --level: 10;
}

.chain-level-11 {
    --level: 11;
}

.chain-level-12 {
    --level: 12;
}

.chain-level-13 {
    --level: 13;
}

.chain-level-14 {
    --level: 14;
}

/* SweetAlert must lock the whole admin shell, including fixed top/sidebar nav. */
body .sweet-overlay {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, .52) !important;
    z-index: 6000 !important;
}

body .sweet-alert {
    position: fixed !important;
    z-index: 6010 !important;
    max-width: min(478px, calc(100vw - 32px)) !important;
    border-radius: 8px !important;
}

body.stop-scrolling .tb,
body.stop-scrolling .sb,
body.stop-scrolling .mobile-tabbar {
    pointer-events: none;
}

/* Compact client/reseller short-detail modal */
html.client-short-modal-open,
body.client-short-modal-open {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

body.client-short-modal-open {
    padding-right: 0 !important;
}

#client_dtls_model.client-short-modal {
    inset: 0 !important;
    overflow: hidden !important;
    padding-right: 0 !important;
    z-index: 7000 !important;
}

#client_dtls_model.client-short-modal.show {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: 0 18px 0 !important;
    top: 0 !important;
}

#client_dtls_model.client-short-modal .modal-dialog {
    width: min(92vw, 860px) !important;
    max-width: min(92vw, 860px) !important;
    max-height: 100dvh !important;
    margin: 0 auto !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#client_dtls_model.client-short-modal .modal-content {
    height: auto !important;
    max-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border: 1px solid #d7e5f0 !important;
    border-radius: 0 0 8px 8px !important;
    background: #fff !important;
    box-shadow: 0 24px 64px rgba(15, 23, 42, .28) !important;
}

#client_dtls_model.client-short-modal .modal-header {
    min-height: 58px !important;
    flex: 0 0 auto !important;
    padding: 14px 16px !important;
    background: #0d4f7c !important;
    border: 0 !important;
    color: #fff !important;
}

#client_dtls_model.client-short-modal .modal-title {
    min-width: 0;
    max-width: calc(100% - 46px);
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#client_dtls_model.client-short-modal .modal-title span {
    color: rgba(255, 255, 255, .9) !important;
}

#client_dtls_model.client-short-modal .btn-close,
#client_dtls_model.client-short-modal .close {
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    background-color: rgba(255, 255, 255, .14) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2) !important;
    opacity: 1 !important;
}

#client_dtls_model.client-short-modal .modal-body,
#client_dtls_model.client-short-modal #view_client_short_details_html {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: auto !important;
    padding: 14px !important;
    background: #f7fafc !important;
    text-align: left !important;
}

#client_dtls_model.client-short-modal .modal-footer {
    flex: 0 0 auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    padding: 12px 16px !important;
    border-top: 1px solid #dbe7f1 !important;
    background: #fff !important;
}

#client_dtls_model.client-short-modal .modal-footer .btn {
    min-width: 96px !important;
    min-height: 38px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

#client_dtls_model .client-profile-card {
    color: #102a43;
}

#client_dtls_model .client-profile-hero {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 12px;
    border: 1px solid #d7e6f2;
    border-radius: 8px;
    background: #eef6fc;
}

#client_dtls_model .client-profile-avatar {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    background: #0d4f7c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
}

#client_dtls_model .client-profile-identity {
    min-width: 0;
}

#client_dtls_model .client-profile-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 6px;
}

#client_dtls_model .client-profile-type,
#client_dtls_model .client-profile-status {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

#client_dtls_model .client-profile-type {
    background: #dcfce7;
    color: #15803d;
}

#client_dtls_model .client-profile-status.is-active {
    background: #e0f2fe;
    color: #0369a1;
}

#client_dtls_model .client-profile-status.is-inactive {
    background: #fee2e2;
    color: #b91c1c;
}

#client_dtls_model .client-profile-hero h3 {
    margin: 0 0 3px;
    color: #0f2f47;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.16;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#client_dtls_model .client-profile-hero p {
    margin: 0;
    color: #5f7085;
    font-size: 12px;
    font-weight: 800;
}

#client_dtls_model .client-profile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

#client_dtls_model .client-profile-grid>div {
    min-width: 0;
    min-height: 62px;
    padding: 10px 12px;
    border: 1px solid #dde9f3;
    border-radius: 8px;
    background: #fff;
}

#client_dtls_model .client-profile-grid span {
    display: block;
    margin-bottom: 5px;
    color: #61738a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

#client_dtls_model .client-profile-grid strong {
    display: block;
    color: #0f2740;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.32;
    word-break: break-word;
}

#client_dtls_model .client-profile-wide {
    grid-column: 1 / -1;
}

#client_dtls_model .client-profile-money {
    color: #0f766e !important;
}

#client_dtls_model .client-profile-missing {
    color: #dc2626;
}

#client_dtls_model .client-modal-loading {
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #0d4f7c;
    font-weight: 700;
}

html.mc-theme-dark #client_dtls_model.client-short-modal .modal-content,
html.mc-theme-dark #client_dtls_model.client-short-modal .modal-footer,
html.mc-theme-dark #client_dtls_model .client-profile-grid>div {
    background: var(--white) !important;
    border-color: var(--border) !important;
}

html.mc-theme-dark #client_dtls_model.client-short-modal .modal-body,
html.mc-theme-dark #client_dtls_model.client-short-modal #view_client_short_details_html,
html.mc-theme-dark #client_dtls_model .client-profile-hero {
    background: var(--soft-bg) !important;
    border-color: var(--border) !important;
}

html.mc-theme-dark #client_dtls_model .client-profile-hero h3,
html.mc-theme-dark #client_dtls_model .client-profile-grid strong {
    color: var(--text) !important;
}

html.mc-theme-dark #client_dtls_model .client-profile-hero p,
html.mc-theme-dark #client_dtls_model .client-profile-grid span {
    color: var(--text-2) !important;
}

/* KYC profile layout polish */
#kycVerificationPanel.kyc-verification-panel {
    border: 1px solid #d8e7f2 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    padding: 18px !important;
    box-shadow: 0 10px 28px rgba(15, 41, 69, .06) !important;
    overflow: visible !important;
}

#kycVerificationPanel.kyc-verification-panel::before {
    display: none !important;
}

#kycVerificationPanel .kyc-panel-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 16px !important;
    text-align: left !important;
}

#kycVerificationPanel .kyc-panel-header h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 4px !important;
    color: #0d3658 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
}

#kycVerificationPanel .kyc-panel-header p {
    margin: 0 !important;
    color: #60758c !important;
    font-size: 12px !important;
    font-weight: 700;
}

#kycVerificationPanel .kyc-panel-header .mc-inline-style-023 {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

#kycVerificationPanel .kyc-panel-header .btn,
#kycVerificationPanel .kyc-action-btn {
    min-height: 34px;
    border-radius: 3px !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
}

#kycVerificationPanel .kyc-cards-row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(180px, 1fr)) !important;
    gap: 12px !important;
    margin: 0 !important;
}

#kycVerificationPanel .kyc-card {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto 1fr !important;
    align-content: start !important;
    column-gap: 12px !important;
    row-gap: 3px !important;
    min-height: 158px !important;
    padding: 14px !important;
    border: 1px solid #dce9f3 !important;
    border-radius: 8px !important;
    background: #f9fbfd !important;
    text-align: left !important;
    box-shadow: none !important;
    transform: none !important;
}

#kycVerificationPanel .kyc-card:hover {
    border-color: #bcd5e8 !important;
    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(15, 41, 69, .07) !important;
    transform: none !important;
}

#kycVerificationPanel .kyc-card-icon {
    grid-row: 1 / span 4;
    width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    font-size: 18px !important;
}

#kycVerificationPanel .kyc-card h5 {
    margin: 0 !important;
    color: #0b3353 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
}

#kycVerificationPanel .kyc-card-desc {
    min-height: 38px;
    margin: 0 0 6px !important;
    color: #60758c !important;
    font-size: 11px !important;
    font-weight: 700;
    line-height: 1.45 !important;
}

#kycVerificationPanel .kyc-card-status,
#kycVerificationPanel .kyc-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content;
    max-width: 100%;
    min-height: 24px;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    white-space: normal;
}

#kycVerificationPanel .kyc-action-btn {
    justify-self: start;
    margin-top: 8px !important;
    padding: 8px 12px !important;
}

#kycVerificationPanel .kyc-location-data,
#kycVerificationPanel .kyc-reject-reason,
#kycVerificationPanel .text-muted {
    grid-column: 2;
    font-size: 11px !important;
}

#kycVerificationPanel .kyc-score-bar {
    grid-column: 2;
    width: 100%;
    margin: 8px 0 2px !important;
}

html.mc-theme-dark #kycVerificationPanel.kyc-verification-panel,
html.mc-theme-dark #kycVerificationPanel .kyc-card:hover {
    background: var(--white) !important;
    border-color: var(--border) !important;
}

html.mc-theme-dark #kycVerificationPanel .kyc-card {
    background: var(--soft-bg) !important;
    border-color: var(--border) !important;
}

html.mc-theme-dark #kycVerificationPanel .kyc-panel-header h4,
html.mc-theme-dark #kycVerificationPanel .kyc-card h5 {
    color: var(--text) !important;
}

html.mc-theme-dark #kycVerificationPanel .kyc-panel-header p,
html.mc-theme-dark #kycVerificationPanel .kyc-card-desc {
    color: var(--text-2) !important;
}

.reseller-profile-page .reseller-api-ip-form {
    margin-top: 12px;
}

.reseller-profile-page .reseller-api-ip-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 12px;
    border: 1px solid #dce9f3;
    border-radius: 8px;
    background: #f8fbfd;
}

.reseller-profile-page .reseller-api-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    cursor: pointer;
    user-select: none;
}

.reseller-profile-page .reseller-api-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.reseller-profile-page .reseller-api-toggle-track {
    position: relative;
    width: 50px;
    height: 28px;
    flex: 0 0 50px;
    border-radius: 999px;
    background: #dbe4ee;
    border: 1px solid #c5d6e5;
    transition: background .2s ease, border-color .2s ease;
}

.reseller-profile-page .reseller-api-toggle-dot {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 7px rgba(15, 41, 69, .22);
    transition: transform .2s ease;
}

.reseller-profile-page .reseller-api-toggle input:checked+.reseller-api-toggle-track {
    background: #0b7a4b;
    border-color: #0b7a4b;
}

.reseller-profile-page .reseller-api-toggle input:checked+.reseller-api-toggle-track .reseller-api-toggle-dot {
    transform: translateX(22px);
}

.reseller-profile-page .reseller-api-toggle strong {
    color: #0f2f47;
    font-size: 12px;
    font-weight: 700;
}

.reseller-profile-page .reseller-api-ip-fields {
    margin-top: 14px;
}

.reseller-profile-page .reseller-api-ip-fields .form-label {
    color: #38506a;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.reseller-profile-page .reseller-api-ip-fields .form-control {
    min-height: 38px;
    border-radius: 7px;
}

html.mc-theme-dark .reseller-profile-page .reseller-api-ip-control {
    background: var(--soft-bg) !important;
    border-color: var(--border) !important;
}

html.mc-theme-dark .reseller-profile-page .reseller-api-toggle strong,
html.mc-theme-dark .reseller-profile-page .reseller-api-ip-fields .form-label {
    color: var(--text) !important;
}

@media (max-width: 991px) {
    #kycVerificationPanel .kyc-cards-row {
        grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    #kycVerificationPanel.kyc-verification-panel {
        padding: 14px !important;
    }

    #kycVerificationPanel .kyc-panel-header {
        grid-template-columns: 1fr !important;
        align-items: start !important;
    }

    #kycVerificationPanel .kyc-panel-header .mc-inline-style-023 {
        justify-content: flex-start !important;
    }

    #kycVerificationPanel .kyc-cards-row {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    #kycVerificationPanel .kyc-card {
        min-height: 0 !important;
        grid-template-columns: 38px minmax(0, 1fr) !important;
        padding: 12px !important;
    }

    #kycVerificationPanel .kyc-card-icon {
        width: 38px !important;
        height: 38px !important;
        font-size: 16px !important;
    }

    #kycVerificationPanel .kyc-card-desc {
        min-height: 0;
    }

    .reseller-profile-page .reseller-api-ip-control {
        align-items: stretch;
        flex-direction: column;
    }

    .reseller-profile-page .reseller-api-ip-control .btn {
        width: 100%;
    }
}

@media (max-width: 767px) {
    #client_dtls_model.client-short-modal.show {
        align-items: flex-start !important;
        padding: 0 8px 0 !important;
        top: 0 !important;
    }

    #client_dtls_model.client-short-modal .modal-dialog {
        width: 100% !important;
        max-width: 100% !important;
    }

    #client_dtls_model.client-short-modal .modal-content {
        max-height: 100dvh !important;
        border-radius: 0 0 8px 8px !important;
    }

    #client_dtls_model.client-short-modal .modal-body,
    #client_dtls_model.client-short-modal #view_client_short_details_html {
        padding: 10px !important;
    }

    #client_dtls_model .client-profile-grid {
        grid-template-columns: 1fr;
    }

    #client_dtls_model .client-profile-hero {
        grid-template-columns: 48px minmax(0, 1fr);
        padding: 12px;
    }

    #client_dtls_model .client-profile-avatar {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    #client_dtls_model .client-profile-hero h3 {
        font-size: 18px;
    }

    #client_dtls_model.client-short-modal .modal-footer .btn {
        width: 100% !important;
    }
}

/* ==========================================================================
   MYCTRLBOX REDESIGNED UI & MOBILE RESPONSIVENESS SYSTEM
   Brand Palette:
   - Deep Blue Primary: #024686 | Hover: #01345F | Light: #EAF3FB
   - Accent Orange: #FF6B2E | Hover: #C9470D / #D94D11 | Light: #FFF1EB
   - Soft Background: #F5F9FC | Surface: #FFFFFF | Border: #D7E3EC
   - Text Primary: #0F172A | Text Secondary: #64748B / #334155
   - Status: Success #16A34A | Warning #F59E0B | Danger #DC2626 | Info #0284C7
   ========================================================================== */

/* 1. Header & Top Navigation */
.tb {
    background: #FFFFFF !important;
    border-bottom: 1px solid #D7E3EC !important;
    box-shadow: 0 2px 10px rgba(2, 70, 134, 0.05) !important;
}

.mc-global-search {
    background: #F5F9FC !important;
    border: 1px solid #D7E3EC !important;
    border-radius: 22px !important;
}

.mc-global-search:focus-within {
    background: #FFFFFF !important;
    border-color: #D7E3EC !important;
    box-shadow: none !important;
}

.mc-notif-badge {
    background: #FF6B2E !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

.tb-btn:hover {
    background: #EAF3FB !important;
    color: #024686 !important;
}

/* 2. Sidebar Navigation */
.sb {
    background: #FFFFFF !important;
    border-right: 1px solid #D7E3EC !important;
}

.sb-link {
    position: relative !important;
    color: #334155 !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.sb-link:hover {
    background: #EAF3FB !important;
    color: #024686 !important;
}

.sb-link.active,
.sb-link.open-parent {
    background: #024686 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(2, 70, 134, 0.16) !important;
}

.sb-link.active i,
.sb-link.active .sb-txt,
.sb-link.active .sb-arr {
    color: #FFFFFF !important;
}

.sb-link.active::before {
    content: '' !important;
    position: absolute !important;
    left: 4px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 4px !important;
    height: 18px !important;
    background-color: #FF6B2E !important;
    border-radius: 2px !important;
}

.sb-sub-link:hover {
    background: #EAF3FB !important;
    color: #024686 !important;
}

.sb-sub-link.active {
    background: #EAF3FB !important;
    color: #024686 !important;
    font-weight: 700 !important;
}

/* 3. Dashboard KPI Stat Cards */
.kpi {
    background: #FFFFFF !important;
    border: 1px solid #D7E3EC !important;
    border-radius: 3px !important;
    box-shadow: 0 4px 16px rgba(2, 70, 134, 0.05) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.kpi-link:hover .kpi {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(2, 70, 134, 0.10) !important;
    border-color: #024686 !important;
}

.kpi-v {
    color: #0F172A !important;
    font-weight: 700 !important;
}

.kpi-l {
    color: #334155 !important;
    font-weight: 500 !important;
}

.kpi-ico.b {
    background: #EAF3FB !important;
    color: #024686 !important;
}

.kpi-ico.a {
    background: #FFF1EB !important;
    color: #FF6B2E !important;
}

.kpi-ico.g {
    background: #E8F7EF !important;
    color: #16A34A !important;
}

.kpi-ico.r {
    background: #FDECEF !important;
    color: #DC2626 !important;
}

.kpi-ico.p {
    background: #F3E8FF !important;
    color: #7C3AED !important;
}

/* 4. Buttons & Badges */
.btn-primary,
button.btn-primary,
a.btn-primary {
    background-color: #024686 !important;
    border-color: #024686 !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(2, 70, 134, 0.18) !important;
    transition: all 0.2s ease !important;
}

.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover {
    background-color: #01345F !important;
    border-color: #01345F !important;
    color: #FFFFFF !important;
}

.btn-accent,
.btn-orange {
    background-color: #FF6B2E !important;
    border-color: #FF6B2E !important;
    color: #0F172A !important;
    font-weight: 600 !important;
}

.btn-accent:hover,
.btn-orange:hover {
    background-color: #C9470D !important;
    border-color: #C9470D !important;
    color: #FFFFFF !important;
}

/* 5. Mobile Responsiveness Optimization (< 992px & < 768px) */
@media (max-width: 991px) {
    .ph {
        padding: 14px 16px !important;
        gap: 12px !important;
    }

    .ph-title {
        font-size: 18px !important;
    }

    .cb {
        padding: 12px !important;
    }

    .stat-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .quick-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
    }
}

@media (max-width: 575px) {
    .stat-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .kpi {
        padding: 10px 8px !important;
        gap: 8px !important;
    }

    .kpi-ico {
        width: 36px !important;
        height: 36px !important;
        font-size: 18px !important;
        border-radius: 8px !important;
    }

    .kpi-v {
        font-size: 16px !important;
    }

    .kpi-l {
        font-size: 10px !important;
    }

    .mobile-tabbar {
        background: #FFFFFF !important;
        border-top: 1px solid #D7E3EC !important;
        box-shadow: 0 -4px 16px rgba(2, 70, 134, 0.08) !important;
    }

    .mobile-tab.active,
    .mobile-tab-menu {
        background: #024686 !important;
        color: #FFFFFF !important;
    }
}

/* Professional glass loaders for shared section/modal AJAX states */
.page-loader,
.ajax_frmsubmit_loader,
.modal.mc-app-modal .mc-modal-loader,
.mc-modal-loader {
    --mc-loader-blue: #024686;
    --mc-loader-orange: #ff5a1f;
    --mc-loader-glass: rgba(255, 255, 255, 0.72);
    --mc-loader-border: rgba(2, 70, 134, 0.16);
}

.page-loader {
    background: rgba(248, 251, 255, 0.34) !important;
    backdrop-filter: blur(5px) saturate(112%);
    -webkit-backdrop-filter: blur(5px) saturate(112%);
}

.ajax_frmsubmit_loader {
    position: absolute !important;
    inset: 0 !important;
    z-index: 99 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(248, 251, 255, 0.32) !important;
    backdrop-filter: blur(5px) saturate(112%);
    -webkit-backdrop-filter: blur(5px) saturate(112%);
}

.ajax_frmsubmit_loader img {
    display: none !important;
}

.ajax_frmsubmit_loader::before,
.mc-modal-loader::before,
.page-loader::before {
    content: "";
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--mc-loader-glass);
    border: 1px solid var(--mc-loader-border);
    box-shadow: 0 18px 46px rgba(2, 70, 134, .16), inset 0 1px 0 rgba(255, 255, 255, .85);
    backdrop-filter: blur(14px) saturate(165%);
    -webkit-backdrop-filter: blur(14px) saturate(165%);
}

.ajax_frmsubmit_loader::after,
.mc-modal-loader span,
.page-loader .spinner {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -22px 0 0 -22px;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    border: 3px solid rgba(2, 70, 134, .14) !important;
    border-top-color: var(--mc-loader-orange) !important;
    border-right-color: var(--mc-loader-blue) !important;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .92) 0 34%, transparent 36%);
    box-shadow: 0 8px 20px rgba(2, 70, 134, .18);
    animation: mcGlassLoaderSpin .72s linear infinite !important;
}

.mc-modal-loader {
    position: relative;
    min-height: 180px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 12px !important;
    color: var(--mc-loader-blue) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    background: rgba(248, 251, 255, 0.5);
    backdrop-filter: blur(8px) saturate(145%);
    -webkit-backdrop-filter: blur(8px) saturate(145%);
}

.mc-modal-loader strong {
    display: none !important;
}

.swal-modal .mc-swal-circle-loader {
    --mc-loader-blue: #024686;
    --mc-loader-orange: #ff5a1f;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin: 10px auto 2px;
    border-radius: 50%;
    background: rgba(248, 251, 255, 0.52);
    border: 1px solid rgba(2, 70, 134, 0.12);
    box-shadow: 0 18px 46px rgba(2, 70, 134, .14), inset 0 1px 0 rgba(255, 255, 255, .85);
    backdrop-filter: blur(12px) saturate(155%);
    -webkit-backdrop-filter: blur(12px) saturate(155%);
}

.swal-modal .mc-swal-circle-loader span {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid rgba(2, 70, 134, .14);
    border-top-color: var(--mc-loader-orange);
    border-right-color: var(--mc-loader-blue);
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .94) 0 34%, transparent 36%);
    box-shadow: 0 8px 20px rgba(2, 70, 134, .16);
    animation: mcGlassLoaderSpin .72s linear infinite;
}

.setblureffect {
    filter: blur(1.2px) saturate(.98) !important;
    -webkit-filter: blur(1.2px) saturate(.98) !important;
    opacity: .86;
    transition: filter .16s ease, opacity .16s ease;
}

html:not(.mc-theme-dark) .customer-loading-layer,
html:not(.mc-theme-dark) .reseller-loader {
    background: rgba(248, 251, 255, 0.34) !important;
    backdrop-filter: blur(5px) saturate(112%);
    -webkit-backdrop-filter: blur(5px) saturate(112%);
}

html:not(.mc-theme-dark) .customer-loading-box,
html:not(.mc-theme-dark) .reseller-loader-box {
    background: rgba(255, 255, 255, .78) !important;
    border-color: rgba(2, 70, 134, .16) !important;
    box-shadow: 0 18px 46px rgba(2, 70, 134, .14) !important;
}

html.mc-theme-dark .page-loader,
html.mc-theme-dark .ajax_frmsubmit_loader,
html.mc-theme-dark .customer-loading-layer,
html.mc-theme-dark .reseller-loader {
    --mc-loader-blue: #7dd3fc;
    --mc-loader-orange: #ff6b2e;
    --mc-loader-glass: rgba(15, 32, 49, 0.76);
    --mc-loader-border: rgba(125, 211, 252, 0.22);
    background: rgba(7, 18, 31, 0.54) !important;
    backdrop-filter: blur(10px) saturate(135%);
    -webkit-backdrop-filter: blur(10px) saturate(135%);
}

html.mc-theme-dark .setblureffect {
    filter: blur(2px) saturate(.82) brightness(.82) !important;
    -webkit-filter: blur(2px) saturate(.82) brightness(.82) !important;
    opacity: .92 !important;
}

html.mc-theme-dark .customer-loading-box,
html.mc-theme-dark .reseller-loader-box {
    position: relative;
    width: 68px;
    height: 68px;
    padding: 0;
    border-radius: 50%;
    overflow: hidden;
    text-indent: -9999px;
    color: transparent;
    background: var(--mc-loader-glass);
    border: 1px solid var(--mc-loader-border);
    box-shadow: 0 18px 46px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(14px) saturate(165%);
    -webkit-backdrop-filter: blur(14px) saturate(165%);
}

html.mc-theme-dark .customer-loading-box i,
html.mc-theme-dark .reseller-loader-box i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    border-radius: 50%;
    border: 3px solid rgba(125, 211, 252, .18);
    border-top-color: var(--mc-loader-orange);
    border-right-color: var(--mc-loader-blue);
    color: transparent !important;
    animation: mcGlassLoaderSpin .72s linear infinite !important;
}

html.mc-theme-dark .customer-loading-box i::before,
html.mc-theme-dark .reseller-loader-box i::before {
    content: "" !important;
}

@keyframes mcGlassLoaderSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Final sidebar alignment pass */
.sb {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(2, 70, 134, .24) transparent !important;
}

.sb::-webkit-scrollbar {
    width: 6px !important;
}

.sb::-webkit-scrollbar-thumb {
    background: rgba(2, 70, 134, .22) !important;
    border-radius: 999px !important;
}

.sb-menu {
    margin: 14px 0 0 !important;
    padding: 0 8px 28px !important;
}

.sb-item {
    margin: 1px 0 !important;
}

.sb-link {
    min-height: 38px !important;
    gap: 12px !important;
    padding: 9px 12px !important;
    border-radius: 3px !important;
    color: #0f2942 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

.sb-link:hover {
    background: #eef6fc !important;
    color: #024686 !important;
}

.sb-link.active,
.sb-link.has-sub.open-parent,
.sb-link.open-parent {
    background: #024f86 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(2, 70, 134, .18) !important;
}

.sb-link.active i,
.sb-link.has-sub.open-parent i,
.sb-link.open-parent i,
.sb-link.active .sb-txt,
.sb-link.active .sb-arr {
    color: #ffffff !important;
}

.sb-icon {
    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 3px !important;
    color: #183550 !important;
    font-size: 15px !important;
}

.sb-link:hover .sb-icon {
    background: rgba(2, 70, 134, .08) !important;
    color: #024686 !important;
}

.sb-link.active .sb-icon,
.sb-link.has-sub.open-parent .sb-icon,
.sb-link.open-parent .sb-icon {
    background: rgba(255, 255, 255, .14) !important;
    color: #ffffff !important;
}

.sb-txt {
    min-width: 0 !important;
    font-size: 13.5px !important;
    white-space: nowrap !important;
}

.sb-link .badge {
    margin-left: auto !important;
    margin-right: 4px !important;
    font-size: 11px !important;
}

.sb-arr {
    margin-left: 4px !important;
    font-size: 10px !important;
    opacity: .72 !important;
}

.sb-sub {
    margin: 6px 0 8px !important;
    padding-left: 20px !important;
}

.sb-item.open .sb-sub {
    max-height: 760px !important;
}

.sb-sub li {
    margin: 2px 0 !important;
}

.sb-sub-link {
    min-height: 34px !important;
    gap: 8px !important;
    padding: 7px 10px !important;
    border-radius: 3px !important;
    font-family: "Urbanist", sans-serif;
    color: #183550 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.sb-sub-link::before {
    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
    margin-right: 0 !important;
    border-radius: 3px !important;
    background: #e9f4fc !important;
    color: #024686 !important;
    font-size: 10px !important;
    line-height: 20px !important;
}

.sb-sub-link:hover {
    background: #edf7ff !important;
    color: #024686 !important;
}

.sb-sub-link:hover::before,
.sb-sub-link.active::before {
    background: #024686 !important;
    color: #ffffff !important;
}

.sb-sub-link.active {
    background: #e5f2fb !important;
    color: #024686 !important;
    font-weight: 900 !important;
}

body.sb-mini .sb-menu {
    padding: 0 7px 28px !important;
}

body.sb-mini .sb-link {
    min-height: 42px !important;
    padding: 10px 0 !important;
}

body.sb-mini .sb-icon {
    width: 24px !important;
    min-width: 24px !important;
    height: 24px !important;
}

@media(min-width:992px) and (max-width:1199px) {
    .sb-menu {
        padding: 0 7px 24px !important;
    }

    .sb-link {
        min-height: 40px !important;
        gap: 9px !important;
        padding: 8px 9px !important;
        font-size: 13px !important;
    }

    .sb-sub {
        padding-left: 31px !important;
    }

    .sb-sub-link {
        min-height: 32px !important;
        padding: 6px 8px !important;
        font-size: 12px !important;
    }
}

@media(max-width:991px) {
    .sb-menu {
        padding-bottom: 86px !important;
    }
}

html.mc-theme-dark .sb {
    background: #0f2031 !important;
    border-right-color: rgba(148, 163, 184, .18) !important;
    scrollbar-color: rgba(148, 163, 184, .3) transparent !important;
}

html.mc-theme-dark .sb-link {
    color: #dbeafe !important;
}

html.mc-theme-dark .sb-icon {
    color: #dbeafe !important;
}

html.mc-theme-dark .sb-arr {
    color: #b7c8d8 !important;
}

html.mc-theme-dark .sb-link:hover {
    background: rgba(14, 116, 144, .22) !important;
    color: #ffffff !important;
}

html.mc-theme-dark .sb-link:hover .sb-icon {
    background: rgba(255, 255, 255, .10) !important;
    color: #ffffff !important;
}

html.mc-theme-dark .sb-link.active,
html.mc-theme-dark .sb-link.has-sub.open-parent,
html.mc-theme-dark .sb-link.open-parent {
    background: #06689d !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .22) !important;
}

html.mc-theme-dark .sb-link.active .sb-icon,
html.mc-theme-dark .sb-link.has-sub.open-parent .sb-icon,
html.mc-theme-dark .sb-link.open-parent .sb-icon {
    background: rgba(255, 255, 255, .13) !important;
    color: #ffffff !important;
}

html.mc-theme-dark .sb-link.active .sb-txt,
html.mc-theme-dark .sb-link.has-sub.open-parent .sb-txt,
html.mc-theme-dark .sb-link.open-parent .sb-txt,
html.mc-theme-dark .sb-link.active .sb-arr,
html.mc-theme-dark .sb-link.has-sub.open-parent .sb-arr,
html.mc-theme-dark .sb-link.open-parent .sb-arr {
    color: #ffffff !important;
}

html.mc-theme-dark .sb-sub-link {
    color: #cbdced !important;
}

html.mc-theme-dark .sb-sub-link::before {
    background: #eaf4fb !important;
    color: #024686 !important;
}

html.mc-theme-dark .sb-sub-link:hover {
    background: rgba(14, 116, 144, .20) !important;
    color: #ffffff !important;
}

html.mc-theme-dark .sb-sub-link:hover::before {
    background: #ffffff !important;
    color: #024686 !important;
}

html.mc-theme-dark .sb-sub-link.active {
    background: rgba(14, 116, 144, .32) !important;
    color: #ffffff !important;
}

html.mc-theme-dark .sb-sub-link.active::before {
    background: #ffffff !important;
    color: #024686 !important;
}

/* Final dark-mode order history contrast */
html.mc-theme-dark .order-history-page .manage-domain-hero {
    background: #075f8d !important;
    border: 1px solid rgba(125, 211, 252, .18) !important;
    box-shadow: none !important;
}

html.mc-theme-dark .order-history-page .domain-filter-card,
html.mc-theme-dark .order-history-page .box-body.no-padding {
    background: #132235 !important;
    border: 1px solid #2a4058 !important;
    box-shadow: none !important;
}

html.mc-theme-dark .order-history-page .domain-filter-card label,
html.mc-theme-dark .order-history-page .domain-card-heading {
    color: #dbeafe !important;
}

html.mc-theme-dark .order-history-page .domain-filter-card .form-control,
html.mc-theme-dark .order-history-page .domain-filter-card .form-select {
    background: #0f2031 !important;
    border-color: #36516c !important;
    color: #ffffff !important;
}

html.mc-theme-dark .order-history-page .domain-filter-card .form-control::placeholder {
    color: #8fb0cb !important;
}

html.mc-theme-dark .order-history-page .domain-filter-card .form-control:focus,
html.mc-theme-dark .order-history-page .domain-filter-card .form-select:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, .14) !important;
}

html.mc-theme-dark .order-history-page .domain-card-heading {
    background: #122840 !important;
    border-color: #2e4963 !important;
}

html.mc-theme-dark .order-history-page .domain-card-row {
    background: #14263a !important;
    border-color: #2c465f !important;
    box-shadow: none !important;
}

html.mc-theme-dark .order-history-page .domain-card-row:hover {
    background: #172d45 !important;
    border-color: #3b5f7f !important;
}

html.mc-theme-dark .order-history-page .domain-card-title strong,
html.mc-theme-dark .order-history-page .domain-card-customer strong,
html.mc-theme-dark .order-history-page .domain-card-dates em,
html.mc-theme-dark .order-history-page .domain-card-owner strong {
    color: #ffffff !important;
}

html.mc-theme-dark .order-history-page .domain-card-sub,
html.mc-theme-dark .order-history-page .domain-col-label,
html.mc-theme-dark .order-history-page .domain-card-dates strong,
html.mc-theme-dark .order-history-page .domain-card-owner .domain-col-label {
    color: #b7c8d8 !important;
}

html.mc-theme-dark .order-history-page .domain-card-error {
    color: #fecaca !important;
}

html.mc-theme-dark .order-history-page .domain-card-sl {
    background: #0d3855 !important;
    color: #bae6fd !important;
}

html.mc-theme-dark .order-history-page .domain-card-icon {
    background: #102f49 !important;
    color: #bae6fd !important;
    box-shadow: inset 0 0 0 1px #3b5f7f !important;
}

html.mc-theme-dark .order-history-page .domain-type-pill.is-registration {
    background: #0e3f61 !important;
    color: #bfdbfe !important;
}

html.mc-theme-dark .order-history-page .domain-type-pill.is-transfer {
    background: #0f4d3a !important;
    color: #bbf7d0 !important;
}

html.mc-theme-dark .order-history-page .domain-type-pill.is-renewal {
    background: #56320f !important;
    color: #fed7aa !important;
}

html.mc-theme-dark .order-history-page .domain-action-btn.is-view {
    background: #dcfce7 !important;
    border-color: #86efac !important;
    color: #047857 !important;
    opacity: 1 !important;
}

html.mc-theme-dark .order-history-page .domain-action-btn.is-retry {
    background: #fff7ed !important;
    border-color: #fdba74 !important;
    color: #c2410c !important;
}

html.mc-theme-dark .order-history-page .domain-status-pill.is-active {
    background: #89fab0ad !important;
    color: #ffffff !important;
}

html.mc-theme-dark .order-history-page .domain-status-pill.is-danger {
    background: #ffe4e6 !important;
    color: #be123c !important;
}

html.mc-theme-dark .order-history-page .domain-status-pill.is-warning {
    background: #fff7ed !important;
    color: #c2410c !important;
}

/* Final theme audit: shared light/dark surfaces */
html:not(.mc-theme-dark) .box,
html:not(.mc-theme-dark) .card,
html:not(.mc-theme-dark) .panel,
html:not(.mc-theme-dark) .modal-content,
html:not(.mc-theme-dark) .domain-filter-card,
html:not(.mc-theme-dark) .fund-history-box,
html:not(.mc-theme-dark) .profile-info-panel,
html:not(.mc-theme-dark) .profile-recent-panel,
html:not(.mc-theme-dark) .customer-card,
html:not(.mc-theme-dark) .reseller-card,
html:not(.mc-theme-dark) .pricing-box,
html:not(.mc-theme-dark) .support-card,
html:not(.mc-theme-dark) .permission-card {
    background: #ffffff !important;
    border-color: #dbe8f3 !important;
    color: #0f172a !important;
}

html.mc-theme-dark .ph,
html.mc-theme-dark .cb,
html.mc-theme-dark .content-wrapper,
html.mc-theme-dark .container-full,
html.mc-theme-dark .content,
html.mc-theme-dark .mc {
    background: #111827 !important;
    color: #e5eef8 !important;
}

html.mc-theme-dark .ph {
    border-bottom-color: #2a4058 !important;
}

html.mc-theme-dark .ph-title,
html.mc-theme-dark h1,
html.mc-theme-dark h2,
html.mc-theme-dark h3,
html.mc-theme-dark h4,
html.mc-theme-dark h5,
html.mc-theme-dark h6,
html.mc-theme-dark .box-title,
html.mc-theme-dark .card-title,
html.mc-theme-dark .page-title,
html.mc-theme-dark .section-title {
    color: #ffffff !important;
}

html.mc-theme-dark .ph-sub,
html.mc-theme-dark p,
html.mc-theme-dark small,
html.mc-theme-dark .text-muted,
html.mc-theme-dark .help-block,
html.mc-theme-dark .form-text,
html.mc-theme-dark .page-subtitle,
html.mc-theme-dark .section-subtitle {
    color: #b7c8d8 !important;
}

html.mc-theme-dark .box,
html.mc-theme-dark .card,
html.mc-theme-dark .panel,
html.mc-theme-dark .modal-content,
html.mc-theme-dark .modal-body,
html.mc-theme-dark .modal-footer,
html.mc-theme-dark .box-body,
html.mc-theme-dark .box-footer,
html.mc-theme-dark .domain-filter-card,
html.mc-theme-dark .fund-history-box,
html.mc-theme-dark .fund-history-summary,
html.mc-theme-dark .fund-history-filters,
html.mc-theme-dark .profile-info-panel,
html.mc-theme-dark .profile-recent-panel,
html.mc-theme-dark .customer-card,
html.mc-theme-dark .reseller-card,
html.mc-theme-dark .pricing-box,
html.mc-theme-dark .support-card,
html.mc-theme-dark .permission-card,
html.mc-theme-dark .approval-card,
html.mc-theme-dark .activity-card,
html.mc-theme-dark .detail-card,
html.mc-theme-dark .summary-card,
html.mc-theme-dark .filter-card {
    background: #132235 !important;
    border-color: #2a4058 !important;
    color: #e5eef8 !important;
    box-shadow: none !important;
}

html.mc-theme-dark .box-header,
html.mc-theme-dark .modal-header,
html.mc-theme-dark .card-header,
html.mc-theme-dark .panel-heading,
html.mc-theme-dark .table thead th,
html.mc-theme-dark table thead th,
html.mc-theme-dark .dt th {
    background: #122840 !important;
    border-color: #2e4963 !important;
    color: #dbeafe !important;
}

html.mc-theme-dark .table,
html.mc-theme-dark table,
html.mc-theme-dark .dt {
    color: #e5eef8 !important;
}

html.mc-theme-dark .table td,
html.mc-theme-dark table td,
html.mc-theme-dark .dt td {
    background: #14263a !important;
    border-color: #2c465f !important;
    color: #e5eef8 !important;
}

html.mc-theme-dark .table tbody tr:hover td,
html.mc-theme-dark table tbody tr:hover td,
html.mc-theme-dark .dt tbody tr:hover td {
    background: #172d45 !important;
}

html.mc-theme-dark label,
html.mc-theme-dark .form-label,
html.mc-theme-dark .control-label,
html.mc-theme-dark .detail-grid strong,
html.mc-theme-dark .profile-recent-item strong,
html.mc-theme-dark .kpi-v,
html.mc-theme-dark .stat-value,
html.mc-theme-dark .amount,
html.mc-theme-dark b:not(.badge):not(.domain-type-pill) {
    color: #ffffff !important;
}

html.mc-theme-dark .detail-grid span,
html.mc-theme-dark .profile-recent-item span,
html.mc-theme-dark .profile-recent-meta em,
html.mc-theme-dark .kpi-l,
html.mc-theme-dark .kpi-s,
html.mc-theme-dark .stat-label,
html.mc-theme-dark .domain-col-label {
    color: #b7c8d8 !important;
}

html.mc-theme-dark .form-control,
html.mc-theme-dark .form-select,
html.mc-theme-dark select,
html.mc-theme-dark textarea,
html.mc-theme-dark input[type="text"],
html.mc-theme-dark input[type="email"],
html.mc-theme-dark input[type="password"],
html.mc-theme-dark input[type="number"],
html.mc-theme-dark input[type="search"],
html.mc-theme-dark input[type="date"],
html.mc-theme-dark input[type="url"],
html.mc-theme-dark input[type="tel"] {
    background: #0f2031 !important;
    border-color: #36516c !important;
    color: #ffffff !important;
}

html.mc-theme-dark .form-control:focus,
html.mc-theme-dark .form-select:focus,
html.mc-theme-dark select:focus,
html.mc-theme-dark textarea:focus,
html.mc-theme-dark input:focus {
    border-color: #36516c !important;
    box-shadow: none !important;
}

html.mc-theme-dark .form-control::placeholder,
html.mc-theme-dark input::placeholder,
html.mc-theme-dark textarea::placeholder {
    color: #8fb0cb !important;
}

html.mc-theme-dark .input-group-text,
html.mc-theme-dark .input-group-addon {
    background: #122840 !important;
    border-color: #36516c !important;
    color: #dbeafe !important;
}

html.mc-theme-dark .dropdown-menu,
html.mc-theme-dark .select2-dropdown,
html.mc-theme-dark .select2-container--default .select2-selection--single,
html.mc-theme-dark .select2-container--default .select2-selection--multiple {
    background: #132235 !important;
    border-color: #36516c !important;
    color: #e5eef8 !important;
}

html.mc-theme-dark .dropdown-menu a,
html.mc-theme-dark .dropdown-menu .dropdown-item,
html.mc-theme-dark .select2-results__option {
    color: #e5eef8 !important;
}

html.mc-theme-dark .dropdown-menu a:hover,
html.mc-theme-dark .dropdown-menu .dropdown-item:hover,
html.mc-theme-dark .select2-results__option--highlighted {
    background: #17324c !important;
    color: #ffffff !important;
}

html.mc-theme-dark hr,
html.mc-theme-dark .divider,
html.mc-theme-dark .border,
html.mc-theme-dark .with-border {
    border-color: #2a4058 !important;
}

html.mc-theme-dark .alert-info {
    background: #0f2f49 !important;
    border-color: #1d5d86 !important;
    color: #dbeafe !important;
}

html.mc-theme-dark .alert-warning {
    background: #352616 !important;
    border-color: #6b461d !important;
    color: #fed7aa !important;
}

html.mc-theme-dark .alert-danger,
html.mc-theme-dark .alert-error {
    background: #3a1c24 !important;
    border-color: #7f2b3b !important;
    color: #fecaca !important;
}

html.mc-theme-dark .alert-success {
    background: #123524 !important;
    border-color: #1f7a4a !important;
    color: #bbf7d0 !important;
}

html.mc-theme-dark .btn-secondary,
html.mc-theme-dark .btn-default {
    background: #122840 !important;
    border-color: #36516c !important;
    color: #e5eef8 !important;
}

html.mc-theme-dark .btn-secondary:hover,
html.mc-theme-dark .btn-default:hover {
    background: #17324c !important;
    color: #ffffff !important;
}

html.mc-theme-dark .empty-state,
html.mc-theme-dark .empty,
html.mc-theme-dark .no-data,
html.mc-theme-dark .profile-recent-empty,
html.mc-theme-dark .dataTables_empty {
    background: #14263a !important;
    color: #b7c8d8 !important;
    border-color: #2c465f !important;
}

/* Final dark-mode coverage for customer/reseller list pages */
html.mc-theme-dark .customer-page-container .stats-card,
html.mc-theme-dark .reseller-page .stats-card,
html.mc-theme-dark .customer-page-container .filter-card,
html.mc-theme-dark .reseller-page .filter-card,
html.mc-theme-dark .customer-page-container .reseller-list-area,
html.mc-theme-dark .reseller-page .reseller-list-area {
    background: #132235 !important;
    border-color: #2a4058 !important;
    color: #e5eef8 !important;
    box-shadow: none !important;
}

html.mc-theme-dark .customer-page-container .stats-card-value,
html.mc-theme-dark .reseller-page .stats-card-value,
html.mc-theme-dark .customer-page-container .page-title,
html.mc-theme-dark .reseller-page .page-title,
html.mc-theme-dark .customer-page-container .item-name,
html.mc-theme-dark .reseller-page .item-name,
html.mc-theme-dark .customer-page-container .list-package-wrap strong,
html.mc-theme-dark .reseller-page .list-package-wrap strong,
html.mc-theme-dark .customer-page-container .column-label-val strong,
html.mc-theme-dark .reseller-page .column-label-val strong {
    color: #ffffff !important;
}

html.mc-theme-dark .customer-page-container .stats-card-label,
html.mc-theme-dark .reseller-page .stats-card-label,
html.mc-theme-dark .customer-page-container .stats-card-sub,
html.mc-theme-dark .reseller-page .stats-card-sub,
html.mc-theme-dark .customer-page-container .page-subtitle,
html.mc-theme-dark .reseller-page .page-subtitle,
html.mc-theme-dark .customer-page-container .filter-field label,
html.mc-theme-dark .reseller-page .filter-field label,
html.mc-theme-dark .customer-page-container .item-meta,
html.mc-theme-dark .reseller-page .item-meta,
html.mc-theme-dark .customer-page-container .item-meta span,
html.mc-theme-dark .reseller-page .item-meta span,
html.mc-theme-dark .customer-page-container .col-label,
html.mc-theme-dark .reseller-page .col-label {
    color: #b7c8d8 !important;
}

html.mc-theme-dark .modern-list-heading,
html.mc-theme-dark .modern-list-heading.customer-list-heading {
    background: #122840 !important;
    border-color: #2e4963 !important;
    color: #dbeafe !important;
}

html.mc-theme-dark .customer-page-container .modern-list-item.customer-item,
html.mc-theme-dark .reseller-page .modern-list-item.reseller-item {
    background: #14263a !important;
    border-color: #2c465f !important;
    color: #e5eef8 !important;
    box-shadow: none !important;
}

html.mc-theme-dark .customer-page-container .modern-list-item.customer-item:hover,
html.mc-theme-dark .reseller-page .modern-list-item.reseller-item:hover {
    background: #172d45 !important;
    border-color: #3b5f7f !important;
}

html.mc-theme-dark .customer-page-container .customer-item .sl-block,
html.mc-theme-dark .reseller-page .reseller-item .sl-block {
    background: #0d3855 !important;
    color: #bae6fd !important;
}

html.mc-theme-dark .customer-page-container .customer-item .avatar-initial,
html.mc-theme-dark .reseller-page .reseller-item .avatar-initial,
html.mc-theme-dark .list-package-icon {
    background: #102f49 !important;
    color: #bae6fd !important;
    box-shadow: inset 0 0 0 1px #3b5f7f !important;
}

html.mc-theme-dark .customer-page-container .customer-item .badge-package,
html.mc-theme-dark .reseller-page .reseller-item .badge-package,
html.mc-theme-dark .status-badge.active,
html.mc-theme-dark .status-badge.status-active {
    background: #123524 !important;
    color: #bbf7d0 !important;
}

html.mc-theme-dark .customer-page-container .customer-item .contact-btn-circle,
html.mc-theme-dark .reseller-page .reseller-item .contact-btn-circle,
html.mc-theme-dark .customer-page-container .action-btn-stacked.btn-more,
html.mc-theme-dark .reseller-page .action-btn-stacked.btn-more {
    background: #1b354e !important;
    border-color: #36516c !important;
    color: #dbeafe !important;
}

html.mc-theme-dark .customer-page-container .action-btn-stacked,
html.mc-theme-dark .reseller-page .action-btn-stacked {
    opacity: 1 !important;
}

html.mc-theme-dark .customer-page-container .action-btn-stacked.btn-view,
html.mc-theme-dark .reseller-page .action-btn-stacked.btn-view {
    background: #047857 !important;
    border-color: #86efac !important;
    color: #ffffff !important;
}

html.mc-theme-dark .customer-page-container .action-btn-stacked.btn-edit,
html.mc-theme-dark .reseller-page .action-btn-stacked.btn-edit {
    background: #1d4ed8 !important;
    color: #ffffff !important;
}

html.mc-theme-dark .customer-page-container .action-btn-stacked.btn-login,
html.mc-theme-dark .reseller-page .action-btn-stacked.btn-login {
    background: #c2410c !important;
    border-color: #fdba74 !important;
    color: #ffffff !important;
}

html.mc-theme-dark .customer-page-container .action-btn-stacked.disabled,
html.mc-theme-dark .reseller-page .action-btn-stacked.disabled {
    opacity: .45 !important;
}

html.mc-theme-dark .list-more-dropdown {
    background: #132235 !important;
    border-color: #36516c !important;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .28) !important;
}

html.mc-theme-dark .list-more-dropdown button {
    color: #e5eef8 !important;
}

html.mc-theme-dark .list-more-dropdown button:hover {
    background: #17324c !important;
    color: #ffffff !important;
}

html.mc-theme-dark .customer-page-container .search-input-wrap,
html.mc-theme-dark .reseller-page .search-input-wrap {
    background: transparent !important;
}

html.mc-theme-dark .customer-page-container .form-control-modern,
html.mc-theme-dark .customer-page-container .form-select-modern,
html.mc-theme-dark .reseller-page .form-control-modern,
html.mc-theme-dark .reseller-page .form-select-modern {
    background: #0f2031 !important;
    border-color: #36516c !important;
    color: #ffffff !important;
}

html.mc-theme-dark .customer-page-container .form-control-modern::placeholder,
html.mc-theme-dark .reseller-page .form-control-modern::placeholder {
    color: #8fb0cb !important;
}

html.mc-theme-dark .customer-page-container .customer-empty-state,
html.mc-theme-dark .reseller-empty,
html.mc-theme-dark .reseller-empty-card {
    background: #14263a !important;
    border-color: #2c465f !important;
    color: #b7c8d8 !important;
}

@media (max-width: 1199px) {

    html.mc-theme-dark .customer-page-container .customer-item .action-buttons-wrap,
    html.mc-theme-dark .reseller-page .reseller-item .action-buttons-wrap {
        border-top-color: #2c465f !important;
    }
}

/* Advanced dashboard transaction and activity widgets */
.dash-insight-card {
    overflow: hidden;
    border-radius: 3px !important;
}

.dash-insight-card .ch {
    min-height: 46px;
    background: linear-gradient(180deg, rgba(2, 70, 134, .05), rgba(2, 70, 134, .02));
}

.dash-insight-card .ch h6 {
    font-size: 13px;
    font-weight: 700;
}

.dash-insight-card .ch a {
    font-weight: 700;
    font-family: "Urbanist", sans-serif;
}

.dash-txn-modern {
    max-height: 392px;
    overflow: auto;
}

.dash-txn-modern::-webkit-scrollbar,
.dash-activity-list::-webkit-scrollbar {
    width: 6px;
}

.dash-txn-modern::-webkit-scrollbar-thumb,
.dash-activity-list::-webkit-scrollbar-thumb {
    background: rgba(2, 70, 134, .22);
    border-radius: 999px;
}

.dash-txn-table {
    border-collapse: separate;
    border-spacing: 0;
}

.dash-txn-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 12px 14px;
    background: #f6fbff;
    color: #49657d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
}

.dash-txn-table tbody td {
    padding: 13px 14px;
    border-bottom: 1px solid #e4eef7;
    vertical-align: middle;
    font-family: "Urbanist", sans-serif;
    font-weight: 400;
    font-family: "Rubik", sans-serif;
}

.dash-txn-table tbody tr:hover td {
    background: #f8fbfe;
}

.dash-txn-table td:first-child {
    color: #0f2a43;
    font-size: 11px;
    font-weight: 600;
}

.dash-txn-table td .mc-inline-style-160 {
    display: block;
    margin-top: 3px;
    color: #6f879d !important;
    font-weight: 400;
}

.dash-txn-table .tag {
    min-width: 78px;
    justify-content: center;
    border-radius: 7px;
    padding: 5px 9px;
    font-weight: 700;
}

.dash-txn-table .tag-g {
    background: #dcfce7;
    color: #047857;
}

.dash-txn-table .tag-r {
    background: #ffe4e6;
    color: #be123c;
}

.dash-activity-list {
    position: relative;
    max-height: 392px;
    overflow: auto;
    padding: 14px 16px !important;
}

.dash-activity-list::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 25px;
    width: 2px;
    background: linear-gradient(#38bdf8, rgba(56, 189, 248, 0));
    opacity: .45;
}

.dash-activity-item {
    position: relative;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 0 12px;
    border-bottom: 1px solid #e4eef7;
}

.dash-activity-item:last-child {
    border-bottom: 0;
}

.dash-activity-item .act-dot {
    position: relative;
    z-index: 1;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0284c7;
    box-shadow: 0 0 0 4px #ffffff;
    font-size: 9px;
}

.dash-activity-item .act-txt {
    color: #0f2a43;
    font-size: 13.5px;
    font-weight: 700;
    font-family: "Urbanist", sans-serif;
    line-height: 1.35;
}

.dash-activity-item .act-time {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 5px;
    font-weight: 400;
    font-family: "Rubik", sans-serif;
    color: #4a6176;
    font-size: 11px;
    font-weight: 400;
}

.dash-activity-item .act-time span {
    display: inline-flex;
    align-items: center;
}

.dash-activity-item .act-time span+span::before {
    content: "";
    width: 4px;
    height: 4px;
    margin-right: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: .55;
}

html.mc-theme-dark .dash-insight-card {
    background: #132235 !important;
    border-color: #2a4058 !important;
}

html.mc-theme-dark .dash-insight-card .ch {
    background: #122840 !important;
    border-color: #2e4963 !important;
}

html.mc-theme-dark .dash-txn-table thead th {
    background: #122840 !important;
    color: #dbeafe !important;
}

html.mc-theme-dark .dash-txn-table tbody td {
    background: #132235 !important;
    border-color: #2c465f !important;
    color: #e5eef8 !important;
}

html.mc-theme-dark .dash-txn-table tbody tr:hover td {
    background: #172d45 !important;
}

html.mc-theme-dark .dash-txn-table td:first-child,
html.mc-theme-dark .dash-activity-item .act-txt {
    color: #ffffff !important;
}

html.mc-theme-dark .dash-txn-table td .mc-inline-style-160,
html.mc-theme-dark .dash-activity-item .act-time {
    color: #b7c8d8 !important;
}

html.mc-theme-dark .dash-activity-list::before {
    background: linear-gradient(#7dd3fc, rgba(125, 211, 252, 0));
}

html.mc-theme-dark .dash-activity-item {
    border-color: #2c465f !important;
}

html.mc-theme-dark .dash-activity-item .act-dot {
    background: #0f2f49;
    color: #bae6fd;
    box-shadow: 0 0 0 4px #132235;
}

html.mc-theme-dark .dash-txn-table .tag-g {
    background: #123524 !important;
    color: #bbf7d0 !important;
}

html.mc-theme-dark .dash-txn-table .tag-r {
    background: #3a1c24 !important;
    color: #fecaca !important;
}

@media (max-width: 767px) {
    .dash-activity-list {
        max-height: none;
    }

    .dash-activity-list::before {
        left: 21px;
    }
}

/* Advanced admin dashboard command center */
.admin-command-center {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid #cfe4f5;
    border-radius: 14px;
    background: linear-gradient(135deg, #f8fcff 0%, #eef8ff 52%, #ffffff 100%);
    box-shadow: 0 18px 44px rgba(15, 42, 67, .08);
}

.admin-command-hero {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #d7e9f7;
    border-radius: 12px;
    background: rgba(255, 255, 255, .82);
}

.admin-command-badge,
.admin-command-icon,
.admin-priority-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.admin-command-badge {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: #024686;
    color: #ffffff;
    font-size: 20px;
    box-shadow: 0 12px 24px rgba(2, 70, 134, .22);
}

.admin-command-kicker {
    display: block;
    margin-bottom: 3px;
    color: #0b6aa2;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.admin-command-hero h2 {
    margin: 0;
    color: #0f2a43;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0;
}

.admin-command-hero p,
.admin-priority-head p {
    margin: 3px 0 0;
    color: #5f7890;
    font-size: 12px;
    font-weight: 700;
}

.admin-command-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #b8d9ef;
    border-radius: 8px;
    background: #ffffff;
    color: #024686;
    font-size: 12px;
    font-weight: 700;
}

.admin-command-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-command-card,
.admin-priority-card {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.admin-command-card {
    gap: 12px;
    min-height: 112px;
    padding: 15px;
    border: 1px solid #d6e8f5;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 42, 67, .06);
}

.admin-command-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(15, 42, 67, .12);
}

.admin-priority-card:hover {
    transform: none;
    box-shadow: none;
}

.admin-command-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    font-size: 16px;
}

.admin-command-body {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.admin-command-label {
    color: #263544;
    font-size: 10px;
    font-family: "Urbanist", sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: capitalize;
}

.admin-command-body strong {
    color: #17436c;
    font-size: 24px;
    font-family: "Urbanist", sans-serif;
    line-height: 1;
    font-weight: 700;
}

.admin-command-body small {
    color: #6f879d;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
}

.admin-command-arrow {
    margin-left: auto;
    color: #9ab3c9;
}

.admin-priority-panel {
    padding: 14px;
    border: 1px solid #d7e9f7;
    border-radius: 12px;
    background: rgba(255, 255, 255, .76);
}

.admin-priority-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.admin-priority-head h3 {
    margin: 0;
    color: #00446a;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
}

.admin-priority-head>span {
    display: inline-flex;
    align-items: center;
    min-height: 1.2;
    padding: 4px 15px;
    border-radius: 999px;
    background: #e8f4ff;
    color: #024686;
    font-size: 12px;
    font-family: "Urbanist", sans-serif;
    font-weight: 800;
    white-space: nowrap;
}

.admin-priority-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.admin-priority-card {
    gap: 10px;
    min-height: 82px;
    padding: 12px;
    border: 1px solid #dbeaf6;
    border-radius: 10px;
    background: #ffffff;
}

.admin-priority-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 14px;
}

.admin-priority-main {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.admin-priority-main strong {
    color: #102a43;
    font-size: 12px;
    font-weight: 700;
}

.admin-priority-main small {
    color: #6b8298;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.25;
}

.admin-priority-count {
    margin-left: auto;
    min-width: 34px;
    padding: 4px 7px;
    border-radius: 8px;
    background: #f2f8fd;
    color: #0f2a43;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

.admin-command-card.tone-blue .admin-command-icon,
.admin-priority-card.tone-info .admin-priority-icon {
    background: #e0f2fe;
    color: #0369a1;
}

.admin-command-card.tone-amber .admin-command-icon,
.admin-priority-card.tone-warn .admin-priority-icon {
    background: #fff3d6;
    color: #b45309;
}

.admin-command-card.tone-green .admin-command-icon,
.admin-priority-card.tone-success .admin-priority-icon {
    background: #dcfce7;
    color: #047857;
}

.admin-command-card.tone-red .admin-command-icon,
.admin-priority-card.tone-danger .admin-priority-icon {
    background: #ffe4e6;
    color: #be123c;
}

.admin-command-card.tone-violet .admin-command-icon,
.admin-priority-card.tone-admin .admin-priority-icon {
    background: #ede9fe;
    color: #6d28d9;
}

html.mc-theme-dark .admin-command-center {
    border-color: #214b68;
    background: linear-gradient(135deg, #0b1a2b 0%, #10243a 55%, #0c1726 100%);
    box-shadow: 0 22px 48px rgba(0, 0, 0, .22);
}

html.mc-theme-dark .admin-command-hero,
html.mc-theme-dark .admin-command-card,
html.mc-theme-dark .admin-priority-panel,
html.mc-theme-dark .admin-priority-card {
    border-color: #294864;
    background: rgba(19, 34, 53, .92);
}

html.mc-theme-dark .admin-command-badge {
    background: #0e6fa8;
    box-shadow: 0 14px 26px rgba(14, 111, 168, .28);
}

html.mc-theme-dark .admin-command-kicker,
html.mc-theme-dark .admin-command-link {
    color: #7dd3fc;
}

html.mc-theme-dark .admin-command-hero h2,
html.mc-theme-dark .admin-priority-head h3,
html.mc-theme-dark .admin-command-body strong,
html.mc-theme-dark .admin-priority-main strong,
html.mc-theme-dark .admin-priority-count {
    color: #ffffff;
}

html.mc-theme-dark .admin-command-hero p,
html.mc-theme-dark .admin-priority-head p,
html.mc-theme-dark .admin-command-body small,
html.mc-theme-dark .admin-priority-main small,
html.mc-theme-dark .admin-command-label {
    color: #b8cbe0;
}

html.mc-theme-dark .admin-command-link,
html.mc-theme-dark .admin-priority-head>span,
html.mc-theme-dark .admin-priority-count {
    border-color: #315575;
    background: #0d2236;
}

html.mc-theme-dark .admin-command-card.tone-blue .admin-command-icon,
html.mc-theme-dark .admin-priority-card.tone-info .admin-priority-icon {
    background: #0e3450;
    color: #bae6fd;
}

html.mc-theme-dark .admin-command-card.tone-amber .admin-command-icon,
html.mc-theme-dark .admin-priority-card.tone-warn .admin-priority-icon {
    background: #3b2b12;
    color: #fde68a;
}

html.mc-theme-dark .admin-command-card.tone-green .admin-command-icon,
html.mc-theme-dark .admin-priority-card.tone-success .admin-priority-icon {
    background: #123524;
    color: #bbf7d0;
}

html.mc-theme-dark .admin-command-card.tone-red .admin-command-icon,
html.mc-theme-dark .admin-priority-card.tone-danger .admin-priority-icon {
    background: #3a1c24;
    color: #fecaca;
}

html.mc-theme-dark .admin-command-card.tone-violet .admin-command-icon,
html.mc-theme-dark .admin-priority-card.tone-admin .admin-priority-icon {
    background: #2d2450;
    color: #ddd6fe;
}

@media (max-width: 1199px) {

    .admin-command-grid,
    .admin-priority-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .admin-command-center {
        padding: 12px;
    }

    .admin-command-hero {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .admin-command-badge {
        width: 44px;
        height: 44px;
    }

    .admin-command-link {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .admin-command-grid,
    .admin-priority-grid {
        grid-template-columns: 1fr;
    }
}

/* Refined admin dashboard density and readability */
.admin-command-center+.stat-row {
    display: none;
}

.admin-command-center {
    gap: 10px;
    padding: 15px;
    border-radius: 10px;
}

.admin-command-hero {
    display: none;
}

.admin-command-grid {
    gap: 10px;
}

.admin-command-card {
    min-height: 86px;
    padding: 12px 14px;
    border-radius: 10px;
}

.admin-command-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    border-radius: 10px 10px 0 0;

}


.admin-command-icon {
    width: 42px;
    height: 42px;
    border-radius: 35px;
}

.admin-command-label {
    font-size: 14px;
}

.admin-command-body strong {
    font-size: 23px;
}

.admin-command-body small {
    white-space: nowrap;
    overflow: hidden;
    font-family: "Rubik", sans-serif;
    text-overflow: ellipsis;
    font-weight: 400;
}

.admin-priority-panel {
    padding: 10px;
    border-radius: 10px;
}

.admin-priority-head {
    align-items: center;
    margin-bottom: 9px;
}

.admin-priority-head h3 {
    font-size: 16px;
    font-family: "Urbanist", sans-serif;
    letter-spacing: 0;
}

.admin-priority-head p {
    display: none;
}

.admin-priority-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.admin-priority-card {
    min-height: 58px;
    padding: 9px 10px;
    border-radius: 9px;
}

.admin-priority-card:hover {
    border-color: inherit;
}

.admin-priority-icon {
    width: 30px;
    height: 30px;
    border-radius: 34px;
    font-size: 13px;
}

.admin-priority-main {
    gap: 1px;
}

.admin-priority-main strong {
    font-size: 12px;
    font-family: "Urbanist", sans-serif;
    line-height: 1.2;
    margin-bottom: 3px;
}

.admin-priority-main small {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    font-weight: 400;
    font-family: "Rubik", sans-serif;
    text-overflow: ellipsis;
}

.admin-priority-count {
    min-width: 25px;
    padding: 4px 6px;
    font-size: 12px;
}

.admin-command-center+.stat-row+.stat-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.admin-command-center+.stat-row+.stat-row .kpi {
    /* min-height: 74px; */
    padding: 11px 13px;
}

html.mc-theme-dark .admin-command-card::before {
    opacity: .95;
}

html.mc-theme-dark .admin-priority-card:hover {
    border-color: inherit;
}

@media (max-width: 1199px) {
    .admin-priority-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .admin-command-center {
        padding: 10px;
    }

    .admin-command-grid,
    .admin-priority-grid,
    .admin-command-center+.stat-row+.stat-row {
        grid-template-columns: 1fr;
    }

    .admin-command-card,
    .admin-priority-card {
        min-height: 62px;
    }
}

/* Unified dashboard front-end polish and chart reliability */
.dashboard-chart-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .9fr) minmax(280px, .9fr);
    gap: 14px;
    margin-bottom: 16px;
}

.dash-unified-card,
.dashboard-chart-grid .card,
.dash-panel,
.dash-insight-card {
    border: 1px solid #d6e8f5 !important;
    border-radius: 3px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 30px rgba(15, 42, 67, .06) !important;
}

.dash-unified-card .ch,
.dashboard-chart-grid .card .ch,
.dash-panel .ch,
.dash-insight-card .ch {
    min-height: 48px;
    padding: 13px 16px;
    border-bottom: 1px solid #e4eef7;
    background: linear-gradient(180deg, #fbfdff, #f6fbff) !important;
}

.dash-unified-card .ch h6,
.dashboard-chart-grid .card .ch h6,
.dash-panel .ch h6,
.dash-insight-card .ch h6 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #102a43;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
}

.dash-unified-card .ch .sm,
.dashboard-chart-grid .ch .sm,
.dash-panel .ch .sm,
.dash-insight-card .ch .sm {
    color: #69b000;
    font-size: 14px;
    font-family: "Urbanist", sans-serif;
    font-weight: 700;
}

.dash-chart-card .dash-chart-body {
    min-height: 284px;
    padding: 10px 12px 8px !important;
}

.dash-apex-chart {
    min-height: 260px;
}

.dash-chart-empty {
    min-height: 134px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: #7a93aa;
    font-size: 12px;
    font-weight: 400;
    text-align: center;
}

.dash-chart-empty i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #e8f4ff;
    color: #0b72d9;
}

.dash-tld-list {
    display: grid;
    gap: 11px;
    padding: 16px !important;
}

.dash-tld-item {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 10px;
    color: #102a43;
    text-decoration: none;
}

.dash-tld-name {
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-tld-bar {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf4fa;
}

.dash-tld-fill {
    display: block;
    height: 100%;
    min-width: 4%;
    border-radius: inherit;
    background: #0b72d9;
}

.dash-tld-fill-1 {
    background: #16a34a;
}

.dash-tld-fill-2 {
    background: #ff6b2e;
}

.dash-tld-fill-3 {
    background: #8b5cf6;
}

.dash-tld-fill-4 {
    background: #06b6d4;
}

.dash-tld-fill-5 {
    background: #64748b;
}

.dash-tld-count {
    color: #647d94;
    text-align: right;
    font-size: 11px;
    font-weight: 700;
}

.quick-grid {
    grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
}

.quick-btn {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 4px;
    padding: 10px 10px;
    text-align: left;
    border-radius: 6px;
}

.quick-btn i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 34px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    background: #ffffff;
    font-size: 15px;
}

.quick-btn span {
    min-width: 0;
    color: #102a43;
    font-size: 12px;
    color: #12314e;
    font-weight: 700;
    font-family: "Urbanist", sans-serif;
    line-height: 1.2;
}

.renewal-item,
.rb-item {
    border-radius: 9px;
    border-color: #e3eef7;
}

.renewal-domain,
.ri-name,
.rb-item .mc-inline-style-156 {
    color: #102a43 !important;
    font-weight: 500 !important;
}

html.mc-theme-dark .dashboard-chart-grid .card,
html.mc-theme-dark .dash-unified-card,
html.mc-theme-dark .dash-panel,
html.mc-theme-dark .dash-insight-card {
    border-color: #2a4058 !important;
    background: #132235 !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .2) !important;
}

html.mc-theme-dark .dashboard-chart-grid .card .ch,
html.mc-theme-dark .dash-unified-card .ch,
html.mc-theme-dark .dash-panel .ch,
html.mc-theme-dark .dash-insight-card .ch {
    border-color: #2e4963 !important;
    background: #122840 !important;
}

html.mc-theme-dark .dashboard-chart-grid .card .ch h6,
html.mc-theme-dark .dash-unified-card .ch h6,
html.mc-theme-dark .dash-panel .ch h6,
html.mc-theme-dark .dash-insight-card .ch h6,
html.mc-theme-dark .dash-tld-name,
html.mc-theme-dark .quick-btn span,
html.mc-theme-dark .renewal-domain,
html.mc-theme-dark .ri-name,
html.mc-theme-dark .rb-item .mc-inline-style-156 {
    color: #ffffff !important;
}

html.mc-theme-dark .dashboard-chart-grid .ch .sm,
html.mc-theme-dark .dash-unified-card .ch .sm,
html.mc-theme-dark .dash-panel .ch .sm,
html.mc-theme-dark .dash-insight-card .ch .sm,
html.mc-theme-dark .dash-tld-count,
html.mc-theme-dark .dash-chart-empty {
    color: #b8cbe0 !important;
}

html.mc-theme-dark .dash-tld-bar {
    background: #223952;
}

html.mc-theme-dark .quick-btn {
    border-color: #2d4962;
    background: #10243a;
}

html.mc-theme-dark .quick-btn:hover {
    border-color: #4b7aa1;
    background: #17304a;
}

html.mc-theme-dark .quick-btn i,
html.mc-theme-dark .dash-chart-empty i {
    background: #0e3450;
    color: #bae6fd;
}

@media (max-width: 1399px) {}

@media (max-width: 991px) {

    .dashboard-chart-grid,
    .g2,
    .g3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .dash-chart-card .dash-chart-body {
        min-height: 218px;
        padding: 6px !important;
    }

    .dash-apex-chart {
        min-height: 190px;
    }

    .dash-tld-item {
        grid-template-columns: 54px minmax(0, 1fr) 36px;
    }
}

/* ==========================================================================
   Maintains Logo Theme: Brand Deep Navy (#024686) + Brand Vibrant Orange (#FF5E1E)
   ========================================================================== */

:root {
    --mc-navy: #024686;
    --mc-navy-dark: #013261;
    --mc-navy-deep: #002242;
    --mc-navy-light: #EAF3FB;
    --mc-navy-tint: rgba(2, 70, 134, 0.08);
    --mc-orange: #FF5E1E;
    --mc-orange-hover: #E04B0E;
    --mc-orange-light: #FFF1EB;
    --mc-orange-tint: rgba(255, 94, 30, 0.12);
    --mc-orange-shadow: rgba(255, 94, 30, 0.28);
    --mc-bg: #F4F7FA;
    --mc-card-bg: #FFFFFF;
    --mc-card-border: #D7E3EC;
    --mc-text-main: #0F172A;
    --mc-text-sub: #64748B;
    --mc-shadow-sm: 0 2px 8px rgba(2, 70, 134, 0.04);
    --mc-shadow-md: 0 8px 24px -4px rgba(2, 70, 134, 0.08), 0 2px 6px -1px rgba(2, 70, 134, 0.04);
    --mc-shadow-lg: 0 16px 36px -6px rgba(2, 70, 134, 0.14), 0 4px 12px -2px rgba(255, 94, 30, 0.08);
    --mc-radius-sm: 8px;
    --mc-radius-md: 10px;
    --mc-radius-lg: 10px;
}

html.mc-theme-dark,
[data-theme="dark"] {
    --mc-bg: #0A1322;
    --mc-card-bg: #121E31;
    --mc-card-border: #1E2C42;
    --mc-text-main: #F8FAFC;
    --mc-text-sub: #94A3B8;
    --mc-navy-light: #1A2D48;
    --mc-orange-light: #2A1C18;
    --mc-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --mc-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --mc-shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.5);
}

/* 1. Global Page Layout & Aesthetics */
body {
    background-color: var(--mc-bg) !important;
    color: var(--mc-text-main) !important;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif !important;
    -webkit-font-smoothing: antialiased;
}

/* 2. Top Header Bar (.tb) */
.tb {
    background: var(--mc-card-bg) !important;
    border-bottom: 1px solid var(--mc-card-border) !important;
    /* border-top: 3px solid var(--mc-orange) !important; */
    box-shadow: var(--mc-shadow-md) !important;
    transition: all 0.25s ease !important;
}

.tb-brand {
    display: inline-flex !important;
    align-items: center !important;
    padding: 2px 6px !important;
    border-radius: var(--mc-radius-sm) !important;
    transition: transform 0.2s ease !important;
}


.tb-brand img {
    height: 34px !important;
    width: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
}

.mc-global-search {
    background: #ff6937 !important;
    border: none;
    border-radius: 30px !important;
    transition: none !important;
}

.mc-global-search:focus-within {
    background: #ff3d1fe6 !important;
    border-color: var(--mc-card-border) !important;
    box-shadow: none !important;
}

.mc-notif-badge {
    background: linear-gradient(135deg, var(--mc-orange) 0%, #FF3600 100%) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px var(--mc-orange-shadow) !important;
}

.tb-btn {
    border-radius: 50% !important;
    transition: all 0.2s ease !important;
}

.tb-btn:hover {
    background: var(--mc-navy-light) !important;
    color: var(--mc-navy) !important;
    transform: translateY(-1px) !important;
}

/* 3. Sidebar Navigation (.sb) */
.sb {
    background: var(--mc-card-bg) !important;
    border-right: 1px solid var(--mc-card-border) !important;
    box-shadow: 2px 0 12px rgba(2, 70, 134, 0.03) !important;
}

.sb-link {
    border-radius: 5px;
    padding: 6px 14px !important;
    color: var(--mc-text-sub) !important;
    font-family: "Urbanist", sans-serif;
    font-weight: 600 !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.sb-link:hover {
    background: var(--mc-navy-light) !important;
    color: var(--mc-navy) !important;
    transform: translateX(3px) !important;
}

.sb-link.active,
.sb-link.open-parent {
    background: linear-gradient(135deg, var(--mc-navy) 0%, var(--mc-navy-dark) 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 18px rgba(2, 70, 134, 0.22) !important;
}

.sb-link.active i,
.sb-link.active .sb-txt,
.sb-link.active .sb-arr {
    color: #FFFFFF !important;
}

.sb-link.active::before {
    content: '' !important;
    position: absolute !important;
    left: 4px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 4px !important;
    height: 20px !important;
    background-color: var(--mc-orange) !important;
    border-radius: 4px !important;
    box-shadow: 0 0 8px var(--mc-orange-shadow) !important;
}

.sb-sub-link:hover {
    background: var(--mc-navy-light) !important;
    color: var(--mc-navy) !important;
}

.sb-sub-link.active {
    background: var(--mc-navy-light) !important;
    color: var(--mc-navy) !important;
    border-left: 3px solid var(--mc-orange) !important;
    font-weight: 700 !important;
}

/* 4. Page Header (.ph) & Role Badges */
.ph {
    background: transparent !important;
    padding: 20px 24px 10px !important;
}

.ph-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: var(--mc-text-main) !important;
    font-family: "Urbanist", sans-serif;
}

.role-pill {
    display: inline-flex !important;
    align-items: center !important;
    padding: 10px 16px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    line-height: 1;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

.role-super,
.role-reseller {
    background: var(--mc-orange-light) !important;
    color: var(--mc-orange) !important;
    border: 1px solid rgba(255, 94, 30, 0.25) !important;
}

.role-admin,
.role-customer {
    background: var(--mc-navy-light) !important;
    color: var(--mc-navy) !important;
    border: 1px solid rgba(2, 70, 134, 0.25) !important;
}

/* 5. Unified Domain Search Component (.dashboard-search-card & .mc-domain-search-card) */
.dashboard-search-card,
.mc-domain-search-card {
    background: #ffffff !important;
    border: 1px solid var(--mc-card-border) !important;
    border-radius: var(--mc-radius-lg) !important;
    box-shadow: var(--mc-shadow-sm) !important;
    padding: 20px 22px !important;
    margin-bottom: 24px !important;
    transition: all 0.2s ease !important;
}

.mc-srch-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 12px !important;
    gap: 12px !important;
}

.mc-srch-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: var(--mc-text-main) !important;
    margin: 0 !important;
    display: flex !important;
    margin-bottom: 5px !important;
    align-items: center !important;
    font-family: "Urbanist", sans-serif;
    gap: 8px !important;
}

.mc-srch-title i {
    color: var(--mc-orange) !important;
}

.mc-srch-subtitle {
    font-size: 12px !important;
    color: var(--mc-text-sub) !important;
    margin: 2px 0 0 !important;
    font-family: "Rubik", sans-serif;
}

/* Unified Floating Search Bar - Single Clean Border Container */
.mc-srch-input-bar {
    display: flex !important;
    align-items: center !important;
    background: var(--mc-bg) !important;
    border: 1px solid var(--mc-card-border) !important;
    border-radius: 3px !important;
    padding: 5px 5px 5px 14px !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    font-family: "Rubik", sans-serif;
    width: 100% !important;
    overflow: hidden !important;
}

.mc-srch-input-bar:focus-within {
    background: var(--mc-card-bg) !important;
    border-color: var(--mc-card-border) !important;
    box-shadow: none !important;
}

/* Removal of any inner focus borders or input outline rings */
.mc-srch-input,
.mc-srch-input:focus,
.mc-srch-input:focus-visible,
.mc-srch-input:active,
.mc-srch-input-bar input,
.mc-srch-input-bar input:focus,
.mc-srch-input-bar input:focus-visible,
.mc-srch-input-bar input:active {
    border: none !important;
    border-color: transparent !important;
    outline: none !important;
    outline-width: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    flex: 1 1 auto !important;
    padding: 10px 12px !important;
    font-size: 12px !important;
    font-family: "Rubik", sans-serif;
    /* font-weight: 600 !important; */
    color: var(--mc-text-main) !important;
    width: 100% !important;
}

.mc-srch-input::placeholder {
    color: var(--mc-text-sub) !important;
    font-weight: 400 !important;
}

.mc-srch-prefix {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: var(--mc-navy) !important;
    font-weight: 500 !important;
    font-family: "Rubik", sans-serif;
    font-size: 13px !important;
    padding-right: 12px !important;
    border-right: none !important;
    /* Removed vertical border separator */
    user-select: none !important;
    white-space: nowrap !important;
}

.mc-srch-prefix i {
    color: var(--mc-orange) !important;
}

.mc-srch-clear-btn {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    color: var(--mc-text-sub) !important;
    padding: 6px 10px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: color 0.15s ease !important;
}

.mc-srch-clear-btn:hover {
    color: var(--mc-orange) !important;
}

.mc-srch-submit-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, var(--mc-navy) 0%, var(--mc-navy-dark) 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    outline: none !important;
    font-family: "Rubik", sans-serif;
    border-radius: 100px !important;
    padding: 7px 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(2, 70, 134, 0.2) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    font-family: "Urbanist", sans-serif;
}

.mc-srch-submit-btn:hover {
    background: linear-gradient(135deg, var(--mc-navy-dark) 0%, var(--mc-navy-deep) 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(2, 70, 134, 0.3) !important;
}

/* Popular TLD Quick Chips */
.mc-srch-popular-tlds {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 14px !important;
    font-size: 12px !important;
}

.mc-srch-popular-tlds strong {
    color: #293546 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    font-family: "Urbanist", sans-serif;
    margin-right: 2px !important;
}

.mc-tld-chip {
    background: var(--mc-navy-light) !important;
    color: var(--mc-navy) !important;
    border: 1px solid rgba(2, 70, 134, 0.15) !important;
    border-radius: 20px !important;
    padding: 2px 10px !important;
    font-size: 12px !important;
    font-family: "Rubik", sans-serif;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.mc-tld-chip:hover,
.mc-tld-chip.active {
    background: var(--mc-orange) !important;
    color: #FFFFFF !important;
    font-family: "Rubik", sans-serif;
    border-color: var(--mc-orange) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 10px var(--mc-orange-shadow) !important;
}

/* Soft, Borderless Alert Toast */
.mc-srch-error-alert {
    margin-top: 12px !important;
    padding: 10px 14px !important;
    background: rgba(220, 38, 38, 0.07) !important;
    border: none !important;
    border-radius: 8px !important;
    color: #DC2626 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* 6. KPI & Command Center Stat Cards (.kpi) */
.kpi,
.dash-cmd-card {
    background: var(--mc-card-bg) !important;
    border: 1px solid var(--mc-card-border) !important;
    border-radius: var(--mc-radius-lg) !important;
    box-shadow: var(--mc-shadow-md) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.kpi-link:hover .kpi,
.dash-cmd-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--mc-shadow-lg) !important;
    border-color: var(--mc-navy) !important;
}

.kpi-v {
    color: var(--mc-text-main) !important;
    font-weight: 800 !important;
    font-family: "Urbanist", sans-serif;
    color: #17436c !important;
}

.kpi-l {
    color: #35455d !important;
    font-weight: 700 !important;
    font-family: "Urbanist", sans-serif;
}

.kpi-ico.b,
.dash-cmd-ico.blue {
    background: var(--mc-navy-light) !important;
    color: var(--mc-navy) !important;
}

.kpi-ico.a,
.dash-cmd-ico.amber,
.dash-cmd-ico.orange {
    background: var(--mc-orange-light) !important;
    color: var(--mc-orange) !important;
}

.kpi-ico.g,
.dash-cmd-ico.green {
    background: #E8F7EF !important;
    color: #16A34A !important;
}

.kpi-ico.r,
.dash-cmd-ico.red,
.dash-cmd-ico.danger {
    background: #FDECEF !important;
    color: #DC2626 !important;
}

.kpi-ico.p,
.dash-cmd-ico.violet {
    background: #F3E8FF !important;
    color: #7C3AED !important;
}

/* 7. Buttons & Actions */
.btn-primary,
button.btn-primary,
a.btn-primary {
    background: linear-gradient(135deg, var(--mc-navy) 0%, var(--mc-navy-dark) 100%) !important;
    border: none !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    font-family: "Urbanist", sans-serif;
    border-radius: 3px !important;
    box-shadow: 0 4px 14px rgba(2, 70, 134, 0.22) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover {
    background: linear-gradient(135deg, var(--mc-navy-dark) 0%, var(--mc-navy-deep) 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(2, 70, 134, 0.32) !important;
}

.btn-accent,
.btn-orange {
    background: linear-gradient(135deg, var(--mc-orange) 0%, var(--mc-orange-hover) 100%) !important;
    border: none !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    border-radius: var(--mc-radius-md) !important;
    box-shadow: 0 4px 14px var(--mc-orange-shadow) !important;
}

.btn-accent:hover,
.btn-orange:hover {
    background: linear-gradient(135deg, var(--mc-orange-hover) 0%, #C9470D 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px var(--mc-orange-shadow) !important;
}

/* 8. Admin Command Center & Priority Queue System */
.admin-command-center {
    margin-bottom: 24px !important;
}

.admin-command-hero {
    background: linear-gradient(135deg, var(--mc-navy) 0%, var(--mc-navy-dark) 100%) !important;
    color: #FFFFFF !important;
    border-radius: var(--mc-radius-lg) !important;
    padding: 24px !important;
    box-shadow: var(--mc-shadow-md) !important;
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    position: relative !important;
    overflow: hidden !important;
}

.admin-command-hero::after {
    content: '' !important;
    position: absolute !important;
    right: -20px !important;
    bottom: -20px !important;
    width: 140px !important;
    height: 140px !important;
    background: radial-gradient(circle, var(--mc-orange-shadow) 0%, transparent 70%) !important;
    pointer-events: none !important;
}

.admin-command-badge {
    background: var(--mc-orange) !important;
    color: #FFFFFF !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 3px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    box-shadow: 0 4px 14px var(--mc-orange-shadow) !important;
}

.admin-command-kicker {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: var(--mc-orange) !important;
}

.admin-command-hero h2 {
    font-size: 20px !important;
    font-weight: 800 !important;
    margin: 2px 0 4px !important;
    color: #FFFFFF !important;
}

.admin-command-hero p {
    font-size: 13px !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.admin-command-link {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    transition: all 0.2s ease !important;
    margin-left: auto !important;
}

.admin-command-link:hover {
    background: var(--mc-orange) !important;
    border-color: var(--mc-orange) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
}

.admin-command-card {
    background: var(--mc-card-bg) !important;
    border: 1px solid var(--mc-card-border) !important;
    border-radius: var(--mc-radius-md) !important;
    padding: 15px !important;
    box-shadow: var(--mc-shadow-sm) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.admin-command-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--mc-shadow-md) !important;
}

.admin-priority-card {
    background: var(--mc-card-bg) !important;
    border: 1px solid var(--mc-card-border) !important;
    border-radius: var(--mc-radius-md) !important;
    padding: 10px 12px !important;
    box-shadow: var(--mc-shadow-sm) !important;
    transition: all 0.25s ease !important;
}

.admin-priority-card:hover {
    border-color: var(--mc-card-border) !important;
    transform: none !important;
    box-shadow: var(--mc-shadow-sm) !important;
}

.admin-priority-count {
    background: #deefff !important;
    color: #083b6c !important;
    font-weight: 800 !important;
    border-radius: 20px !important;
    padding: 10px 4px !important;
    font-family: "Urbanist", sans-serif;
}

/* 9. Alert Banners */
.balance-alert {
    background: var(--mc-card-bg) !important;
    border: 1px solid var(--mc-card-border) !important;
    border-left: 4px solid var(--mc-orange) !important;
    border-radius: var(--mc-radius-md) !important;
    box-shadow: var(--mc-shadow-md) !important;
}

/* 10. Dark Mode Overrides */
html.mc-theme-dark .tb,
[data-theme="dark"] .tb {
    background: #121E31 !important;
}

html.mc-theme-dark .sb,
[data-theme="dark"] .sb {
    background: #121E31 !important;
}

html.mc-theme-dark .kpi,
[data-theme="dark"] .kpi,
html.mc-theme-dark .dash-cmd-card,
[data-theme="dark"] .dash-cmd-card,
html.mc-theme-dark .dashboard-search-card,
[data-theme="dark"] .dashboard-search-card,
html.mc-theme-dark .admin-command-card,
[data-theme="dark"] .admin-command-card,
html.mc-theme-dark .admin-priority-card,
[data-theme="dark"] .admin-priority-card {
    background: #121E31 !important;
    border-color: #1E2C42 !important;
}

html.mc-theme-dark .sb-link:hover,
[data-theme="dark"] .sb-link:hover {
    background: #1A2D48 !important;
    color: #60A5FA !important;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Urbanist", sans-serif !important;
    font-weight: 700 !important;
}

.domain_card_actions {
    display: flex;
}

.domain_card_actions_inner {
    display: flex;
    gap: 7px;
}

[type="radio"]:checked+label::after {
    display: none;
}








@media (max-width: 768px) {
    .mc-srch-prefix {
        gap: 4px !important;
        font-size: 9px !important;
        padding-right: 5px !important;
    }

    .mc-srch-input-bar {
        border-radius: 3px !important;
        padding: 3px 3px 3px 7px !important;
    }

    .mc-srch-submit-btn {
        gap: 4px !important;
        padding: 8px 8px !important;
        font-size: 9px !important
    }

    .mc-srch-input {
        padding: 5px 3px !important;
        font-size: 10px !important;
        min-height: auto;
    }

    .dashboard-search-card,
    .mc-domain-search-card {
        padding: 15px 12px !important;
        margin-bottom: 20px !important;
    }

    .cb {
        padding: 0px !important;
    }



}




/* Custom Responsive Overrides for Domain Cards & Order History Cards */

@media (max-width: 991px) {

    /* Hide headers on tablet & mobile */
    .domain-card-heading,
    .order-history-page .domain-card-heading {
        display: none !important;
    }

    /* Transform cards into 2-column grids */
    .domain-card-row,
    .order-history-page .domain-card-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 14px 16px !important;
        align-items: start !important;
        padding: 16px !important;
        min-height: auto !important;
    }

    /* Main domain/order title spans full width */
    .domain-card-main,
    .order-history-page .domain-card-main {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        grid-template-columns: 46px minmax(0, 1fr) !important;
        gap: 12px !important;
        margin-bottom: 4px !important;
    }

    .domain-card-sl,
    .order-history-page .domain-card-sl {
        display: none !important;
    }

    .domain-card-icon,
    .order-history-page .domain-card-icon {
        width: 46px !important;
        height: 46px !important;
        font-size: 16px !important;
    }

    /* Reset grid cells for details to auto flow or explicit cells */
    .domain-card-customer,
    .order-history-page .domain-card-customer {
        grid-column: 1 !important;
        grid-row: 2 !important;
        min-width: 0 !important;
        display: block !important;
    }

    .domain-card-dates,
    .order-history-page .domain-card-dates {
        grid-column: 2 !important;
        grid-row: 2 !important;
        display: grid !important;
        grid-template-columns: max-content minmax(0, 1fr) !important;
        gap: 6px 12px !important;
        align-items: start !important;
        margin-top: 0 !important;
    }

    .domain-card-dates span,
    .order-history-page .domain-card-dates span {
        display: contents !important;
    }

    .domain-card-owner,
    .order-history-page .domain-card-owner {
        grid-column: 1 !important;
        grid-row: 3 !important;
        display: block !important;
        margin-top: 0 !important;
        padding-left: 0 !important;
    }

    .domain-card-status,
    .order-history-page .domain-card-status {
        grid-column: 2 !important;
        grid-row: 3 !important;
        justify-self: start !important;
        align-self: center !important;
    }

    .domain-card-actions,
    .order-history-page .domain-card-actions {
        grid-column: 1 / -1 !important;
        grid-row: 4 !important;
        justify-content: flex-start !important;
        padding-top: 14px !important;
        border-top: 1px solid #e2edf7 !important;
        margin-top: 4px !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .domain-action-btn,
    .order-history-page .domain-action-btn {
        flex: 1 !important;
        min-width: 0 !important;
        justify-content: center !important;
        height: 38px !important;
        width: auto !important;
    }
}

.admin-permission-form.admin-access-panel.is-super-form.permissions-open .admin-permission-body {
    background: beige;
}

.admin-permission-form.admin-access-panel.permissions-open .admin-permission-body {
    background: beige;
}

.admin-permission-form.admin-access-panel.permissions-open {
    border: 2px solid #d8d130;
}

.admin-permission-form.admin-access-panel.is-super-form.permissions-open {
    border: 2px solid #d8d130;
}

.mc-theme-dark .domain-action-btn.is-view {
    background: #e8f8ef;
    border-color: #c8f0dc;
    color: #07965f !important;
}

.mc-theme-dark .domain-action-btn.is-log {
    background: #eaf4ff;
    border-color: #cde7ff;
    color: #0b75b7 !important;
}

.mc-theme-dark .domain-status-pill.is-warning {
    background: #fff7ed !important;
    color: #c2410c !important;
}

.mc-theme-dark .domain-status-pill.is-muted {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

.mc-theme-dark .domain-card-dates em {
    color: #ffffff99;
    font-size: 12px;
    font-weight: 400;
}

.box-body {
    font-family: "Urbanist", sans-serif !important;
}

.domain-filter-card {
    font-family: "Urbanist", sans-serif !important;
}

.mc-theme-dark .admin-priority-count {
    border-color: #315575 !important;
    background: #0d2236 !important;
}

.mc-theme-dark .domain-card-title a {
    color: #ff622f !important;
}

.transfer-shell.registration-shell {
    font-family: "Urbanist", sans-serif !important;
}

.table-responsive table.table td {
    padding: 0;
}



.mc-theme-dark .registration-selected-customer {
    background: #f0fbf41c;
}

.mc-theme-dark .transfer-radio-stack label {
    background: #f0fbf41c;
}

.mc-theme-dark .registration-customer-count {
    background: #f0fbf41c;
}

.mc-theme-dark .registration-step-kicker {
    color: var(--brand-orange) !important;
}

.mc-theme-dark .renew-panel-title span i {
    background: #fff !important;
    color: #ff622f !important;
}

.renew-row-icon {
    border-radius: 3px !important;
}

.mc-theme-dark .renew-row-icon i {
    background: #fff !important;
    color: #ff622f !important;
}

.renew-panel.renew-details-panel {
    font-family: "Urbanist", sans-serif !important;
}

.stats-card {
    font-family: "Urbanist", sans-serif !important;
}

html.mc-theme-dark [class*="-card"] {
    background: transparent !important;
}

header input[type="search"] {
    border-radius: 0 30px 30px 0 !important;
}

.reseller-list-area.mc-inline-style-008 {
    font-family: "Urbanist", sans-serif !important;
}

.chain-map-heading {
    color: #004874;
}

.mc-theme-dark .chain-map-heading {
    color: #fff;
}

.mc-theme-dark .chain-map-node {
    background: #223f57;
    border: 1px solid #fff;
}

.mc-theme-dark .chain-node-details {
    background: #ffffff08;
}

.mc-theme-dark .chain-node-detail-stat {
    background: #0d1e30;
}

.mc-theme-dark .chain-node-open {
    color: #ffffff;
}

.mc-theme-dark .chain-board-head {
    background: #0d1e30;
}

.mc-theme-dark .chain-map-scroll {
    background: linear-gradient(#eef5fb1a 1px, transparent 1px), linear-gradient(90deg, #ffffff17 1px, transparent 1px), #f8fbff00;
}

.mc-theme-dark .chain-board {
    background: #ffffff00;
}

.mc-theme-dark .chain-row-selected {
    background: #f4f9ff00;
}

.mc-theme-dark .chain-row {
    background: #f4f9ff00;
}

.mc-theme-dark .chain-row-root {
    background: #0000001a;
}

.mc-theme-dark .chain-row:hover {
    background: #00000026;
}

.mc-theme-dark .chain-type-admin {
    background: #0e4776;
    color: #fff;
}

.mc-theme-dark .chain-type-reseller {
    background: #c04a0f;
    color: #fff;
}

.mc-theme-dark .chain-type-customer {
    background: #007a4d;
    color: #fff;
}

.mc-theme-dark .chain-row-toggle {
    background: #ffffff00;
    color: #0d1e30 !important;
}

.input-group.reseller-phone-group {
    display: flex;
    flex-wrap: nowrap;
}

.input-group.reseller-phone-group input {
    border-radius: 0 10px 10px 0 !important;
}

.mc-theme-dark .kyc-account-badge.reseller {
    color: #fff !important;
    background: #c2410c !important;
}

.mc-theme-dark .kyc-badge-pending,
.mc-theme-dark .kyc-badge-partial {
    color: #fff !important;
    background: #c2410c !important;
}

.search-input-wrap input {
    padding-left: 35px !important;
}

.mc-theme-dark .mc-inline-style-005 {
    background: #f8f9fa00;
    border: 1px solid #e9ecef03;
}

.row.mb-3.mc-inline-style-005 .input-group .input-group-addon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: absolute;
    left: 10px;
    z-index: 2;
}

.row.mb-3.mc-inline-style-005 .input-group input {
    padding-left: 28px !important;
}

.mc-theme-dark .row.mb-3.mc-inline-style-005 .input-group .input-group-addon {
    background: transparent !important;
}

.mc-theme-dark .request-status-filter {
    border: 1px solid #00507a;
    background: #fdfdfd00;
}

.mc-theme-dark .admin-permission-form.admin-access-panel.is-super-form.permissions-open .admin-permission-body {
    border: 1px solid #ffffff !important;
}

.mc-theme-dark .ulog-bc-green {
    background: #047857 !important;
    color: #fff !important;
}

.mc-theme-dark .ulog-bc-gray {
    background: #fff !important;
    color: #047857 !important;
}

.mc-theme-dark .ulog-bc-blue {
    background: #539dff !important;
    color: #ffffff !important;
}

.mc-theme-dark .ulog-bc-cyan {
    background: #0e7490 !important;
    color: #fff !important;
}

.ulog-fi.ulog-srch i {
    left: 9px;
    top: 70%;
}

.ulog-fi.ulog-srch input {
    padding-left: 25px !important;
}

.mc-theme-dark .mc-tld-chip {
    color: #Fff !important;
}

html.mc-theme-dark .quick-btn {
    background: #78200b75 !important;
}

.mc-theme-dark .domain_card_actions_inner .domain-action-btn.is-view {
    color: #ffffff !important;
}

.mc-theme-dark #ajax_frmsubmit_adnamesrvr_bg .box-footer {
    background-color: #ffffff00 !important;
}

.mc-theme-dark .move-selected-customer {
    background: #f0fbf400;
}

.mc-theme-dark .rd-domain-heading {
    background: #ffffff00;
}

.mc-theme-dark .rd-info-item {
    background: #ffffff00;
}

.mc-theme-dark .rd-contact-body {
    background: #ffffff00;
}

.mc-theme-dark .rd-contact-heading {
    background: #041930;
}

.mc-theme-dark .rd-badge-warning {
    background: #b45309;
    color: #fff;
}

.mc-theme-dark .rd-badge-success {
    background: #15803d;
    color: #fff;
}

.mc-theme-dark .rd-ns-empty {
    background: #f8fafc08;
}












/* Stacking for small mobile screens */
@media (max-width: 575px) {

    .domain-card-row,
    .order-history-page .domain-card-row {
        grid-template-columns: 1fr !important;
        gap: 7px !important;
        padding: 14px 12px !important;
    }

    .domain-card-customer,
    .order-history-page .domain-card-customer,
    .domain-card-dates,
    .order-history-page .domain-card-dates,
    .domain-card-owner,
    .order-history-page .domain-card-owner,
    .domain-card-status,
    .order-history-page .domain-card-status {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .domain-card-dates,
    .order-history-page .domain-card-dates {
        display: grid !important;
        grid-template-columns: max-content minmax(0, 1fr) !important;
        gap: 6px 12px !important;
    }

    .domain-card-actions,
    .order-history-page .domain-card-actions {
        grid-column: 1 !important;
        grid-row: auto !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .formcover {
        padding: 0px !important;
    }





}

.kyc-doc-intro-card {
    text-align: center;
    padding: 10px 4px;
}

.kyc-intro-title {
    color: #1e3a8a;
    font-size: 17px;
    font-weight: 700;
    margin: 5px 0 12px;
}

.kyc-req-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 8px;
}

.kyc-req-badge i {
    margin-right: 4px;
}

.kyc-req-badge.both {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px dashed #bfdbfe;
}

.kyc-req-badge.single {
    background: #ecfdf5;
    color: #047857;
    border: 1px dashed #a7f3d0;
}

.kyc-req-desc {
    font-size: 12px;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 16px;
    padding: 0 10px;
}

.kyc-intro-rules-list {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0 auto 20px;
    max-width: 320px;
}

.kyc-intro-rules-list li {
    font-size: 12px;
    color: #334155;
    margin-bottom: 10px;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.kyc-intro-rules-list li i {
    color: #f59e0b;
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.kyc-intro-rules-list li strong {
    color: #0f172a;
}

html.mc-theme-dark .kyc-intro-title {
    color: #93c5fd;
}

html.mc-theme-dark .kyc-req-badge.both {
    background: #0d2744;
    color: #60a5fa;
    border-color: #2563eb;
}

html.mc-theme-dark .kyc-req-badge.single {
    background: #062f22;
    color: #34d399;
    border-color: #059669;
}

html.mc-theme-dark .kyc-req-desc {
    color: #94a3b8;
}

html.mc-theme-dark .kyc-intro-rules-list li {
    color: #cbd5e1;
}

html.mc-theme-dark .kyc-intro-rules-list li strong {
    color: #f1f5f9;
}

html.mc-theme-dark .kyc-intro-rules-list li i {
    color: #fbbf24;
}




.mc-theme-dark .move-domain-note {

    background: #fff8f42e;
    color: #9a3412;

}









.login-account-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0 8px;
}

.login-account-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fafd;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: border-color .18s, box-shadow .18s, background .18s;
}

.login-account-item:not(.login-account-disabled):hover {
    border-color: #1C3E6E;
    background: #eef6ff;
    box-shadow: 0 2px 10px rgba(28, 62, 110, .1);
}

.login-account-item.login-account-disabled {
    opacity: .55;
    cursor: not-allowed;
}

.login-account-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.login-account-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.login-account-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.login-account-meta strong {
    font-size: 14px;
    color: #1a202c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

.login-account-sub {
    font-size: 12px;
    color: #4a5568;
}

.login-account-sub code {
    background: #e8f0fb;
    color: #1C3E6E;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 11px;
}

.login-account-parent {
    font-size: 11px;
    color: #718096;
}

.login-account-parent .fa {
    color: #a0aec0;
    margin-right: 3px;
}

.login-account-select-btn {
    flex-shrink: 0;
    background: #1C3E6E;
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background .18s, transform .12s;
}

.login-account-select-btn:hover {
    background: #24508e;
    transform: translateY(-1px);
}

.login-account-disabled-label {
    font-size: 12px;
    color: #a0aec0;
    font-style: italic;
    flex-shrink: 0;
}

html.mc-theme-dark .login-account-item {
    background: #1a2e44;
    border-color: #2d4a6a;
}

html.mc-theme-dark .login-account-item:not(.login-account-disabled):hover {
    background: #1e3655;
    border-color: #4a7fcb;
}

html.mc-theme-dark .login-account-meta strong {
    color: #e2e8f0;
}

html.mc-theme-dark .login-account-sub {
    color: #a0aec0;
}

html.mc-theme-dark .login-account-sub code {
    background: #1e3655;
    color: #7eb3ef;
}

html.mc-theme-dark .login-account-parent {
    color: #718096;
}


html.mc-theme-dark select,
.form-select,
.form-select-modern {
    padding-right: 30px !important;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjNjQ3NDhiIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiIgZD0iTTIgNWw2IDYgNi02Ii8+PC9zdmc+) !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px 10px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    color: #fff;
}



select,
.form-select,
.form-select-modern {
    padding-right: 30px !important;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjNjQ3NDhiIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiIgZD0iTTIgNWw2IDYgNi02Ii8+PC9zdmc+") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px 10px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

html.mc-theme-dark select,
html.mc-theme-dark .form-select,
html.mc-theme-dark .form-select-modern {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjOTRhM2I4IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiIgZD0iTTIgNWw2IDYgNi02Ii8+PC9zdmc+") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px 10px !important;
}

.customer-password-toggle {
    width: 33px;
    margin-right: 17px;
    height: 33px;
    background: #e0e9ef;
}

html.mc-theme-dark .tag.tag-muted {
    background: #071c2e !important;
    color: #fff !important;
    border: 1px solid #2d526b;
}

.showing_total {
    padding: 0 20px;
    font-family: "Urbanist", sans-serif !important;
    font-weight: 600;
}


/* =========================================
   PREMIUM PAGINATION
========================================= */

.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 10px 15px 20px !important;
    padding: 0;
    list-style: none;
}

/* Hide empty nested UL */
.pagination>ul {
    display: none;
}

/* Pagination item */
.pagination>li {
    display: flex;
    margin: 0;
    padding: 0;
}

/* Common button style */
.pagination>li>a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
    cursor: pointer;
}

/* Hover */
.pagination>li:not(.disabled):not(.active)>a:hover {
    color: #06416d;
    background: #f8fbfd;
    border-color: #b8cedd;

    box-shadow: 0 4px 12px rgba(6, 65, 109, 0.08);

    transform: translateY(-1px);
}

/* Active page */
.pagination>li.active>a {
    color: #ffffff;
    background: linear-gradient(135deg,
            #06416d 0%,
            #0b5b8f 100%);

    border-color: #06416d;

    box-shadow:
        0 4px 10px rgba(6, 65, 109, 0.20),
        0 1px 2px rgba(6, 65, 109, 0.15);

    font-weight: 700;
}

/* Active hover */
.pagination>li.active>a:hover {
    color: #ffffff;
    background: linear-gradient(135deg,
            #053856 0%,
            #064d7c 100%);

    border-color: #053856;
}

/* Disabled */
.pagination>li.disabled>a {
    color: #83909f;
    background: #e9ecef;
    border-color: #cecece;
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
}

/* Previous & Next */
.pagination>li:first-child>a,
.pagination>li:last-child>a {
    min-width: auto;
    padding: 0 17px;

    font-weight: 600;
}

/* =========================================
   FOCUS / ACCESSIBILITY
========================================= */

.pagination>li>a:focus-visible {
    outline: none;
    border-color: #06416d;

    box-shadow:
        0 0 0 3px rgba(6, 65, 109, 0.12);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 576px) {

    .pagination {
        justify-content: center;
        gap: 6px;
        margin-top: 30px;
    }

    .pagination>li>a {
        min-width: 38px;
        height: 38px;

        padding: 0 11px;

        border-radius: 8px;
        font-size: 13px;
    }

    .pagination>li:first-child>a,
    .pagination>li:last-child>a {
        padding: 0 12px;
    }
}



html.mc-theme-dark .transfer-step-icon i {
    color: #0D4F7C !important;
}

.cus_p0 {
    padding: 0 !important;
}

.formcover.transfer-card.transfer-lookup-card .pwd-toggle-btn {
    display: none !important;
}

.transfer-epp-field .pwd-toggle-btn {
    display: flex !important;
}

.input-group.customer-phone-group {
    display: flex;
    flex-wrap: nowrap;
}

html.mc-theme-dark .chain-status-pill {
    background: #007a4d !important;
    color: #fff !important;
}

/* Button - full width */
#kycVerificationPanel .kyc-card>button {
    grid-column: 1 / -1 !important;
    grid-row: 6;
    width: 100% !important;
    margin-top: 10px;
}

html.mc-theme-dark .profile-recent-meta b.is-muted {
    background: #eef2f7;
    color: #0060ea !important;
}

html.mc-theme-dark .profile-recent-meta b.is-debit {
    background: #ffe4e8;
    color: #d11b3c !important;
}

.pwd-rules-box .profile-password-eye {
    display: none;
}



#btn_apply_bulk_calc{
    
      height: 38px;
    width: 100% !important;
    display: flex !important;
    font-size: 15px !important;
    gap: 4px;  
    
    
}
