.font14-lh18 {
    font-size: 12px;
    line-height: 20px;
    margin-right: 8px !important;
    opacity: 0.6;
    vertical-align: middle;
    display: inline-block;
}
#btnNavBack1{
    cursor:pointer;
}
.TableClassFilter {
    margin-top: -2.3rem;
    /*display: contents;*/
}
/* Mobile view */
@media (max-width: 767px) {
    .TableClassFilter {
        margin-top: 1rem; /* You can adjust this value for mobile if needed */
        /* display: flex;*/
    }
}

@media (max-width: 576px) {
    .TableClassFilter {
        width: 100%;
    }

        .TableClassFilter label {
            width: 100%;
        }

        .TableClassFilter input {
            width: 100%;
        }
}


.lgoin-page {
    background: url(../images/bg-img.jpg) no-repeat left center;
    background-size: cover;
}

.login-img-block {
    background: #eef1f8 url(../images/main-bg4.png) no-repeat center center;
    background-size: contain;
    height: 100%;
    width: 100%;
    border-radius: 6px 0 0 6px;
}

.login-welcome-text {
    font-weight: 700;
    margin-left: 10px;
    text-align: left;
}

.v-middle {
    vertical-align: middle;
}

.d-inline-block {
    display: inline-block
}

.fa-file-excel::before {
    content: "\f1c3";
}

.sidebar-logo-icon {
    --navbar-brand-image-size: 36px;
}

.navbar-brand {
    --navbar-brand-font-size: 24px;
}

.custom-form {
    overflow: auto;
    width: 100%;
}

