

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    scroll-behavior: smooth;
    --body-font: "Open Sans", sans-serif;
    --heading-font: "Nunito", sans-serif;
    /* Default Primary Color */
    --base-color: #0d6efd;
    --base-color-hover: #0b5ed7;
    --base-color-active: #0a58ca;
    --base-color-rgb: 13, 110, 253;
    --base-color-soft: rgba(13, 110, 253, 0.12);
    --base-color-border: rgba(13, 110, 253, 0.25);
    --bg-color: #f6f9ff;
    --base-color-dark: #012970;
    /* Overriding Color */
    --bs-primary: var(--base-color);
    --bs-link-color: var(--base-color);
    --bs-link-hover-color: var(--base-color-hover);
    --bs-focus-ring-color: rgba(37,99,235,.25);
}

body {
    font-family: var(--body-font);
    background: var(--bg-color);
    color: #444444;
}

a {
  color: #4154f1;
  text-decoration: none;
}

a:hover {
  color: #717ff5;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
}

.btn-primary {
    --bs-btn-bg: var(--base-color);
    --bs-btn-border-color: var(--base-color);
    --bs-btn-hover-bg: var(--base-color-hover);
    --bs-btn-hover-border-color: var(--base-color-hover);
    --bs-btn-active-bg: var(--base-color-active);
    --bs-btn-active-border-color: var(--base-color-active);
    --bs-btn-disabled-bg: var(--base-color);
    --bs-btn-disabled-border-color: var(--base-color);
}
/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
  margin-top: 40px;
  padding: 20px 30px;
  transition: all 0.3s;
}
@media (max-width: 1199px) {
  #main {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
  margin-bottom: 10px;
}
.pagetitle h1 {
  font-size: 24px;
  margin-bottom: 0;
  font-weight: 600;
  color: var(--base-color-dark);
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #4154f1;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}
.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}
.back-to-top:hover {
  background: #6776f4;
  color: #fff;
}
.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
/*.dropdown-menu {
  border-radius: 4px;
  padding: 10px 0;
  -webkit-animation-name: dropdown-animate;
  animation-name: dropdown-animate;
  -webkit-animation-duration: 0.2s;
  animation-duration: 0.2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  border: 0;
  box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}*/
@media (max-width: 480px) {
  .dropdown-menu {
    width: 100vw !important;
  }
}
.dropdown-menu .dropdown-header, .dropdown-menu .dropdown-footer {
  text-align: center;
  font-size: 15px;
  padding: 10px 25px;
}
.dropdown-menu .dropdown-footer a {
  color: #444444;
  text-decoration: underline;
}
.dropdown-menu .dropdown-footer a:hover {
  text-decoration: none;
}
.dropdown-menu .dropdown-divider {
  color: #a5c5fe;
  margin: 0;
}
.dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}
.dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}
.dropdown-menu .dropdown-item:hover {
  background-color: #f6f9ff;
}

@media (min-width: 768px) {
  .dropdown-menu-arrow::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #fff;
    position: absolute;
    top: -7px;
    right: 20px;
    transform: rotate(45deg);
    border-top: 1px solid #eaedf1;
    border-left: 1px solid #eaedf1;
  }
}
@-webkit-keyframes dropdown-animate {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
  0% {
    opacity: 0;
  }
}
@keyframes dropdown-animate {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
  0% {
    opacity: 0;
  }
}
/* Light Backgrounds */
.bg-primary-light {
  background-color: #cfe2ff;
  border-color: #cfe2ff;
}

.bg-secondary-light {
  background-color: #e2e3e5;
  border-color: #e2e3e5;
}

.bg-success-light {
  background-color: #d1e7dd;
  border-color: #d1e7dd;
}

.bg-danger-light {
  background-color: #f8d7da;
  border-color: #f8d7da;
}

.bg-warning-light {
  background-color: #fff3cd;
  border-color: #fff3cd;
}

.bg-info-light {
  background-color: #cff4fc;
  border-color: #cff4fc;
}

.bg-dark-light {
  background-color: #d3d3d4;
  border-color: #d3d3d4;
}

/* Card */
.card {
  margin-bottom: 30px;
  border: none;
  border-radius: 5px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
  overflow: hidden;
}

.card-header, .card-footer {
  border-color: #ebeef4;
  background-color: #fff;
  color: #798eb3;
  padding: 15px;
}

.card-title {
  padding: 20px 0 15px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--base-color-dark);
  font-family: "Poppins", sans-serif;
}
.card-title span {
  color: #899bbd;
  font-size: 14px;
  font-weight: 400;
}

.card-body {
  padding: 0 20px 20px 20px;
}

.card-img-overlay {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
}

/* Close Button */
.btn-close {
  background-size: 25%;
}
.btn-close:focus {
  outline: 0;
  box-shadow: none;
}

/* Accordion */
.accordion-item {
  border: 1px solid #ebeef4;
}

.accordion-button:focus {
  outline: 0;
  box-shadow: none;
}
.accordion-button:not(.collapsed) {
  color: var(--base-color-dark);
  background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
  padding: 15px 0;
  background: none;
  border: 0;
}
.accordion-flush .accordion-button:not(.collapsed) {
  box-shadow: none;
  color: #4154f1;
}
.accordion-flush .accordion-body {
  padding: 0 0 15px 0;
  color: #3e4f6f;
  font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 14px;
  font-family: "Nunito", sans-serif;
  color: #899bbd;
  font-weight: 600;
}
.breadcrumb a {
  color: #899bbd;
  transition: 0.3s;
}
.breadcrumb a:hover {
  color: #51678f;
}
.breadcrumb .breadcrumb-item::before {
  color: #899bbd;
}
.breadcrumb .active {
  color: #51678f;
  font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
  border-bottom: 2px solid #ebeef4;
}
.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: #2c384e;
}
.nav-tabs-bordered .nav-link:hover, .nav-tabs-bordered .nav-link:focus {
  color: #4154f1;
}
.nav-tabs-bordered .nav-link.active {
  background-color: #fff;
  color: #4154f1;
  border-bottom: 2px solid #4154f1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
    line-height: 1;
    flex-shrink: 0;
}
/* Keep the original rule, but override its width only inside the header */
@media (min-width: 1200px) {
    .logo {
        width: 280px;
    }

    .header .logo {
        width: auto;
    }
}
.logo img {
    max-height: 26px;
    margin-right: 6px;
}
.logo span {
    font-size: 26px;
    font-weight: 700;
    color: var(--base-color-dark);
    font-family: "Nunito", sans-serif;
}

.header {
    transition: all 0.5s;
    z-index: 997;
    height: 45px;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
    padding-left: 20px;
    padding-right: 20px;
    /* Toggle Sidebar Button */
    /* Search Bar */
}
    /* Header left side: Logo + Menu + Company/Year */
    .header > .d-flex:first-child {
        min-width: 0;
        flex: 0 1 auto;
        gap: 0;
    }
    .header .toggle-sidebar-btn {
        font-size: 32px;
        padding-left: 10px;
        cursor: pointer;
        color: var(--base-color-dark);
        flex-shrink: 0;
        margin-left: 0;
    }
    /* Company / Year session name */
    .header .CompName {
        display: flex;
        align-items: center;
        min-width: 0;
        flex: 0 1 auto;
        margin-left: 8px;
        padding-left: 8px;
        border-left: 1px solid #e5e8eb;
        color: var(--base-color-dark);
        font-size: 16px;
        font-weight: 700;
        line-height: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header .search-bar {
        min-width: 360px;
        padding: 0 20px;
    }

@media (max-width: 1199px) {
    .header .search-bar {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        padding: 20px;
        box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
        background: white;
        z-index: 9999;
        transition: 0.3s;
        visibility: hidden;
        opacity: 0;
    }
    .header .search-bar-show {
        top: 60px;
        visibility: visible;
        opacity: 1;
    }
    .header .CompName {
        max-width: 45vw;
    }
}
.header .search-form {
    width: 100%;
}
    .header .search-form input {
        border: 0;
        font-size: 14px;
        color: var(--base-color-dark);
        border: 1px solid rgba(1, 41, 112, 0.2);
        padding: 7px 38px 7px 8px;
        border-radius: 3px;
        transition: 0.3s;
        width: 100%;
    }
        .header .search-form input:focus,
        .header .search-form input:hover {
            outline: none;
            box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
            border: 1px solid rgba(1, 41, 112, 0.3);
        }
    .header .search-form button {
        border: 0;
        padding: 0;
        margin-left: -30px;
        background: none;
    }
        .header .search-form button i {
            color: var(--base-color-dark);
        }

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
    list-style: none;
}
.header-nav > ul {
    margin: 0;
    padding: 0;
}
.header-nav .nav-icon {
    font-size: 20px;
    color: var(--base-color-dark);
}
.header-nav .nav-profile {
    color: var(--base-color-dark);
}
    .header-nav .nav-profile img {
        max-height: 36px;
    }
    .header-nav .nav-profile span {
        font-size: 14px;
        font-weight: 600;
    }
