@import "../fonts/css/awesome.css";
@import "../fonts/css/icomoon.css";

.sidebar-dark-purple .sidebar-left {
    background: #222 !important;
}

body #LoginPanel .card.o-hidden .auth-logo img {
    max-width: 150px !important;
    width: auto !important;
    height: auto !important;
}

.csform .card.o-hidden {
    max-width: 400px;
    float: right;
    width: 100%;
}

.csform .card.o-hidden {
    border-radius: 0;
    border: 0px solid #bf202f;
    color: #fff;
    position: relative;
    overflow: inherit;
    /*background: #212121;*/
    box-shadow: 0 2px 15px 0px rgb(0 0 0 / 7%);
    z-index: 2;
    border-left: 11px solid #67bcdb;
}

    .csform .card.o-hidden:before,
    .csform .card.o-hidden:after {
        content: '';
        height: 97%;
        position: absolute;
        top: 6px;
        left: 6px;
        right: 6px;
        bottom: 6px;
        border: 1px dashed #67bcdb;
    }

::before {
}

.csform .card.o-hidden:before {
}

.csform h1 {
    color: #6e3249;
    font-size: 24px;
}

.csform .form-group label {
    color: #c0bdbd;
    padding-right: 0 !important;
    font-size: 14px;
    white-space: nowrap;
}

.csform .form-group input {
    border-radius: 0px;
    background: rgb(110 48 71 / 0%);
    height: 45px;
    /*color: #fff;*/
    /*border: 2px solid #454444;*/
    font-size: 14px;
    background: transparent;
    transition: 0.2s;
    padding: 15px;
}

.csform button.btn.btn-rounded.btn-primary {
    margin-top: 40px !important;
    border-radius: 0 !important;
    max-width: 100px;
}

div#smartwizard {
    padding: 23px;
}

.bg-gradient {
    background: #C9D6FF;
    background: -webkit-linear-gradient(to right, #E2E2E2, #C9D6FF);
    background: linear-gradient(to right, #E2E2E2, #C9D6FF);
}

ul li {
    /*margin-bottom: 1.4rem;*/
}

.pricing-divider {
    border-radius: 20px;
    background: #C64545;
    padding: 1em 0 4em;
    position: relative;
}

.blue .pricing-divider {
    background: #2D5772;
}

.green .pricing-divider {
    background: #1AA85C;
}

.red b {
    color: #C64545
}

.blue b {
    color: #2D5772
}

.green b {
    color: #1AA85C
}

.pricing-divider-img {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
}

.deco-layer {
    -webkit-transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
}

.btn-custom {
    background: #C64545;
    color: #fff;
    border-radius: 20px
}

.img-float {
    width: 50px;
    position: absolute;
    top: -3.5rem;
    right: 1rem
}

.auth-content.csform {
    width: 100%;
    max-width: 100%;
    right: 10%;
    position: relative;
}

.princing-item {
    transition: all 150ms ease-out;
    padding: 20px 15px;
    background: transparent !important;
}

    .princing-item:hover {
        transform: scale(1.05);
    }

        .princing-item:hover .deco-layer--1 {
            -webkit-transform: translate3d(15px, 0, 0);
            transform: translate3d(15px, 0, 0);
        }

        .princing-item:hover .deco-layer--2 {
            -webkit-transform: translate3d(-15px, 0, 0);
            transform: translate3d(-15px, 0, 0);
        }

.auth-layout-wrap.fromcst:after {
    content: '';
    background: rgb(0 0 0 / 25%);
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
}

.auth-content.csform {
    z-index: 999;
}

.csform .form-group .form-control:focus {
    border-color: #67bcdb;
    box-shadow: none;
    border: 2px solid #67bcdb;
}

.btn-toolbar.sw-toolbar.sw-toolbar-bottom.justify-content-end {
    display: none;
}

.princing-item.blue .btn-custom {
    background: #2d5772;
}

.princing-item.green .btn-custom {
    background: #1aa85c;
}

.sw-theme-dots > ul.step-anchor > li.active > a:after {
    background: #bf202f;
}

.sw-theme-dots > ul.step-anchor > li > a:before {
    color: #bf202f;
}

.sw-theme-default > ul.step-anchor > li.active > a {
    color: #bf202f !important;
}

.princing-item .text-light {
    color: #fff !important;
}

.display-2.my-0 {
    margin-bottom: 30px !important;
}

.toplinks {
    float: right;
    display: flex;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

ul.toplinks li {
    margin-bottom: 0;
    font-size: 16px;
    margin-left: 7px;
}

button.border-zero {
    border: 0;
}

.app-footer {
    margin-top: 2rem;
    background: #212121;
    padding: 2px 10px 12px 30px;
    position: fixed;
    right: 0;
    bottom: 0px;
    color: white;
    /*background-color: red;
    text-align: center;*/
    z-index: 999;
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
    width: 100%;
    transition: all 0.3s ease;
}

@media only screen and (max-width: 1024px) and (min-width: 768px) {
    .princing-item {
        padding: 10px 8px;
    }

    .display-2.my-0 {
        font-size: 4em
    }
}

@media only screen and (max-width: 767px) and (min-width: 320px) {
    .princing-item {
        padding: 10px 8px;
    }

    .display-2.my-0 {
        font-size: 4em
    }

    #smartwizard .row.m-auto.text-center {
        display: block;
    }

    #smartwizard .col-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    div#smartwizard {
        padding: 23px 10px;
    }
}

@media only screen and (max-width: 600px) {
    body {
        background-color: lightblue;
    }

    .auth-content.csform {
        right: 0%;
    }
}

.nav-tabs {
    display: none;
}

@media (min-width: 768px) {
    .nav-tabs {
        display: flex;
    }

    .card {
        border: none;
    }

        .card .card-header {
            display: none;
        }

        .card .collapse {
            display: block;
        }
}

@media (max-width: 767px) {
    .tab-content > .tab-pane {
        display: block !important;
        opacity: 1;
    }
}

ul.btn-links {
    text-align: right;
    margin-bottom: 0;
}

    ul.btn-links li {
        display: inline-block;
        vertical-align: middle;
        margin-left: 1px;
        margin-bottom: 0;
    }

.btn.theme-btn {
    background: #67bcdb;
    border-radius: 0px;
    color: #212121;
}

.btn {
    padding: 5px 10px 3px;
}

div#login-form-controls .btn {
    background: #67bcdb;
    border-radius: 0;
    line-height: 40px;
    padding: 5px 20px;
    box-shadow: none;
    color: #fff;
    border: 0;
    font-size: 17px;
}

    div#login-form-controls .btn:hover {
        /*background: #454444;*/
        /*color: #67bcdb;*/
    }

.btn.greenbg {
    background: #48903d;
}

.btn.blackbg {
    background: #333;
}

.btn-links .dropdown-menu.show {
    display: block;
    transform: translate(0) !important;
    top: 50px !important;
}

.custom-tabs .tab-content {
    padding: 0;
}

    .custom-tabs .tab-content .card {
        border-radius: 0;
    }

.card-body .collapse:not(.show) {
    display: none !important;
}

.card-body h3 {
    background: #67bcdb;
    padding: 6px 15px;
    margin: 0px 0 10px;
    background: #212121;
}

.card-body .collapse {
    margin-bottom: 40px;
    margin-top: 20px;
}

.card-header.block {
    display: block !important;
}

.profile-cstm {
    background: #fff;
    margin-bottom: 20px;
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 20px 1px rgba(0, 0, 0, .06), 0 1px 4px rgba(0, 0, 0, .08);
}

    .profile-cstm .profile-info {
        max-width: 150px;
        position: relative;
        width: 100%;
        margin-right: 20px;
        float: left;
    }

.social-info {
    display: inline-block;
    vertical-align: top;
    margin-left: 0px;
    float: left;
    width: 100%;
    border-right: 1px solid #ffffff;
    padding-right: 0px;
    margin-bottom: 10px;
}

    .social-info ul li {
    }

.profile-cstm .profile-info input {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    background: #dce0e4;
    width: 100%;
    font-size: 11px;
}

.social-info h5 {
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 10px;
}

.card-header h5 > a {
    display: block;
}

.card-header[role="tab"] {
    background: #fff;
    margin-bottom: 13px;
}

.main-content-wrap {
    background: #f1f3f6;
    padding: 1em 1em 0;
}

.headingbg {
    border-bottom: 1px solid #212121;
    background: #212121;
    padding: 13px 20px;
    margin-bottom: 30px;
    position: relative;
}

    .headingbg:after {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        left: 0;
        top: 0;
        border-style: solid;
        border-width: 0px 0px 25px 25px;
        border-color: transparent #cd1f1f00 #bf202f00 #67bcdb;
    }

    .headingbg .breadcrumb {
        margin-bottom: 0;
        margin-top: 3px;
    }

.breadcrumb h1 {
    color: #ffffff;
}

.btn.theme-btn i {
    margin-right: 5px;
}

.profile-cstm .profile-info form {
    position: relative;
}

    .profile-cstm .profile-info form input {
        position: absolute;
        z-index: 99;
        width: 50px;
        height: 46px;
        right: 0;
        bottom: 10px;
        opacity: 0;
    }

.profile-cstm i.nav-icon.i-Administrator {
    position: absolute;
    z-index: 9;
    background: #4242449e;
    color: #f8f9fa;
    font-size: 25px;
    text-align: center;
    padding: 4px 8px;
    margin-top: 0;
    left: 4px;
    bottom: 12px;
}

.profile-cstm .profile-info form img {
    border-radius: 0;
    margin-bottom: 1px;
}

.profile-box.cstm.profile .social-info ul {
    padding-left: 0;
    margin-bottom: 0
}

    .profile-box.cstm.profile .social-info ul li {
        margin-bottom: 0;
        display: inline-block;
        width: 90px;
        line-height: 33px;
        border-bottom: 0px dashed #ccc;
    }

        .profile-box.cstm.profile .social-info ul li:nth-child(2n) {
            width: calc(100% - 100px);
            background: #efefef;
        }

.profile-box.cstm.profile {
    display: flex;
    margin-bottom: -20px;
    flex-wrap: wrap;
}

.card {
    border-radius: 0;
}

.height100 {
    height: 100%;
}

.headtitl {
    font-size: 20px;
    margin-bottom: 0;
}

    .headtitl strong {
        color: #9d474f;
    }

.card-body h3.headtitl {
    padding: 7px 0 7px 0;
    margin-bottom: 0;
    color: #fff;
    font-size: 16px;
}

.card-body {
    padding: 1rem;
}

.container-tabs.custom-tabs {
    margin-top: 2em;
}

.custom-tabs .tab-content {
    position: relative;
}

    .custom-tabs .tab-content:after {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        left: 0;
        top: 0;
        border-style: solid;
        border-width: 0px 0px 25px 25px;
        border-color: transparent #cd1f1f00 #bf202f00 #67bcdb;
    }

.nav-tabs {
    border-bottom: 0;
}

    .nav-tabs .nav-item .nav-link.active {
        border: 1px solid transparent;
        background: #67bcdb;
        border-color: #67bcdb #67bcdb #fff;
        color: #212121;
    }

    .nav-tabs .nav-item .nav-link {
        padding: 0.7rem 1rem;
        border-radius: 0;
        background: #efefef;
    }

        .nav-tabs .nav-item .nav-link:hover {
            background: #212121;
            border-color: #212121 #212121 #212121;
            color: #ffff;
        }

.layout-sidebar-large .sidebar-left .navigation-left .nav-item {
    margin-bottom: 0;
}

    .layout-sidebar-large .sidebar-left .navigation-left .nav-item .nav-item-hold {
        padding: 15px 0;
    }

    .layout-sidebar-large .sidebar-left .navigation-left .nav-item .triangle {
        position: absolute;
        width: 0;
        height: 0;
        right: 0;
        bottom: 0;
        border-style: solid;
        border-width: 0 0 30px 30px;
        border-color: transparent transparent transparent;
    }

    .layout-sidebar-large .sidebar-left .navigation-left .nav-item.active, .layout-sidebar-large .sidebar-left .navigation-left .nav-item.active .nav-item-hold {
        color: #332e38;
    }

        .layout-sidebar-large .sidebar-left .navigation-left .nav-item.active .triangle {
            border-color: transparent transparent transparent;
        }

    .layout-sidebar-large .sidebar-left .navigation-left .nav-item:hover .nav-item-hold, .layout-sidebar-large .sidebar-left .navigation-left .nav-item.menu-active .nav-item-hold {
        color: #9d474f;
    }

    .layout-sidebar-large .sidebar-left .navigation-left .nav-item:hover .triangle, .layout-sidebar-large .sidebar-left .navigation-left .nav-item.menu-active .triangle {
        color: #9d474f;
        border-color: transparent transparent #9d474f;
    }

ul.btn-links {
    padding-left: 0;
    margin-left: 0;
}

.table-cs .container-fluid {
    /*  padding-right: 0;
    padding-left: 0;*/
}

.color-box {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 5px;
}

.legend {
    font-weight: bold
    /*text-align: center;*/
}

div#scroll_horizontal_vertical_table_filter {
    display: none !important;
}

/* Table Grid Listing */
div#SearchListing_filter {
    display: none !important;
}

div#GridListingA_filter {
    display: none !important;
}

div#GridListingB_filter {
    display: none !important;
}

div#GridListingC_filter {
    display: none !important;
}

div#GridListingD_filter {
    display: none !important;
}

div#GridListingE_filter {
    display: none !important;
}

div#GridListingF_filter {
    display: none !important;
}

div#GridListingG_filter {
    display: none !important;
}

div#GridListingH_filter {
    display: none !important;
}

div#GridListingI_filter {
    display: none !important;
}

div#GridListingJ_filter {
    display: none !important;
}

div#GridListingK_filter {
    display: none !important;
}

div#GridListingL_filter {
    display: none !important;
}

div#GridListingM_filter {
    display: none !important;
}

div#GridListingN_filter {
    display: none !important;
}

div#GridListingO_filter {
    display: none !important;
}

div#GridListingP_filter {
    display: none !important;
}

div#GridListingQ_filter {
    display: none !important;
}

div#GridListingR_filter {
    display: none !important;
}

div#GridListingS_filter {
    display: none !important;
}

div#GridListingT_filter {
    display: none !important;
}

div#GridListingU_filter {
    display: none !important;
}

div#GridListingV_filter {
    display: none !important;
}

div#GridListingW_filter {
    display: none !important;
}

div#GridListingX_filter {
    display: none !important;
}

div#GridListingY_filter {
    display: none !important;
}

div#GridListingZ_filter {
    display: none !important;
}

.card-body .cstmaccordtion .collapse {
    margin-top: 0px;
    margin-bottom: 0;
}

.cstmaccordtion .card .card-header {
    display: block;
    min-height: 45px;
    background: #67bcdb;
    color: #333;
}

    .cstmaccordtion .card .card-header h6 a {
        color: #111;
    }

.cstmaccordtion.accordion .ul-collapse__right-icon a:before {
    right: 50%;
}

.cstmaccordtion.accordion .ul-collapse__right-icon a:after {
    content: "Search Criteria";
    margin: 0 40px 0 0;
    float: right;
    position: absolute;
    right: 50%;
}

@media only screen and (max-width: 1365px) and (min-width: 320px) {
    ul.btn-links li {
        margin-bottom: 4px;
    }
}

@media only screen and (max-width: 1199px) and (min-width: 320px) {
    .social-info {
        border: 0;
    }

    .fullwidth1199 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hide1199 {
        display: none;
    }

    .profile-cstm .profile-info {
        max-width: 130px;
        margin-right: 20px;
    }
}

@media only screen and (max-width: 767px) and (min-width: 320px) {
    .breadcrumb h1 {
        margin: 0 0px 15px;
    }

    .profile-cstm .profile-info {
        max-width: 100px;
        margin-right: 0px;
        float: none;
    }

    .social-info {
        float: none;
        display: block;
        padding-top: 20px;
    }

    .profile-box.cstm.profile {
        display: block
    }

    .card-header[role="tab"] a[aria-expanded="true"]:after {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        left: 0;
        top: 0;
        border-style: solid;
        border-width: 0px 0px 25px 25px;
        border-color: transparent #cd1f1f00 #bf202f00 #9d474f;
    }

    .custom-tabs .tab-content:after {
        display: none;
    }

    .card-header h5 > a {
        color: #333
    }

    .card-header[role="tab"] a[aria-expanded="true"] {
        color: #bf202f;
    }
}

.rightside {
    left: auto !important;
    right: 0 !important;
}

.profile-box.cstm.profile .social-info ul li:nth-child(odd) {
    /* font-weight: 700; */
}

.social-info .btn {
    padding: 0px 5px;
    font-size: 10px;
    width: auto;
    height: 21px;
    line-height: 20px;
    background: #424244;
}

.border-r-zero {
    border-radius: 0;
    line-height: 4px;
}

.height100 {
    margin-bottom: 0;
}

.sidebar-left-secondary .childNav li.nav-item.open > .submenu li {
    margin-bottom: 0;
}

.padding-left .collapse {
    padding-left: 10px;
}

.switchheight {
    margin-top: 42px;
}