[data-color-theme="backgroundimg"] body {
    background-image: url(../images/bg-img.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.navbar {
    padding: 0 !important;
}

.navbar-brand img {
    border-radius: 50%;
    height: 36px;
    width: 36px;
}

.navbar-search .form-control {
    padding-top: 5px;
    padding-bottom: 5px;
}

.navbar-search .form-control-feedback-start .form-control-feedback-icon {
    top: -1px;
}

.sidebar {
    --sidebar-width: 15.7rem;
    /*--sidebar-section-padding-y: 0.5rem; /* vertical padding */
    --sidebar-section-padding-x: 0.55rem; /* horizontal padding */
}

.nav-link {
    --nav-link-padding-y: 0.4rem;
}

.nav-sidebar {
    /*    --nav-link-font-size: 0.75rem;*/
    --nav-link-padding-x: 0.55rem;
    --nav-link-padding-y: 0.55rem;
}

.page-header {
    --page-header-padding-y: 0.75rem;
}

.card-header {
    --card-cap-padding-y: calc(var(--spacer) * 0.4);
    --card-cap-padding-x: 16px;
    text-transform: capitalize;
}

.card-body {
    --card-spacer-x: 16px;
}

/*.form-select {
    --form-select-padding-y: 0.2rem;
}
*/
.navbar-nav-link {
    cursor: pointer
}

    .navbar-nav-link .badge {
        --badge-padding-x: 0.325rem;
        --badge-padding-y: 0.105rem;
        --badge-font-size: 0.525rem;
        line-height: 0.805rem;
    }

.badge.end-0 {
    right: 2px !important;
}

.badge.top-0 {
    top: 2px !important;
}

.content-wrapper {
    height: 100%;
    padding: 10px;
}

.custom-switch {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 30px;
    vertical-align: middle;
}

    .custom-switch input {
        display: none;
    }

    .custom-switch .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #049aad;
        -webkit-transition: .4s;
        transition: .4s;
    }

        .custom-switch .slider:before {
            position: absolute;
            content: "";
            height: 22px;
            width: 22px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            -webkit-transition: .4s;
            transition: .4s;
        }

    .custom-switch input:checked + .slider {
        background-color: #2ab934;
    }

    .custom-switch input:focus + .slider {
        box-shadow: 0 0 1px #2196F3;
    }

    .custom-switch input:checked + .slider:before {
        -webkit-transform: translateX(59px);
        -ms-transform: translateX(59px);
        transform: translateX(59px);
    }

    /*------ ADDED CSS ---------*/
    .custom-switch .on {
        display: none;
    }

    .custom-switch .on, .custom-switch .off {
        color: white;
        position: absolute;
        transform: translate(-50%,-50%);
        top: 50%;
        left: 50%;
        font-size: 10px;
        font-family: Verdana, sans-serif;
    }

    .custom-switch input:checked + .slider .on {
        display: block;
    }

    .custom-switch input:checked + .slider .off {
        display: none;
    }

    /*--------- END --------*/

    /* Rounded sliders */
    .custom-switch .slider.round {
        border-radius: 34px;
    }

        .custom-switch .slider.round:before {
            border-radius: 50%;
        }


/*.list-group-item {
    padding: 8px;
}
*/
.card-overlay.custom-loader {
    z-index: 1025;
}

    .card-overlay.custom-loader .spinner-border {
        --spinner-width: 2rem;
        --spinner-height: 2rem;
    }

.navbar-brand a:focus-visible {
    outline: none;
}

.sidebar-dark {
    box-shadow: 1px 1px 10px rgba(0,0,0,.4)
}

.btn-secondary.dropdown-toggle + .dropdown-menu {
    --dropdown-min-width: 10rem !important;
}

/*light theme color changes*/
[data-color-theme="light"] .navbar-dark {
    --navbar-bg: #5c6bc0;
    color: #ffffff;
    --navbar-color: #ffffff;
}

[data-color-theme="light"] .sidebar-dark {
    --sidebar-bg: #fff;
}

    [data-color-theme="light"] .sidebar-dark .nav-link {
        --nav-link-color: #333;
    }

[data-color-theme="light"] .nav-link.active {
    --nav-link-active-color: #333;
}

[data-color-theme="light"] .nav-sidebar .nav-link:focus, [data-color-theme="light"] .nav-sidebar .nav-link:hover, {
    --nav-link-hover-bg: rgba(193,216,240,0.5);
}

[data-color-theme="light"] .nav-sidebar .nav-link:active {
    --nav-link-active-bg: rgba(193,216,240,0.5);
    --nav-link-hover-active-bg: rgba(193,216,240,0.5);
}

[data-color-theme="light"] .nav-sidebar .nav-link.active {
    --nav-link-active-bg: rgba(193,216,240,0.5);
}

[data-color-theme="light"] .nav-sidebar .nav-link:focus, .nav-sidebar .nav-link:hover {
    --nav-link-hover-bg: rgba(193,216,240,0.5);
}

[data-color-theme="light"] .nav-link:focus, [data-color-theme="light"] .nav-link:hover {
    --nav-link-hover-color: #000;
}

[data-color-theme="light"] .navbar-nav-link:focus,
[data-color-theme="light"] .navbar-nav-link:hover,
[data-color-theme="light"] .navbar-nav-link:active {
    --navbar-hover-color: #333;
    color: #333;
}

[data-color-theme="light"] .navbar-nav-link.active,
[data-color-theme="light"] .navbar-nav-link.show,
[data-color-theme="light"] .navbar-nav-link[aria-expanded="true"] {
    --navbar-active-color: #333;
}

[data-color-theme="light"] .navbar-dark .ph-arrows-out::before,
[data-color-theme="light"] .navbar-dark .ph-squares-four::before,
[data-color-theme="light"] .navbar-dark .ph-chats::before,
[data-color-theme="light"] .navbar-dark .ph-bell::before {
    color: #ffffff
}

[data-color-theme="light"] .navbar-dark .sidebar-resize-hide.text-white {
    color: #ffffff !important;
}

[data-color-theme="light"] .sidebar.sidebar-dark {
    --sidebar-color: #333;
}

    [data-color-theme="light"] .sidebar.sidebar-dark .btn-flat-white {
        --btn-color: #333;
    }


[data-color-theme="light"] {
    --body-bg: rgb(225, 241, 253, 0.5);
}

    [data-color-theme="light"] .card-header {
        background-color: #5c6bc0;
        color: #fff;
    }

    [data-color-theme="light"] .dataTables_scroll .dataTables_scrollHead table thead th,
    [data-color-theme="light"] .dataTable .dataTables_scrollHead table thead th {
        background-color: #c1d8f0;
        border-color: #b3b3b3;
    }


    /*[data-color-theme="light"] .btn-check:checked + .btn, [data-color-theme="light"] .btn.active, .btn.show, [data-color-theme="  "] .btn:first-child:active, [data-color-theme="light"] :not(.btn-check) + .btn:active {
    --btn-active-color: #333;
}*/
    [data-color-theme="light"] #sideBarToogle.btn:hover {
        --btn-hover-bg: rgba(193,216,240,0.5);
    }

/*custom theme-1 color changes*/
[data-color-theme="customThemeOne"] .navbar-dark {
    --navbar-bg: #0b108c;
    color: #fff;
}

[data-color-theme="customThemeOne"] .sidebar-dark {
    --sidebar-bg: #0e4ead;
}

    [data-color-theme="customThemeOne"] .sidebar-dark .nav-link {
        --nav-link-color: #fff;
    }