.header-nav .badge-number {
    position: absolute;
    inset: 4px 6px auto auto;
    font-weight: normal;
    font-size: 11px;
    padding: 3px 6px;
}
.header-nav .notifications .notification-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    transition: 0.3s;
}
    .header-nav .notifications .notification-item i {
        margin: 0 20px 0 10px;
        font-size: 24px;
    }
    .header-nav .notifications .notification-item h4 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 5px;
    }
    .header-nav .notifications .notification-item p {
        font-size: 13px;
        margin-bottom: 3px;
        color: #919191;
    }
    .header-nav .notifications .notification-item:hover {
        background-color: #f6f9ff;
    }
.header-nav .messages .message-item {
    padding: 15px 10px;
    transition: 0.3s;
}
    .header-nav .messages .message-item a {
        display: flex;
    }
    .header-nav .messages .message-item img {
        margin: 0 20px 0 10px;
        max-height: 40px;
    }
    .header-nav .messages .message-item h4 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 5px;
        color: #444444;
    }
    .header-nav .messages .message-item p {
        font-size: 13px;
        margin-bottom: 3px;
        color: #919191;
    }
    .header-nav .messages .message-item:hover {
        background-color: #f6f9ff;
    }
.header-nav .profile {
    min-width: 240px;
    padding-bottom: 0;
}
    .header-nav .profile .dropdown-header h6 {
        font-size: 18px;
        margin-bottom: 0;
        font-weight: 600;
        color: #444444;
    }
    .header-nav .profile .dropdown-header span {
        font-size: 14px;
    }
    .header-nav .profile .dropdown-item {
        font-size: 14px;
        padding: 10px 15px;
        transition: 0.3s;
    }
        .header-nav .profile .dropdown-item i {
            margin-right: 10px;
            font-size: 18px;
            line-height: 0;
        }
        .header-nav .profile .dropdown-item:hover {
            background-color: #f6f9ff;
        }

/*--------------------------------------------------------------
# Header Responsive
--------------------------------------------------------------*/

/* Tablet */
@media (max-width: 1199.98px) {

    .header {
        padding-left: 12px;
        padding-right: 12px;
    }

        .header .toggle-sidebar-btn {
            font-size: 28px;
            padding-left: 6px;
        }

        .header .CompName {
            margin-left: 7px;
            padding-left: 7px;
            font-size: 12px;
            max-width: 42vw;
        }

        .header .logo img {
            max-height: 24px;
            margin-right: 4px;
        }
}