.inlin-btn {
    display: flex;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

    .inlin-btn li {
        margin-bottom: 0;
        margin-right: 5px;
    }

    .inlin-btn label.switch {
        margin-top: 6px;
    }

.sub-heading {
    font-weight: bold;
    color: #000000 !important;
    font-size: 16px !important;
}

.profilecstm-txt {
    box-shadow: none;
}

.cstm-modal {
}

.cstm-modal {
}

    .cstm-modal .modal-header h5 {
        font-size: 20px;
    }

    .cstm-modal .modal-header {
        background: #f7f7f7;
        padding: 10px;
        margin: 0px 0 10px;
    }

.headtitl strong {
    color: #212121;
}

.formgroup {
    margin-bottom: 10px;
}

.profile-box.cstm.profile .active {
    background: #9d474f;
    border-color: #9d474f;
    color: #fff;
}


table.table-bordered.dataTable th {
    font-size: 15px;
    color: #212121;
}

.cstm-modal {
    left: 50%;
    transform: translateX(-50%);
}

    .cstm-modal.modal .modal-dialog {
        transform: translate(0, 0);
        overflow: auto;
        height: 100%;
    }

    .cstm-modal.modal {
        overflow-x: hidden;
        overflow-y: hidden !important;
    }

.curcusr {
    cursor: pointer;
}

.themeclr {
    background-color: #9d474f;
    border-color: #9d474f;
}


.theme-clr .page-item.active .page-link {
    background-color: #9d474f;
    border-color: #9d474f;
}

.blackclr .page-item.active .page-link {
    background-color: #424244;
    border-color: #424244;
}

.dataTables_length {
    display: none;
}

.radiobtn {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

    .radiobtn li {
        display: inline-block;
        margin-bottom: 9px;
    }

.table td {
    padding: 0.30rem !important;
    /*vertical-align: inherit !important;*/
    /*max-width: 100px;*/
    /*overflow: hidden;*/
    /*text-overflow: ellipsis;*/
    /* white-space: nowrap; */
    /*position: relative;*/
    font-size: 14px;
}


@media (min-width: 576px) {
   /* .modal-dialog {
        max-width: 98% !important;
        margin: 1.75rem auto;
    }*/

    /*.modal-dialog {
        max-width: 95vw;*/ /* 95% of the viewport width */
        /*width: 95vw;*/ /* Explicitly set the width to be 95% of the viewport width */
        /*height: 95vh;*/ /* 95% of the viewport height */
        /*margin: auto;*/ /* Center the modal */
        /*position: relative;*/ /* To ensure proper centering */
        /*display: flex;*/ /* Using flex to center the content inside the modal */
        /*align-items: center;*/ /* Align items vertically center */
        /*justify-content: center;*/ /* Align items horizontally center */
    /*}

    .modal-dialog-centered::before {
        content: '';*/ /* Ensure this is not affecting layout if not necessary */
        /*display: none;
    }

    .modal-sm {
        max-width: 95vw;
        width: 95vw;*/ /* Adjust this as well if you want small modals also to take 95% width */
    /*}*/
}

.mega-menu .dropdown-menu .bg-img {
    background: #67bcdb !important;
}

.profile-cstm .profile-info {
    margin-bottom: 22px;
    letter-spacing: -3px;
}

.profile-cstm i.nav-icon.i-Upload,
.profile-cstm i.nav-icon.i-Administrator {
    position: relative;
    z-index: 9;
    background: #212121;
    color: #fcd724;
    font-size: 25px;
    text-align: center;
    padding: 8px 8px;
    margin-top: 0;
    left: 0px;
    bottom: 0px;
    width: 100%;
    display: inline-block;
    margin: 0 -0.5px 0 0;
}

.profile-cstm i.nav-icon.i-Upload {
    right: 0;
    left: auto;
    border-left: 1px solid #ffffff;
}

.imgbg {
    background-size: cover !important;
    background-position: center !important;
    border-radius: 5px 5px 0 0;
    min-height: 140px;
    overflow: hidden;
    max-height: 140px;
}

.section-loader {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    z-index: 9;
    height: 100%;
    width: 100%;
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}

    .lds-ring div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 64px;
        height: 64px;
        margin: 8px;
        border: 8px solid #9d474f;
        border-radius: 50%;
        animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: #9d474f transparent transparent transparent;
    }

        .lds-ring div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .lds-ring div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .lds-ring div:nth-child(3) {
            animation-delay: -0.15s;
        }

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.input-btn,
.submit-btn {
    width: 50%;
    display: inline-block;
    position: relative;
}

.profile-cstm .profile-info form {
    position: relative;
    letter-spacing: -4px;
}

.btn-popver {
    background: transparent;
    border: 0;
}

.input-validation-error {
    border: red 1px solid;
}


/*calender*/


.fc-timeline .fc-head .fc-time-area .fc-cell-content {
    border-bottom: 1px solid #ddd;
}

span.date-row {
}

.date-row a.plus_button {
    float: right;
}

.day-row {
    padding: 0px 8px 2px;
}

    .day-row i.fa.fa-tasks.task_button {
        float: right;
    }

.fc-cell-content span.fc-cell-text {
    position: relative;
}

    .fc-cell-content span.fc-cell-text .form-check {
        opacity: 0;
        position: absolute;
        left: 25px;
        top: 20px;
        transition: all 0.3s ease;
        padding-left: 0;
    }

.fc-cell-content:hover span.fc-cell-text .form-check {
    opacity: 1;
    left: -29px;
    z-index: 999;
}

.fc-cell-content span.fc-cell-text .media {
    float: left;
    transition: all 0.3s ease;
    display: initial;
    align-items: normal;
}

.fc-cell-content span.fc-cell-text .content {
    overflow: hidden;
    padding-left: 10px;
    padding-right: 16px;
}

.fc-cell-content span.fc-cell-text .media img {
    max-width: 60px;
    border-radius: 60px;
}

.fc-cell-content:hover span.fc-cell-text .media {
    opacity: 0;
}

.fc-cell-content {
    position: relative;
    max-width: 350px;
    width: 100%;
    font-size: 12.5px;
    font-weight: 400;
}

    .fc-cell-content i.fa.fa-ellipsis-v {
        position: absolute;
        top: 50%;
        right: 4px;
        margin-top: -10px;
    }

.fc-timeline .fc-divider {
    display: none;
}

.fc table {
    font-size: 13px;
}

.fc-ltr .fc-timeline-event {
    border-radius: 2px;
}

.green-bg {
    background: #3e6542 !important;
    color: #fff !important;
}

.yellow-bg {
    background: #e6dc11 !important;
    color: #000 !important;
}

.brown-bg {
    background: #402f1b !important;
    color: #fff !important;
}

.themeclr-bg {
    background: #bf202f !important;
    color: #fff !important;
}

.fc-ltr .fc-timeline-event {
    margin-left: 5px;
    margin-top: 5px;
}


.fc-timeline .fc-head .fc-time-area .fc-cell-content {
    border-bottom: 1px solid #ddd;
}

span.date-row {
    padding: 0px 7px;
    display: inline-block;
}

.date-row a.plus_button {
    float: right;
}

.day-row {
    text-align: left;
    float: right;
}

    .day-row i.fa.fa-tasks.task_button {
        float: right;
    }

.fc-toolbar.fc-header-toolbar button {
    background: transparent;
    color: #424244;
}

.fc-myTodayButton-button {
    background: transparent !important;
    border: 0;
}


.mrg-zero {
    margin-left: -1px !important;
    border-radius: 0 2px 2px 0;
}

.current-tab {
    background: #137413 !important;
    border-radius: 2px 0 0 2px;
    color: #fff !important;
    margin-right: -4px;
    border-color: #9d474f !important;
}


.fc-toolbar.fc-header-toolbar {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 20px 30px 0;
}

    .fc-toolbar.fc-header-toolbar button {
        border: 1px solid #ccc;
        border-radius: 2px;
        color: #374767;
        padding: 4px 10px;
        font-size: 13px;
        transition: all 0.3s ease;
        cursor: pointer;
    }

        .fc-toolbar.fc-header-toolbar button:hover {
            background: #9d474f;
            color: #fff !important;
            border-color: #9d474f;
        }

button.fc-myTodayButton-button {
    border: 0 !important;
    position: relative;
    top: -10px;
}

.fc-toolbar.fc-header-toolbar button svg {
    width: 14px;
    height: 16px;
}

.head-cs {
    margin: 0 -12px;
    line-height: 10px;
    list-style: none;
    padding: 0;
    font-size: 12px;
}

    .head-cs li {
        border-bottom: 1px solid #ccc;
        padding-bottom: 10px;
        margin-bottom: 8px;
    }

        .head-cs li:last-child {
            padding: 0;
            border: 0;
            margin-bottom: 0;
        }

    .head-cs i {
        color: #9d474f;
    }


.fc-toolbar.fc-header-toolbar button:hover a {
    color: #fff;
}

.calendar-cs {
    table-layout: fixed;
    border: 0;
    /* overflow: inherit !important; */
}


    .calendar-cs .badge {
        position: absolute;
        top: 5px;
        height: calc(100% - 10px);
        width: calc(100% - 10px);
        left: 5px;
        text-align: left;
        padding: 11px;
        border-radius: 0;
        border-right: 0px dotted #fff;
    }


/*calendar end*/


/**
 * Tooltip Styles
 */

/* Add this attribute to the element that needs a tooltip */
[data-tooltip] {
    position: relative;
    z-index: 2;
    cursor: pointer;
}

    /* Hide the tooltip content by default */
    [data-tooltip]:before,
    [data-tooltip]:after {
        visibility: hidden;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
        opacity: 0;
        pointer-events: none;
    }

    /* Position tooltip above the element */
    [data-tooltip]:before {
        position: absolute;
        bottom: 110%;
        left: 50%;
        margin-bottom: 5px;
        margin-left: -80px;
        padding: 7px;
        width: 160px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        background-color: #000;
        background-color: hsla(0, 0%, 20%, 0.9);
        color: #fff;
        content: attr(data-tooltip);
        text-align: center;
        font-size: 14px;
        line-height: 1.2;
        white-space: normal;
    }

    /* Triangle hack to make tooltip look like a speech bubble */
    [data-tooltip]:after {
        position: absolute;
        bottom: 110%;
        left: 50%;
        margin-left: -5px;
        width: 0;
        border-top: 5px solid #000;
        border-top: 5px solid hsla(0, 0%, 20%, 0.9);
        border-right: 5px solid transparent;
        border-left: 5px solid transparent;
        content: " ";
        font-size: 0;
        line-height: 0;
    }

    /* Show tooltip content on hover */
    [data-tooltip]:hover:before,
    [data-tooltip]:hover:after {
        visibility: visible;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
        filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
        opacity: 1;
    }

.calendar-cs .badge a {
    color: #fff;
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 10px;
    top: 0;
    left: 0;
    line-height: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    max-width: 100%;
}

.guard_name {
    min-width: 120px;
}

ul.full-bg {
    display: flex;
    padding-left: 0;
    flex-wrap: nowrap;
    margin-bottom: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    z-index: 0;
}

    ul.full-bg li {
        position: relative;
        list-style: none;
    }

    ul.full-bg li {
        width: 100%;
        margin-bottom: 0;
    }


@media only screen and (max-width: 1365px) and (min-width: 320px) {

    .profile-box.cstm.profile .social-info ul li {
        width: 155px;
    }

        .profile-box.cstm.profile .social-info ul li:nth-child(2n) {
            width: calc(100% - 160px);
        }

    .profile-cstm .col-sm-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


@media only screen and (max-width: 991px) and (min-width: 320px) {


    .profile-cstm .col-sm-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .profile-box.cstm.profile {
        display: block;
    }

    div#guard-profile-info,
    .profile-cstm .profile-info {
        max-width: 100%;
        margin-right: 20px;
        float: none;
    }
}

.fromcst video {
    display: none;
}

.fromcst.vedio {
    background-image: none !important;
}

    .fromcst.vedio video {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        position: fixed;
        right: 0;
        bottom: 0;
        min-width: 100%;
        min-height: 100%;
    }

.show-forgotPassword-model-view {
    background: transparent;
    border: 0;
    float: left;
    color: #c0bdbd;
    padding: 0;
}

.f-right {
    float: right;
}

.csform .form-group input[type="checkbox"] {
    height: auto;
}

button#aws-login {
    background: rgb(28 31 54 / 68%);
    border-radius: 0;
    padding: 14px 20px;
    width: 100%;
    margin: 0px 0px 0px;
    border: 0;
    border-bottom: 20px solid rgb(110 50 73 / 79%);
}

    button#aws-login:hover {
        background: #552b41;
        box-shadow: none;
        border-color: #137413;
    }

.switch .slider:before {
    background-color: #575758;
}

.switch .slider {
    background-color: #959595b8;
}

.switch-primary input:checked + .slider {
    background-color: #333043 !important;
}

.card-icon [class^="i-"], .card-icon .lead {
    color: #1c1f33 !important;
}

.text-primary {
    color: #1c1f33 !important;
}

.csform .card.o-hidden .p-4 {
    padding-bottom: 0 !important;
    position: relative;
    z-index: 99;
}

div#login-form-controls {
    margin: 20px 0px 30px;
    justify-content: flex-end;
}

h1.mb-3.text-18 {
    margin: 0;
    color: #1082ba;
    text-align: center;
    padding: 0 0px;
    background: transparent;
}

.switch-dark input:checked + .slider {
    background-color: rgb(112 112 115);
}

.csform .form-group input::-webkit-input-placeholder { /* Edge */
    color: #454444;
}

.csform .form-group input:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #454444;
}

.csform .form-group input::placeholder {
    color: #454444;
}


.chatbox {
    position: fixed;
    bottom: -350px;
    right: 30px;
    width: 300px;
    height: 400px;
    background-color: #fff;
    font-family: 'Lato', sans-serif;
    -webkit-transition: all 600ms cubic-bezier(0.19, 1, 0.22, 1);
    transition: all 600ms cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 999;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    z-index: 99999999;
}

.chatbox--tray {
    bottom: -350px;
    z-index: 99999999;
}

.chatbox--closed {
    bottom: -400px;
}

.chatbox .form-control:focus {
    border-color: #1f2836;
}

.chatbox__title,
.chatbox__body {
    border-bottom: none;
}

.chatbox__title {
    min-height: 50px;
    padding-right: 10px;
    background-color: #424040;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    cursor: pointer;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
}

    .chatbox__title h5 {
        height: 50px;
        margin: 0 0 0 15px;
        line-height: 50px;
        position: relative;
        padding-left: 20px;
        -webkit-flex-grow: 1;
        flex-grow: 1;
    }

        .chatbox__title h5 a {
            color: #fff;
            max-width: 195px;
            display: inline-block;
            text-decoration: none;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .chatbox__title h5:before {
            content: '';
            display: block;
            position: absolute;
            top: 50%;
            left: 0;
            width: 12px;
            height: 12px;
            background: #4CAF50;
            border-radius: 6px;
            -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
        }

.chatbox__title__tray,
.chatbox__title__close {
    width: 24px;
    height: 24px;
    outline: 0;
    border: none;
    background-color: transparent;
    opacity: 0.5;
    cursor: pointer;
    -webkit-transition: opacity 200ms;
    transition: opacity 200ms;
    outline: none !important;
}

    .chatbox__title__tray:hover,
    .chatbox__title__close:hover {
        opacity: 1;
    }

    .chatbox__title__tray span {
        width: 12px;
        height: 12px;
        display: inline-block;
        border-bottom: 2px solid #fff
    }

    .chatbox__title__close svg {
        vertical-align: middle;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.2px;
    }

.chatbox__body,
.chatbox__credentials {
    padding: 15px;
    border-top: 0;
    background-color: #fff;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    -webkit-flex-grow: 1;
    flex-grow: 1;
}

.chatbox__credentials {
    display: none;
}

    .chatbox__credentials .form-control {
        -webkit-box-shadow: none;
        box-shadow: none;
    }

.chatbox__body {
    overflow-y: auto;
}

.chatbox__body__message {
    position: relative;
}

    .chatbox__body__message p {
        padding: 15px;
        border-radius: 4px;
        font-size: 14px;
        background-color: #fff;
        -webkit-box-shadow: 1px 1px rgba(100, 100, 100, 0.1);
        box-shadow: 1px 1px rgba(100, 100, 100, 0.1);
    }

    .chatbox__body__message img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px solid #fcfcfc;
        position: absolute;
        top: 15px;
    }

.chatbox__body__message--left p {
    margin-left: 15px;
    padding-left: 30px;
    text-align: left;
    padding-top: 25px;
}

.chatbox__body__message--left img {
    left: -5px;
}

.chatbox__body__message--right p {
    margin-right: 15px;
    padding-right: 30px;
    text-align: right;
}

.chatbox__body__message--right img {
    right: -5px;
}

.chatbox__message {
    padding: 15px;
    min-height: 50px;
    outline: 0;
    resize: none;
    border: none;
    font-size: 12px;
    border: 1px solid #ddd;
    border-bottom: none;
    background-color: #fefefe;
}

.chatbox--empty {
    height: 262px;
}

    .chatbox--empty.chatbox--tray {
        bottom: 0;
    }

    .chatbox--empty.chatbox--closed {
        bottom: -262px;
    }

    .chatbox--empty .chatbox__body,
    .chatbox--empty .chatbox__message {
        display: none;
    }

    .chatbox--empty .chatbox__credentials {
        display: block;
    }

.chatbox_timing {
    position: absolute;
    right: 10px;
    font-size: 12px;
    top: 2px;
}

    .chatbox_timing ul {
        padding: 0;
        margin: 0
    }

        .chatbox_timing ul li {
            list-style: none;
            display: inline-block;
            margin-left: 3px;
            margin-right: 3px;
        }

            .chatbox_timing ul li a {
                display: block;
                color: #747474
            }

.ul_msg {
    padding: 10px !important;
}

.chatbox__body__message--right .ul_section_full {
    margin-right: 15px;
    padding-right: 30px;
    text-align: right;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px rgba(100, 100, 100, 0.1);
    box-shadow: 1px 1px rgba(100, 100, 100, 0.1);
    margin-bottom: 15px;
    padding-bottom: 5px;
    padding-top: 15px;
}

.chatbox__body__message--left .ul_section_full {
    margin-left: 15px;
    padding-left: 15px;
    text-align: left;
    padding-top: 15px;
    padding-bottom: 5px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px rgba(100, 100, 100, 0.1);
    box-shadow: 1px 1px rgba(100, 100, 100, 0.1);
}

.ul_msg {
    padding: 0;
    margin: 0px
}

    .ul_msg li {
        list-style: none;
        display: block
    }

.ul_msg2 {
    padding: 0;
    margin: 0px;
    text-align: right;
}

    .ul_msg2 li {
        list-style: none;
        display: inline-block;
        margin-right: 15px;
    }

.chatbox__body__message--right .chatbox_timing {
    position: absolute;
    left: 10px;
    font-size: 12px;
    top: 2px;
}

.chatbox__body__message--right .ul_msg2 {
    text-align: left
}

    .chatbox__body__message--right .ul_msg2 li {
        list-style: none;
        display: inline-block;
        margin-left: 15px;
        margin-right: 0px
    }

.chat_set_height {
    height: 40px;
    margin-top: 1px;
}

.chatbox22 .form-control:focus {
    border-color: #DCDCDC;
}

.width50 {
    width: 50%;
    float: left;
    background: #ECECEC;
}

/*======================Chat Box Ends=====================================================*/
/*======================Message=====================================================*/
.message_check {
    padding-top: 10px;
}

.messsade_date {
    text-align: left;
    padding-top: 9px;
}

    .messsade_date a {
        color: #000;
    }

.padleftright0 {
    padding-left: 0px;
    padding-right: 0px;
}

.message_box_area {
    color: #000;
    cursor: pointer;
}

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

.fileinput-button {
    float: left;
    margin-right: 4px;
    overflow: hidden;
    position: relative;
}

.fileinput-button {
    background: none repeat scroll 0 0 #eeeeee;
    border: 1px solid #e6e6e6;
    margin-top: 15px;
}

.fileinput-button {
    float: left;
    margin-right: 4px;
    overflow: hidden;
    position: relative;
}

    .fileinput-button input {
        cursor: pointer;
        direction: ltr;
        font-size: 23px;
        margin: 0;
        opacity: 0;
        position: absolute;
        right: 0;
        top: 0;
        transform: translate(-300px, 0px) scale(4);
    }

.fileupload-buttonbar .btn, .fileupload-buttonbar .toggle {
    margin-bottom: 5px;
}

.create_m:focus {
    border-color: #66afe9 !important;
    outline: 0 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6) !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6) !important;
}

.col-lg-3.control-label {
    text-align: left;
}

.contacts-scrollable .contact:before {
    position: absolute;
    content: "";
    width: 8px;
    height: 8px;
    top: calc(50% - 4px);
    right: 0px;
    background: #4caf50;
    border-radius: 50%;
}

.contacts-scrollable .contact.online:before {
    background: #4caf50;
}

.contacts-scrollable {
    color: #1c1f36;
}

.p-3.d-flex.border-bottom {
    padding: 10px 0 !important;
    position: relative;
}

.hide-media .media {
    display: none !important;
}

.hide-media .content {
    font-size: 11px !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
}


table {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-collapse: collapse;
}

/*thead*/
.calendar-cs thead {
    position: sticky;
    display: block; /*seperates the header from the body allowing it to be positioned*/
    overflow: visible;
    background: #212121 !important;
    left: 0;
    top: 0;
    z-index: 99;
}

    .calendar-cs thead th {
        min-width: 185px;
        height: auto;
    }

        .calendar-cs thead th:nth-child(1) { /*first cell in the header*/
            /*seperates the first cell in the header from the header*/
            min-width: 210px !important;
            background: #212121;
            z-index: 9;
            color: #fff;
            border-bottom-color: #212121;
            border-left-color: #212121;
        }


/*tbody*/
.calendar-cs tbody {
    position: relative;
    display: block; /*seperates the tbody from the header*/
}

    .calendar-cs tbody td {
        min-width: 185px;
    }

    .calendar-cs tbody tr td:nth-child(1) {
        position: relative;
        display: block; /*seperates the first column from the tbody*/
        height: 65px;
        min-width: 210px !important;
        background: #212121;
        z-index: 9;
        border-color: #945b4d5c;
    }

        .calendar-cs tbody tr td:nth-child(1) span {
            color: #fff;
        }

.oneMonth thead th {
    white-space: nowrap;
}

.oneMonth thead th, .oneMonth td {
    min-width: 80px !important;
    font-size: 11px;
}

.twoWeek thead th, .twoWeek td {
    min-width: 92px !important;
}


.blinking {
    animation: blinkingText 1.5s infinite;
}

@keyframes blinkingText {
    0% {
        color: #137413;
    }

    49% {
        color: #fff;
    }

    50% {
        color: #137413;
    }

    99% {
        color: #fff;
    }

    100% {
        color: #137413;
    }
}

.ripple.show-forgotPassword-model-view {
    background: transparent !important;
    color: #c0bdbd;
    box-shadow: none !important;
}

.layout-sidebar-compact .sidebar-left-secondary header .logo img {
    height: 44px;
}

.card-icon-bg-primary [class^="i-"] {
    color: rgb(78 57 32);
}