[data-color-theme="customThemeOne"] .navbar-dark .ph-arrows-out::before,
[data-color-theme="customThemeOne"] .navbar-dark .ph-squares-four::before,
[data-color-theme="customThemeOne"] .navbar-dark .ph-chats::before,
[data-color-theme="customThemeOne"] .navbar-dark .ph-bell::before {
    color: #fff
}

[data-color-theme="customThemeOne"] .navbar-dark .sidebar-resize-hide.text-white {
    color: #fff !important;
}

[data-color-theme="customThemeOne"] .sidebar.sidebar-dark {
    --sidebar-color: #fff;
}

    [data-color-theme="customThemeOne"] .sidebar.sidebar-dark .btn-flat-white {
        --btn-color: #fff;
    }

[data-color-theme="customThemeOne"] {
    --body-bg: #d8d8d8;
}

    [data-color-theme="customThemeOne"] .sidebar-dark .nav-sidebar {
        --nav-link-hover-bg: rgba(var(--white-rgb), 0.2);
    }


/*custom theme-2 color changes*/
[data-color-theme="customThemeTwo"] .navbar-dark {
    --navbar-bg: #1f7a8c;
    color: #fff;
}

[data-color-theme="customThemeTwo"] .sidebar-dark {
    --sidebar-bg: #fff;
}

    [data-color-theme="customThemeTwo"] .sidebar-dark .nav-link {
        --nav-link-color: #333;
    }

    [data-color-theme="customThemeTwo"] .sidebar-dark .btn-check:checked + .btn,
    [data-color-theme="customThemeTwo"] .sidebar-dark .btn.active,
    [data-color-theme="customThemeTwo"] .sidebar-dark .btn.show,
    [data-color-theme="customThemeTwo"] .sidebar-dark .btn:first-child:active,
    [data-color-theme="customThemeTwo"] .sidebar-dark :not(.btn-check) + .btn:active {
        color: #333;
    }

    [data-color-theme="customThemeTwo"] .sidebar-dark .btn:hover {
        background-color: rgba(0,0,0,0.1)
    }

[data-color-theme="customThemeTwo"] .navbar-dark .ph-arrows-out::before,
[data-color-theme="customThemeTwo"] .navbar-dark .ph-squares-four::before,
[data-color-theme="customThemeTwo"] .navbar-dark .ph-chats::before,
[data-color-theme="customThemeTwo"] .navbar-dark .ph-bell::before {
    color: #fff
}

/*
[data-color-theme="customThemeTwo"] .navbar-dark .sidebar-resize-hide.text-white {
    color: #333 !important;
}*/

[data-color-theme="customThemeTwo"] .nav-sidebar .nav-link {
    color: #333;
}

[data-color-theme="customThemeTwo"] .sidebar.sidebar-dark {
    --sidebar-color: #333;
}

    [data-color-theme="customThemeTwo"] .sidebar.sidebar-dark .btn-flat-white {
        --btn-color: #333;
    }

[data-color-theme="customThemeTwo"] {
    --body-bg: rgba(31,122,140,0.15);
}

    [data-color-theme="customThemeTwo"] .card-header {
        background-color: #1f7a8c;
        border-bottom-color: #fff;
        --card-cap-color: #fff;
    }

    [data-color-theme="customThemeTwo"] .nav-sidebar .nav-link:focus, [data-color-theme="customThemeTwo"] .nav-sidebar .nav-link:hover, {
        --nav-link-hover-bg: rgba(31,122,140,0.1);
    }

    [data-color-theme="customThemeTwo"] .nav-sidebar .nav-link:active {
        --nav-link-active-bg: rgba(31,122,140,0.1);
        --nav-link-hover-active-bg: rgba(31,122,140,0.1);
    }

    [data-color-theme="customThemeTwo"] .nav-sidebar .nav-link.active {
        --nav-link-active-bg: rgba(31,122,140,0.1);
        /*--nav-link-active-bg: rgb(31 122 140);*/
        /*--nav-link-active-color: #ffffff !important;*/
    }

    [data-color-theme="customThemeTwo"] .nav-sidebar .nav-link:focus, .nav-sidebar .nav-link:hover {
        --nav-link-hover-bg: rgba(31,122,140,0.1);
    }


/*custom theme-3 color changes*/
[data-color-theme="customThemeThree"] .navbar-dark {
    --navbar-bg: #0b1e59;
    color: #fff;
}

[data-color-theme="customThemeThree"] .sidebar-dark {
    --sidebar-bg: #0b1e59;
}

    [data-color-theme="customThemeThree"] .sidebar-dark .nav-link {
        --nav-link-color: #fff;
    }