/*--------------------------------------------------------------
# Mobile Header Fix
--------------------------------------------------------------*/
@media (max-width: 767.98px) {
    .header

{
    height: 45px;
    padding-left: 8px;
    padding-right: 8px;
}

/* Left side: Logo + Menu + Company/Year */
.header > .d-flex:first-child {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.header .logo {
    width: auto !important;
    flex: 0 0 auto;
}

    .header .logo img {
        max-height: 23px;
        margin-right: 2px;
    }

/* Menu button */
.header .toggle-sidebar-btn {
    flex: 0 0 auto;
    font-size: 27px;
    padding-left: 4px;
    margin-left: 2px;
}

/* Company + Year */
.header .CompName {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    margin-left: 5px;
    padding-left: 6px;
    font-size: 10px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Right side user */
.header-nav {
    flex: 0 0 auto;
    min-width: 70px;
    margin-left: 5px;
}

    .header-nav > ul {
        margin: 0;
        padding: 0;
    }

    .header-nav .nav-item {
        padding-right: 0 !important;
    }

    .header-nav .nav-profile {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding-right: 0 !important;
        white-space: nowrap;
    }

        /* SHOW username */
        .header-nav .nav-profile span {
            display: inline-block !important;
            width: auto;
            max-width: 70px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 11px;
            font-weight: 600;
        }

        /* Hide only Bootstrap's arrow */
        .header-nav .nav-profile .dropdown-toggle::after {
            display: none;
        }

    .header-nav .profile {
        min-width: 220px;
    }
}

/*--------------------------------------------------------------
# Very Small Mobile
--------------------------------------------------------------*/
@media (max-width: 400px) {

    .header {
        padding-left: 6px;
        padding-right: 6px;
    }

        .header .logo img {
            max-height: 22px;
        }

        .header .toggle-sidebar-btn {
            font-size: 25px;
            padding-left: 3px;
        }

        .header .CompName {
            margin-left: 4px;
            padding-left: 5px;
            font-size: 9px;
        }

    .header-nav {
        min-width: 62px;
        margin-left: 3px;
    }

        .header-nav .nav-profile span {
            display: inline-block !important;
            max-width: 55px;
            font-size: 10px;
        }
}

/*--------------------------------------------------------------
# Company / Session Name
--------------------------------------------------------------*/
.CompName {
    display: flex;
    align-items: center;
    min-width: 0;
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid #e5e8eb;
    color: var(--base-color-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header > .d-flex:first-child {
    min-width: 0;
    flex: 1 1 auto;
}

    .header > .d-flex:first-child .CompName {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }


/*--------------------------------------------------------------
# Header Responsive
--------------------------------------------------------------*/
@media (max-width: 1199.98px) {
    .header {
        padding-left: 12px;
        padding-right: 12px;
    }

        .header .toggle-sidebar-btn {
            font-size: 28px;
            padding-left: 8px;
        }

    .CompName {
        margin-left: 8px;
        padding-left: 8px;
        font-size: 12px;
    }

    .logo img {
        max-height: 24px;
        margin-right: 4px;
    }
}

@media (max-width: 767.98px) {
    .header {
        height: 45px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .logo {
        width: auto !important;
    }

        .logo img {
            max-height: 23px;
            margin-right: 3px;
        }

    .header .toggle-sidebar-btn {
        font-size: 27px;
        padding-left: 5px;
    }

    .CompName {
        max-width: calc(100vw - 150px);
        margin-left: 6px;
        padding-left: 7px;
        font-size: 10px;
        font-weight: 600;
    }

    .header-nav .nav-profile span {
        display: none;
    }

    .header-nav .nav-profile {
        padding-right: 0 !important;
    }

    .header-nav .profile {
        min-width: 220px;
    }
}

@media (max-width: 400px) {
    .CompName {
        max-width: calc(100vw - 125px);
        font-size: 9px;
    }

    .header .toggle-sidebar-btn {
        font-size: 25px;
    }
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
    position: fixed;
    top: 45px;
    left: 0;
    bottom: 0;
    width: 250px;
    z-index: 996;
    transition: all .25s ease;
    padding: 16px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    box-shadow: 8px 0 24px rgba(15,23,42,.04);
}

@media (max-width: 1199px) {
    .sidebar {
        left: -300px;
    }
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 20px;
}

    .sidebar::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

/*.sidebar::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #aab7cf;
}*/

@media (min-width: 1200px) {
    #main, #footer {
        margin-left: 250px;
    }
}

@media (max-width: 1199px) {
    .toggle-sidebar .sidebar {
        left: 0;
        box-shadow: 0 0 0 100vw rgba(15,23,42,.15), 12px 0 30px rgba(15,23,42,.18);
    }
}

@media (min-width: 1200px) {
    .toggle-sidebar #main, .toggle-sidebar #footer {
        margin-left: 0;
    }

    .toggle-sidebar .sidebar {
        left: -300px;
    }
}

.sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

    .sidebar-nav li {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .sidebar-nav .nav-item {
        margin-bottom: 5px;
    }

    .sidebar-nav .nav-heading {
        font-size: 11px;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--base-color-dark);
        font-weight: 700;
        margin: 18px 0 8px 12px;
        position: relative;
    }

        .sidebar-nav .nav-heading::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -6px;
            width: 28px;
            height: 2px;
            border-radius: 10px;
            background: var(--base-color-soft);
        }

    .sidebar-nav .nav-link {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 13px;
        font-weight: 600;
        color: var(--base-color-dark);
        background: transparent;
        padding: 11px 14px;
        border-radius: 10px;
        transition: all .2s ease;
        border: 1px solid transparent;
    }

        .sidebar-nav .nav-link i {
            font-size: 16px;
            color: #64748b;
            transition: all .2s ease;
        }

        .sidebar-nav .nav-link.collapsed {
            color: var(--base-color-dark);
            background: #fff;
        }

            .sidebar-nav .nav-link.collapsed i {
                color: #899bbd;
            }

        .sidebar-nav .nav-link:hover {
            background: var(--base-color-soft);
            color: var(--base-color-dark);
            border-color: var(--base-color-border);
            transform: translateX(3px) translateY(-1px);
        }

            .sidebar-nav .nav-link:hover i {
                color: var(--base-color-dark);
            }

        .sidebar-nav .nav-link .bi-chevron-down {
            margin-left: auto;
            margin-right: 0;
            font-size: 12px;
            transition: transform .25s ease;
        }

        .sidebar-nav .nav-link:not(.collapsed) {
            background: linear-gradient(90deg, var(--base-color), var(--base-color-hover));
            color: #fff;
            box-shadow: 0 4px 7px rgba(37,99,235,.18);
        }

            .sidebar-nav .nav-link:not(.collapsed) i {
                color: #fff;
            }
            /*            .sidebar-nav .nav-link:not(.collapsed)::before {
                content: "";
                width: 4px;
                height: 60%;
                border-radius: 10px;
                background: #fff;
                margin-right: 8px;
            }*/

            .sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
                transform: rotate(180deg);
            }

    .sidebar-nav .nav-content {
        margin-top: 4px;
        padding: 4px 0 4px 12px;
        border-left: 2px solid #e2e8f0;
    }

        .sidebar-nav .nav-content a {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            font-weight: 500;
            color: #64748b;
            padding: 8px 12px;
            border-radius: 8px;
            transition: all .2s ease;
            position: relative;
        }

            .sidebar-nav .nav-content a.active::before {
                content: "";
                position: absolute;
                left: -14px;
                top: 50%;
                transform: translateY(-50%);
                width: 3px;
                height: 18px;
                border-radius: 10px;
                background: var(--base-color-dark);
            }

            /*  .sidebar-nav .nav-content a i {
                font-size: 6px;
                margin-right: 8px;
                line-height: 0;
                border-radius: 50%;
            }*/

            .sidebar-nav .nav-content a i {
                font-size: 12px;
                color: var(--base-color);
                transition: all .2s ease;
            }

            .sidebar-nav .nav-content a:hover {
                background: var(--base-color-soft);
                color: var(--base-color-dark);
            }

            .sidebar-nav .nav-content a.active {
                background: var(--base-color-soft);
                color: var(--base-color-dark);
                font-weight: 600;
            }


                /*         .sidebar-nav .nav-content a.active i {
                background-color: #4154f1;
           }*/
                .sidebar-nav .nav-content a.active i {
                    color: var(--base-color-dark);
                }


/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
  position: absolute;
  right: 0px;
  top: 15px;
}
.dashboard .filter .icon {
  color: #aab7cf;
  padding-right: 20px;
  padding-bottom: 5px;
  transition: 0.3s;
  font-size: 16px;
}
.dashboard .filter .icon:hover, .dashboard .filter .icon:focus {
  color: #4154f1;
}
.dashboard .filter .dropdown-header {
  padding: 8px 15px;
}
.dashboard .filter .dropdown-header h6 {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #aab7cf;
  margin-bottom: 0;
  padding: 0;
}
.dashboard .filter .dropdown-item {
  padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
  padding-bottom: 10px;
}
.dashboard .info-card h6 {
  font-size: 28px;
  color: var(--base-color-dark);
  font-weight: 700;
  margin: 0;
  padding: 0;
}
.dashboard .card-icon {
  font-size: 32px;
  line-height: 0;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  flex-grow: 0;
}
.dashboard .sales-card .card-icon {
  color: #4154f1;
  background: #f6f6fe;
}
.dashboard .revenue-card .card-icon {
  color: #2eca6a;
  background: #e0f8e9;
}
.dashboard .customers-card .card-icon {
  color: #ff771d;
  background: #ffecdf;
}

.dashboard .total-card .card-icon {
    color: #4154f1;
    background: #f6f6fe;
}

.dashboard .pending-card .card-icon {
    color: #dc3545;
    background: #ffe5e8;
}

.dashboard .completed-card .card-icon {
    color: #2eca6a;
    background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
    color: #ff771d;
    background: #ffecdf;
}

.dashboard .total-card .card-icon {
    color: #4154f1;
    background: #f6f6fe;
}

.dashboard .pending-card .card-icon {
    color: #dc3545;
    background: #ffe5e8;
}

.dashboard .completed-card .card-icon {
    color: #2eca6a;
    background: #e0f8e9;
}

.total-card:hover {
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1), 0 4px 0 0 #4154F1;
}

.completed-card:hover {
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1), 0 4px 0 0 #2ECA6A;
}

.pending-card:hover {
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1), 0 4px 0 0 #DC3545;
}

.customers-card:hover {
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1), 0 4px 0 0 #ff771d;
}

