thead tr th:nth-of-type(11),
thead tr th:nth-of-type(12),
thead tr th:nth-of-type(11),
thead tr th:nth-of-type(13) {
    width: 6rem !important;
}

thead tr th:nth-of-type(-n+10) {
    width: 2rem !important;
}

div.dataTables_wrapper div.dataTables_length select {
    border: none;
    width: auto !important;
    outline: none;
}

.card-title span strong {
    margin-right: 6px;
}

body:not(.layout-fixed) .main-sidebar {
    position: fixed;
}

.brand-link,
.info .d-block,
.breadcrumb-item a {
    text-decoration: none;
}

.card-body table {
    width: 100% !important;
}

.d-flex-tb-header {
    display: flex !important;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
}

.card-header {
    background: none !important;
    border-bottom: none !important;
}

.card-header .card-title span {
    padding-inline: 0;
}

.bars-nav {
    display: flex !important;
    align-items: center;
}

.table td,
.table th {
    box-shadow: none !important;
}

.card-header .card-title span {
    border: none;
    background-color: transparent;
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
    /* Ensure spinner is on top */
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

#sidebar-overlay {
    background-color: rgba(0, 0, 0, .1);
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1037;
}

.sidebar {
    overflow-y: scroll !important;
    height: 90vh;
}

table.dataTable thead th {
    padding: 8px 10px !important;
}

.form-control-sm {
    font-size: 12px !important;
}

.navbar {
    position: fixed !important;
    width: -webkit-fill-available !important;
}

.spacer {
    height: 3rem;
}

.d-fl-academy {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: .5rem 1rem;
}

/* table.dataTable.no-footer {
    display: block;
    overflow-x: auto;
} */

@media screen and (max-width:992px) {
    body:not(.layout-fixed) .main-sidebar {
        top: 3.5rem !important;
    }
}

/* chakra ui my code*/
.navbarMain {
    transition: margin-left .3s ease-in-out;
    margin-left: 250px;
}

.brand-link,
.user-panel {
    gap: 0 !important;
}

.form-control-sidebar::placeholder {
    color: #6c757d !important;
}

.input-group-append {
    width: 54px !important;
}

.nav-sidebar .nav-link {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-sidebar .nav-link svg {
    width: 24px;
}

.css-olprjn {
    padding: 0 !important;
}

nav.navbar-expand {
    padding: 8px !important;
}

.navbar-nav.css-k008qs {
    display: flex;
    align-items: baseline;
}

.nav-item .fas.fa-bars:hover {
    text-decoration: none !important;
}

.chakra-button.css-15soeqt {
    padding-inline: 2rem;
}

.chakra-heading {
    font-size: 1.8rem !important;
}

.chakra-breadcrumb__list.css-70qvj9 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    padding-left: 0;
}

.table-bordered thead td,
.table-bordered thead th {
    text-wrap: balance;
}

.chakra-input.css-b1vroq,
.css-b1vroq {
    width: 6rem;
    font-size: 12px;
    padding-inline: 8px;
    display: block;
}

.css-1jgh2u4 {
    margin-left: 20rem !important;
    height: 3px !important;
}

.css-1sdzpc2 {
    margin-top: 0 !important;
    padding-top: 0 !important;
    height: 70px !important;
}

.load-component {
    text-align: center !important;
    display: flex !important;

}

.css-1d8anxi {
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
}

.nav-treeview {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.nav-treeview.open {
    max-height: 500px;
    /* Adjust based on content height */
    transition: max-height 0.5s ease-in;
}

.list-group-item {
    display: none !important;
}

.css-850gqa,
.css-1g8kgof {
    width: 100%;
    display: grid;
    overflow-x: scroll;

}

.css-x66jzz:hover,
.css-x66jzz[data-hover] {
    text-decoration: none !important;
    color: #000;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #000;
    text-decoration: none !important;
}

.css-spn4bz:hover, .css-spn4bz[data-hover]{
    text-decoration: none !important;
    color: #ffffff !important;
}

.navbar-nav .css-spn4bz:hover, .css-spn4bz[data-hover]{
    text-decoration: none !important;
    color: #000000 !important;
}

.nav-treeview>.nav-item>.nav-link.active:hover {
    color: #000 !important;
}

#backButton {
    transition: margin-left .3s ease-in-out;
    margin-left: 340px;
    margin-top: 2rem;
    position: absolute;
    background: #454992;
    top: 6rem;
    padding: 6px 18px;
    border-radius: 6px;
    color: #ffffff;
}

.leaflet-top.leaflet-left {
    transition: margin-left .3s ease-in-out;
    margin-left: 280px;
    margin-top: 4rem;
}

.css-1xyn89l {
    display: flex;
    flex-wrap: wrap;
}

/* media Query */

@media screen and (max-width:768px) {
    .navbarMain.main-header {
        display: flex;
        align-items: baseline;
        gap: 1rem;
        flex-direction: column;
    }

    .css-70qvj9 {

        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        flex-direction: row;
        align-items: center;
        justify-content: center;

    }

    .spacer {
        height: 8.5rem;
    }

    .css-1sdzpc2 {

        height: 120px !important;
    }

    #backButton {
    top: 12rem;
    left: 3rem;
    margin-left: 0px;
    }

    #map {
        top: 2rem;
    }

    .leaflet-top.leaflet-left {
       
        margin-top: 4rem !important;
    }
}

@media screen and (max-width:610px) {
    .chakra-button.css-15soeqt {
        padding-inline: 1rem;
    }

    .css-y87ssc {
        min-width: 0 !important;
    }

    .css-8q8yev {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .prev-next-btn button {
        padding-inline: 0;
        min-width: 0;
        height: 0;
    }

    .prev-next-btn {
        display: flex;
        align-items: baseline;
        gap: 0.2rem;
        margin: auto;
    }
}

@media screen and (max-width:992px) { 

    .leaflet-top.leaflet-left {
        margin-left: 0px !important;
        margin-top: 4rem;
    }
}

.leaflet-container{
    background: none;
}