[data-color-theme="customThemeThree"] .navbar-dark .ph-arrows-out::before,
[data-color-theme="customThemeThree"] .navbar-dark .ph-squares-four::before,
[data-color-theme="customThemeThree"] .navbar-dark .ph-chats::before,
[data-color-theme="customThemeThree"] .navbar-dark .ph-bell::before {
    color: #fff
}

[data-color-theme="customThemeThree"] .navbar-dark .sidebar-resize-hide.text-white {
    color: #fff !important;
}

[data-color-theme="customThemeThree"] .sidebar.sidebar-dark {
    --sidebar-color: #fff;
}

    [data-color-theme="customThemeThree"] .sidebar.sidebar-dark .btn-flat-white {
        --btn-color: #fff;
    }

[data-color-theme="customThemeThree"] {
    --body-bg: #fff;
}

    [data-color-theme="customThemeThree"] .card-header {
        background-color: #d1d5db;
    }

.dataTables_scroll table thead,
.dataTable table thead {
    text-align: center;
}

.dataTables_scroll .table > :not(caption):first-child th,
.dataTable .table > :not(caption):first-child th,
#UserTableentity_wrapper .table > :not(caption):first-child th,
#NestedSubMenuTable_wrapper .table > :not(caption):first-child th,
#SubMenuTable_wrapper .table > :not(caption):first-child th,
#MenuTable_wrapper .table > :not(caption):first-child th,
#RolesTable_wrapper .table > :not(caption):first-child th,
#UserTable_wrapper .table > :not(caption):first-child th {
    padding-top: 3px;
    padding-bottom: 3px;
}

.dataTables_wrapper .datatable-header {
    border-bottom-color: transparent;
}

.dataTables_scroll .table > :not(caption) > * > *,
.dataTable .table > :not(caption) > * > *,
#UserTableentity_wrapper .table > :not(caption) > * > *,
#NestedSubMenuTable_wrapper .table > :not(caption) > * > *,
#SubMenuTable_wrapper .table > :not(caption) > * > *,
#MenuTable_wrapper .table > :not(caption) > * > *,
#RolesTable_wrapper .table > :not(caption) > * > *,
#UserTable_wrapper .table > :not(caption) > * > * {
    padding-top: 3px;
    padding-bottom: 3px;
}

.dataTables_scroll .btn.btn-secondary,
.dataTable .btn.btn-secondary,
#UserTableentity_wrapper .btn.btn-secondary,
#NestedSubMenuTable_wrapper .btn.btn-secondary,
#SubMenuTable_wrapper .btn.btn-secondary,
#MenuTable_wrapper .btn.btn-secondary,
#RolesTable_wrapper .btn.btn-secondary,
#UserTable_wrapper .btn.btnEdit.btn-secondary {
    padding: 0px 6px;
}

.dataTables_scroll .btn-group > .btn:not(:last-child):not(.dropdown-toggle),
.dataTable .btn-group > .btn:not(:last-child):not(.dropdown-toggle),
#UserTableentity_wrapper .btn-group > .btn:not(:last-child):not(.dropdown-toggle),
#NestedSubMenuTable_wrapper .btn-group > .btn:not(:last-child):not(.dropdown-toggle),
#SubMenuTable_wrapper .btn-group > .btn:not(:last-child):not(.dropdown-toggle),
#MenuTable_wrapper .btn-group > .btn:not(:last-child):not(.dropdown-toggle),
#RolesTable_wrapper .btn-group > .btn:not(:last-child):not(.dropdown-toggle),
#UserTable_wrapper .btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: var(--btn-border-radius);
    border-bottom-right-radius: var(--btn-border-radius);
}

#UserTable_wrapper .btn-group > .btn-group:not(:first-child), .btn-group > :not(.btn-check:first-child) + .btn {
    border-top-left-radius: var(--btn-border-radius);
    border-bottom-left-radius: var(--btn-border-radius);
}

.dataTables_scrollBody thead, .dataTables_scrollBody tbody {
    border-bottom-color: #ddd;
}

.dataTables_scrollHead + .dataTables_scrollBody .table-bordered thead {
    border-bottom-color: rgba(var(--black-rgb), 0.035);
}

.dataTable thead .sorting:after, .dataTable thead .sorting:before, .dataTable thead .sorting_asc_disabled:before, .dataTable thead .sorting_desc_disabled:after {
    right: 0.5rem;
}