/* Activity */
.dashboard .activity {
  font-size: 14px;
}
.dashboard .activity .activity-item .activite-label {
  color: #888;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 64px;
}
.dashboard .activity .activity-item .activite-label::before {
  content: "";
  position: absolute;
  right: -11px;
  width: 4px;
  top: 0;
  bottom: 0;
  background-color: #eceefe;
}
.dashboard .activity .activity-item .activity-badge {
  margin-top: 3px;
  z-index: 1;
  font-size: 11px;
  line-height: 0;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid #fff;
  flex-grow: 0;
}
.dashboard .activity .activity-item .activity-content {
  padding-left: 10px;
  padding-bottom: 20px;
}
.dashboard .activity .activity-item:first-child .activite-label::before {
  top: 5px;
}
.dashboard .activity .activity-item:last-child .activity-content {
  padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item + .post-item {
  margin-top: 15px;
}
.dashboard .news img {
  width: 80px;
  float: left;
  border-radius: 5px;
}
.dashboard .news h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
  margin-bottom: 5px;
}
.dashboard .news h4 a {
  color: var(--base-color-dark);
  transition: 0.3s;
}
.dashboard .news h4 a:hover {
  color: #4154f1;
}
.dashboard .news p {
  font-size: 14px;
  color: #777777;
  margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
  font-size: 14px;
}
.dashboard .recent-sales .table thead {
  background: #f6f6fe;
}
.dashboard .recent-sales .table thead th {
  border: 0;
}
.dashboard .recent-sales .dataTable-top {
  padding: 0 0 10px 0;
}
.dashboard .recent-sales .dataTable-bottom {
  padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
  font-size: 14px;
}
.dashboard .top-selling .table thead {
  background: #f6f6fe;
}
.dashboard .top-selling .table thead th {
  border: 0;
}
.dashboard .top-selling .table tbody td {
  vertical-align: middle;
}
.dashboard .top-selling img {
  border-radius: 5px;
  max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
  display: grid;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  padding-top: 15px;
}
.iconslist .icon {
  background-color: #fff;
  border-radius: 0.25rem;
  text-align: center;
  color: var(--base-color-dark);
  padding: 15px 0;
}
.iconslist i {
  margin: 0.25rem;
  font-size: 2.5rem;
}
.iconslist .label {
  font-family: var(--bs-font-monospace);
  display: inline-block;
  width: 100%;
  overflow: hidden;
  padding: 0.25rem;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
  max-width: 120px;
}
.profile .profile-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2c384e;
  margin: 10px 0 0 0;
}
.profile .profile-card h3 {
  font-size: 18px;
}
.profile .profile-card .social-links a {
  font-size: 20px;
  display: inline-block;
  color: rgba(1, 41, 112, 0.5);
  line-height: 0;
  margin-right: 10px;
  transition: 0.3s;
}
.profile .profile-card .social-links a:hover {
  color: var(--base-color-dark);
}
.profile .profile-overview .row {
  margin-bottom: 20px;
  font-size: 15px;
}
.profile .profile-overview .card-title {
  color: var(--base-color-dark);
}
.profile .profile-overview .label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}
.profile .profile-edit label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}
.profile .profile-edit img {
  max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
  font-size: 18px;
  font-weight: 600;
  color: #4154f1;
}
.faq .basic p {
  color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  padding: 28px 30px;
}
.contact .info-box i {
  font-size: 38px;
  line-height: 0;
  color: #4154f1;
}
.contact .info-box h3 {
  font-size: 20px;
  color: var(--base-color-dark);
  font-weight: 700;
  margin: 20px 0 10px 0;
}
.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
  padding: 30px;
}
.error-404 h1 {
  font-size: 180px;
  font-weight: 700;
  color: #4154f1;
  margin-bottom: 0;
  line-height: 150px;
}
.error-404 h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--base-color-dark);
  margin-bottom: 30px;
}
.error-404 .btn {
  background: #51678f;
  color: #fff;
  padding: 8px 30px;
}
.error-404 .btn:hover {
  background: #3e4f6f;
}
@media (min-width: 992px) {
  .error-404 img {
    max-width: 50%;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 20px 0;
  font-size: 14px;
  transition: all 0.3s;
  border-top: 1px solid #cddfff;
}
.footer .copyright {
  text-align: center;
  color: var(--base-color-dark);
}
.footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: var(--base-color-dark);
}

.CompName {
    margin-left: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--base-color-dark);
    font-family: var(--heading-font);
}
.hide{
    display:none;
}
.Show{
    display:block;
}
.form-check-input{
    height:20px;
    width:20px;
    /*margin-top:10px;*/
}

.RadiolableGroup {
    background-color: #fff;
    display: block;
    /*margin: 10px 0;*/
    position: relative;
}

    .RadiolableGroup label {
        padding: 12px 30px;
        width: 100%;
        display: block;
        text-align: left;
        color: #3c454c;
        cursor: pointer;
        position: relative;
        z-index: 2;
        transition: color 200ms ease-in;
        overflow: hidden;
    }

        .RadiolableGroup label:before {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            content: "";
            background-color: #5562eb;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%) scale3d(1, 1, 1);
            transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
            opacity: 0;
            z-index: -1;
        }

        .RadiolableGroup label:after {
            width: 32px;
            height: 32px;
            content: "";
            border: 2px solid #d1d7dc;
            background-color: #fff;
            background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.414 11L4 12.414l5.414 5.414L20.828 6.414 19.414 5l-10 10z' fill='%23fff' fill-rule='nonzero'/%3E%3C/svg%3E ");
            background-repeat: no-repeat;
            background-position: 2px 3px;
            border-radius: 50%;
            z-index: 2;
            position: absolute;
            right: 30px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            transition: all 200ms ease-in;
        }

    .RadiolableGroup input:checked ~ label {
        color: #fff;
    }

        .RadiolableGroup input:checked ~ label:before {
            transform: translate(-50%, -50%) scale3d(56, 56, 1);
            opacity: 1;
        }

        .RadiolableGroup input:checked ~ label:after {
            background-color: #54e0c7;
            border-color: #54e0c7;
        }

    .RadiolableGroup input {
        width: 32px;
        height: 32px;
        order: 1;
        z-index: 2;
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        visibility: hidden;
    }

#divDetailData {
    overflow: auto;
}
.text-right{
    text-align:right;
}

@media screen and (max-width: 768px) {
    th {
        font-size: 8px;
    }
    td {
        font-size: 8px;
    }
}

.smallfont {
    font-size: 10px;
}
.mediumfont {
    font-size: 12px;
}
.fontbold {
    font-weight: bold;
}

/*--------------------------------------------------------------
# Image section
--------------------------------------------------------------*/
.WebcamImageSize {
    height: 240px;
    width: auto;
}
/*--------------------------------------------------------------
# Light Card Backgrounds
--------------------------------------------------------------*/
.card-soft-blue {
    background: #f7fbff; /* ultra-light blue */
}

.card-soft-green {
    background: #f7fcf9; /* ultra-light green */
}

.card-soft-yellow {
    background: #fffbf0; /* very light cream yellow */
}

.card-soft-purple {
    background: #faf7ff; /* very light lavender */
}

.card-soft-pink {
    background: #fff7fa; /* very light rose */
}
.card-soft-blue,
.card-soft-green,
.card-soft-yellow,
.card-soft-purple,
.card-soft-pink {
    box-shadow: 0 6px 12px rgba(0,0,0,0.05);
    border-radius: 12px;
}
.badge-priority-low {
    background: #d1fae5;
    color: #065f46;
}

.badge-priority-intermediate {
    background: #fef9c3;
    color: #78350f;
}

.badge-priority-high {
    background: #fee2e2;
    color: #7f1d1d;
}

.badge-frequency {
    background: #e0e7ff;
    color: #3730a3;
}

/* Reminder / Upcoming */
.badge-reminder {
    background: #dcfce7;
    color: #166534;
}

/* Overdue / Alert */
.badge-overdue {
    background: #fee2e2;
    color: #7f1d1d;
}

/* In-Progress / Running */
.badge-progress {
    background: #fef9c3;
    color: #78350f;
}

/* Information / Neutral */
.badge-info-soft {
    background: #e0f2fe;
    color: #075985;
}

.badge-secondary-info {
    background: #FAF9F6;
    color: #7D7D7D;
}

.badge-completed {
    background: #d1fae5;
    color: #065f46;
}
/*--------------------------------------------------------------
# Tom Select dropdown
--------------------------------------------------------------*/
.ts-dropdown {
    position: absolute !important;
    z-index: 99999 !important;
}
.visible-overflow {
    overflow: visible !important;
}

/*--------------------------------------------------------------
# Light Card Backgrounds
--------------------------------------------------------------*/
.bgd-soft-blue {
    background: #f7fbff !important; /* ultra-light blue */
}

.bgd-soft-green {
    background: #f7fcf9 !important; /* ultra-light green */
}

.bgd-soft-yellow {
    background: #fffbf0 !important; /* very light cream yellow */
}

.bgd-soft-purple {
    background: #faf7ff !important; /* very light lavender */
}

.bgd-soft-pink {
    background: #fff7fa !important; /* very light rose */
}

input.bgd-soft-purple.form-control {
    background-color: #f3e8ff !important;
}

/*textarea.bgd-soft-purple.form-control,
select.bgd-soft-purple.form-control {
    background-color: #f3e8ff !important;
}*/

/* =========================
   USER FILTER BUTTONS
========================= */

.user-filter-btn {
    border-radius: 5px;
    font-size: 12px;
    padding: 4px 12px;
    transition: 0.2s;
}

    .user-filter-btn:hover {
        transform: translateY(-1px);
    }

/* =========================================
       CUSTOM BADGES
    ==========================================*/