.layout-sidebar-compact .sidebar-left-secondary header .logo img {
    height: auto;
}

.layout-sidebar-compact .sidebar-left-secondary header .logo {
    margin: -13px -25px 1px;
    padding-top: 0;
    position: relative;
}

    .layout-sidebar-compact .sidebar-left-secondary header .logo:after {
        content: '';
        position: absolute;
        bottom: 0;
        width: 100%;
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        left: 0;
        bottom: 10px;
        border-style: solid;
        border-width: 39px 0px 0px 230px;
        border-color: #ffffff00 #cd1f1f00 #ffffff #ffffff;
    }

.sb_menu_under {
    background: #ffffff;
    padding: 15px 0 3px;
}

    .sb_menu_under h6 {
        color: #67bcdb;
        font-size: 17px !important;
    }

    .sb_menu_under .childNav li.nav-item a span {
        font-size: 12px;
    }

.layout-sidebar-compact .sidebar-left .navigation-left .nav-item .nav-item-hold {
    color: #f9f9f9;
    padding: 18px 0 !important;
}

.nav-icon-width {
    width: 25px;
}

.bg_orange {
    background: -moz-linear-gradient(right, #ff784a, #ff926d) !important;
    background: -webkit-linear-gradient(right, #ff784a, #ff926d) !important;
    background: linear-gradient(to left, #ff784a, #ff926d) !important;
    color: #fff;
}

    .bg_teal.card-icon-bg-primary [class^="i-"],
    .bg_slat.card-icon-bg-primary [class^="i-"],
    .bg_cranberry.card-icon-bg-primary [class^="i-"],
    .bg_orange.card-icon-bg-primary [class^="i-"] {
        color: #fff;
    }

.bg_cranberry {
    background: -moz-linear-gradient(right, #e15671, #e7758a) !important;
    background: -webkit-linear-gradient(right, #e15671, #e7758a) !important;
    background: linear-gradient(to left, #e15671, #e7758a) !important;
    color: #fff;
}

.bg_teal {
    background: -moz-linear-gradient(right, #0aab7b, #0cd096) !important;
    background: -webkit-linear-gradient(right, #0aab7b, #0cd096) !important;
    background: linear-gradient(to left, #0aab7b, #0cd096) !important;
    color: #fff;
}

.bg_slat {
    background: -moz-linear-gradient(right, #8845f5, #aa7af8) !important;
    background: -webkit-linear-gradient(right, #8845f5, #aa7af8) !important;
    background: linear-gradient(to left, #8845f5, #aa7af8) !important;
    color: #fff;
}

.bg_green {
    background: -moz-linear-gradient(right, #ff784a, #ff926d) !important;
    background: -webkit-linear-gradient(right, #ff784a, #ff926d) !important;
    background: linear-gradient(to left, #84A225, #84A225) !important;
    color: #fff;
}

.section_set_height {
    min-height: 180px;
    color: #fff;
    padding: 20px 30px;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

    .section_set_height h3 {
        color: #fff;
        text-transform: capitalize;
        font-size: 38px;
    }

    .section_set_height:after {
        content: '';
        position: absolute;
        background: #2121219c;
        height: 100%;
        width: 100%;
        z-index: -1;
        top: 0;
        left: 0;
    }


.equal-height {
    height: 100%;
}

    .equal-height .card-body {
        display: flex;
        flex-flow: column-reverse;
        flex-wrap: nowrap;
        align-items: center;
        padding-bottom: 20px;
    }

    .equal-height img {
        max-width: fit-content;
    }

.bg_teal img {
    max-width: 90px;
}

label.switch.pr-5.switch-primary.mr-3 {
    margin-bottom: 20px;
}

.btn.savebtn {
    border-radius: 0;
    background: #67bcdb;
    color: #fff;
    border: 1px solid #67bcdb !important;
}

    .btn.savebtn:hover {
        border: 1px solid #67bcdb !important;
        background: #212121;
    }


table.dataTable {
    border-collapse: collapse !important;
    /*table-layout: fixed !important*/
}


/*
    Table Calendar
*/
.fc-cell-content span.fc-cell-text {
    position: relative;
}

    .fc-cell-content span.fc-cell-text .form-check {
        opacity: 0;
        position: absolute;
        left: 25px;
        top: 20px;
        transition: all 0.3s ease;
        padding-left: 0;
    }

.fc-cell-content:hover span.fc-cell-text .form-check {
    opacity: 1;
    left: -29px;
    z-index: 999;
}

.fc-cell-content span.fc-cell-text .media {
    float: left;
    transition: all 0.3s ease;
    display: initial;
    align-items: normal;
}

.fc-cell-content span.fc-cell-text .content {
    overflow: hidden;
    padding-left: 5px;
    padding-right: 10px;
    font-size: 11px;
}

.fc-cell-content span.fc-cell-text .media img {
    max-width: 29px;
    border-radius: 60px;
}


.fc-cell-content {
    position: relative;
    max-width: 350px;
    font-size: 13px;
    font-weight: 400;
    padding: 5px 8px 3px;
    line-height: 15px;
    margin-bottom: 2px;
    color: #fff;
    /* color: #67bcdb; */
}

.calendar-cs tbody tr td .fc-cell-content {
    color: #000;
}

.fc-cell-content sup {
    color: #b1634d;
    font-size: 12px;
    left: 2px;
    font-weight: 700;
}

.fc-cell-content i.fa.fa-ellipsis-v {
    position: absolute;
    top: 50%;
    right: 4px;
    margin-top: -10px;
}

.fc-timeline .fc-divider {
    display: none;
}

.fc table {
    font-size: 13px;
}

.fc-ltr .fc-timeline-event {
    border-radius: 2px;
}

.green-bg {
    background: #3e6542 !important;
    color: #fff !important;
}

.yellow-bg {
    background: #e6dc11 !important;
    color: #000 !important;
}

.brown-bg {
    background: #402f1b !important;
    color: #fff !important;
}

.themeclr-bg {
    background: #bf202f !important;
    color: #fff !important;
}

.fc-ltr .fc-timeline-event {
    margin-left: 5px;
    margin-top: 5px;
}


.calendar-cstm td {
    position: relative;
    height: 85px;
}

    .calendar-cstm td .date_cs {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 14px;
        z-index: 1;
    }

.calendar-cstm th {
    text-align: center;
}

.calendar-cstm td .week_cs {
    position: absolute;
    top: 20px;
    left: 7px;
    font-size: 11px;
    color: #c2bec5;
    white-space: nowrap;
    transform: rotate(-90deg);
}

.stick_table th {
    position: sticky;
    top: -1px;
    background: #212121;
    z-index: 9;
    color: #fff;
    border-color: #af684e4d;
    border-bottom: 2px solid #af684e4d !important;
}

.calendar-height {
    max-height: 60vh;
}

.stick_table {
    table-layout: fixed;
    border: 0;
    overflow: auto;
}

    .stick_table .borderzero {
        border: 0 !important;
        background: #fcfcfc;
        width: 50px;
    }


.calendar-cs tbody tr td:first-child {
    position: sticky;
    top: 0;
    left: 0;
}

.fc-cell-content.week_sun,
.fc-cell-content.week_sat {
    color: #67bcdb;
}


.calendar-cs tbody td.week_clm_sat {
    background: #938f8f;
    border-color: #938f8f;
}

.calendar-cs tbody td.week_clm_sun {
    background: #aea9a9;
    border-color: #aea9a9;
}

    .calendar-cs tbody td.week_clm_sat .badge,
    .calendar-cs tbody td.week_clm_sun .badge {
        border: 0
    }

.fc-cell-content span.fc-cell-text .content b a {
    color: #67bcdb;
}

.stick_table th.week_sun, .stick_table th.week_sat {
    color: #67bcdb;
}

.calendar-cstm td .date_cs.pickCs {
    background: #000;
    border-radius: 0px;
    padding: 0px;
    min-width: 22px;
    text-align: center;
    color: #67bcdb;
    top: 0;
    right: 0;
}

.calendar-cstm td.week_sat_clm {
    background: #efefef;
}

.calendar-cstm td.week_sun_clm {
    background: #eae8e8;
}


.calendar-cstm td.date-disable {
    pointer-events: none;
    opacity: 0.2;
    background: #d4d4d4;
}


.select2-container .select2-selection--single {
    width: 100%;
    display: block;
    border-radius: 0;
    border: 0;
    padding-left: 10px;
    margin-bottom: 0px;
    background-color: #e8e8e8;
    border-bottom: 3px solid #d0d0d0;
    transition: all .5s;
    height: 50px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 50px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
    transform: translateY(-50%);
}

.select2-search--dropdown .select2-search__field {
    outline: none;
    border: 1px solid #d0d0d0 !important;
}

.select2-dropdown {
    border: 1px solid #d0d0d0;
    border-radius: 0;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #f1f1f1;
    color: #0c0c0c;
}

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    margin-right: 7px;
}

.select2-container--default * {
    outline: none !important
}

.calendar-cstm td .addPlus {
    top: 24px;
    background: green;
    color: #ffff;
}

.legends-cs {
    display: flex;
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    flex-wrap: wrap;
}

    .legends-cs .bg-box {
        background: #000;
        display: inline-block;
        width: 14px;
        height: 14px;
        position: absolute;
        top: 3px;
        left: 0;
        border-radius: 20px;
    }

    .legends-cs li {
        padding-left: 20px;
        position: relative;
        margin-right: 11px;
        align-content: center;
    }

.summary-tr ul {
    display: flex;
    width: 100%;
    padding-left: 0;
    justify-content: space-between;
    padding: 0px 10px;
    text-align: center;
    background: #1c2933;
    margin-bottom: 0;
    line-height: 30px;
}

.summary-tr li {
    color: #fff;
    list-style: none;
    padding: 0px 5px;
}

table .summary-tr {
    padding: 0 !important;
}

.summary-tr ul + ul {
    background: #dee2e6;
    color: #000;
    line-height: 37px;
}

    .summary-tr ul + ul li {
        color: #000;
    }


/**/


/*
*/


ul.timeline {
    list-style-type: none;
    position: relative;
}

    ul.timeline:before {
        content: ' ';
        background: #67bcdb;
        display: inline-block;
        position: absolute;
        left: 6px;
        width: 1px;
        height: 100%;
        z-index: 1;
    }

    ul.timeline > li {
        margin: 20px 0;
        padding-left: 20px;
    }

        ul.timeline > li:before {
            content: ' ';
            background: #67bcdb;
            display: inline-block;
            position: absolute;
            border-radius: 50%;
            border: 3px solid #67bcdb;
            left: 3px;
            width: 7px;
            height: 7px;
            z-index: 1;
            color: #67bcdb;
            top: 15px;
        }

.history {
    height: 100px;
}

.history-cstm {
    margin-top: 15px;
    display: flex;
}

    .history-cstm ul.link li {
        padding: 3px 0 5px 10px !important;
        font-size: 14px;
    }

    .history-cstm ul.link {
        margin-top: 11px;
    }

        .history-cstm ul.link li a:hover {
            color: #757575;
        }

        .history-cstm ul.link li a {
            transition: all 0.3s linear;
            -webkit-transition: all 0.3s linear;
            -moz-transition: all 0.3s linear;
            -o-transition: all 0.3s linear;
            -ms-transition: all 0.3s linear;
            color: #333;
        }

.vh-80 {
    height: calc(100vh - 120px);
    overflow: auto;
}

.scroll-histor {
    height: calc(100vh - 280px);
}

.history-cstm ul.timeline > li {
    padding: 10px 20px 10px 30px !important;
    margin-top: 0;
    position: relative;
}

ul.timeline li {
    font-size: 15px;
}

.uppercase {
    text-transform: uppercase;
}

ul.timeline li {
    font-size: 15px;
    font-size: 14px;
    line-height: 17px;
    margin-bottom: 0px !important;
    padding: 13px 0;
    transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    padding: 15px 50px 15px 50px !important;
    cursor: pointer;
    color: #757575;
}

ul:not(.browser-default) {
    padding-left: 0;
    list-style-type: none;
}

.sidebar-content {
    position: relative;
    max-width: 250px;
    width: 100%;
}

.tab-cstm-content {
    width: calc(100% - 250px);
    padding-left: 30px;
}

    .tab-cstm-content ul.report-create-list li {
        margin-left: 0;
        padding: 10px 10px !important;
        width: 25%;
        margin-bottom: 5px !important;
    }

ul.report-create-list {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
}

.tab-cstm-content ul.report-create-list li a {
    display: flex;
    align-items: center;
    font-weight: 300;
}

.tab-cstm-content ul.report-create-list li img {
    margin-right: 10px;
}

.tab-cstm-content ul.report-create-list li:hover {
    cursor: pointer;
    font-weight: normal;
    background: #67bcdb69;
}

    .tab-cstm-content ul.report-create-list li:hover a {
        color: #333
    }

.textarea-resize {
    resize: none;
}

.layout-sidebar-compact .sidebar-left .navigation-left .nav-item.active {
    color: #fff;
    border-left: 0px solid #67bcdb !important;
}

.layout-sidebar-compact .sidebar-left-secondary .childNav li.nav-item a i {
    color: #212121;
    transition: all 0.3s ease;
}

.btn-primary, .btn-outline-primary {
    border-color: #67bcdb;
}

button.btn.btn-raised.btn-raised-dark {
    background: #5b5c5c;
}

.btn-primary {
    background-color: #67bcdb;
    color: #212121;
}

.layout-sidebar-compact .sidebar-left-secondary .childNav li.nav-item a:hover {
    background: #212121;
    color: #67bcdb;
}


.layout-sidebar-compact .sidebar-left-secondary header h6 {
    color: #67bcdb;
}

ul.btn-links li .btn.theme-btn {
    background-color: #67bcdb;
}

    ul.btn-links li .btn.theme-btn:hover {
        background-color: #090a0a;
    }

.form-control {
    background: transparent;
    border-radius: 0;
}

    .form-control:focus {
        border-color: #000000;
        box-shadow: none;
    }

.btn.btn-primary:hover,
.btn-dark:hover, .btn-outline-dark:hover {
    box-shadow: none;
    background-color: #0f0f0f;
    border-color: #0f0f0f;
}

.page-item.active .page-link {
    color: #212121 !important;
    background-color: #67bcdb !important;
    border-color: #67bcdb !important;
}

.btn {
    border-radius: 0;
}


thead {
    background-color: #67bcdb !important;
}

.btn-dark, .btn-outline-dark {
    border-color: rgb(71 64 79 / 0.0);
    background-color: rgb(59 68 75);
}

.card-body h3 button.btn {
    /* background: #67bcdb; */
    border-radius: 0;
    /* line-height: 28px; */
    min-width: 52px;
}

.btn-primary:hover, .btn-outline-primary:hover {
    box-shadow: none;
    border-color: #67bcdb;
}

.card-body h3 button.btn:hover {
    border-color: #0f0f0f;
    background: #0f0f0f;
}


.headingbg .breadcrumb h5 {
    color: #f6f6f6;
}


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



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

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

.text-align-center {
    text-align: center;
}

table.border tr > th,
table.border > tbody > tr > td {
    border: 1px solid #e8e7e7;
}

table.border tr > th,
table.border > tbody > tr > td {
    border-left: 0;
    border-top: 0;
    padding: 10px 10px;
}

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

table.border {
    border: 1px solid #c9c9c9;
    padding: 0;
}

    table.border tr > th {
        line-height: 30px;
        font-weight: 600;
        color: #fff;
        border: 0;
    }

    table.border.border-1 tr > th {
        border: 1px solid #5cb3d3;
    }

    table.border td {
        border: 1px solid #c9c9c9;
        border-top: 0;
    }

    table.border table td {
        border-left: 0;
    }

    table.border table tr:last-child td {
        border-bottom: 0;
    }

    table.border table tr td:last-child {
        border-right: 0;
    }

    table.border table {
        border-collapse: collapse;
        margin: -2px 0;
    }

.border-zero td {
    border: 0 !important;
}

/*table.inner-table {*/
/*    margin-left: 40px !important;*/
/*    width: calc(100% - 40px);*/
/*}*/
table.inner-table td {
    border-style: dashed;
    line-height: 30px;
}

table h5,
table h4 {
    margin-bottom: 0;
    margin-top: 0;
}

table.border table td span {
    padding-right: 15px;
}

table.border table:last-child {
    margin-bottom: 0 !important;
}

table h3 {
    background: transparent !important;
    padding: 0 !important;
}

.layout-sidebar-compact .sidebar-left .navigation-left .nav-item {
    border-bottom: 0px solid rgb(49 49 49) !important;
}

.sidenav-open .app-footer {
    width: calc(100% - 76px - 232px);
}

.layout-sidebar-compact .main-content {
    margin-top: 85px;
    /*background-color: #ebebeb8f !important;*/
}

table.body h3 {
    padding: 0;
}

.form-control:disabled, .form-control[readonly] {
    background-color: rgb(0 0 0 / 2%);
}

table.border-zero thead {
    background: transparent !important;
}


.accordion > .card {
    overflow: inherit;
}

.picker__table thead {
    background: transparent !important;
}

.picker__header .picker__nav--next:hover, .picker__header .picker__nav--prev:hover,
.picker__footer button:hover {
    background: #67bcdb1f !important;
}

select.form-control {
    -webkit-appearance: auto;
}

.badge-top-container .badge {
    background-color: #212121;
}

.layout-sidebar-compact .sidebar-left-secondary header h6 {
    color: #212121;
}

.layout-sidebar-compact .sidebar-left-secondary .childNav:hover li.nav-item a i {
    color: #67bcdb;
}

.chatbox__credentials button.btn {
    background: #67bcdb;
    line-height: 32px;
    font-size: 18px;
    border: 1px solid #67bcdb;
    color: #111;
    margin-top: 10px;
    display: inline-block;
    box-shadow: none !important;
}

    .chatbox__credentials button.btn:hover {
        background: #111;
        color: #67bcdb;
        border-color: #111;
    }


.canteen-logo a {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url(../img/canteen.png);
    background: url(../img/canteen-black.png);
    background-size: cover;
}

.canteen-logo {
    margin-left: 0;
    margin-right: 25px;
}

.p-3.d-flex.border-bottom h6 {
    width: 80%;
    word-break: break-all;
    max-width: 172px;
}

.popup-open .chatbox {
    bottom: 0;
}

.scroll {
    overflow-y: scroll;
    scroll-behavior: smooth;
    height: 345px;
}

.chat-wrapper .main {
    background-color: #eee;
    position: relative;
    border-radius: 0;
    box-shadow: 0 3px 7px 0 rgb(0 0 0 / 20%), 0 4px 10px 0 rgb(0 0 0 / 19%);
    padding: 6px 0px 0px 0px;
}

    .chat-wrapper .main p.msg {
        background: #fff;
        background-color: #fff;
        font-size: 11px;
        padding: 5px;
        border-radius: 5px;
        font-weight: 500;
        color: #3e3c3c;
    }


.chat-wrapper.chatbox {
    bottom: -400px;
    right: 340px;
}

.popup-open-inner .chat-wrapper.chatbox {
    bottom: 0;
}

.chatbox .name {
    font-size: 9px;
}

.chatbox .between {
    font-size: 8px;
    font-weight: 500;
    color: #a09e9e;
}

.chatbox .icon1 {
    color: #212121 !important;
    font-size: 18px !important;
    cursor: pointer;
}

.chatbox .icon2 {
    color: #212121 !important;
    font-size: 18px !important;
    position: relative;
    left: 8px;
    padding: 0px;
    cursor: pointer;
}

.chatbox input.form-control {
    font-size: 12px;
    font-weight: 400;
    border: none;
}

.profile-box.cstm.profile .social-info ul li {
    display: flex;
    width: 100% !important;
    justify-content: space-between;
    padding: 2px 14px;
}

.icon-set {
    display: flex;
}

.fullwidth1199 {
    border-right: 1px dashed #8e8d8d;
}

progress {
    display: block;
    width: 70%;
    height: 20px;
    padding: 15px 0 0 0;
    margin: 0 0 15px 0;
    background: none;
    border: 0;
    border-radius: 15px;
    text-align: left;
    position: relative;
    font-size: 0.8em;
    float: right;
}

    progress::-webkit-progress-bar {
        height: 11px;
        width: 100%;
        margin: 0 auto;
        background-color: #CCC;
        border-radius: 15px;
        box-shadow: 0px 0px 6px #777 inset;
    }

    progress::-webkit-progress-value {
        display: inline-block;
        float: left;
        height: 11px;
        margin: 0px -10px 0 0;
        background: #67bcdb;
        border-radius: 15px;
        box-shadow: 0px 0px 6px #777 inset;
    }

    progress:after {
        margin: -26px 0 0 -7px;
        padding: 0;
        display: inline-block;
        float: left;
        content: attr(value) '%';
    }

.blance-sheet h2 {
    font-size: 39px;
    margin-top: 5px;
    margin-bottom: 5px;
    color: #060606;
    font-weight: 900;
    position: relative;
    padding-right: 15px;
}

.blance-sheet h6 {
    margin-top: 6px;
    margin-bottom: 0;
    font-size: 18px;
    color: #67bcdb;
    font-weight: bold;
}

.col-sm-4.blance-sheet {
    text-align: right;
}

.social-information {
    width: calc(100% - 190px);
}

    .social-information ul.btn-links li .btn {
        line-height: 24px;
        font-size: 15px;
    }

    .social-information ul.btn-links li {
        margin-left: 10px;
    }

.barcode {
    position: absolute;
    top: 0;
    left: 10px;
    background: url(../img/qr-code.png);
    height: 80px;
    width: 80px;
    background-size: contain;
}

.blance-sheet ul.btn-links li a {
    line-height: 24px;
}

.blance-sheet h2 a.btn {
    position: absolute;
    top: -1px;
    padding: 0;
    right: 0px;
    font-size: 10px;
    padding: 0;
}

    .blance-sheet h2 a.btn i {
        color: #212121;
        font-size: 15px;
    }

.table-attendance td {
    text-align: center;
    font-size: 11px;
    border: 0;
}

.N-A {
    background: #16b5de;
}

.cls-NA {
    background: #16b5de;
}

.cls-W {
    background: #1488a6;
}

.cls-P {
    background: #0bb753;
}

.cls-H {
    background: #01b39e;
}

.cls-A {
    background: #ff6203;
}

.cls-LE {
    background: #0bb753;
}

.table-attendance thead {
    background: transparent !important;
}

.table-attendance td a {
    display: block;
    line-height: 25px;
}

.table-cstm table.table.table-bordered thead th, .table-cstm table.table.table-bordered thead td {
    text-transform: capitalize;
    text-align: center;
    font-weight: 700;
}

.info-block {
    margin-bottom: 10px;
    margin-left: 10px;
}

.table-cstm.card td {
    text-align: center;
}

.card-icon-bg .card-body .content {
    max-width: 100%;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 15px;
    right: 1px;
    width: 20px;
}

thead {
    color: white !important;
}

.select2-selection__arrow {
    top: 15px !important;
}
/*Sale Purchase Custom css*/

.salePurchaseParent {
    line-height: 1 !important;
}

.row-custom-margin {
    margin-bottom: -10px !important;
}


.pr-custom {
    padding-right: 0px !important;
}

.pl-custom {
    padding-right: 0px !important;
}


.bill-summary {
    background: #67bcdb !important
}

/*Sale Purchase Custom css END*/

.picker__select--month, .picker__select--year {
    height: 2.3em !important;
}

.picker__select--year {
    width: 25% !important;
}

.picker {
    font-size: 11px !important;
    line-height: 1em !important;
}

.picker, .picker__holder {
    width: 98% !important;
}

.modal-header {
    padding: 10px !important;
}

.modal-footer {
    /*padding: 10px !important;*/
    /*    border-radius: 0;
    bottom: 0px;
    position: absolute;
    width: 100%;*/
}

.modal-title {
    font-size: 20px !important;
    /*text-align:center !important;*/
}

/*
.modal-body {
    max-height: calc(100vh - 210px);
    min-height: 35vh;
    overflow-y: visible;
    overflow-x: hidden;
}
*/
.modal-lg {
    max-width: 100% !important;
}

.btnAdd-PurchaseItem {
    margin-top: 18px !important;
}

.col-bill-summary {
    margin-top: 8px !important;
}

.unitRadtext {
    font-weight: bold;
    color: green;
    text-transform: uppercase;
    padding-left: 2px;
}

.unitRad {
    padding-left: 10px;
}

.pt-10 {
    padding-top: 19px
}

.pl-15 {
    padding-left: 19px
}

.pr-15 {
    padding-right: 19px
}








/*dashbaord start*/

div.dashboardAction {
    border: solid;
    text-align: center;
    border-color: antiquewhite;
    border-radius: 26px;
}

div.dashboardImg {
    height: 200px;
    width: 200px;
}

div.dashboardActionText {
    margin-bottom: 7px;
    margin-top: 7px;
    background-color: lightgrey;
    border-radius: 10px
}

.card-icon-bg:hover {
    transform: translate(0, -3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    /* cursor: pointer;
        border-radius: 10px;
        border-block-start-style: inset;

        background-color:rgb(71 242 4 / 0.26);
        color:#000000;
        font-optical-sizing:auto;*/
}

.dshbrd-addItem {
    border-radius: 31px !important;
}

    .dshbrd-addItem.cashSale {
        background-color: lightgreen;
    }

.counterSale {
    background-color: black !important;
    color: white !important;
    font-weight: bold;
}

.dshbrd-addItem.creditSale {
    background-color: rgb(206 0 0 / 0.74);
    color: white;
}

.dshbrd-addItem.cashReceipt {
    background-color: green;
    color: white;
}

.dshbrd-addItem.creditPurchase {
    background-color: #ff00009e;
    /*red;*/
    color: white;
}

.dshbrd-addItem.cashPurchase {
    /*background-color: darkgreen;*/
    background-color: rgb(89 146 89 / 0.95);
    color: white;
    /*color: white;*/
}

.dshbrd-addItem.cashPayment {
    background-color: #ccc !important;
    color: Black;
}
.dshbrd-addItem.bankPayment {
    background-color: #aa8cf4;
    color: Black;
}

.dshbrd-addItem.bankReceipt {
    background-color: #aa8cf4;
    color: Black;
}

.dshbrd-rptItem {
    border-radius: 31px !important;
}

.pl-13p {
    padding-left: 13% !important;
}

.rpt-finance-row {
}

.rpt-stock-row {
}

.col-lg-rpt {
    max-width: 20%;
}

.col-lg-rpt-text {
    background-color: #67bcdb !important;
    /*background-color: #80d2f0 !important;*/
    /*background-color: #80d2f0;*/
    color: white;
}

.card-dshbrd-addItem {
    padding: 22px !important;
    border-radius: 95px !important;
}

.card-rpt {
    margin-top: 10px;
    /*padding: 10px !important;*/
    border-radius: 30px !important;
}

.rpt-dash-heading {
    color: #67bcdb !important;
    font-size: 23px !important;
}

.rpt-dash-icon {
    color: #67bcdb !important;
}


/*Stats start*/
.card-stat-parent {
    border-radius: 30px !important;
}

.card-stat-row1 {
    margin-left: 90px !important;
}

card-stat-row2 {
}

.card-stat-row1-data {
    border-radius: 15px !important;
    margin-bottom: 25px !important;
    /*This will make irresponsive when render in mobile*/
    /*margin-left: 90px !important;*/
}

.card-stat-row2-data {
    border-radius: 15px !important;
}

.spanStatRad {
    padding-left: 10px;
    padding-right: 10px;
}

.card-dshbrd-addItem.firstrow {
    margin-bottom: -16px !important;
    font-weight: bold;
    padding-top: 0 !important;
}

.card-icon-purchasegroup {
    background-color: #b6cded3d;
    color: #1e3251 !important;
    font-weight: bold;
    /*#c4dfff*/
}

.card-icon-salegroup {
    /*background-color: #b4d6ff;*/
    color: #1e3251 !important;
    background-color: #d7eade57;
    font-weight: bold;
    /*#d7e9fe;*/
    /*color:white !important;*/
}

.card-icon-dash-secondRow {
    /*background-color: #80d2f0;*/
    color: #1e3251 !important;
    background-color: #c4bfbf6b !important;
    color: black;
    font-weight: bold;
    /*color:white !important;*/
}

.card-stat-icon {
    font-size: 30px !important;
}

.StatRadDiv {
    margin-top: 18px;
}

.dashbrdImg {
    max-width: 20%;
}

.plr-20 {
    padding-left: 20px !important;
    padding-right: 20px !important;
}
/*Stats End*/
/*dashboard End*/

table.lms-grid td {
    /*white-space: inherit !important;*/
}


.secondrow {
    BACKGROUND-COLOR: #ffffe0a8;
}

.dshbrd-addItem.directTrade {
    background-color: #c8c76e;
    margin-left: 23px !important;
    color: black;
}

.btnActionHeader {
    margin-top: 10px;
    text-align: center;
}


.directTrade {
    background-color: #1490ff3d !important;
}

.select2-container {
    vertical-align: baseline !important;
}

label {
    /*margin-bottom: 0px !important;*/
}

.TxtDiscount {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
    /*border-color:darkslategrey !important;*/
}

.TxtTax {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
    border-color: orangered !important;
}

.tfoot-summary {
    background-color: cornsilk;
    margin-top: 20px !important;
}
.lstcounterSale {
    background-color: #e7ce6d57 !important;
}
.textclr-oranged
{
    color:orangered !important;
}
.textclr-darkgreen {
    color: darkgreen !important;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.blink {
    animation: blink 1s infinite;
}

/*sale table dynamic width*/
table.saleItemTable th:nth-child(1),
table.saleItemTable td:nth-child(1) {
    width: 35%;
}

table.saleItemTable th:nth-child(2),
table.saleItemTable td:nth-child(2) {
    width: 15%;
}

table.saleItemTable th:nth-child(3),
table.saleItemTable td:nth-child(3) {
    width: 20%;
}

table.saleItemTable th:nth-child(4),
table.saleItemTable td:nth-child(4) {
    width: 17%;
}

table.saleItemTable th:nth-child(5),
table.saleItemTable td:nth-child(5) {
    width: 13%;
}
/*sale table dynamic width End*/
/*Purchase table dynamic width*/



table.purchaseitemsTable th:nth-child(1),
table.purchaseitemsTable td:nth-child(1) {
    width: 18%;
}

table.purchaseitemsTable th:nth-child(2),
table.purchaseitemsTable td:nth-child(2) {
    width: 11%;
}

table.purchaseitemsTable th:nth-child(3),
table.purchaseitemsTable td:nth-child(3) {
    width: 13%;
}

table.purchaseitemsTable th:nth-child(4),
table.purchaseitemsTable td:nth-child(4) {
    width: 13%;
}

table.purchaseitemsTable th:nth-child(5),
table.purchaseitemsTable td:nth-child(5) {
    width: 14%;
}
table.purchaseitemsTable th:nth-child(6),
table.purchaseitemsTable td:nth-child(6) {
    width: 12%;
}
table.purchaseitemsTable th:nth-child(7),
table.purchaseitemsTable td:nth-child(7) {
    width: 11%;
}


table.purchaseitemsTable th:nth-child(8),
table.purchaseitemsTable td:nth-child(8) {
    width: 8%;
}
/*Purchase table dynamic width End*/

/*.highlight-animate {
    animation: highlightAnimation 2s;
}

@keyframes highlightAnimation {
    0% {
        background-color: yellow;
    }

    100% {
        background-color: transparent;
    }
}*/
@keyframes highlightInput {
    0% {
        background-color:#f0fa62;
    }

    100% {
        background-color: transparent;
    }
}
textarea:focus,
input:focus,
input:hover {
    animation: highlightInput 2s;
}


@keyframes highlightButton {
    0% {
        background-color: yellow;
        color:black ;
    }

    100% {
        background-color: transparent;
    }
}
button:focus {
    animation: highlightButton 2s;
}

.cardGraph {
    height: 100%;
    width: 100%;
}
.cardGraphBody {
    height: 100%;
    width: 100%;
}
/* Set the graph-container to have 100% width and height */
.graph-container {
    width: 100% !important;
    height: 100% !important;
}
    /* Set the canvas inside the graph-container to have 100% width and height */
    .graph-container canvas {
        width: 100% !important;
        height: 100% !important;
    }
.graphLabel {
    font-size: 26px;
    font-weight: bold;
}


/*For QuickAccess Dashboard start*/
.quick-access-dashboard .card-header.icon {
    font-size: 1.5rem;
}

.quick-access-dashboard .card-header {
    /* border-radius: 28px; */
    display: block !important;
}

.quick-access-dashboard .card {
    /* border-radius: 28px; */
}

.quick-access-dashboard .rounded-button {
    border-radius: 90px; /* Gives the rounded shape */
    padding: 10px 24px; /* Padding to make buttons larger */
}

.quick-access-dashboard .card {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Adds subtle shadow to cards */
    transition: transform 0.2s; /* Animation for hover effect */
}

    .quick-access-dashboard .card:hover {
        transform: scale(1.05); /* Scales card for hover effect */
    }

.quick-access-dashboard .card-body {
    padding: 15px; /* More padding inside the card body */
}

.quick-access-dashboard .btn-quick-add {
    background-color: #007bff;
    color: #fff;
    text-align: center;
    /* justify-content: center !important; */
}

.quick-access-dashboard #quickAddButtons .rounded-button {
    display: inline-block; /* Horizontal layout for quick add buttons */
    width: auto; /* Auto width to fit content */
    margin: 0px 10px; /* Increased spacing between buttons */
}

.quick-access-dashboard .btn-add-item {
    background-color: #28a745;
    color: #fff;
}

.quick-access-dashboard .btn-add-customer {
    background-color: #17a2b8;
    color: #fff;
}

.quick-access-dashboard .btn-add-supplier {
    background-color: #ffc107;
}

.quick-access-dashboard .btn-link-items {
    background-color: #fd7e14;
    color: #fff;
}

.quick-access-dashboard .btn-add-expense {
    background-color: #dc3545;
    color: #fff;
}

.quick-access-dashboard .btn-add-jv {
    background-color: #6f42c1; /* Purple color, for differentiation */
    color: #fff; /* White text color */
}


/* .btn-bank-pay { background-color: #6c757d; color: #fff; }
                    .btn-bank-rec { background-color: #6c757d;  color: #fff;} */

.quick-access-dashboard .btn-bank-pay {
    background-color: #ffc107;
}

.quick-access-dashboard .btn-bank-rec {
    background-color: #ffc107;
}

.quick-access-dashboard .btn-sale-counter {
    background-color: #343a40;
    color: #fff;
}

.quick-access-dashboard.container {
    max-width: 1850px !important;
    padding-left: 5px;
    padding-right: 5px;
    margin: 5px !important;
}

.quick-access-dashboard #quickAddButtons.card-body {
    padding-left: 15px;
}

.quick-access-dashboard #quickAddCollapse {
    padding: 0px !important;
    margin-bottom: 0px !important;
    margin-top: 0px !important;
    text-align: center;
}

.quick-access-dashboard .card-quick-add {
    text-align: center !important;
    color: black !important;
}

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

.quick-access-dashboard .col-custom-pd {
    padding-left: 5px !important;
    padding-right: 5px !important;
    border-color: black !important;
}

.quick-access-dashboard .btn-sale-return {
    background-color: #dc3545; /* Red color for returns */
    color: #fff; /* White text for readability */
}

.quick-access-dashboard .card-header.card-reports {
    background-color: #67bcdb !important;
}

.quick-access-dashboard .card-header.card-sales {
    background-color: #617fff !important;
}

.quick-access-dashboard .card-header.card-purchases {
    background-color: #559672 !important;
}

.quick-access-dashboard .card-header.card-payments {
    background-color: #db6767 !important;
}

.quick-access-dashboard .card-header.card-receipts {
    background-color: #929292 !important;
}




/* Reports Row */
.quick-access-dashboard .card-reports-all {
    text-align: center !important;
    color: black !important;
}

.quick-access-dashboard #reportsAllButtons.card-body {
    padding-left: 15px;
}

.quick-access-dashboard #reportsAllButtons .rounded-button {
    display: inline-block; /* Horizontal layout for quick add buttons */
    margin: 5px 10px; /* Increased spacing between buttons */
}

.quick-access-dashboard .card-reports-all {
    background-color: #67bcdb !important;
}


.quick-access-dashboard #reportsAllCollapse {
    padding: 0px !important;
    margin-bottom: 0px !important;
    margin-top: 0px !important;
    text-align: center;
}

.quick-access-dashboard .card-reports-all .btn-all-accounts-balance {
    background-color: #4CAF50;
    color: white;
}

.quick-access-dashboard .card-reports-all .btn-party-balance {
    background-color: #f44336;
    color: white;
}

.quick-access-dashboard .card-reports-all .btn-account-statement {
    background-color: #008CBA;
    color: white;
}

.quick-access-dashboard .card-reports-all .btn-day-book {
    background-color: #e91e63;
    color: white;
}

.quick-access-dashboard .card-reports-all .btn-counter-sale {
    background-color: #9C27B0;
    color: white;
}

.quick-access-dashboard .card-reports-all .btn-cash-in-hand {
    background-color: #673AB7;
    color: white;
}

.quick-access-dashboard .card-reports-all .btn-expense-register {
    background-color: #3F51B5;
    color: white;
}

.quick-access-dashboard .card-reports-all .btn-stock-balance {
    background-color: #2196F3;
    color: white;
}

.quick-access-dashboard .card-reports-all .btn-item-ledger {
    background-color: #03A9F4;
    color: white;
}

.quick-access-dashboard .card-reports-all .btn-sale-register {
    background-color: #00BCD4;
    color: white;
}

.quick-access-dashboard .card-reports-all .card-reports-all .btn-purchase-register {
    background-color: #009688;
    color: white;
}

.quick-access-dashboard .card-reports-all .btn-party-wise-stock {
    background-color: #4CAF50;
    color: white;
}

.quick-access-dashboard .card-reports-all .btn-payable {
    background-color: #CDDC39;
    color: white;
}

.quick-access-dashboard .card-reports-all .btn-receivable {
    background-color: #FFEB3B;
    color: black;
}

.reversed-icon {
    transform: scaleX(-1);
}
/*For QuickAccess Dashboard End*/

.select2-results__option#add-new {
    color: #007bff;
    font-weight: 500;
}

.select2-container .select2-selection--single {
    height: 38px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
}




/*.fa-search {
    background-color: #e9ecef;*/ /* Light gray */
    /*border: none;
}

.fa-search:hover {
    background-color: #0d6efd;*/ /* Bootstrap primary blue */
    /*color: white;
}*/

/* Clean implementation of dots animation custom-loader */
.custom-loader {
    width: 15px;
    aspect-ratio: 1;
    position: absolute !important;
    animation: l9-0 1.5s infinite steps(2);
    left: 50% !important;
    top: 50% !important;
    z-index: 2000000000 !important;
}

.custom-loader::before,
.custom-loader::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #67bcdb;
}

.custom-loader::before {
    box-shadow: 26px 0 #67bcdb;
    transform: translateX(-26px);
    animation: l9-1 .75s infinite linear alternate;
}

.custom-loader::after {
    transform: translateX(13px) rotate(0deg) translateX(13px);
    animation: l9-2 .75s infinite linear alternate;
}

@keyframes l9-0 {
    0%, 49.9% {transform: scale(1)}
    50%, 100% {transform: scale(-1)}
}

@keyframes l9-1 {
    100% {box-shadow: 52px 0}
}

@keyframes l9-2 {
    100% {transform: translateX(13px) rotate(-180deg) translateX(13px)}
}

.quick-access-dashboard .btn-add-unit {
    background-color: #1976d2; /* Blue */
    color: #fff;
}
.quick-access-dashboard .btn-add-unit-conversion {
    background-color: #0097a7; /* Teal */
    color: #fff;
}
.quick-access-dashboard .btn-add-cityarea {
    background-color: #8bc34a; /* Light Green */
    color: #fff;
}
.quick-access-dashboard .btn-add-item {
    background-color: #388e3c; /* Deep Green */
    color: #fff;
}
.quick-access-dashboard .btn-add-customer {
    background-color: #1976d2; /* Blue */
    color: #fff;
}
.quick-access-dashboard .btn-add-supplier {
    background-color: #ff9800; /* Orange */
    color: #fff;
}
.quick-access-dashboard .btn-link-items {
    background-color: #7c4dff; /* Purple */
    color: #fff;
}
.quick-access-dashboard .btn-add-expense {
    background-color: #e53935; /* Red */
    color: #fff;
}
.quick-access-dashboard .btn-add-jv {
    background-color: #283593; /* Navy */
    color: #fff;
}
.quick-access-dashboard .btn-add-rate-list {
    background-color: #757575; /* Grey */
    color: #fff;
}
.quick-access-dashboard .btn-add-booking {
    background-color: #3f51b5; /* Indigo */
    color: #fff;
}
.quick-access-dashboard .btn-inventory-bulk {
    background-color: #795548; /* Brown */
    color: #fff;
}
.quick-access-dashboard .btn-customer-bulk {
    background-color: #4fc3f7; /* Light Blue */
    color: #fff;
}
.quick-access-dashboard .btn-supplier-bulk {
    background-color: #ffc107; /* Amber */
    color: #212121;
}

/* ===== MINIMAL FIXES FOR SIDEBAR WIDTH AND CONTENT SPACING ===== */

/* Root Cause Fix: Override theme's old two-panel calculation */
.layout-sidebar-compact.sidenav-open .main-content-wrap {
    width: calc(100vw - 250px) !important;
    margin-left: 250px !important;
    padding: 0 1rem !important;
    box-sizing: border-box !important;
}

/* When sidebar is collapsed */
.layout-sidebar-compact:not(.sidenav-open) .main-content-wrap {
    width: 100vw !important;
    margin-left: 0 !important;
    padding: 0 1rem !important;
    box-sizing: border-box !important;
}

/* Make sidebar wider (250px instead of 76px) */
.layout-sidebar-compact .sidebar-left {
    width: 250px !important;
    left: -250px !important;
}

.layout-sidebar-compact.sidenav-open .sidebar-left {
    left: 0 !important;
    width: 250px !important;
}

/* Make navigation area wider */
.layout-sidebar-compact .sidebar-left .navigation-left {
    width: 250px !important;
    text-align: left !important;
    padding: 0 1rem !important;
}

/* Hide secondary sidebar completely */
.sidebar-left-secondary {
    display: none !important;
}

/* ===== SUBMENU STYLING FIXES ===== */

/* Fix submenu appearance - white text, proper size */
.layout-sidebar-compact .sidebar-left .submenu {
    background: rgba(255, 255, 255, 0.1) !important;
    border-left: 2px solid rgba(255, 255, 255, 0.3) !important;
    margin-left: 1rem !important;
    padding: 0.5rem 0 !important;
}

/* Submenu items styling */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a {
    color: #fff !important;
    font-size: 14px !important;
    padding: 0.75rem 1rem !important;
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

/* Submenu item hover effect */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    transform: translateX(5px) !important;
}

/* Submenu item active state */
.layout-sidebar-compact .sidebar-left .submenu .nav-item.active a {
    background: rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    font-weight: 600 !important;
}

/* Submenu icons */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a i {
    color: #fff !important;
    font-size: 16px !important;
    margin-right: 0.75rem !important;
    width: 20px !important;
    text-align: center !important;
    padding: 4px 8px;
    margin-top: 0;
    left: 4px;
    bottom: 12px;
}

/* Submenu text */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .item-name {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

/* Ensure submenu arrows are white */
.layout-sidebar-compact .sidebar-left .nav-item-hold .submenu-arrow {
    color: #fff !important;
    font-size: 12px !important;
    transition: transform 0.3s ease !important;
}

/* Rotate arrow when submenu is open */
.layout-sidebar-compact .sidebar-left .nav-item-hold[aria-expanded="true"] .submenu-arrow {
    transform: rotate(180deg) !important;
}

/* ===== BOOTSTRAP COLLAPSE FIXES ===== */

/* Ensure submenu collapse works properly */
.layout-sidebar-compact .sidebar-left .submenu.collapse {
    display: none !important;
}

.layout-sidebar-compact .sidebar-left .submenu.collapse.show {
    display: block !important;
}

.layout-sidebar-compact .sidebar-left .submenu.collapsing {
    height: 0 !important;
    overflow: hidden !important;
    transition: height 0.35s ease !important;
}

/* Fix submenu animation */
.layout-sidebar-compact .sidebar-left .submenu {
    transition: all 0.3s ease-in-out !important;
}

/* Ensure submenu items are clickable */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a {
    cursor: pointer !important;
    pointer-events: auto !important;
}

/* Fix any z-index issues */
.layout-sidebar-compact .sidebar-left .submenu {
    z-index: 1000 !important;
    position: relative !important;
}

/* ===== MAIN MENU STYLING TO MATCH SCREENSHOT ===== */

/* Main menu items styling */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.75rem 1rem !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border-radius: 0 !important;
    background: transparent !important;
}

/* Main menu item hover effect */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

/* Main menu item active state */
.layout-sidebar-compact .sidebar-left .nav-item.active .nav-item-hold {
  /*   background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    font-weight: 600 !important;*/
}

/* Main menu icons */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold i:first-child {
    color: #fff !important;
    font-size: 18px !important;
    margin-right: 0.75rem !important;
    width: 20px !important;
    text-align: center !important;
}

/* Main menu text */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .nav-text {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    flex: 1 !important;
}

/* Dropdown arrow styling */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .submenu-arrow {
    color: #fff !important;
    font-size: 12px !important;
    transition: transform 0.3s ease !important;
    margin-left: auto !important;
}

/* Rotate arrow when submenu is open */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold[aria-expanded="true"] .submenu-arrow {
    transform: rotate(180deg) !important;
}

/* ===== SUBMENU STYLING UPDATE ===== */

/* Submenu container */
.layout-sidebar-compact .sidebar-left .submenu {
    background: transparent !important;
    border-left: 2px solid rgba(255, 255, 255, 0.2) !important;
    margin-left: 1.5rem !important;
    padding: 0.25rem 0 !important;
    border-radius: 0 !important;
}

/* Submenu items */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 13px !important;
    padding: 0.5rem 1rem !important;
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

/* Submenu item before indicator */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a:before {
    content: none !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-right: 0.5rem !important;
    font-weight: bold !important;
}

/* Submenu item hover */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateX(3px) !important;
}

/* Submenu item active */
.layout-sidebar-compact .sidebar-left .submenu .nav-item.active a {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.15) !important;
    font-weight: 500 !important;
}

/* Submenu icons */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a i {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
    margin-right: 0.5rem !important;
    width: 16px !important;
    text-align: center !important;
}

/* Submenu text */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .item-name {
    color: inherit !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}

/* ===== SUBMENU DISPLAY FIXES ===== */

/* Ensure submenus are hidden by default */
.layout-sidebar-compact .sidebar-left .submenu {
    display: none !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: all 0.3s ease-in-out !important;
}

/* Show submenu when it has 'show' class */
.layout-sidebar-compact .sidebar-left .submenu.show {
    display: block !important;
    max-height: 500px !important;
    overflow: visible !important;
}

/* Bootstrap collapse compatibility */
.layout-sidebar-compact .sidebar-left .submenu.collapse:not(.show) {
    display: none !important;
}

.layout-sidebar-compact .sidebar-left .submenu.collapse.show {
    display: block !important;
}

.layout-sidebar-compact .sidebar-left .submenu.collapsing {
    height: 0 !important;
    overflow: hidden !important;
    transition: height 0.35s ease !important;
}

/* Ensure submenu items are visible when parent is active */
.layout-sidebar-compact .sidebar-left .nav-item.active .submenu {
    display: block !important;
    max-height: 500px !important;
    overflow: visible !important;
}

/* ===== SMOOTH SUBMENU ANIMATIONS ===== */

/* Smooth transition for submenu show/hide */
.layout-sidebar-compact .sidebar-left .submenu {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    transform-origin: top !important;
}

/* Animation for opening submenu */
.layout-sidebar-compact .sidebar-left .submenu.show {
    animation: slideDown 0.3s ease-out !important;
}

/* Animation for closing submenu */
.layout-sidebar-compact .sidebar-left .submenu:not(.show) {
    animation: slideUp 0.3s ease-out !important;
}

/* Keyframe animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
}

/* Prevent animation conflicts */
.layout-sidebar-compact .sidebar-left .submenu.collapsing {
    animation: none !important;
    transition: height 0.35s ease !important;
}

/* Ensure proper z-index for animations */
.layout-sidebar-compact .sidebar-left .submenu {
    z-index: 1000 !important;
    position: relative !important;
}

/* 3-Step Nested Menu Structure - Third Level Submenus */
.layout-sidebar-compact .sidebar-left .submenu .submenu {
    padding-left: 1rem !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-left: 2px solid rgba(255, 255, 255, 0.1) !important;
    margin-left: 0.5rem !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border-left: none !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item.active a {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    font-weight: 500 !important;
}

/* Third level submenu arrow styling */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow {
    font-size: 0.75rem !important;
    margin-left: auto !important;
    transition: transform 0.3s ease !important;
}

.layout-sidebar-compact .sidebar-left .submenu .nav-item a[aria-expanded="true"] .submenu-arrow {
    transform: rotate(90deg) !important;
}

/* Ensure proper spacing for third level items */
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a i:first-child {
    width: 1rem !important;
    margin-right: 0.5rem !important;
    font-size: 0.8rem !important;
}

/* Animation for third level submenus */
.layout-sidebar-compact .sidebar-left .submenu .submenu {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu.show {
    max-height: 500px !important;
}

/* Ensure proper z-index for nested menus */
.layout-sidebar-compact .sidebar-left .submenu .submenu {
    z-index: 1001 !important;
    position: relative !important;
}

/* Hover effects for third level parent items */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

/* Active state for third level parent items */
.layout-sidebar-compact .sidebar-left .submenu .nav-item.active > a {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    font-weight: 500 !important;
}

/* Ensure proper indentation for all levels */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a {
    padding-left: 1.5rem !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a {
    padding-left: 2rem !important;
}

/* Icon alignment for third level */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a i.nav-icon-width {
    width: 1.2rem !important;
    text-align: center !important;
    margin-right: 0.5rem !important;
}

/* Ensure proper spacing between menu sections */
.layout-sidebar-compact .sidebar-left .navigation-left > .nav-item {
    margin-bottom: 0.25rem !important;
}

.layout-sidebar-compact .sidebar-left .submenu {
    margin-bottom: 0.5rem !important;
}

/* Prevent animation conflicts for third level */
.layout-sidebar-compact .sidebar-left .submenu .submenu.collapsing {
    animation: none !important;
    transition: height 0.35s ease !important;
}

/* Ensure proper backface visibility for smooth animations */
.layout-sidebar-compact .sidebar-left .submenu .submenu {
    backface-visibility: hidden !important;
    transform: translateZ(0) !important;
}

/* Additional styling for 3-step menu hierarchy */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow {
    transition: transform 0.3s ease !important;
    font-size: 0.7rem !important;
    opacity: 0.7 !important;
}

.layout-sidebar-compact .sidebar-left .submenu .nav-item a:hover .submenu-arrow {
    opacity: 1 !important;
}

.layout-sidebar-compact .sidebar-left .submenu .nav-item a[aria-expanded="true"] .submenu-arrow {
    transform: rotate(90deg) !important;
    opacity: 1 !important;
}

/* Ensure proper spacing for menu items */
.layout-sidebar-compact .sidebar-left .submenu .nav-item {
    margin-bottom: 0.125rem !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item {
    margin-bottom: 0.0625rem !important;
}

/* Visual separator for third level */
.layout-sidebar-compact .sidebar-left .submenu .submenu {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    margin-top: 0.25rem !important;
    padding-top: 0.25rem !important;
}

/* Hover effects for better UX */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%) !important;
}

/* Active state styling */
.layout-sidebar-compact .sidebar-left .submenu .nav-item.active > a {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%) !important;
    border-left: 3px solid #ffffff !important;
    font-weight: 500 !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item.active > a {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%) !important;
    border-left: 2px solid rgba(255, 255, 255, 0.7) !important;
}

/* Ensure proper text wrapping */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .item-name {
    flex: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Icon alignment improvements */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a i:first-child {
    flex-shrink: 0 !important;
    width: 1.2rem !important;
    text-align: center !important;
    margin-right: 0.75rem !important;
}

/* Smooth transitions for all menu interactions */
.layout-sidebar-compact .sidebar-left .submenu,
.layout-sidebar-compact .sidebar-left .submenu .submenu {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Ensure proper z-index stacking */
.layout-sidebar-compact .sidebar-left .submenu {
    z-index: 1000 !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu {
    z-index: 1001 !important;
}

/* Mobile responsiveness for 3-step menu */
@media (max-width: 768px) {
    .layout-sidebar-compact .sidebar-left .submenu .submenu {
        padding-left: 0.5rem !important;
    }
    
    .layout-sidebar-compact .sidebar-left .submenu .nav-item a {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
    }
    
    .layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
    }
}

/* ===== SIDEBAR LAYOUT FIXES ===== */

/* Increase sidebar width for better space usage */
.layout-sidebar-compact.sidenav-open .main-content-wrap {
    width: calc(100vw - 300px) !important;
    margin-left: 300px !important;
    padding: 0 1rem !important;
    box-sizing: border-box !important;
}

/* When sidebar is collapsed */
.layout-sidebar-compact:not(.sidenav-open) .main-content-wrap {
    width: 100vw !important;
    margin-left: 0 !important;
    padding: 0 1rem !important;
    box-sizing: border-box !important;
}

/* Make sidebar wider (300px instead of 250px) for better space usage */
.layout-sidebar-compact .sidebar-left {
    width: 300px !important;
    left: -300px !important;
}

.layout-sidebar-compact.sidenav-open .sidebar-left {
    left: 0 !important;
    width: 280px !important;
}

/* 49. ENSURE SIDEBAR WIDTH CONSISTENCY */
html body .layout-sidebar-compact.sidenav-open .sidebar-left {
    width: 280px !important;
    left: 0 !important;
}

html body .layout-sidebar-compact:not(.sidenav-open) .sidebar-left {
    width: 280px !important;
    left: -280px !important;
}

/* Ensure header and footer have proper z-index */
.layout-sidebar-compact .main-header {
    z-index: 1000 !important;
    position: relative !important;
    padding: 0.5rem 1rem !important;
    min-height: 50px !important;
}

.layout-sidebar-compact .app-footer {
    z-index: 1000 !important;
    position: relative !important;
}

/* Make navigation area wider */
.layout-sidebar-compact .sidebar-left .navigation-left {
    width: 300px !important;
    text-align: left !important;
    padding: 0 1rem !important;
}

/* Hide secondary sidebar completely */
.sidebar-left-secondary {
    display: none !important;
}

/* ===== PARENT MENU LABELS - FIXED ===== */

/* Show parent menu labels */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .nav-text {
    display: inline-block !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    margin-left: 0.75rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 180px !important;
}

/* Parent menu item styling */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold {
    color: #fff !important;
    font-size: 16px !important;
    padding: 1rem 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border-radius: 8px !important;
    margin: 0.25rem 0 !important;
}

/* Parent menu hover effect */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    transform: translateX(5px) !important;
}

/* Parent menu active state */
.layout-sidebar-compact .sidebar-left .nav-item.active .nav-item-hold {
    /*background: rgba(255, 255, 255, 0.25) !important;
    color: #fff !important;
    font-weight: 600 !important; */
}

/* Parent menu icons */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold i:first-child {
    color: #fff !important;
    font-size: 20px !important;
    margin-right: 0.75rem !important;
    width: 24px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
}

/* Parent menu arrows */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .submenu-arrow {
    color: #fff !important;
    font-size: 12px !important;
    margin-left: auto !important;
    transition: transform 0.3s ease !important;
    flex-shrink: 0 !important;
}

/* Rotate arrow when submenu is open */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold[aria-expanded="true"] .submenu-arrow {
    transform: rotate(180deg) !important;
}

/* ===== SUBMENU STYLING FIXES ===== */

/* Fix submenu appearance - white text, proper size */
.layout-sidebar-compact .sidebar-left .submenu {
    background: rgba(255, 255, 255, 0.08) !important;
    border-left: 2px solid rgba(255, 255, 255, 0.2) !important;
    margin-left: 1.5rem !important;
    padding: 0.5rem 0 !important;
    border-radius: 0 8px 8px 0 !important;
}

/* Submenu items styling */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a {
    color: #fff !important;
    font-size: 14px !important;
    padding: 0.75rem 1rem !important;
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border-radius: 6px !important;
    margin: 0.125rem 0.5rem !important;
}

/* Submenu item hover effect */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    transform: translateX(5px) !important;
}

/* Submenu item active state */
.layout-sidebar-compact .sidebar-left .submenu .nav-item.active a {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #fff !important;
    font-weight: 600 !important;
}

/* Submenu icons */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a i {
    color: #fff !important;
    font-size: 16px !important;
    margin-right: 0.75rem !important;
    width: 20px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
}

/* Submenu text */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .item-name {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 200px !important;
}

/* ===== 3RD LEVEL SUBMENU FIXES ===== */

/* Prevent auto-expansion of 3rd level menus */
.layout-sidebar-compact .sidebar-left .submenu .submenu {
    background: rgba(255, 255, 255, 0.05) !important;
    border-left: 2px solid rgba(255, 255, 255, 0.15) !important;
    margin-left: 1rem !important;
    padding: 0.25rem 0 !important;
    border-radius: 0 6px 6px 0 !important;
}

/* 3rd level submenu items - REMOVED DASHES */
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a {
    color: #fff !important;
    font-size: 13px !important;
    padding: 0.5rem 0.75rem !important;
    margin: 0.125rem 0.25rem !important;
    border-radius: 4px !important;
}

/* 3rd level submenu icons */
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a i:first-child {
    font-size: 14px !important;
    margin-right: 0.5rem !important;
    width: 16px !important;
}

/* 3rd level submenu text - NO DASHES */
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .item-name {
    font-size: 13px !important;
    max-width: 160px !important;
    /* Remove any pseudo-elements that might add dashes */
}

/* ===== IMPROVED ANIMATIONS ===== */

/* Smooth collapse animations with better timing */
.layout-sidebar-compact .sidebar-left .submenu.collapse {
    display: none !important;
}

.layout-sidebar-compact .sidebar-left .submenu.collapse.show {
    display: block !important;
    animation: slideDown 0.3s ease-out !important;
}

.layout-sidebar-compact .sidebar-left .submenu.collapsing {
    height: 0 !important;
    overflow: hidden !important;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Enhanced slide animations */
@keyframes slideDown {
    from {
        opacity: 0 !important;
        transform: translateY(-10px) !important;
        max-height: 0 !important;
    }
    to {
        opacity: 1 !important;
        transform: translateY(0) !important;
        max-height: 500px !important;
    }
}

@keyframes slideUp {
    from {
        opacity: 1 !important;
        transform: translateY(0) !important;
        max-height: 500px !important;
    }
    to {
        opacity: 0 !important;
        transform: translateY(-10px) !important;
        max-height: 0 !important;
    }
}

/* Smooth hover transitions */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Smooth arrow rotations */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .submenu-arrow,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ===== REMOVE ANY DASHES FROM MENU ITEMS ===== */

/* Ensure no dashes appear in any menu items */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .item-name::before,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .item-name::before {
    content: none !important;
}

.layout-sidebar-compact .sidebar-left .submenu .nav-item a .item-name::after,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .item-name::after {
    content: none !important;
}

/* ===== TOOLTIP FUNCTIONALITY ===== */

/* Custom tooltip styles */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a {
    position: relative !important;
}

/* Tooltip on hover */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold:hover::after,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a:hover::after {
    content: attr(title) !important;
    position: absolute !important;
    left: 100% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(0, 0, 0, 0.9) !important;
    color: #fff !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    z-index: 1000 !important;
    margin-left: 10px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    pointer-events: none !important;
    opacity: 1 !important;
    transition: opacity 0.3s ease !important;
}

/* Tooltip arrow */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold:hover::before,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a:hover::before {
    content: '' !important;
    position: absolute !important;
    left: 100% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    border: 5px solid transparent !important;
    border-right-color: rgba(0, 0, 0, 0.9) !important;
    margin-left: 5px !important;
    z-index: 1000 !important;
    pointer-events: none !important;
}

/* ===== SUBMENU ARROW STYLING ===== */

/* Submenu arrows in 2nd level */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow {
    color: #fff !important;
    font-size: 10px !important;
    margin-left: auto !important;
    transition: transform 0.3s ease !important;
    flex-shrink: 0 !important;
}

/* Rotate submenu arrow when open */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a[aria-expanded="true"] .submenu-arrow {
    transform: rotate(90deg) !important;
}

/* ===== COLLAPSE ANIMATIONS ===== */

/* Smooth collapse animations */
.layout-sidebar-compact .sidebar-left .submenu.collapse {
    display: none !important;
}

.layout-sidebar-compact .sidebar-left .submenu.collapse.show {
    display: block !important;
}

.layout-sidebar-compact .sidebar-left .submenu.collapsing {
    height: 0 !important;
    overflow: hidden !important;
    transition: height 0.35s ease !important;
}

/* ===== RESPONSIVE FIXES ===== */

@media (max-width: 768px) {
    /* Reduce sidebar width on mobile */
    .layout-sidebar-compact .sidebar-left {
        width: 280px !important;
        left: -280px !important;
    }
    
    .layout-sidebar-compact.sidenav-open .sidebar-left {
        left: 0 !important;
        width: 280px !important;
    }
    
    .layout-sidebar-compact.sidenav-open .main-content-wrap {
        width: calc(100vw - 280px) !important;
        margin-left: 280px !important;
    }
    
    /* Adjust text sizes for mobile */
    .layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .nav-text {
        font-size: 15px !important;
        max-width: 160px !important;
    }
    
    .layout-sidebar-compact .sidebar-left .submenu .nav-item a .item-name {
        max-width: 180px !important;
    }
    
    .layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .item-name {
        max-width: 140px !important;
    }
}

/* ===== TRIANGLE INDICATOR ===== */

/* Hide triangle indicators as they're not needed with our design */
.layout-sidebar-compact .sidebar-left .nav-item .triangle {
    display: none !important;
}

/* ===== OVERRIDE THEME DISPLAY NONE ===== */

/* Force override theme's display:none for nav-text */
.layout-sidebar-compact .sidebar-left .navigation-left .nav-item .nav-item-hold .nav-text {
    display: inline-block !important;
}

/* Ensure submenu arrows are visible */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .submenu-arrow,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow {
    display: inline-block !important;
}

/* ===== ADDITIONAL OVERRIDES FOR MENU VISIBILITY ===== */

/* Ensure all menu elements are visible */
.layout-sidebar-compact .sidebar-left .navigation-left .nav-item .nav-item-hold {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

/* Ensure submenu containers are visible */
.layout-sidebar-compact .sidebar-left .submenu {
    display: block !important;
}

.layout-sidebar-compact .sidebar-left .submenu.collapse:not(.show) {
    display: none !important;
}

.layout-sidebar-compact .sidebar-left .submenu.collapse.show {
    display: block !important;
}

/* Ensure navigation container is properly sized */
.layout-sidebar-compact .sidebar-left .navigation-left {
    display: block !important;
    width: 100% !important;
}

/* Ensure nav-item containers are visible */
.layout-sidebar-compact .sidebar-left .navigation-left .nav-item {
    display: block !important;
    width: 100% !important;
}

/* ===== MENU SPACING AND LAYOUT IMPROVEMENTS ===== */

/* Better spacing between menu items */
.layout-sidebar-compact .sidebar-left .navigation-left .nav-item {
    margin-bottom: 0.25rem !important;
}

/* Ensure proper text wrapping and overflow handling */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .nav-text,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .item-name {
    word-wrap: break-word !important;
    hyphens: auto !important;
}

/* ===== DEBUGGING HELPERS (can be removed later) ===== */

/* Add subtle borders to help debug layout issues */
.layout-sidebar-compact .sidebar-left .navigation-left .nav-item .nav-item-hold {
    border: 1px solid transparent !important;
}

.layout-sidebar-compact .sidebar-left .submenu .nav-item a {
    border: 1px solid transparent !important;
}

/* ===== ENSURE PROPER Z-INDEX ===== */

/* Ensure menu elements are above other content */
.layout-sidebar-compact .sidebar-left .navigation-left {
    z-index: 100 !important;
    position: relative !important;
}

.layout-sidebar-compact .sidebar-left .submenu {
    z-index: 101 !important;
    position: relative !important;
}

/* ===== ANIMATION ENHANCEMENTS ===== */

/* Ensure smooth transitions during animations */
.layout-sidebar-compact .sidebar-left .submenu.animating {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Prevent layout shifts during animations */
.layout-sidebar-compact .sidebar-left .submenu {
    will-change: transform, opacity, max-height !important;
}

/* ===== COMPLETE DASH REMOVAL ===== */

/* Remove any possible dashes from all menu items */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .item-name,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .item-name {
    /* Ensure no dashes are added by any CSS */
    content: none !important;
}

/* Remove any pseudo-elements that might add dashes */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .item-name::before,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .item-name::after,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .item-name::before,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .item-name::after {
    content: none !important;
    display: none !important;
}

/* ===== IMPROVED SPACING FOR BETTER VISIBILITY ===== */

/* Better spacing for 3rd level items */
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a {
    padding-left: 1.5rem !important;
    margin-left: 0.5rem !important;
}

/* Ensure proper text alignment */
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .item-name {
    text-align: left !important;
    padding-left: 0 !important;
}

/* ===== ENHANCED VISUAL HIERARCHY ===== */

/* Better visual distinction for different menu levels */
.layout-sidebar-compact .sidebar-left .submenu {
    border-left: 2px solid rgba(255, 255, 255, 0.2) !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu {
    border-left: 2px solid rgba(255, 255, 255, 0.15) !important;
    margin-left: 0.5rem !important;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */

/* Use hardware acceleration for animations */
.layout-sidebar-compact .sidebar-left .submenu {
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
}

/* Optimize repaints during animations */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a {
    transform: translateZ(0) !important;
}

/* ===== COMPLETE DASH REMOVAL - COMPREHENSIVE OVERRIDE ===== */

/* Remove any possible dashes from all submenu items */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a:before,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a:after,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a:before,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a:after {
    content: none !important;
    display: none !important;
}

/* Remove any possible dashes from item-name elements */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .item-name:before,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .item-name:after,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .item-name:before,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .item-name:after {
    content: none !important;
    display: none !important;
}

/* Ensure no pseudo-elements add any content */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a *:before,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a *:after {
    content: none !important;
}

/* ===== MENU SPACING FIXES - PREVENT MERGING ===== */

/* Increase spacing between all menu items to prevent merging */
.layout-sidebar-compact .sidebar-left .submenu .nav-item {
    margin-bottom: 0.5rem !important;
    padding: 0.25rem 0 !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item {
    margin-bottom: 0.25rem !important;
    padding: 0.125rem 0 !important;
}

/* Ensure proper spacing for submenu items */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a {
    padding: 0.75rem 1rem !important;
    margin: 0.125rem 0.5rem !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a {
    padding: 0.5rem 0.75rem !important;
    margin: 0.125rem 0.25rem !important;
    border-radius: 4px !important;
}

/* Add visual separation between menu sections */
.layout-sidebar-compact .sidebar-left .submenu {
    padding: 0.5rem 0 !important;
    margin: 0.25rem 0 !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu {
    padding: 0.25rem 0 !important;
    margin: 0.125rem 0 !important;
}

/* ===== COMPLETE DASH REMOVAL - ULTIMATE OVERRIDE ===== */

/* Remove ALL possible dashes from ALL menu items - comprehensive override */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a:before,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a:after,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a:before,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a:after,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .item-name:before,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .item-name:after,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .item-name:before,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .item-name:after,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a *:before,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a *:after,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a *:before,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a *:after {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
}

/* Override any theme CSS that might be adding dashes */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a::before,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a::after {
    content: none !important;
    display: none !important;
}

/* Ensure no pseudo-elements exist at all */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a:before,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a:after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}



/* ===== FORCE FONTAWESOME FOR ALL SUBMENU ICONS ===== */

/* Force FontAwesome for all submenu icons */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a i,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a i {
    font-family: 'FontAwesome' !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Specific override for submenu arrow icons */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .submenu-arrow {
    font-family: 'FontAwesome' !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Force FontAwesome for specific icon classes */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fas,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fa,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .fas,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .fa {
    font-family: 'FontAwesome' !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}



/* ===== ULTRA-SPECIFIC FONTAWESOME OVERRIDE ===== */

/* Override iconsmind font-family for ALL submenu icons */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a i,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a i,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fas,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fa,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .fas,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .fa,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .submenu-arrow {
    font-family: 'FontAwesome' !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Even more specific override for iconsmind */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a i[class*="fa"],
.layout-sidebar-compact .sidebar-left .submenu .nav-item a i[class*="fas"],
.layout-sidebar-compact .sidebar-left .submenu .nav-item a i[class*="far"],
.layout-sidebar-compact .sidebar-left .submenu .nav-item a i[class*="fab"],
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a i[class*="fa"],
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a i[class*="fas"],
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a i[class*="far"],
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a i[class*="fab"] {
    font-family: 'FontAwesome' !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Specific override for submenu arrow icons */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fas.fa-chevron-right,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fas.fa-chevron-down,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fa.fa-chevron-right,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fa.fa-chevron-down {
    font-family: 'FontAwesome' !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
    font-size: 0.8rem !important;
    margin-left: auto !important;
    position: relative !important;
    z-index: 10 !important;
    min-width: 12px !important;
    min-height: 12px !important;
}

/* Force FontAwesome for all submenu icons */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a i,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a i {
    font-family: 'FontAwesome' !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Specific override for submenu arrow icons */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .submenu-arrow {
    font-family: 'FontAwesome' !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Force FontAwesome for specific icon classes */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fas,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fa,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .fas,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .fa {
    font-family: 'FontAwesome' !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}



/* ===== ULTRA-SPECIFIC FONTAWESOME OVERRIDE ===== */

/* Override iconsmind font-family for ALL submenu icons */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a i,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a i,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fas,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fa,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .fas,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .fa,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow,
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .submenu-arrow {
    font-family: 'FontAwesome' !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Specific override for arrow icons */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fas.fa-chevron-right,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fas.fa-chevron-down,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fa.fa-chevron-right,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fa.fa-chevron-down {
    font-family: 'FontAwesome' !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
    font-size: 0.8rem !important;
    margin-left: auto !important;
    position: relative !important;
    z-index: 10 !important;
    min-width: 12px !important;
    min-height: 12px !important;
}

/* Force content for FontAwesome icons */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fas.fa-chevron-right:before {
    content: "\f054" !important;
}

body .layout-sidebar-compact .sidebar-left .submenu .nav-item a .fas.fa-chevron-down:before {
    content: "\f078" !important;
}

/* Fallback content for all FontAwesome icons */
body .layout-sidebar-compact .sidebar-left .submenu .nav-item a i[class*="fa"]:before {
    content: attr(data-icon) !important;
}

/* Ensure all submenu icons are visible */
body .layout-sidebar-compact .sidebar-left .submenu .nav-item a i,
body .layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a i {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-width: 12px !important;
    min-height: 12px !important;
}

/* ===== SPACE OPTIMIZATION FOR SIDEBAR MENU ===== */

/* 1. REDUCE VERTICAL HEIGHT OF ALL MENU ITEMS */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold {
    padding: 0.5rem 1rem !important; /* Reduced from default */
    min-height: 45px !important; /* Reduced from default */
    line-height: 1.2 !important;
}

/* Reduce vertical height of submenu items */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a {
    padding: 0.4rem 1rem !important; /* Reduced from 0.75rem */
    min-height: 35px !important; /* Reduced height */
    line-height: 1.2 !important;
}

/* Reduce vertical height of third-level submenu items */
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a {
    padding: 0.35rem 1rem !important; /* Even more compact */
    min-height: 32px !important; /* Smaller height */
    line-height: 1.1 !important;
}

/* 2. OPTIMIZE HORIZONTAL SPACING BETWEEN ICONS AND LABELS */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a i {
    margin-right: 0.5rem !important; /* Reduced from 0.75rem */
    width: 18px !important; /* Reduced from 20px */
    min-width: 18px !important;
    text-align: center !important;
}

/* Optimize spacing for third-level submenu icons */
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a i {
    margin-right: 0.4rem !important; /* Even tighter spacing */
    width: 16px !important; /* Smaller icon width */
    min-width: 16px !important;
}

/* 3. IMPROVE NESTED ALIGNMENT FOR BETTER VISUAL HIERARCHY */
.layout-sidebar-compact .sidebar-left .submenu {
    margin-left: 0.75rem !important; /* Reduced from 1rem */
    padding: 0.25rem 0 !important; /* Reduced from 0.5rem */
}

/* Third-level submenu indentation */
.layout-sidebar-compact .sidebar-left .submenu .submenu {
    margin-left: 0.5rem !important; /* Tighter indentation */
    padding: 0.2rem 0 !important; /* Minimal padding */
}

/* 4. OPTIMIZE SUBMENU ARROW SPACING */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow {
    margin-left: 0.3rem !important; /* Reduced spacing */
    font-size: 10px !important; /* Smaller arrow */
}

/* 5. COMPACT TEXT SIZES */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .item-name {
    font-size: 13px !important; /* Reduced from 14px */
    font-weight: 400 !important;
}

/* Even smaller text for third-level */
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .item-name {
    font-size: 12px !important; /* Smaller for third level */
}

/* 6. OPTIMIZE ICON SIZES */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a i {
    font-size: 14px !important; /* Reduced from 16px */
}

.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a i {
    font-size: 13px !important; /* Smaller for third level */
}

/* 7. REDUCE OVERALL SUBMENU PADDING */
.layout-sidebar-compact .sidebar-left .submenu {
    padding: 0.2rem 0 !important; /* Minimal padding */
}

.layout-sidebar-compact .sidebar-left .submenu .submenu {
    padding: 0.15rem 0 !important; /* Even less padding */
}

/* 8. OPTIMIZE HOVER EFFECTS FOR COMPACT DESIGN */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a:hover {
    transform: translateX(3px) !important; /* Reduced from 5px */
    padding-left: 1.2rem !important; /* Slightly more padding on hover */
}

/* 9. COMPACT MAIN MENU ITEMS */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .nav-text {
    font-size: 14px !important; /* Slightly smaller */
    line-height: 1.2 !important;
}

/* 10. OPTIMIZE ARROW POSITIONING */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .submenu-arrow {
    font-size: 10px !important; /* Smaller main arrows */
    margin-left: 0.5rem !important; /* Reduced spacing */
}

/* 11. COMPACT ICON WIDTH FOR MAIN MENU */
.nav-icon-width {
    width: 20px !important; /* Reduced from default */
    min-width: 20px !important;
    text-align: center !important;
}

/* 12. OPTIMIZE SPACING FOR MAIN MENU ICONS */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold i:first-child {
    margin-right: 0.75rem !important; /* Reduced spacing */
    width: 20px !important; /* Consistent width */
    min-width: 20px !important;
}

/* 13. COMPACT SUBMENU BACKGROUND */
.layout-sidebar-compact .sidebar-left .submenu {
    background: rgba(255, 255, 255, 0.08) !important; /* Lighter background */
    border-left: 1px solid rgba(255, 255, 255, 0.2) !important; /* Thinner border */
}

/* 14. OPTIMIZE THIRD-LEVEL SUBMENU BACKGROUND */
.layout-sidebar-compact .sidebar-left .submenu .submenu {
    background: rgba(255, 255, 255, 0.05) !important; /* Even lighter */
    border-left: 1px solid rgba(255, 255, 255, 0.15) !important; /* Subtle border */
}

/* 15. COMPACT ACTIVE STATE */
.layout-sidebar-compact .sidebar-left .submenu .nav-item.active a {
    padding: 0.4rem 1rem !important; /* Consistent with normal state */
    background: rgba(255, 255, 255, 0.25) !important; /* Slightly more visible */
}

/* 16. OPTIMIZE FOR MOBILE */
@media (max-width: 768px) {
    .layout-sidebar-compact .sidebar-left .submenu .nav-item a {
        padding: 0.5rem 1rem !important; /* Slightly more padding on mobile */
        min-height: 40px !important; /* Better touch target */
    }
    
    .layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a {
        padding: 0.45rem 1rem !important;
        min-height: 38px !important;
    }
}

/* 17. ENSURE CONSISTENT ALIGNMENT */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

/* 18. OPTIMIZE SPACING FOR ICONS WITH UNICODE */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a i[style*="font-family: inherit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    margin-right: 0.5rem !important;
}

/* 19. COMPACT ARROW ROTATION ANIMATION */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow {
    transition: transform 0.2s ease !important; /* Faster animation */
}

/* 20. FINAL SPACING OPTIMIZATION */
.layout-sidebar-compact .sidebar-left .submenu .nav-item {
    margin-bottom: 0 !important; /* Remove any bottom margin */
}

.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item {
    margin-bottom: 0 !important;
}

/* ===== ULTRA-SPECIFIC SPACE OPTIMIZATION OVERRIDES ===== */

/* Override conflicting submenu padding rules with higher specificity */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a:hover,
.layout-sidebar-compact .sidebar-left .submenu .nav-item.active a {
    padding: 0.4rem 1rem !important; /* Override 0.75rem */
    min-height: 35px !important;
    line-height: 1.2 !important;
}

/* Override conflicting icon spacing rules */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a i,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a i:first-child {
    margin-right: 0.5rem !important; /* Override 0.75rem */
    width: 18px !important; /* Override 20px */
    min-width: 18px !important;
    font-size: 14px !important; /* Override 16px */
    text-align: center !important;
}

/* Override conflicting text size rules */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .item-name {
    font-size: 13px !important; /* Override 14px */
    font-weight: 400 !important;
}

/* Override conflicting submenu padding */
.layout-sidebar-compact .sidebar-left .submenu {
    padding: 0.2rem 0 !important; /* Override 0.5rem */
    margin-left: 0.75rem !important; /* Override 1rem */
}

/* Override conflicting main menu padding */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold {
    padding: 0.5rem 1rem !important; /* Override 0.75rem */
    min-height: 45px !important;
    line-height: 1.2 !important;
}

/* Override conflicting main menu icon spacing */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold i:first-child {
    margin-right: 0.75rem !important; /* Override any conflicting rules */
    width: 20px !important;
    min-width: 20px !important;
}

/* Override conflicting third-level submenu rules */
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a {
    padding: 0.35rem 1rem !important;
    min-height: 32px !important;
    line-height: 1.1 !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a i {
    margin-right: 0.4rem !important;
    width: 16px !important;
    min-width: 16px !important;
    font-size: 13px !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .item-name {
    font-size: 12px !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu {
    margin-left: 0.5rem !important;
    padding: 0.15rem 0 !important;
}

/* Override conflicting arrow spacing */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow {
    margin-left: 0.3rem !important;
    font-size: 10px !important;
}

/* Override conflicting main menu arrow */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .submenu-arrow {
    font-size: 10px !important;
    margin-left: 0.5rem !important;
}

/* Override conflicting hover effects */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a:hover {
    transform: translateX(3px) !important; /* Override 5px */
    padding-left: 1.2rem !important;
}

/* Override conflicting active state */
.layout-sidebar-compact .sidebar-left .submenu .nav-item.active a {
    padding: 0.4rem 1rem !important; /* Keep consistent */
    background: rgba(255, 255, 255, 0.25) !important;
}

/* Override conflicting main menu text */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .nav-text {
    font-size: 14px !important;
    line-height: 1.2 !important;
}

/* Override conflicting icon width class */
.nav-icon-width {
    width: 20px !important;
    min-width: 20px !important;
    text-align: center !important;
}

/* Override conflicting Unicode icon spacing */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a i[style*="font-family: inherit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    margin-right: 0.5rem !important;
}

/* Override conflicting submenu background */
.layout-sidebar-compact .sidebar-left .submenu {
    background: rgba(255, 255, 255, 0.08) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu {
    background: rgba(255, 255, 255, 0.05) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Override conflicting margin rules */
.layout-sidebar-compact .sidebar-left .submenu .nav-item {
    margin-bottom: 0 !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item {
    margin-bottom: 0 !important;
}

/* Override conflicting arrow animation */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow {
    transition: transform 0.2s ease !important;
}

/* Override conflicting alignment */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

/* Mobile overrides */
@media (max-width: 768px) {
    .layout-sidebar-compact .sidebar-left .submenu .nav-item a {
        padding: 0.5rem 1rem !important;
        min-height: 40px !important;
    }
    
    .layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a {
        padding: 0.45rem 1rem !important;
        min-height: 38px !important;
    }
}

/* ===== MAXIMUM SPECIFICITY SPACE OPTIMIZATION OVERRIDES ===== */

/* Maximum specificity overrides for all conflicting rules */
body .layout-sidebar-compact .sidebar-left .submenu .nav-item a,
body .layout-sidebar-compact .sidebar-left .submenu .nav-item a:hover,
body .layout-sidebar-compact .sidebar-left .submenu .nav-item.active a {
    padding: 0.4rem 1rem !important;
    min-height: 35px !important;
    line-height: 1.2 !important;
}

body .layout-sidebar-compact .sidebar-left .submenu .nav-item a i,
body .layout-sidebar-compact .sidebar-left .submenu .nav-item a i:first-child {
    margin-right: 0.5rem !important;
    width: 18px !important;
    min-width: 18px !important;
    font-size: 14px !important;
    text-align: center !important;
}

body .layout-sidebar-compact .sidebar-left .submenu .nav-item a .item-name {
    font-size: 14px !important;
    font-weight: 500 !important;
}

body .layout-sidebar-compact .sidebar-left .submenu {
    padding: 0.2rem 0 !important;
    margin-left: 0.75rem !important;
}

body .layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold {
    padding: 0.5rem 1rem !important;
    min-height: 45px !important;
    line-height: 1.2 !important;
}

body .layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold i:first-child {
    margin-right: 0.75rem !important;
    width: 20px !important;
    min-width: 20px !important;
}

body .layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a {
    padding: 0.35rem 1rem !important;
    min-height: 32px !important;
    line-height: 1.1 !important;
}

body .layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a i {
    margin-right: 0.4rem !important;
    width: 16px !important;
    min-width: 16px !important;
    font-size: 13px !important;
}

body .layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .item-name {
    font-size: 12px !important;
}

body .layout-sidebar-compact .sidebar-left .submenu .submenu {
    margin-left: 0.5rem !important;
    padding: 0.15rem 0 !important;
}

body .layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow {
    margin-left: 0.3rem !important;
    font-size: 10px !important;
}

body .layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .submenu-arrow {
    font-size: 10px !important;
    margin-left: 0.5rem !important;
}

body .layout-sidebar-compact .sidebar-left .submenu .nav-item a:hover {
    transform: translateX(3px) !important;
    padding-left: 1.2rem !important;
}

body .layout-sidebar-compact .sidebar-left .submenu .nav-item.active a {
    padding: 0.4rem 1rem !important;
    background: rgba(255, 255, 255, 0.25) !important;
}

body .layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .nav-text {
    font-size: 14px !important;
    line-height: 1.2 !important;
}

body .nav-icon-width {
    width: 20px !important;
    min-width: 20px !important;
    text-align: center !important;
}

body .layout-sidebar-compact .sidebar-left .submenu .nav-item a i[style*="font-family: inherit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    margin-right: 0.5rem !important;
}

body .layout-sidebar-compact .sidebar-left .submenu {
    background: rgba(255, 255, 255, 0.08) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
}

body .layout-sidebar-compact .sidebar-left .submenu .submenu {
    background: rgba(255, 255, 255, 0.05) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
}

body .layout-sidebar-compact .sidebar-left .submenu .nav-item {
    margin-bottom: 0 !important;
}

body .layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item {
    margin-bottom: 0 !important;
}

body .layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow {
    transition: transform 0.2s ease !important;
}

body .layout-sidebar-compact .sidebar-left .submenu .nav-item a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

/* Mobile overrides with maximum specificity */
@media (max-width: 768px) {
    body .layout-sidebar-compact .sidebar-left .submenu .nav-item a {
        padding: 0.5rem 1rem !important;
        min-height: 40px !important;
    }
    
    body .layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a {
        padding: 0.45rem 1rem !important;
        min-height: 38px !important;
    }
}

/* ===== ULTRA-SPECIFIC THIRD-LEVEL NESTING OVERRIDES ===== */

/* Maximum specificity overrides for third-level submenu items */
html body .layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a {
    padding-left: 2.5rem !important; /* Reduced from 3rem for better space usage */
    margin-left: 0.5rem !important; /* Reduced from 1rem */
    border-left: none !important; /* Remove the vertical border line */
    position: relative !important;
}

/* Remove the pseudo-element that creates the vertical border */
html body .layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a:before {
    content: none !important; /* Remove the vertical border element */
}

/* Adjust third-level icons to align with the red highlight area */
html body .layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a i:first-child {
    margin-left: -1rem !important; /* Move icons further left to align with red highlight */
    position: relative !important;
    z-index: 1 !important;
}

/* Simplify third-level submenu container - remove borders */
html body .layout-sidebar-compact .sidebar-left .submenu .submenu {
    margin-left: 0.5rem !important; /* Reduced margin */
    border-left: none !important; /* Remove container border */
    background: transparent !important; /* Remove background */
    border-radius: 0 !important; /* Remove rounded corners */
}

/* Adjust hover effects for third-level items */
html body .layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a:hover {
    transform: translateX(3px) !important; /* Reduced movement */
    padding-left: 2.7rem !important; /* Adjusted padding */
    background: rgba(255, 255, 255, 0.1) !important; /* Lighter background */
}

/* Simplify active state for third-level items */
html body .layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item.active a {
    background: rgba(255, 255, 255, 0.15) !important;
    border-left: none !important; /* Remove active border */
}

/* ===== SIDEBAR THEME TRANSFORMATION - WHITE BACKGROUND ===== */

/* 1. ADD LOGO SPACE AT TOP - MOVE MENU DOWN */
.layout-sidebar-compact .sidebar-left {
    background: #ffffff !important; /* Change to white background */
    border-right: 1px solid #e0e0e0 !important; /* Add subtle border */
}

/* Add logo container space at the top */
.layout-sidebar-compact .sidebar-left:before {
    content: "" !important;
    display: block !important;
    height: 80px !important; /* Space for logo */
    background: #f8f9fa !important; /* Light background for logo area */
    border-bottom: 1px solid #e0e0e0 !important;
    margin-bottom: 10px !important;
}

/* 2. WHITE BACKGROUND FOR ALL SIDEBAR ELEMENTS */
.layout-sidebar-compact .sidebar-left .navigation-left {
    background: #ffffff !important;
}

.layout-sidebar-compact .sidebar-left .submenu {
    background: #ffffff !important;
    border-left: 1px solid #e0e0e0 !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu {
    background: #ffffff !important;
    border-left: 1px solid #e0e0e0 !important;
}

/* 3. BLACK TEXT FOR ALL MENU LABELS */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .nav-text {
    color: #000000 !important; /* Black text for parent menu labels */
    font-weight: 500 !important;
}

.layout-sidebar-compact .sidebar-left .submenu .nav-item a .item-name {
    color: #000000 !important; /* Black text for submenu labels */
}

.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .item-name {
    color: #000000 !important; /* Black text for third-level labels */
}

/* 4. BLACK FONTAWESOME ICONS FOR PARENT LEVEL */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold i:first-child {
    color: #000000 !important; /* Black FontAwesome icons for parent menu */
}

.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .submenu-arrow {
    color: #000000 !important; /* Black arrows for parent menu */
}

/* 5. ADJUST HOVER AND ACTIVE STATES FOR WHITE BACKGROUND */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold:hover {
    background: #f8f9fa !important; /* Light grey hover for white background */
}

.layout-sidebar-compact .sidebar-left .nav-item.active .nav-item-hold {
}

.layout-sidebar-compact .sidebar-left .submenu .nav-item a:hover {
    background: #f8f9fa !important; /* Light grey hover for submenus */
}

.layout-sidebar-compact .sidebar-left .submenu .nav-item.active a {
    background: #e9ecef !important; /* Active state for submenus */
}

.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a:hover {
    background: #f8f9fa !important; /* Light grey hover for third-level */
}

.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item.active a {
    background: #e9ecef !important; /* Active state for third-level */
}

/* 6. ADJUST TRIANGLE AND OTHER ELEMENTS */
.layout-sidebar-compact .sidebar-left .nav-item .triangle {
    border-top-color: #e0e0e0 !important; /* Light border for triangle */
}

/* 7. MAXIMUM SPECIFICITY OVERRIDES */
html body .layout-sidebar-compact .sidebar-left {
    background: #ffffff !important;
}

html body .layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .nav-text {
    color: #000000 !important;
}

html body .layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold i:first-child {
    color: #000000 !important;
}

html body .layout-sidebar-compact .sidebar-left .submenu .nav-item a .item-name {
    color: #000000 !important;
}

html body .layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .item-name {
    color: #000000 !important;
}

/* ===== LOGO CONTAINER STYLES ===== */
/* Logo container styling */
.sidebar-logo-container {
    height: 60px !important;
    background: #f9fafc !important;
    border-bottom: 1px solid #e0e0e0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px !important;
    margin-bottom: 10px !important;
}

.sidebar-logo {
    display: flex !important;
    flex-direction: row !important; /* Changed from column to row for horizontal layout */
    align-items: center !important;
    justify-content: flex-start !important; /* Changed from center to flex-start */
    text-align: left !important; /* Changed from center to left */
    width: 100% !important; /* Ensure full width */
    gap: 10px !important; /* Add space between logo and text */
}

.sidebar-logo img {
    max-width: 50px !important;
    max-height: 40px !important;
    margin-bottom: 0 !important; /* Remove bottom margin since it's now horizontal */
    flex-shrink: 0 !important; /* Prevent logo from shrinking */
}

.logo-text {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #000000 !important;
    text-align: left !important; /* Changed from center to left */
    line-height: 1.2 !important; /* Better line height for multi-line text */
    word-wrap: break-word !important; /* Allow text to wrap if too long */
    flex: 1 !important; /* Allow text to take remaining space */
}

/* Remove the pseudo-element since we now have actual logo HTML */
.layout-sidebar-compact .sidebar-left:before {
    content: none !important;
    display: none !important;
}

















/* ===== FINAL SMOOTH ANIMATION OVERRIDES ===== */

/* Override Bootstrap's default collapse transitions */
.collapse {
    transition: none !important; /* Remove Bootstrap's default transition */
}

.collapsing {
    transition: none !important; /* Remove Bootstrap's default transition */
}

/* Ensure our custom animations take precedence */
.layout-sidebar-compact .sidebar-left .submenu.collapse {
    transition: none !important;
}

.layout-sidebar-compact .sidebar-left .submenu.collapsing {
    transition: none !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu.collapse {
    transition: none !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu.collapsing {
    transition: none !important;
}

/* Maximum specificity overrides for final smooth animation */
html body .layout-sidebar-compact .sidebar-left .submenu.collapse {
    transition: none !important;
}

html body .layout-sidebar-compact .sidebar-left .submenu.collapsing {
    transition: none !important;
}

html body .layout-sidebar-compact .sidebar-left .submenu .submenu.collapse {
    transition: none !important;
}

html body .layout-sidebar-compact .sidebar-left .submenu .submenu.collapsing {
    transition: none !important;
}







/* ===== ULTRA-STRONG UNICODE ARROW VISIBILITY OVERRIDES ===== */

/* Force visibility for all Unicode arrows - ALWAYS VISIBLE */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a[data-toggle="collapse"] .submenu-arrow,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a[href^="#"] .submenu-arrow {
    color: #000000 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    font-size: 12px !important;
    font-weight: bold !important;
}

/* Override any white color rules */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow[style*="color: white"],
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow[style*="color: #fff"],
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow[style*="color: #ffffff"] {
    color: #000000 !important;
}

/* Force visibility for all states */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow:not(:hover),
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow:not(.active),
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow:not([aria-expanded="true"]) {
    color: #000000 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Maximum specificity with multiple selectors */
html body .layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow,
html body .layout-sidebar-compact .sidebar-left .submenu .nav-item a[data-toggle="collapse"] .submenu-arrow,
html body .layout-sidebar-compact .sidebar-left .submenu .nav-item a[href^="#"] .submenu-arrow {
    color: #000000 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}

/* Override any conflicting rules with maximum specificity */
html body .layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-arrow:not(:hover):not(.active):not([aria-expanded="true"]) {
    color: #000000 !important;
    opacity: 1 !important;
    visibility: visible !important;
}





.main-header {
    height: 60px !important;
}


@media (min-width: 576px) {
    .layout-sidebar-compact .main-content {
        margin-top: 57px !important;
    }
}

/* ===== QUICK ADD BUTTON STYLING ===== */

/* Quick Add button styling */
#quickAddDropdown {
    background: #67bcdb !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: white !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    width: 140px !important;
}

#quickAddDropdown:hover {
    background: #5aa8c4 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}

#quickAddDropdown:focus {
    box-shadow: 0 0 0 0.2rem rgba(103, 188, 219, 0.25) !important;
}

#quickAddDropdown .fas.fa-plus {
    margin-right: 4px !important;
}

/* Custom dropdown arrow with proper spacing */
#quickAddDropdown::after {
    margin-left: 8px !important;
    content: "" !important;
    display: inline-block !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 4px solid transparent !important;
    border-right: 4px solid transparent !important;
    border-top: 4px solid white !important;
    margin-top: 2px !important;
}

/* Remove default Bootstrap dropdown arrow */
#quickAddDropdown .dropdown-toggle::after {
    display: none !important;
}

/* Quick Add dropdown menu styling */
#quickAddDropdown + .dropdown-menu {
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    padding: 8px 0 !important;
    margin-top: 5px !important;
    min-width: 320px !important;
    max-height: 500px !important;
    overflow-y: auto !important;
}

/* Dropdown header styling */
#quickAddDropdown + .dropdown-menu .dropdown-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    color: #495057 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 8px 16px !important;
    border-bottom: 1px solid #dee2e6 !important;
    margin: 0 !important;
}

/* Dropdown item styling */
#quickAddDropdown + .dropdown-menu .dropdown-item {
    padding: 8px 16px !important;
    font-size: 14px !important;
    color: #495057 !important;
    border: none !important;
    transition: all 0.2s ease !important;
}

#quickAddDropdown + .dropdown-menu .dropdown-item:hover {
    background: #67bcdb !important;
    color: white !important;
    transform: translateX(2px) !important;
}

#quickAddDropdown + .dropdown-menu .dropdown-item i {
    width: 20px !important;
    margin-right: 8px !important;
    text-align: center !important;
}

/* Dropdown divider styling */
#quickAddDropdown + .dropdown-menu .dropdown-divider {
    margin: 4px 0 !important;
    border-color: #e9ecef !important;
}

/* Ensure dropdown is visible */
.dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Header part right spacing */
.header-part-right {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* Quick Add button container */
.header-part-right .dropdown {
    position: relative !important;
}

/* Additional Quick Add dropdown fixes */
.dropdown-menu {
    z-index: 9999 !important;
    position: absolute !important;
    display: none !important;
       min-width: 146px !important;
    width: 175px !important;
    top: 37px !important;
    left: -105px !important;
}

.dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Force dropdown visibility */
.dropdown-menu[aria-labelledby="quickAddDropdown"] {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    z-index: 9999 !important;
    min-width: 320px !important;
    max-height: 500px !important;
    overflow-y: auto !important;
    background: white !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    padding: 8px 0 !important;
    margin-top: 5px !important;
}

.dropdown-menu[aria-labelledby="quickAddDropdown"].show {
    display: block !important;
}


    .dropdown-menu.text-left.show {
        width: 819px !important;
        left: 70px !important;
        font-size: 14px !important;
    }

.dashboard-parent{
   /*background: #ebebeb8f !important;*/
}


.sidebar-container {
 min-height: 0px !important; 

}

/* Secondary Popup Styling */
#DSPopUpSecondary {
    z-index: 1060 !important; /* Higher than primary popup */
}

#DSPopUpSecondary .modal-dialog {
    z-index: 1061 !important;
}

#DSPopUpSecondary .modal-backdrop {
    z-index: 1059 !important;
}

/* Ensure secondary popup appears above primary popup */
#DSPopUpSecondary.modal {
    z-index: 1060 !important;
}

#DSPopUpSecondary .modal-content {
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
}

/* ===== COMPREHENSIVE MENU STYLING FIXES ===== */
/* Added to fix submenu icons, expand/collapse arrows, and icon styling */

/* 1. FIX SUBMENU ICONS - Add icons to all submenu items */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a::before {
    content: "\f105"; /* FontAwesome right arrow */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
    color: #666;
    font-size: 12px;
    display: inline-block;
    width: 16px;
    text-align: center;
}

/* 2. FIX EXPAND/COLLAPSE ARROWS - Ensure arrows are visible and properly styled */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .submenu-arrow {
    display: inline-block !important;
    margin-left: auto !important;
    font-size: 12px !important;
    color: #666 !important;
    transition: transform 0.3s ease !important;
    width: 16px !important;
    text-align: center !important;
}

/* Rotate arrow when submenu is expanded */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold[aria-expanded="true"] .submenu-arrow {
    transform: rotate(90deg) !important;
}

/* 3. ENHANCE PARENT MENU ICONS - Make them more vibrant and smooth */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .parent-menu-icon {
    font-size: 20px !important;
    color: #333 !important;
    margin-right: 12px !important;
    width: 24px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

/* Hover effects for parent menu icons */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold:hover .parent-menu-icon {
    transform: scale(1.1) !important;
    text-shadow: 0 2px 4px rgba(103, 188, 219, 0.3) !important;
}

/* 4. IMPROVE SUBMENU STYLING - Better visual hierarchy */
.layout-sidebar-compact .sidebar-left .submenu {
    background: #f8f9fa !important;
    border-left: 3px solid #e9ecef !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.layout-sidebar-compact .sidebar-left .submenu .nav-item a {
    padding: 10px 15px 10px 35px !important;
    color: #495057 !important;
    font-size: 14px !important;
    border-bottom: 1px solid #f1f3f4 !important;
    transition: all 0.2s ease !important;
    position: relative !important;
}

/* Hover effects for submenu items */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a:hover {
    background: #e9ecef !important;
    color: #212529 !important;
    padding-left: 40px !important;
}

/* Active state for submenu items */
.layout-sidebar-compact .sidebar-left .submenu .nav-item.active a {
    background: #67bcdb !important;
    color: #fff !important;
    font-weight: 500 !important;
}

/* 5. FIX THIRD-LEVEL SUBMENU STYLING */
.layout-sidebar-compact .sidebar-left .submenu .submenu {
    background: #ffffff !important;
    border-left: 2px solid #dee2e6 !important;
    margin-left: 0 !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a {
    padding: 8px 15px 8px 50px !important;
    font-size: 13px !important;
    color: #6c757d !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a:hover {
    background: #f8f9fa !important;
    color: #495057 !important;
}

/* 6. ENHANCE MENU ITEM SPACING AND ALIGNMENT */
.layout-sidebar-compact .sidebar-left .navigation-left .nav-item .nav-item-hold {
    padding: 15px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.layout-sidebar-compact .sidebar-left .submenu .nav-item a {
    display: flex !important;
    align-items: center !important;
    min-height: 40px !important;
}

/* 7. IMPROVE COLLAPSE/EXPAND ANIMATIONS */
.layout-sidebar-compact .sidebar-left .submenu.collapse {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.layout-sidebar-compact .sidebar-left .submenu.collapsing {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* 8. ADD SUBTLE SHADOWS AND BORDERS FOR BETTER VISUAL SEPARATION */
.layout-sidebar-compact .sidebar-left .submenu {
    box-shadow: inset 2px 0 4px rgba(0,0,0,0.05) !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu {
    box-shadow: inset 2px 0 4px rgba(0,0,0,0.03) !important;
}

/* 9. IMPROVE ACTIVE STATE INDICATORS */
.layout-sidebar-compact .sidebar-left .nav-item.active .nav-item-hold {
    
}

.layout-sidebar-compact .sidebar-left .nav-item.active .nav-item-hold .parent-menu-icon,
.layout-sidebar-compact .sidebar-left .nav-item.active .nav-item-hold .nav-text,
.layout-sidebar-compact .sidebar-left .nav-item.active .nav-item-hold .submenu-arrow {
    color: #000 !important;
}

/* 10. ADD SMOOTH TRANSITIONS FOR ALL INTERACTIVE ELEMENTS */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a,
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .parent-menu-icon,
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .submenu-arrow {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* 11. IMPROVE FOCUS STATES FOR ACCESSIBILITY 
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold:focus,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a:focus {
    outline: 2px solid #67bcdb !important;
    outline-offset: -2px !important;
}
*/
/* 12. ADD HOVER EFFECTS FOR BETTER USER EXPERIENCE */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    transform: translateX(2px) !important;
}

/* 13. ENSURE PROPER Z-INDEX FOR DROPDOWN MENUS */
.layout-sidebar-compact .sidebar-left .submenu {
    z-index: 1000 !important;
    position: relative !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu {
    z-index: 1001 !important;
}

/* 14. FIX FONT WEIGHTS FOR BETTER READABILITY */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .nav-text {
    font-weight: 600 !important;
    font-size: 15px !important;
}

.layout-sidebar-compact .sidebar-left .submenu .nav-item a .item-name {
    font-weight: 500 !important;
    font-size: 14px !important;
}

.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a .item-name {
    font-weight: 400 !important;
    font-size: 13px !important;
}

/* 15. ADD RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
    .layout-sidebar-compact .sidebar-left .submenu {
        position: absolute !important;
        left: 100% !important;
        top: 0 !important;
        min-width: 200px !important;
        box-shadow: 2px 2px 8px rgba(0,0,0,0.15) !important;
        border-radius: 4px !important;
        border-left: none !important;
    }
    
    .layout-sidebar-compact .sidebar-left .submenu .submenu {
        position: absolute !important;
        left: 100% !important;
        top: 0 !important;
        min-width: 180px !important;
    }
}

/* 16. ENSURE COMPATIBILITY WITH EXISTING THEME */
.layout-sidebar-compact .sidebar-left .navigation-left .nav-item {
    /*border-bottom: 1px solid rgba(0,0,0,0.05) !important;*/
}

.layout-sidebar-compact .sidebar-left .navigation-left .nav-item:last-child {
    border-bottom: none !important;
}

/* 17. FINAL OVERRIDES TO ENSURE OUR STYLES TAKE PRECEDENCE */
html body .layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .submenu-arrow {
    display: inline-block !important;
}

html body .layout-sidebar-compact .sidebar-left .submenu .nav-item a::before {
    content: "\f105" !important;
}

html body .layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .parent-menu-icon {
    color: #333 !important;
}

/* 18. BOOTSTRAP COLLAPSE INTEGRATION - Ensure proper arrow rotation */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold[aria-expanded="true"] .submenu-arrow,
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold[aria-expanded="true"] .fas.fa-chevron-down {
    transform: rotate(180deg) !important;
}

.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold[aria-expanded="false"] .submenu-arrow,
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold[aria-expanded="false"] .fas.fa-chevron-down {
    transform: rotate(0deg) !important;
}

/* 19. ENSURE SUBMENU ARROWS ARE ALWAYS VISIBLE */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .fas.fa-chevron-down {
    display: inline-block !important;
    margin-left: auto !important;
    font-size: 12px !important;
    color: #666 !important;
    transition: transform 0.3s ease !important;
    width: 16px !important;
    text-align: center !important;
}

/* 20. FIX SUBMENU POSITIONING FOR COMPACT LAYOUT */
.layout-sidebar-compact .sidebar-left .submenu {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    background: #f8f9fa !important;
    border-left: 3px solid #e9ecef !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* 21. ENSURE PROPER SUBMENU INDENTATION */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a {
    padding-left: 35px !important;
    border-left: 2px solid transparent !important;
    transition: all 0.2s ease !important;
}

.layout-sidebar-compact .sidebar-left .submenu .nav-item a:hover {
    border-left-color: #67bcdb !important;
    padding-left: 40px !important;
}

/* 22. ADD VISUAL INDICATORS FOR EXPANDABLE MENUS */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold[data-toggle="collapse"] {
    cursor: pointer !important;
}

.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold[data-toggle="collapse"]:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

/* 23. IMPROVE SUBMENU ANIMATION PERFORMANCE */
.layout-sidebar-compact .sidebar-left .submenu.collapse:not(.show) {
    display: none !important;
}

.layout-sidebar-compact .sidebar-left .submenu.collapsing {
    height: 0 !important;
    overflow: hidden !important;
    transition: height 0.35s ease !important;
}

/* 24. ADD CUSTOM SCROLLBAR FOR LONG SUBMENUS */
.layout-sidebar-compact .sidebar-left .submenu {
    max-height: calc(100vh - 200px) !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: #c1c1c1 #f1f1f1 !important;
}

.layout-sidebar-compact .sidebar-left .submenu::-webkit-scrollbar {
    width: 6px !important;
}

.layout-sidebar-compact .sidebar-left .submenu::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
}

.layout-sidebar-compact .sidebar-left .submenu::-webkit-scrollbar-thumb {
    background: #c1c1c1 !important;
    border-radius: 3px !important;
}

.layout-sidebar-compact .sidebar-left .submenu::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8 !important;
}

/* 25. ENSURE PROPER FONT LOADING FOR ICONS */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

/* 26. ADD FALLBACK ICONS IN CASE FONTAWESOME ISN'T LOADED */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a::before {
    content: "▶" !important; /* Fallback arrow character */
    font-family: inherit !important;
}

.layout-sidebar-compact .sidebar-left .submenu .nav-item a::before {
    content: "\f105" !important; /* FontAwesome arrow when available */
    font-family: "Font Awesome 5 Free", inherit !important;
}

/* 27. FINAL SPECIFICITY OVERRIDES */
html body .layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold .fas.fa-chevron-down {
    display: inline-block !important;
    transform: rotate(0deg) !important;
}

html body .layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold[aria-expanded="true"] .fas.fa-chevron-down {
    transform: rotate(180deg) !important;
}

/* 28. JAVASCRIPT FOR MENU FUNCTIONALITY - Add this to your main.js or create a separate script */
/*
// Add this JavaScript to handle menu arrow rotation
$(document).ready(function() {
    // Handle menu collapse/expand events
    $('.nav-item-hold[data-toggle="collapse"]').on('click', function() {
        var $arrow = $(this).find('.submenu-arrow, .fas.fa-chevron-down');
        var isExpanded = $(this).attr('aria-expanded') === 'true';
        
        if (isExpanded) {
            $arrow.css('transform', 'rotate(0deg)');
        } else {
            $arrow.css('transform', 'rotate(180deg)');
        }
    });
    
    // Initialize arrow states on page load
    $('.nav-item-hold[data-toggle="collapse"]').each(function() {
        var $arrow = $(this).find('.submenu-arrow, .fas.fa-chevron-down');
        var isExpanded = $(this).attr('aria-expanded') === 'true';
        
        if (isExpanded) {
            $arrow.css('transform', 'rotate(180deg)');
        } else {
            $arrow.css('transform', 'rotate(0deg)');
        }
    });
});
*/

/* 29. CSS-BASED ARROW ROTATION (Alternative to JavaScript) */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold[aria-expanded="true"] .submenu-arrow,
.layout-sidebar-compact .sidebar-left .sidebar-left .nav-item .nav-item-hold[aria-expanded="true"] .fas.fa-chevron-down {
    transform: rotate(180deg) !important;
}

.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold[aria-expanded="false"] .submenu-arrow,
.layout-sidebar-compact .sidebar-left .sidebar-left .nav-item .nav-item-hold[aria-expanded="false"] .fas.fa-chevron-down {
    transform: rotate(0deg) !important;
}

/* 30. ENSURE ALL MENU ELEMENTS ARE PROPERLY STYLED */
.layout-sidebar-compact .sidebar-left .navigation-left .nav-item .nav-item-hold {
    position: relative !important;
    overflow: hidden !important;
}

.layout-sidebar-compact .sidebar-left .submenu .nav-item a {
    position: relative !important;
    overflow: hidden !important;
}

/* 31. ADD HOVER ANIMATIONS FOR BETTER UX */
.layout-sidebar-compact .sidebar-left .nav-item .nav-item-hold:hover {
    transform: translateX(3px) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

.layout-sidebar-compact .sidebar-left .submenu .nav-item a:hover {
    transform: translateX(5px) !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1) !important;
}

/* 32. FINAL ENSURE COMPATIBILITY */
.layout-sidebar-compact .sidebar-left .navigation-left .nav-item .nav-item-hold .submenu-arrow,
.layout-sidebar-compact .sidebar-left .navigation-left .nav-item .nav-item-hold .fas.fa-chevron-down {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 33. AGGRESSIVE SUBMENU ICON ENFORCEMENT - Ensure icons are always visible */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-icon,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fas.fa-angle-right {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #666 !important;
    font-size: 12px !important;
    width: 16px !important;
    text-align: center !important;
    margin-right: 8px !important;
    position: relative !important;
    z-index: 10 !important;
}

/* 34. OVERRIDE ANY THEME HIDING OF ICONS */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-icon,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fas.fa-angle-right {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 35. ENSURE ICONS ARE NOT HIDDEN BY PARENT CONTAINERS */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a {
    position: relative !important;
}

.layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-icon,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fas.fa-angle-right {
    position: relative !important;
    z-index: 100 !important;
}

/* 36. ADD CHEVRON ICONS ON RIGHT SIDE FOR EXPANDABLE SUBMENUS */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a[data-toggle="collapse"]::after {
    content: "\f078" !important; /* FontAwesome chevron-down */
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    display: inline-block !important;
    margin-left: auto !important;
    color: #666 !important;
    font-size: 12px !important;
    width: 16px !important;
    text-align: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 100 !important;
    transition: transform 0.3s ease !important;
}

/* Rotate chevron when expanded */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a[data-toggle="collapse"][aria-expanded="true"]::after {
    transform: rotate(180deg) !important;
}

/* 37. ENSURE FONTAWESOME ICONS ARE LOADED AND VISIBLE */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fas,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fa {
    font-family: "Font Awesome 5 Free", "FontAwesome", inherit !important;
    font-weight: 900 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 38. FINAL OVERRIDE WITH MAXIMUM SPECIFICITY */
html body .layout-sidebar-compact .sidebar-left .submenu .nav-item a .submenu-icon,
html body .layout-sidebar-compact .sidebar-left .submenu .nav-item a .fas.fa-angle-right,
html body .layout-sidebar-compact .sidebar-left .submenu .nav-item a::before {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #666 !important;
    font-size: 12px !important;
    width: 16px !important;
    text-align: center !important;
    margin-right: 8px !important;
    position: relative !important;
    z-index: 1000 !important;
}

/* 39. REMOVE LEFT-SIDE ICONS - Only show right-side chevrons for expandable items */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Remove any left-side icons - Multiple approaches to ensure complete removal */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a::before {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
}

/* Additional overrides for any theme-specific icons - Only for non-expandable items */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a:not([data-toggle="collapse"])::after {
    content: none !important;
    display: none !important;
}

/* Remove any existing icon classes that might be adding content */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a i:first-child,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fa:first-child,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fas:first-child,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .far:first-child,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a .fab:first-child {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
}

/* 40. ENSURE CHEVRON ICONS ARE VISIBLE IN ALL STATES */
.layout-sidebar-compact .sidebar-left .submenu .nav-item a[data-toggle="collapse"]:hover::after,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a[data-toggle="collapse"]:focus::after,
.layout-sidebar-compact .sidebar-left .submenu .nav-item a[data-toggle="collapse"]:active::after {
    content: "\f078" !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 41. HANDLE THIRD-LEVEL SUBMENUS WITH CSS */
.layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a[data-toggle="collapse"]::after {
    content: "\f078" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    display: inline-block !important;
    margin-left: auto !important;
    color: #666 !important;
    font-size: 12px !important;
    width: 16px !important;
    text-align: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1000 !important;
    transition: transform 0.3s ease !important;
}

/* 42. FINAL CSS OVERRIDE WITH MAXIMUM SPECIFICITY */
html body .layout-sidebar-compact .sidebar-left .submenu .nav-item a[data-toggle="collapse"]::after,
html body .layout-sidebar-compact .sidebar-left .submenu .submenu .nav-item a[data-toggle="collapse"]::after {
    content: "\f078" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    display: inline-block !important;
    margin-left: auto !important;
    color: #666 !important;
    font-size: 12px !important;
    width: 16px !important;
    text-align: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1000 !important;
}

/* 43. ULTIMATE OVERRIDE - Remove ALL left-side content from submenu items */
html body .layout-sidebar-compact .sidebar-left .submenu .nav-item a::before,
html body .layout-sidebar-compact .sidebar-left .submenu .nav-item a:not([data-toggle="collapse"])::after {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

/* 44. Remove any theme-specific icon content */
html body .layout-sidebar-compact .sidebar-left .submenu .nav-item a i:first-child,
html body .layout-sidebar-compact .sidebar-left .submenu .nav-item a .fa:first-child,
html body .layout-sidebar-compact .sidebar-left .submenu .nav-item a .fas:first-child,
html body .layout-sidebar-compact .sidebar-left .submenu .nav-item a .far:first-child,
html body .layout-sidebar-compact .sidebar-left .submenu .nav-item a .fab:first-child,
html body .layout-sidebar-compact .sidebar-left .submenu .nav-item a .icon:first-child,
html body .layout-sidebar-compact .sidebar-left .submenu .nav-item a .glyphicon:first-child {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

/* 45. FIX SIDEBAR SCROLLING ISSUES */
.layout-sidebar-compact .sidebar-left {
    overflow: hidden !important;
    position: relative !important;
}

.layout-sidebar-compact .sidebar-left[data-perfect-scrollbar] {
    overflow: hidden !important;
}

/* Ensure the scrollable area is properly configured */
.layout-sidebar-compact .sidebar-left .ps__rail-y {
    right: 0 !important;
    width: 6px !important;
}

.layout-sidebar-compact .sidebar-left .ps__thumb-y {
    background-color: #c1c1c1 !important;
    border-radius: 3px !important;
}

.layout-sidebar-compact .sidebar-left .ps__rail-y:hover .ps__thumb-y {
    background-color: #a8a8a8 !important;
}

/* Fix any positioning issues that might affect scrolling */
.layout-sidebar-compact .sidebar-left .navigation-left {
    position: relative !important;
    z-index: 1 !important;
}

/* Ensure the logo container doesn't interfere with scrolling */
.layout-sidebar-compact .sidebar-left .sidebar-logo-container {
    position: relative !important;
    z-index: 2 !important;
    flex-shrink: 0 !important;
}

/* Make sure the navigation area is scrollable */
.layout-sidebar-compact .sidebar-left .navigation-left {
    flex: 1 !important;
    overflow: visible !important;
}

/* 46. ENSURE PROPER SIDEBAR LAYOUT STRUCTURE */
.layout-sidebar-compact .sidebar-left {
    display: flex !important;
    flex-direction: column !important;
    height: 100vh !important;
    position: fixed !important;
    left: -280px !important;
    top: 0 !important;
    z-index: 50 !important;
    transition: left 0.3s ease !important;
    background: #f8f9fa !important;
    border-right: 1px solid #dee2e6 !important;
}

/* When sidebar is open */
.layout-sidebar-compact.sidenav-open .sidebar-left {
    left: 0 !important;
}

.layout-sidebar-compact .sidebar-left .sidebar-logo-container {
    flex-shrink: 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: inherit !important;
}

.layout-sidebar-compact .sidebar-left .navigation-left {
    flex: 1 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-bottom: 20px !important;
}

/* 47. FIX PERFECT-SCROLLBAR INTEGRATION */
.layout-sidebar-compact .sidebar-left[data-perfect-scrollbar] {
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
}

.layout-sidebar-compact .sidebar-left[data-perfect-scrollbar] .ps__rail-y {
    opacity: 0.6 !important;
}

.layout-sidebar-compact .sidebar-left[data-perfect-scrollbar]:hover .ps__rail-y {
    opacity: 1 !important;
}

/* 48. FIX MAIN CONTENT POSITIONING - HIGH SPECIFICITY OVERRIDE */
html body .layout-sidebar-compact.sidenav-open .main-content-wrap {
    margin-left: 300px !important;
    width: calc(100vw - 290px) !important;
    position: relative !important;
    z-index: 1 !important;
    padding: 0 1em 0 !important;
    transition: margin-left 0.3s ease, width 0.3s ease !important;
    margin-top: 0 !important;
}

/* When sidebar is collapsed */
html body .layout-sidebar-compact:not(.sidenav-open) .main-content-wrap {
    margin-left: 0px !important;
    width: 100vw !important;
    padding: 0 10px 0 25px !important;
    transition: margin-left 0.3s ease, width 0.3s ease !important;
    margin-top: 0 !important;
}

/* Ensure main content doesn't overlap with sidebar */
.layout-sidebar-compact .main-content {
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Remove any top padding from content sections */
.layout-sidebar-compact .main-content-wrap .content-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.layout-sidebar-compact .main-content-wrap .page-header {
    margin-top: 0 !important;
    padding-top: 0.5rem !important;
}

/* Fix header positioning */
.layout-sidebar-compact .main-header {
    margin-left: 0 !important;
    width: 100% !important;
}

/* Fix footer positioning */
.layout-sidebar-compact .app-footer {
    margin-left: 0 !important;
    width: 100% !important;
}

.layout-sidebar-compact .main-content {
    min-height: calc(100vh - 138px)
}

/* Header Responsive Fixes */
@media (max-width: 768px) {
    /* Make header wrap on mobile */
    .main-header {
        flex-wrap: wrap !important;
        min-height: auto !important;
        padding: 8px !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    /* Ensure main content doesn't overlap with header */
    .main-content {
        margin-top: 10px !important;
        padding-top: 10px !important;
    }
    
    /* Stack header items vertically on mobile */
    .header-part-right {
        flex-wrap: wrap !important;
        gap: 5px !important;
        width: 100% !important;
        justify-content: flex-end !important;
        margin-top: 8px !important;
    }
    
    /* Hide fiscal year dropdown on very small screens */
    .dropdown.mega-menu {
        display: none !important;
    }
    
    /* Hide tenant name on very small screens */
    .main-header > div[style*="margin: auto"] {
        display: none !important;
    }
    
    /* Make Quick Action button smaller */
    .header-part-right .dropdown button {
        padding: 6px 10px !important;
        font-size: 12px !important;
    }
    
    /* Make buttons more compact */
    .header-part-right .btn {
        padding: 6px 10px !important;
        font-size: 12px !important;
    }
    
    /* Reduce dropdown size */
    .header-part-right .dropdown {
        margin-right: 5px !important;
    }
    
    /* Ensure fullscreen and language buttons are compact */
    .header-part-right > i,
    .header-part-right .header-icon {
        font-size: 16px !important;
        padding: 6px !important;
    }
    
    /* User profile image smaller */
    .header-part-right .user img {
        width: 30px !important;
        height: 30px !important;
    }
}

@media (max-width: 576px) {
    /* Extra small screens - even more compact */
    .main-header .logo {
        max-width: 120px !important;
    }
    
    .main-header .logo img {
        max-height: 30px !important;
    }
    
    /* Hide Quick Action text, show only icon */
    #quickAddDropdown {
        padding: 6px 8px !important;
    }
    
    #quickAddDropdown .fas {
        margin-right: 0 !important;
    }
    
    #quickAddDropdown {
        font-size: 0 !important;
    }
    
    #quickAddDropdown .fas {
        font-size: 14px !important;
    }
    
    /* Make language dropdown button icon only */
    #languageDropdown {
        padding: 6px 8px !important;
        min-width: auto !important;
    }
    
    /* Compact notification bell */
    .badge-top-container {
        margin-right: 5px !important;
    }
}