[data-color-theme="customThemeOne"] .dataTables_scroll .dataTables_scrollHead table thead th {
    background-color: #010937;
    color: #fff;
}

[data-color-theme="customThemeTwo"] .dataTables_scroll .dataTables_scrollHead table thead th {
    background-color: #1f7a8c;
    color: #fff;
}

[data-color-theme="customThemeThree"] .dataTables_scroll .dataTables_scrollHead table thead th {
    background-color: #d1d5db;
    border-color: #b6b6b6;
}

#UserTable_wrapper .btn-group > .btn-group:not(:first-child), .btn-group > :not(.btn-check:first-child) + .btn {
    border-top-left-radius: var(--btn-border-radius);
    border-bottom-left-radius: var(--btn-border-radius);
}
/*
[data-color-theme="light"] .table-bordered.table > :not(caption):first-child th {
    background-color: #c1d8f0;
    border-bottom-color: #c1d8f0;
}*/

.form-label {
    --form-label-margin-bottom: 0.2rem;
}


/*.btn:not(.multiselect) {
    --btn-padding-y: 5px !important;
    --btn-padding-x: 8px !important;
}*/

.btn.buttons-excel {
    border-top-right-radius: var(--btn-border-radius) !important;
    border-bottom-right-radius: var(--btn-border-radius) !important;
}

.btn.buttons-excel, .btn.buttons-pdf {
    --btn-padding-y: 5px !important;
    --btn-padding-x: 8px !important;
}

.swal2-icon {
    --swal-icon-size: 3.5rem;
    margin: 10px auto 5px;
}

.swal2-title {
    font-size: 1.675rem;
}

.datepicker-grid {
    width: calc(((.5rem * 1.2) + var(--body-line-height-computed)) * 7);
}

.datepicker-cell, .datepicker-view .week {
    height: calc((.5rem * 1.2) + var(--body-line-height-computed));
    line-height: calc((.5rem * 1.2) + var(--body-line-height-computed));
}

.dropdown-menu {
    --dropdown-item-padding-y: calc(var(--spacer) * 0.3);
}

.dataTables_scrollBody thead, .dataTables_scrollBody tbody {
    border-bottom-color: #ddd;
}

.custom-offcanvas.offcanvas {
    --offcanvas-width: 75px;
    --offcanvas-padding-x: 5px;
    --offcanvas-padding-y: 15px
}

    .custom-offcanvas.offcanvas .form-check-input[type="radio"] {
        opacity: 0;
        position: absolute;
        z-index: -1
    }

    .custom-offcanvas.offcanvas .offcanvas-header {
        justify-content: center
    }

    .custom-offcanvas.offcanvas .ph-custom-color {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        border: 1px solid transparent;
    }

[data-color-theme="dark"] .custom-offcanvas.offcanvas .ph-custom-color {
    border: 1px solid #fff;
}

.custom-offcanvas.offcanvas .ph-custom-color1 {
    background-color: #252b36;
}

.custom-offcanvas.offcanvas .ph-custom-color2 {
    background-color: #107fc9;
}

.custom-offcanvas.offcanvas .ph-custom-color3 {
    background-color: #1f7a8c;
}

.custom-offcanvas.offcanvas .ph-custom-color4 {
    background-color: #0b1e59;
}

.select2-search--dropdown {
    padding: 10px 5px;
}

    .select2-search--dropdown:after {
        left: 15px;
    }

    .select2-search--dropdown .select2-search__field {
        padding: 5px 5px 5px 35px;
    }

.select2-results__option {
    padding: 5px;
}

.custom-img-spec {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.font14 {
    font-size: 14px !important;
}

.custom-dashboard-container .dashboard-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin: 20px;
    padding: 30px;
}

.custom-dashboard-container .header-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    position: relative;
}

.custom-dashboard-container .nav-tabs {
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

    .custom-dashboard-container .nav-tabs .nav-link {
        border: none;
        color: var(--primary-color);
        font-weight: 600;
        border-radius: 10px;
        margin: 0 5px;
        transition: all 0.3s ease;
    }

        .custom-dashboard-container .nav-tabs .nav-link.active {
            background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
        }

.custom-dashboard-container .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

/* Updated Metrics Cards Styling */
.custom-dashboard-container .metric-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 15px;
    padding: 25px 20px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

    .custom-dashboard-container .metric-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    }

    .custom-dashboard-container .metric-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100px;
        height: 100px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        transform: translate(30px, -30px);
    }

.custom-dashboard-container .metric-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.custom-dashboard-container .metric-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.custom-dashboard-container .metric-trend {
    font-size: 0.85rem;
    opacity: 0.9;
}