/* Reminder / Success */
.modern-record-table .badge-reminder {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

/* Overdue / Danger */
.modern-record-table .badge-overdue {
    background: #fee2e2;
    color: #7f1d1d;
    border-color: #fecaca;
}

/* Primary / Lavender Inspired */
.modern-record-table .badge-info-primary {
    background: #eef2ff;
    color: #4f46e5;
    border-color: #c7d2fe;
}

/* Info */
.modern-record-table .badge-info-soft {
    background: #e0f2fe;
    color: #075985;
    border-color: #bae6fd;
}

/* Warning */
.modern-record-table .badge-warning-soft {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

/* Neutral */
.modern-record-table .badge-neutral {
    background: #f1f5f9;
    color: #334155;
    border-color: #dbe2ea;
}

/* Dark */
.modern-record-table .badge-dark-soft {
    background: #e2e8f0;
    color: #1e293b;
    border-color: #cbd5e1;
}

/* =========================================
       ACTION BUTTONS
    ==========================================*/

.modern-record-table .record-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

    .modern-record-table .record-actions .btn {
        border-radius: 5px;
        padding: 6px 12px;
        font-size: 13px;
        font-weight: 600;
    }

/* Dark */
.img-thumbnail-2 {
    width: 100px;
    height:75px;
    border: 1px solid gray;
    border-radius: 2px;
    padding:2px;
    float:right;
}

/* ==========================
   DATATABLES ENHANCED VIEW
========================== */
table.dataTable.compact {
    font-size: 13px;
}

    table.dataTable.compact thead th {
        background-color: var(--base-color-soft);
        color: var(--base-color-dark);
        font-size: 13px;
        font-weight: 900;
        border-bottom: none !important;
        padding: 7px 8px;
        white-space: nowrap;
    }

    table.dataTable.compact tbody td,
    table.dataTable.compact tbody th {
        font-size: 13px;
        font-weight: 600;
        padding: 4px 7px;
        vertical-align: middle;
    }

    table.dataTable.compact tbody tr:hover {
        background-color: var(--base-color-soft);
    }

    table.dataTable.compact thead th.sorting,
    table.dataTable.compact thead th.sorting_asc,
    table.dataTable.compact thead th.sorting_desc {
        color: #fff;
    }

/* ==========================
   ACCOUNT NAME CELL IN TABLE
========================== */
.acc-name-cell {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*=====================================================
    COMPACT FILTER PANEL
======================================================*/
.filter-panel {
    margin-bottom: 12px;
}
    /* Card */
    .filter-panel .card {
        border: none;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,.05);
        overflow: hidden;
    }

    .filter-panel .card-body {
        padding: .75rem .9rem;
    }

    /*----------------------------------------------------
    Dashboard Header
    ----------------------------------------------------*/
    .filter-panel .card-title {
        margin: 0;
        padding: 0;
        font-size: 1rem;
        font-weight: 600;
        color: var(--base-color-dark);
        line-height: 34px;
    }

    .filter-panel .card-body > .row:first-child {
        align-items: center;
        margin-bottom: .55rem;
    }

        .filter-panel .card-body > .row:first-child > .col-6:last-child,
        .filter-panel .card-body > .row:first-child > [class*="col-"]:last-child {
            display: flex;
            justify-content: flex-end;
            align-items: center;
        }

    /* remove Bootstrap spacing */
    .filter-panel .mt-3 {
        margin-top: 0 !important;
    }

    .filter-panel .mb-3 {
        margin-bottom: .6rem !important;
    }

    .filter-panel .mb-2 {
        margin-bottom: .45rem !important;
    }

    .filter-panel .row {
        --bs-gutter-y: .45rem;
    }

    /*----------------------------------------------------
    Labels
    -----------------------------------------------------*/
    .filter-panel label,
    .filter-panel .form-label,
    .filter-panel .col-form-label {
        margin-bottom: .2rem;
        padding-top: 0;
        padding-bottom: 0;
        font-size: .68rem;
        font-weight: 600;
        color: #6b7280;
        letter-spacing: .05em;
        text-transform: uppercase;
        line-height: 1.2;
    }
    /*----------------------------------------------------
    Controls
    -----------------------------------------------------*/
    .filter-panel .form-control,
    .filter-panel .form-select {
        height: 34px;
        min-height: 34px;
        padding: .28rem .65rem;
        font-size: .84rem;
        border-radius: 7px;
        border: 1px solid #d7dde5;
        box-shadow: none;
        transition: .18s;
    }
        .filter-panel .form-control:hover,
        .filter-panel .form-select:hover {
            border-color: var(--base-color-border);
        }

        .filter-panel .form-control:focus,
        .filter-panel .form-select:focus {
            border-color: var(--base-color);
            box-shadow: 0 0 0 .12rem var(--base-color-soft);
        }
    /*----------------------------------------------------
    Buttons
    -----------------------------------------------------*/
    .filter-panel .btn {
        min-height: 34px;
        height: auto;
        padding: 0 .9rem;
        border-radius: 7px;
        font-size: .83rem;
        font-weight: 600;
    }

    .filter-panel a.btn {
        min-height: 34px;
        height: auto;
        padding: 0 .9rem;
        border-radius: 7px;
        font-size: .83rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 34px;
        padding: 0 .9rem;
        line-height: 1;
    }
        .filter-panel .btn i {
            font-size: .9rem;
        }
        .filter-panel a.btn i {
            font-size: .9rem;
            /* display: flex;
            align-items: center;*/
        }

    /* Action button group */
    .filter-panel .d-flex.gap-2 {
        gap: .4rem !important;
    }
    .filter-panel .d-flex.gap-1 {
        gap: .25rem !important;
    }
    /*----------------------------------------------------
    Loading Button
    -----------------------------------------------------*/
    .filter-panel #Loading {
        width: 34px;
        min-width: 34px;
        padding: 0;
    }
    /*----------------------------------------------------
    Compact Rows
    -----------------------------------------------------*/
    .filter-panel .align-items-end > [class*="col-"] {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
        .filter-panel .align-items-end > [class*="col-"] > .btn {
            align-self: flex-start;
        }
    /*----------------------------------------------------
    Remove last spacing
----------------------------------------------------*/
    .filter-panel form:last-child {
        margin-bottom: 0;
    }
    /*----------------------------------------------------
    Input Group (Date Picker)
-----------------------------------------------------*/
    .filter-panel .input-group {
        height: 34px;
    }
    .filter-panel .input-group-text {
        height: 34px;
        padding: 0 .75rem;
        font-size: .85rem;
        background: #f8f9fa;
        border: 1px solid #d7dde5;
        border-right: 0;
        border-radius: 7px 0 0 7px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .filter-panel .input-group .form-control {
        height: 34px;
        min-height: 34px;
        border-radius: 0 7px 7px 0;
        border-left: 0;
        box-shadow: none;
    }

        .filter-panel .input-group .form-control:focus {
            border-color: var(--base-color);
            box-shadow: none;
        }

    .filter-panel .input-group:focus-within .input-group-text {
        border-color: var(--base-color);
    }

/* SEARCH BAR */
.grid-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

    .grid-toolbar .grid-left {
        display: flex;
        gap: 8px;
    }

    .grid-toolbar .grid-right {
        width: 260px;
    }

    .grid-toolbar .grid-search {
        width: 100%;
        height: 34px;
        border: 1px solid #dfe5ec;
        border-radius: 8px;
        padding: 0 12px;
        font-size: 13px;
        transition: .2s;
    }

        .grid-toolbar .grid-search:focus {
            outline: none;
            border-color: #5b8def;
            box-shadow: 0 0 0 3px rgba(91,141,239,.12);
        }

    .grid-toolbar .grid-select {
        height: 34px;
        border: 1px solid #dfe5ec;
        border-radius: 8px;
        padding: 0 12px;
        font-size: 13px;
        background: #fff;
    }

        .grid-toolbar .grid-select:focus {
            outline: none;
        }

.rate-warning {

    background: #ffe5e5 !important;
    border-color: #dc3545;
}

.month-column {
    min-width: 200px;
    width: 200px;
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
}

.month-column small {
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.month-valuee {
    min-width: 200px;
    width: 200px;
    white-space: nowrap;
    text-align: right;
}

/* =========================================================
       GENERIC MANAGEMENT TABLE
       Reusable for Project / Expense / Fund Transfer
       ========================================================= */

.mgmt-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 7px;
    font-size: 13px;
}

    .mgmt-table thead th {
        border: 0;
        padding: 7px 14px;
        color: #6c757d;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .45px;
        background: transparent;
    }

    .mgmt-table tbody tr {
        background: #fff;
        transition: all .18s ease;
    }

/*        .mgmt-table tbody tr:hover {
            transform: translateY(-1px);
        }*/

    .mgmt-table tbody td,
    .mgmt-table tbody th {
        border-top: 1px solid #edf0f2;
        border-bottom: 1px solid #edf0f2;
        padding: 11px 14px;
        vertical-align: middle;
        background: white;
    }

/*        .mgmt-table tbody td:first-child,
        .mgmt-table tbody th:first-child {
            border-left: 1px solid #edf0f2;
            border-radius: 8px 0 0 8px;
        }

        .mgmt-table tbody td:last-child {
            border-right: 1px solid #edf0f2;
            border-radius: 0 8px 8px 0;
        }*/


/* =========================================================
       PROJECT COLUMN
       ========================================================= */

.mgmt-project {
    min-width: 210px;
    width: 22%;
}

.mgmt-project-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mgmt-project-index {
    width: 30px;
    height: 30px;
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: var(--base-color-soft);
    color: var(--base-color-dark);
    font-size: 11px;
    font-weight: 700;
}

.mgmt-project-info {
    min-width: 0;
}

.mgmt-project-name {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 5px;
    background: #f0f6eb;
    color: #568b29;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

.mgmt-project-label {
    display: block;
    margin-top: 2px;
    color: #9aa1a7;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .35px;
}

.mgmt-manager {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    color: var(--base-color-dark);
    font-size: 10px;
    font-weight: 700;
}

    .mgmt-manager i {
        color: #7a838b;
        font-size: 10px;
    }


/* =========================================================
       DESCRIPTION COLUMN
       ========================================================= */

.mgmt-description {
    width: auto;
}

.mgmt-description-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
    gap: 4px 25px;
}

.mgmt-info-group {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    line-height: 1.35;
}

.mgmt-info-icon {
    width: 23px;
    min-width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--base-color-soft);
    color: var(--base-color-dark);
    font-size: 11px;
}

.mgmt-info-content {
    min-width: 0;
}

.mgmt-info-label {
    color: var(--base-color-dark);
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .35px;
    margin-right: 5px;
}

.mgmt-info-value {
    color: var(--base-color);
    font-size: 11px;
    font-weight: 700;
}

.mgmt-budget {
    color: var(--base-color-dark);
    font-weight: 700;
}


/* =========================================================
       STATUS
       ========================================================= */

.mgmt-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 20px;
    background: var(--base-color-dark);
    color: white;
    font-size: 10px;
    font-weight: 700;
}

.mgmt-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

.mgmt-status.inactive {
    background: #f5f5f5;
    color: #858585;
}

    .mgmt-status.inactive .mgmt-status-dot {
        background: #aaa;
    }


/* =========================================================
       ACTION COLUMN
       ========================================================= */

.mgmt-action {
    width: 110px;
    min-width: 110px;
    text-align: center;
}

.mgmt-action-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.mgmt-action-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid #e5e8ea;
    border-radius: 7px;
    background: var(--base-color-soft);
    color: var(--base-color-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .15s ease;
}

    .mgmt-action-btn:hover {
        background: var(--base-color-dark);
        /*border-color: white ;*/
        color: white;
    }

    .mgmt-action-btn.delete {
        border: 1px solid #f0d7d7;
        background: #fff4f4;
        color: #d9534f;
    }
        .mgmt-action-btn.delete:hover {
            background: #dc3545;
            border-color: #f0d7d7;
            color: white;
        }

.mgmt-add-funds-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}

.mgmt-action-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.mgmt-add-funds-btn {
    width: 88px;
    height: 29px;
    padding: 0 8px;
    border: 1px solid #dce8d2;
    border-radius: 7px;
    background: #f0f6eb;
    color: #568b29;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all .15s ease;
}

    .mgmt-add-funds-btn:hover {
        background: #e5efdd;
        border-color: #c9ddb9;
        color: #4d8025;
    }

    .mgmt-add-funds-btn i {
        font-size: 12px;
    }

.mgmt-remarks {
    margin-top: 3px;
    padding: 2px 2px;
    background: #fff9e8;
    border-left: 3px solid #b08a3e;
    border-radius: 4px;
    color: #5f4b25;
    text-align: left;
}

.mgmt-remarks-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: 7px;
    color: #80672f;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    vertical-align: baseline;
    white-space: nowrap;
}

    .mgmt-remarks-label i {
        font-size: 10px;
    }

.mgmt-remarks-text {
    display: inline;
    color: #51421f;
    font-size: 11px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

/* =========================================================
       RESPONSIVE
       ========================================================= */
@media (max-width: 991.98px) {
    .mgmt-description-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .mgmt-project {
        min-width: 180px;
    }
}

/* =========================================================
   GENERIC MANAGEMENT TABLE - MOBILE
   Project / Expense / Fund Transfer
   PC CSS remains completely unchanged
   ========================================================= */
@media (max-width: 767.98px) {
/* -----------------------------------------------------
    TABLE
    ----------------------------------------------------- */
    .mgmt-table
    {
        width: 100% !important;
        min-width: 0 !important;
        display: block;
        border-spacing: 0;
        font-size: 11px;
    }

.mgmt-table-wrapper {
    width: 100%;
    overflow-x: hidden;
}

.mgmt-table thead {
    display: none;
}

.mgmt-table tbody {
    display: block;
    width: 100%;
}

    /* -----------------------------------------------------
       EACH ROW BECOMES A MOBILE CARD
       ----------------------------------------------------- */

    .mgmt-table tbody tr {
        display: grid;
        /*
           Project:
           Project | Description | Action
           On mobile the Project and Description occupy
           the complete card, while Action stays on right.
        */
        grid-template-columns: minmax(0, 1fr) 48px;
        grid-template-areas:
            "project action"
            "description action";
        width: 100%;
        min-width: 0;
        margin-bottom: 8px;
        padding: 9px 8px;
        border: 1px solid var(--base-color-border);
        border-radius: 8px;
        background: #fff;
        box-sizing: border-box;
    }

    /* -----------------------------------------------------
       RESET TABLE CELL BEHAVIOUR
       ----------------------------------------------------- */
    .mgmt-table tbody th,
    .mgmt-table tbody td {
        min-width: 0 !important;
        width: auto !important;
        border: 0 !important;
        padding: 0 !important;
        background: transparent;
        vertical-align: middle;
    }
/* -----------------------------------------------------
       PROJECT COLUMN
       ----------------------------------------------------- */
.mgmt-table .mgmt-project {
    grid-area: project;
    min-width: 0 !important;
    width: auto !important;
    padding-right: 6px !important;
    align-self: center;
}
.mgmt-table .mgmt-project-wrap {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    width: 100%;
    min-width: 0;
}
.mgmt-table .mgmt-project-index {
    width: 25px;
    min-width: 25px;
    height: 25px;
    border-radius: 6px;
    font-size: 9px;
}
.mgmt-table .mgmt-project-info {
    min-width: 0;
    flex: 1;
}
.mgmt-table .mgmt-project-name {
    max-width: 100%;
    padding: 3px 6px;
    font-size: 10px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.mgmt-table .mgmt-project-label {
    margin-top: 1px;
    font-size: 8px;
    letter-spacing: .3px;
}
/* -----------------------------------------------------
       MANAGER
       ----------------------------------------------------- */
.mgmt-table .mgmt-manager {
    margin-top: 3px;
    gap: 4px;
    font-size: 9px;
}
    .mgmt-table .mgmt-manager i {
        font-size: 9px;
    }

/* -----------------------------------------------------
       DESCRIPTION
       ----------------------------------------------------- */
.mgmt-table .mgmt-description {
    grid-area: description;
    min-width: 0 !important;
    width: auto !important;
    padding-top: 7px !important;
    padding-right: 6px !important;
}
.mgmt-table .mgmt-description-grid {
    display: grid;
    /*
           Keep two columns wherever possible.
           This makes the mobile information compact.
        */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4px 8px;
    width: 100%;
    min-width: 0;
}
/* -----------------------------------------------------
       INFORMATION GROUP
       ----------------------------------------------------- */
.mgmt-table .mgmt-info-group {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    line-height: 1.25;
}
.mgmt-table .mgmt-info-icon {
    width: 20px;
    min-width: 20px;
    height: 20px;
    border-radius: 5px;
    font-size: 9px;
}
.mgmt-table .mgmt-info-content {
    min-width: 0;
    overflow: hidden;
}
.mgmt-table .mgmt-info-label {
    display: block;
    margin-right: 0;
    font-size: 7px;
    line-height: 1.15;
    letter-spacing: .25px;
}
.mgmt-table .mgmt-info-value {
    display: block;
    max-width: 100%;
    font-size: 9px;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.mgmt-table .mgmt-budget {
    font-size: 9px;
}

/* -----------------------------------------------------
       STATUS
       ----------------------------------------------------- */
.mgmt-table .mgmt-status {
    display: inline-flex;
    max-width: 100%;
    padding: 2px 6px;
    font-size: 8px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.mgmt-table .mgmt-status-dot {
    width: 5px;
    min-width: 5px;
    height: 5px;
}
/* -----------------------------------------------------
       ACTION COLUMN
       ----------------------------------------------------- */
.mgmt-table .mgmt-action {
    grid-area: action;
    width: auto !important;
    min-width: 0 !important;
    align-self: center;
    padding-left: 4px !important;
    text-align: center;
}

.mgmt-table .mgmt-action-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
}

.mgmt-table .mgmt-action-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.mgmt-table .mgmt-action-btn {
    width: 27px;
    height: 27px;
    min-width: 27px;
    border-radius: 6px;
    font-size: 10px;
}
/* -----------------------------------------------------
       ADD FUNDS / ACCEPT BUTTON
       ----------------------------------------------------- */
.mgmt-table .mgmt-add-funds-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}
.mgmt-table .mgmt-add-funds-btn {
    width: 42px;
    height: auto;
    min-height: 27px;
    padding: 4px 3px;
    flex-direction: column;
    gap: 2px;
    border-radius: 6px;
    font-size: 7px;
    line-height: 1.1;
    text-align: center;
}

    .mgmt-table .mgmt-add-funds-btn i {
        font-size: 11px;
    }
/* -----------------------------------------------------
       REMARKS
       ----------------------------------------------------- */
.mgmt-table .mgmt-remarks {
    margin-top: 4px;
    padding: 3px 4px;
    line-height: 1.3;
}

.mgmt-table .mgmt-remarks-label {
    gap: 3px;
    margin-right: 4px;
    font-size: 7px;
}

    .mgmt-table .mgmt-remarks-label i {
        font-size: 8px;
    }

.mgmt-table .mgmt-remarks-text {
    font-size: 9px;
}

}
/* =========================================================
   VERY SMALL PHONES
   ========================================================= */
@media (max-width: 400px) {

    .mgmt-table tbody tr {
        grid-template-columns: minmax(0, 1fr) 43px;
        padding: 8px 6px;
    }

    .mgmt-table .mgmt-project-wrap {
        gap: 5px;
    }

    .mgmt-table .mgmt-project-index {
        width: 23px;
        min-width: 23px;
        height: 23px;
        font-size: 8px;
    }

    .mgmt-table .mgmt-project-name {
        font-size: 9px;
    }

    .mgmt-table .mgmt-description-grid {
        gap: 4px 5px;
    }

    .mgmt-table .mgmt-info-icon {
        width: 18px;
        min-width: 18px;
        height: 18px;
        font-size: 8px;
    }

    .mgmt-table .mgmt-info-label {
        font-size: 6.5px;
    }

    .mgmt-table .mgmt-info-value {
        font-size: 8px;
    }

    .mgmt-table .mgmt-action-btn {
        width: 25px;
        height: 25px;
        min-width: 25px;
        font-size: 9px;
    }

    .mgmt-table .mgmt-add-funds-btn {
        width: 38px;
        min-height: 25px;
        font-size: 6.5px;
    }
}

/* =========================================================
   GENERIC SUMMARY CARDS
   Reusable for Project / Expense / Fund Transfer
   ========================================================= */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-bottom: 14px;
}

.summary-card {
    min-height: 82px;
    height: 82px;
    padding: 14px 16px;
    border: 1px solid #edf0f2;
    border-radius: 10px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    transition: transform .18s ease, box-shadow .18s ease;
}

    .summary-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 16px rgba(0, 0, 0, .06);
    }