.custom-dashboard-container .metric-value {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.custom-dashboard-container .metric-label {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
    margin-bottom: 0;
}

.custom-dashboard-container metric-subtitle {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 5px;
}

/* Alternative color schemes for different cards */
.custom-dashboard-container .metric-card.card-primary {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.custom-dashboard-container .metric-card.card-success {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.custom-dashboard-container .metric-card.card-warning {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.custom-dashboard-container .metric-card.card-info {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    color: #2c3e50;
}

.custom-dashboard-container .metric-card.card-danger {
    background: linear-gradient(135deg, #d299c2, #fef9d7);
    color: #2c3e50;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-dashboard-container .metric-card {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .custom-dashboard-container .metric-value {
        font-size: 1.8rem;
    }

    .custom-dashboard-container .metric-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Professional grid layout */
.custom-dashboard-container .metrics-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

    .custom-dashboard-container .metrics-row .col-md-3,
    .custom-dashboard-container .metrics-row .col-md-4 {
        flex: 1;
        min-width: 250px;
    }

.custom-dashboard-container .filters-section {
    background: rgba(248, 249, 250, 0.9);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(0,0,0,0.05);
}

.custom-dashboard-container .chart-container {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    min-height: 500px;
}

.custom-dashboard-container .data-table-container {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.custom-dashboard-container .loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.custom-dashboard-container .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(52, 152, 219, 0.3);
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.custom-dashboard-container .category-pill {
    padding: 8px 20px;
    background: rgba(52, 152, 219, 0.1);
    color: var(--secondary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    margin: 5px;
}

    .custom-dashboard-container .category-pill.active {
        background: var(--secondary-color);
        color: white;
    }

.custom-dashboard-container .user-info {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    color: white;
}

@media (max-width: 768px) {
    .custom-dashboard-container .dashboard-container {
        margin: 10px;
        padding: 15px;
    }

    .custom-dashboard-container .metric-value {
        font-size: 2rem;
    }
}

.custom-dashboard-container .category-pills-hidden {
    display: none !important;
}

.custom-dashboard-container #headingTitle {
    transition: all 0.3s ease;
}

.dropdown-menu .fa-file-pdf {
    color: #E53935;
}

.dropdown-menu .fa-file-excel {
    color: #2E7D32;
}

.dropdown-menu .fa-file-csv {
    color: #1E88E5;
}

.custom-tabs-page .card.custom-card {
    background-color: transparent;
    padding: 0;
    box-shadow: none;
}

.nav-link {
    cursor: pointer;
}

.custom-tabs .nav-link {
    /*    --nav-link-padding-y: 0.65rem;
    --nav-link-padding-x: 1.2rem;*/
    font-size: 16px;
}

    .custom-tabs .nav-link.active {
        font-weight: 500;
        color: #000;
    }

[data-color-theme="light"] .custom-tabs .nav-link.active {
    background-color: #5c6bc0;
    color: #fff;
}
/*
[data-color-theme="dark"] .custom-tabs .nav-link.active {
    background-color: #5c6bc0;
}*/
[data-color-theme="dark"] .custom-tabs .nav-link.active {
    color: #fff;
}

[data-color-theme="customThemeOne"] .custom-tabs .nav-link.active {
    background-color: #0b108c;
    color: #fff;
}

[data-color-theme="customThemeTwo"] .custom-tabs .nav-link.active {
    background-color: #1f7a8c;
}

[data-color-theme="customThemeThree"] .custom-tabs .nav-link.active {
    background-color: #0b1e59;
    color: #fff;
}

.custom-tabs .tab-pane.active .card {
    border: 1px solid #d1d5db;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    box-shadow: none
}

.custom-tabs .tab-pane.active .card {
    box-shadow: 0 4px 6px rgba(0,0,0,.1); /* no top shadow */
    border-top: 0; /* avoid double line with nav-tabs */
}


#fullPageLoader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8); /* transparent white overlay */
    display: none; /* hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 2000; /* higher than navbar/cards */
}

    #fullPageLoader .loader-content .spinner-border {
        width: 4rem; /* make it bigger */
        height: 4rem; /* make it bigger */
    }

/*THE BELOW MEDIA QUERY CODE MUST STAY AT BOTTOM ONLY*/
@media (max-width:576px) {
    .h4, h4 {
        font-size: 0.85rem;
    }

    .h5, h5 {
        font-size: 0.85rem;
    }

    .form-select {
        --form-select-font-size: 0.75rem;
    }

    body {
        --body-font-size: 0.775rem;
    }
}


@media (max-width:768px) {
    .h4, h4 {
        font-size: 0.95rem;
    }

    .h5, h5 {
        font-size: 0.95rem;
    }

    .form-select {
        --form-select-font-size: 0.85rem;
    }

    body {
        --body-font-size: 0.825rem;
    }

    .custom-radius {
        border-top-left-radius: 6px !important;
        border-bottom-left-radius: 6px !important;
    }

    .custom-radius-tab {
        border-top-left-radius: 6px !important
    }

    .navbar-brand {
        font-size: 22px;
    }

    .space-resp {
        margin: 0 50px;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-brand {
        --navbar-brand-width: 340px;
    }

    .sidebar-expand-lg.sidebar-main-resized:not(.sidebar-collapsed):not(.sidebar-main-unfold) {
        --sidebar-width: 3rem;
    }

    .sidebar-expand-lg.sidebar-main-resized:not(.sidebar-collapsed) + * {
        margin-left: calc(var(--spacer) * 1.5 + var(--icon-font-size));
    }

    .custom-clock {
        min-width: 87px;
    }
}

.custom-drag-drop .list-group-item {
    background: #f1f1f1;
    border-radius: 5px;
    margin-bottom: 10px;
    cursor: move;
    border-color: #f1f1f1;
    padding-left: 10px;
}

#timeBadge.d-none, #dateBadge.d-none {
    display: none !important;
}

#timeBadge.d-block, #dateBadge.d-block {
    display: block !important;
}

@media (max-width: 991px) {
    #dateIcon,
    #timeIcon {
        cursor: pointer !important;
    }
}

@media (max-width: 400px) {
    .navbar .container-fluid {
        flex-wrap: nowrap;
        align-items: stretch;
    }

    .navbar .nav {
        flex-wrap: nowrap;
        width: 100%;
        justify-content: center;
    }
}

.select2-selection--single {
    min-height: 40px;
}

.btn-view-custom {
    padding: 3px 6px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    line-height: 14px;
    vertical-align: middle;
    margin: 3px 0;
}

    .btn-view-custom:hover {
        background-color: #0056b3;
    }

.module-cards .card-body {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 16px;
}

    .module-cards .card-body img {
        width: 48px;
        height: 48px;
        order: 1;
    }

.module-cards .card-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
    order: 0;
}

.edit-profile-block {
    /*background-color: #f5f5f5;*/
    padding: 16px 8px;
}

@media (max-width: 990px) {
    .edit-profile-block {
        margin-top: 16px;
        padding: 16px 8px;
    }

        .edit-profile-block .nav-link {
            padding: 6px;
            font-size: 12px;
        }
}

@media (min-width: 991px) {
    .edit-profile-block {
        padding: 34px 24px
    }
}

.edit-profile-block .col-form-label {
    font-size: 13px;
    font-weight: 500;
    text-align: right;
}

@media (max-width: 991px) {
    .edit-profile-block .col-form-label {
        text-align: left;
    }
}

.profile-pic-block {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.edit-profile-pic {
    padding: 16px 0;
    border-bottom: 1px solid #ddd;
}

    .edit-profile-pic img {
        width: 140px;
        height: 140px;
        border-radius: 50%;
    }

.edit-profile-pic-btn {
    display: flex;
    justify-content: center;
    border-top: 1px solid #ddd;
    /*padding-top: 10px*/
}

.edit-profile-block .nav-link {
    font-weight: 500;
}

    .edit-profile-block .nav-link.active {
        font-weight: 600;
        /*color: #000;*/
    }

.otp-timer {
    margin-left: 10px;
    color: red;
    font-weight: bold;
    background-color: transparent;
    border-color: transparent;
}

.text-break {
    display: inline-block;
    white-space: normal;
    word-break: break-word;
}

.added-profile-pic img {
    border-radius: 50%;
    height: 120px;
    width: 120px;
}

.change-password-options {
    display: flex;
    justify-content: center;
}

@media (max-width: 575px) {
    .change-password-options {
        flex-direction: column
    }
}

.custom-small-btn {
    height: 32px;
    line-height: 32px;
    font-size: 13px;
}

.profile-detail {
    background: #f5f5f5
}

.custom-btn-sm-ex {
    line-height: 14px;
    font-size: 12px;
    padding: 5px 9px;
    border-radius: 3px;
}

.no-right-radius {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.multiselect-custom-search-icon .multiselect-search.form-control {
    padding-left: 35px;
}

.btn-height-30 {
    font-size: 16px;
    height: 30px;
    line-height: 30px;
}

.same-height-block .card {
    width: 100%
}

.row-block {
    display: flex;
    justify-content: space-between
}

@media (max-width: 600px) {
    .row-block {
        flex-direction: column
    }

    .flex-column-row .row-block {
        flex-direction: row;
    }
}

.deviation-text {
    background-color: #fff;
    padding: 2px 5px;
    margin-top: 3px;
    color: #dc3545;
    border-radius: 4px;
}

.custom-form-control.form-control {
    padding: 3px 8px;
}


/* =========================
   MAIN HEADER
========================= */

.main-header {
    background: linear-gradient(to right, #8b4d5f, #6f4152);
    color: #fff;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid #ff7cb3;
}

.header-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    color: #8b4d5f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}

.header-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.header-subtitle {
    font-size: 16px;
    opacity: 0.95;
    margin-top: 2px;
}

.header-time {
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
}

.header-date {
    font-size: 14px;
    margin-top: 4px;
    opacity: 0.95;
}

.top-bar {
    background: #ff0066;
    color: #fff;
    padding: 10px 15px;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

    .top-bar small {
        float: right;
        font-size: 16px;
        font-weight: 500;
        margin-top: 8px;
    }

.stats-card {
    border: 4px solid #ff7cb3;
    overflow: hidden;
    background: #222;
}

.frequency-bar {
    background: #e6005c;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 8px 15px;
    border-top: 2px solid #ffb3d1;
    border-bottom: 2px solid #ffb3d1;
}

.demand-row {
    border-bottom: 4px solid #ff7cb3;
}

.left-panel {
    min-height: 130px;
    color: #fff;
    padding: 16px 12px;
}

.state-bg {
    background: #007a99;
}

.spdcl-bg {
    background: #00b3b3;
}

.npdcl-bg {
    background: #5a4038;
}

.demand-title {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 1px;
}

.logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: bold;
    font-size: 14px;
    margin-right: 12px;
    flex-shrink: 0;
}

    .header-logo img,
    .logo-circle img {
        max-width: 100%;
    }

.right-panel {
    padding: 0;
}

.stat-box {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.today-box {
    background: #00c8f0;
}

.yesterday-box {
    background: #f5a623;
}

.lastyear-box {
    background: #00a8d6;
}

.label {
    opacity: 0.95;
}

.value {
    font-weight: 700;
}

@media(max-width:576px) {
    .header-title {
        font-size: 22px;
    }

    .header-time {
        font-size: 20px;
    }

    .logo-circle {
        width: 40px;
        height: 40px;
    }

    .stats-card {
        width: 100%;
    }

    .demand-title {
        font-size: 18px;
        line-height: 22px;
    }

    .stat-box {
        font-size: 16px;
    }
}
/* =========================
       DEMAND SUMMARY TABLE
    ========================= */

.demand-summary-section {
    background: #6d7287;
    border-top: 4px solid #ff7cb3;
    color: #fff;
    font-size: 15px;
}

/* Top Heading */

.summary-header {
    border-bottom: 2px solid rgba(255,255,255,0.4);
}

.summary-title {
    background: #4b5168;
    padding-left: 15px;
    font-weight: 600;
    min-height: 60px;
    border-right: 1px solid rgba(255,255,255,0.3);
}

.summary-main-head {
    font-weight: 600;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.25);
}

.sub-head {
    font-size: 13px;
    padding: 5px 0;
    border-right: 1px solid rgba(255,255,255,0.15);
}

    .sub-head:last-child {
        border-right: none;
    }

/* Rows */
.summary-row {
    min-height: 38px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

    .summary-row:last-child {
        border-bottom: none;
    }

.demand-name {
    padding-left: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.value-cell {
    font-size: 14px;
    border-left: 1px solid rgba(255,255,255,0.12);
}

@media (max-width: 576px) {
    .resp-font h6,
    .resp-font .card-body,
    .resp-font table {
        font-size: 13px
    }

    .resp-font .card-header {
        padding: 6px 12px;
    }

    .resp-font .card-body {
        padding: 6px 12px;
    }
}

.fs-13px-imp {
    font-size: 13px !important
}

.card-bg-wrapper:nth-child(3n+1) .card-bg {
    background-color: #E3CBA6
}

.card-bg-wrapper:nth-child(3n+2) .card-bg {
    background-color: #DCBBF8
}

.card-bg-wrapper:nth-child(3n) .card-bg {
    background-color: #EBBDBD
}

.border-radius8 {
    border-radius: 8px;
}
table table thead,
table table thead th,
table table table thead,
table table table thead th {
    position: static !important;
}