.summary-card-content {
    min-width: 0;
}

.summary-card-label {
    display: block;
    margin-bottom: 4px;
    color: #8a9299;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .45px;
}

.summary-card-value {
    display: block;
    color: #303840;
    font-size: 22px;
    font-weight: 750;
    line-height: 1;
}

.summary-card-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 18px;
}

/* Card 1 - Blue */
.summary-card-one .summary-card-icon {
    background: #eef4fa;
    color: #477da9;
}

/* Card 2 - Green */
.summary-card-two .summary-card-icon {
    background: #f0f6eb;
    color: #639334;
}

/* Card 3 - Brown / Gold */
.summary-card-three .summary-card-icon {
    background: #f7f2e8;
    color: #a27b3c;
}

/* Card 4 - Purple / Slate */
.summary-card-four .summary-card-icon {
    background: #f1eff7;
    color: #7567a5;
}

@media (max-width: 991.98px) {
    .summary-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .summary-cards {
        grid-template-columns: repeat(4, minmax(160px, 1fr));
        overflow-x: auto;
        padding-bottom: 3px;
    }

    .summary-card {
        min-width: 160px;
    }
}

/* =========================================================
   SELF TRANSFER SPECIFIC CSS
   ========================================================= */
.self-transfer-projects {
    display: flex;
    align-items: center;
    gap: 14px;
}

.self-transfer-project {
    display: flex;
    flex-direction: column;
}

.self-transfer-label {
    color: #888;
    font-size: 11px;
    margin-bottom: 2px;
}

.self-transfer-project-name {
    font-weight: 600;
    font-size: 13px;
}

    .self-transfer-project-name i {
        margin-right: 4px;
    }

.self-transfer-arrow {
    font-size: 18px;
    color: var(--base-color);
}

@media (max-width: 768px) {
    .self-transfer-projects {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .self-transfer-arrow {
        transform: rotate(90deg);
        margin-left: 5px;
    }
}

/* ================================
   DASHBOARD
================================ */
.dashboard-wrapper {
    width: 100%;
}

/* ================================
   FILTER
================================ */

.dashboard-filter-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}


/* ================================
   SUMMARY CARDS
================================ */

.dashboard-summary-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    color: var(--base-color-dark);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
    transition: all .2s ease;
}

    .dashboard-summary-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 18px rgba(0,0,0,.07);
    }

.dashboard-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 10px;
    background: var(--base-color-soft);
    color: var(--base-color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.dashboard-card-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

    .dashboard-card-content span {
        color: #777;
        font-size: 13px;
    }

    .dashboard-card-content strong {
        color: #222;
        font-size: 21px;
    }


/* ================================
   SECTION CARD
================================ */

.dashboard-section-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 20px;
}

.dashboard-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

    .dashboard-section-header h5 {
        margin: 0;
        font-size: 17px;
        font-weight: 600;
        color: #222;
    }

    .dashboard-section-header span {
        display: block;
        margin-top: 3px;
        font-size: 12px;
        color: #888;
    }


/* ================================
   MANAGER CARD
================================ */

.manager-dashboard-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    transition: all .2s ease;
}

    .manager-dashboard-card:hover,
    .manager-dashboard-card.active {
        border-color: var(--base-color);
        box-shadow: 0 5px 16px rgba(0,0,0,.07);
        transform: translateY(-2px);
    }

.manager-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.manager-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.manager-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--base-color-soft);
    color: var(--base-color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.manager-name {
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

.manager-project-count {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.manager-arrow {
    color: #aaa;
}

.manager-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #eee;
    margin-top: 15px;
    padding-top: 13px;
    gap: 10px;
}

    .manager-card-stats div {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .manager-card-stats span {
        font-size: 11px;
        color: #888;
    }

    .manager-card-stats strong {
        font-size: 13px;
        color: #333;
    }


/* ================================
   PROJECT CARD
================================ */

.project-dashboard-card {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    transition: all .2s ease;
}

    .project-dashboard-card:hover,
    .project-dashboard-card.active {
        border-color: var(--base-color);
        box-shadow: 0 5px 16px rgba(0,0,0,.07);
        transform: translateY(-2px);
    }

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
    .project-card-header i {
        color: #aaa;
    }

.project-name {
    font-weight: 600;
    font-size: 15px;
}

.project-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-add-funds-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--base-color);
    background: var(--base-color-soft);
    color: var(--base-color-dark);
    border-radius: 6px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
}

    .project-add-funds-btn:hover {
        background: var(--base-color-dark);
        color: #fff;
    }

    .project-add-funds-btn i {
        color: var(--base-color-dark);
        font-size: 13px;
    }
    .project-add-funds-btn i:hover {
        color: #fff;
    }

.project-card-arrow {
    color: #aaa;
}

.project-card-header small {
    color: #888;
    font-size: 12px;
}

.project-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    border-top: 1px solid #eee;
    margin-top: 15px;
    padding-top: 13px;
}

    .project-card-stats span {
        display: block;
        color: #888;
        font-size: 11px;
    }

    .project-card-stats strong {
        font-size: 13px;
    }


/* ================================
   TABLE
================================ */
.dashboard-table {
    margin-bottom: 0;
}

    .dashboard-table thead th {
        background: #f7f8f9;
        color: #666;
        font-size: 12px;
        font-weight: 600;
        white-space: nowrap;
        border-bottom: 1px solid #e5e5e5;
    }

    .dashboard-table tbody td {
        font-size: 13px;
        vertical-align: middle;
        padding: 11px 10px;
    }

    .dashboard-table tbody tr:last-child td {
        border-bottom: 0;
    }

/* ================================
   EMPTY STATE
================================ */
.dashboard-empty-state {
    padding: 30px;
    text-align: center;
    color: #888;
    font-size: 13px;
}

/* ================================
   VIEW ALL
================================ */
.dashboard-view-all {
    color: #7ab33e;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}
    .dashboard-view-all:hover {
        color: #63952f;
    }

/* ================================
   MOBILE
================================ */
@media (max-width: 767px) {

    .dashboard-section-card {
        padding: 14px;
    }

    .dashboard-summary-card {
        padding: 15px;
    }

    .manager-card-stats,
    .project-card-stats {
        grid-template-columns: 1fr;
    }
}

/*--------------------------------------------------------------
# Expense Category List MOBILE STYLES
--------------------------------------------------------------*/
@media (max-width: 767.98px) {
    .expense-category-table

{
    display: block;
    width: 100% !important;
}

.expense-category-table thead {
    display: none;
}

.expense-category-table tbody {
    display: block;
    width: 100%;
}

    .expense-category-table tbody tr {
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr) 52px;
        grid-template-areas:
            "index category action"
            "index description action";
        width: 100%;
        margin-bottom: 8px;
        padding: 10px 8px;
        border: 1px solid var(--base-color-border);
        border-radius: 8px;
        background: #fff;
        box-sizing: border-box;
    }

    .expense-category-table tbody th,
    .expense-category-table tbody td {
        border: 0 !important;
        padding: 0 !important;
        vertical-align: middle;
    }

.expense-category-table .category-index {
    grid-area: index;
    padding-top: 3px !important;
    padding-right: 5px !important;
    color: var(--base-color-dark);
    opacity: .55;
    font-size: 10px;
    font-weight: 700;
    text-align: left;
    vertical-align: top;
}

.expense-category-table .category-name {
    grid-area: category;
    min-width: 0;
    padding-left: 4px !important;
    padding-right: 6px !important;
    color: var(--base-color-dark);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}

.expense-category-table .category-description {
    grid-area: description;
    min-width: 0;
    padding-top: 4px !important;
    padding-left: 4px !important;
    padding-right: 6px !important;
    color: var(--base-color-dark);
    opacity: .65;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.expense-category-table .category-action {
    grid-area: action;
    width: auto;
    align-self: center;
    text-align: center;
}

/*
        Mobile only:
        Buttons remain vertical.
        Nothing here affects desktop.
    */
.expense-category-table .category-action-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

    .expense-category-table .category-action-wrap form {
        margin: 0;
        line-height: 1;
    }

    .expense-category-table .category-action-wrap .btn {
        padding: 0;
    }

    .expense-category-table .category-action-wrap .badge {
        width: 27px;
        height: 27px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        background-color: var(--base-color) !important;
    }

        .expense-category-table .category-action-wrap .badge i {
            font-size: 11px;
        }

}

/*--------------------------------------------------------------
# Expense Category List SMALL MOBILE STYLES
--------------------------------------------------------------*/
@media (max-width: 400px) {

    .expense-category-table tbody tr {
        grid-template-columns: 24px minmax(0, 1fr) 48px;
        padding: 9px 7px;
    }

    .expense-category-table .category-index {
        padding-right: 4px !important;
    }

    .expense-category-table .category-name {
        padding-left: 4px !important;
        font-size: 10px;
    }

    .expense-category-table .category-description {
        padding-left: 4px !important;
        font-size: 9px;
    }

    .expense-category-table .category-action-wrap .badge {
        width: 25px;
        height: 25px;
    }
}

/* =========================================================
   FUND TRANSFER POPUP SELECT
   Responsive select width for modal forms
   ========================================================= */
.ft-popup-select {
    width: 100% !important;
    max-width: 350px;
    min-width: 0;
    box-sizing: border-box;
}
/* Tablet */
@media (max-width: 991.98px) {
    .ft-popup-select {
        max-width: 100%;
    }
}
/* Mobile */
@media (max-width: 767.98px) {
    .ft-popup-select {
        width: 100% !important;
        max-width: 100%;
    }
}

/* ===============================
   OVERRIDING BOOTSTRAP COLORS FOR THEME
   =============================== */
.btn-primary {
    background: var(--base-color) !important;
    border-color: var(--base-color) !important;
    color: #fff !important;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background: var(--base-color-hover) !important;
        border-color: var(--base-color-hover) !important;
    }

    .btn-primary:active,
    .btn-primary.active {
        background: var(--base-color-active) !important;
        border-color: var(--base-color-active) !important;
    }

/* Background */
.bg-primary {
    background: var(--base-color) !important;
}

/* Text */
.text-primary {
    color: var(--base-color) !important;
}

/* Border */
.border-primary {
    border-color: var(--base-color) !important;
}

/* Links */
a {
    color: var(--base-color);
}

    a:hover {
        color: var(--base-color-hover);
    }

/* Outline Button */
.btn-outline-primary {
    color: var(--base-color);
    border-color: var(--base-color);
}

    .btn-outline-primary:hover {
        background: var(--base-color);
        border-color: var(--base-color);
        color: #fff;
    }

.form-control:focus {
    border-color: var(--base-color-soft);
    box-shadow: 0 0 0 0.25rem rgba(var(--base-color-rgb), 0.25);
}

.form-check-input:checked {
    background-color: var(--base-color) !important;
    border-color: var(--base-color) !important;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--base-color-rgb), 0.25);
}

/*.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--base-color);
    color: #fff;
}

.select2-container--default .select2-selection--single:focus {
    border-color: var(--base-color);
}*/

.btn:disabled,
.btn.disabled {
    background-color: var(--base-color) !important;
    border-color: var(--base-color) !important;
    opacity: 0.6;
}

table.dataTable tr.dtrg-group {
    background: linear-gradient(90deg, var(--base-color), var(--base-color-hover));
    color: #fff;
    font-weight: bold;
    /* color: #333; */
}
/* ===============================
   OVERRIDING BOOTSTRAP COLORS FOR THEME END
   =============================== */

