* {
    font-family: 'Poppins', sans-serif;
}

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

html,
body {
    font-family: 'Poppins', sans-serif !important;
}

#header .page-header-box h1 {
    font-family: 'Poppins', sans-serif !important;
}

.header-nav-profile .dropdown .profile-info {
    font-family: 'Poppins', sans-serif !important;
}

.page-header-menu-section .header-nav-profile .dropdown .profile-info small {
    font-family: 'Poppins', sans-serif !important;
}

body .userpassword_craftmyapp_container a.help-block-orange {
    background: #f37119 !important;
}

.dataTables_wrapper table thead tr th {
    font-family: 'Poppins', sans-serif !important;
}

.dataTables_wrapper table tbody tr td {
    font-family: 'Poppins', sans-serif !important;
}

.dataTables_wrapper .dataTables__bottom .paging_simple_numbers a {
    font-family: 'Poppins', sans-serif !important;
}

.dataTables_wrapper .dataTables_length select {
    font-family: 'Poppins', sans-serif !important;
}

.dataTables_buttons .cma_add_button {
    font-family: 'Poppins', sans-serif !important;
}

.div_filter .form-group label,
.div_filter label,
.div_filter .form-group input,
.div_filter .form-group label,
.div_filter span {
    font-family: 'Poppins', sans-serif !important;
}

button#btnFilter {
    /*background: #F37119 !important;*/
    font-family: 'Poppins', sans-serif !important;
}

button#btnCloseFilter {
    border: 1px solid #f37119 !important;
    box-shadow: inherit !important;
    color: #2C1F16 !important;
    font-weight: normal;
}

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

div#menubar {
    background: #fff !important;
}

/*
.menubar-scroll-panel .gui-controls > li > a.active {
    border-top: 0px !important;
    border-bottom: 0px !important;
    color: #F37119 !important;
   
}*/
.menubar-scroll-panel .gui-controls>li>a.active .title {
    color: #bf7d2c !important;
    margin-top: 3px;
}

/*
    .menubar-scroll-panel .gui-controls > li > a.active .title {
        color: #F37119 !important;
        margin-top: 3px;
    }*/

.menubar-scroll-panel .gui-controls>li>a.active {
    border-top: 0px !important;
    border-bottom: 0px !important;
    border-bottom: 0px !important;
    color: #bf7d2c !important;
}

.menubar-scroll-panel .gui-controls>li:hover>a.active {
    color: #F37119 !important;
}

/* .menubar-scroll-panel .gui-controls > li:hover > a.active .title {
        color: #F37119 !important;
    }*/
/*    .menubar-scroll-panel .gui-controls > li:hover > a.active .title {
        color: #bf7d2c !important;
    }*/

.menubar .nano.has-scrollbar .gui-controls li:first-child {
    background: #101828 !important;
}

#header .page-header-box {
    background: #bf7d2c !important;
    box-shadow: 3px 0px 10px 0px rgba(0, 0, 0, 0.10);
}

#header .page-header-box h1 {
    color: #1F1F1F !important;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}

.page-header-menu-section .header-nav-profile .dropdown .profile-info {
    color: #0A0B0D;
}

.page-header-menu-section .header-nav-profile .dropdown .profile-info small {
    color: #bf7d2c;
}

.card.card-block.contCard {
    border-radius: 5px;
    background: #fff !important;
    margin-top: 10px;
}

.form-group>label {}

.form-control {
    border-radius: 5px !important;
    border: 1px solid #DDE1EF !important;
    background: #fff !important;
}

.card-block .form-group input#pickupPlacesInput {
    border-radius: 5px !important;
    border: 0px solid #DDE1EF !important;
    background: #FFF !important;
    color: #313534 !important;
}

.card.card.card-blue {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.card.card-blue .card-head header {
    color: #201F1F;
    font-size: 16px;
}

section.main-content {
    background: #faf7f2 !important;
    /*  height: calc(100vh - 84px);
    overflow-y: scroll*/
}

/*div#base {
    background: #d6d6dd  !important;
}
*/
.detele-common-icon button {
    background: transparent !important;
    border: 0px !important;
    color: #F37119 !important;
}

.detele-common-icon button span:before {
    color: #F37119 !important;
}

/*html body #content button[type="button"].cma_cancel_button {
    border-radius: 5px;
    border: 1px solid #FA8836 !important;
    background: #fff !important;
    color: #2C1F16 !important;
    line-height: normal;
    font-weight: normal !important;
}
*/

html body #content button[type="button"].cma_cancel_button {
    border-radius: 5px;
    border: 1px solid #bf7d2c !important;
    background: #fff !important;
    color: #2C1F16 !important;
    line-height: normal;
    font-weight: normal !important;
    border-radius: 15px;
}

.mainSideMenu .menu-dropdown {
    border-radius: 0px 5px 5px 0px;
    background: #292C36 !important;
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.45);
}

.gui-controls>li.open>.menu-dropdown ul li a:hover {
    background: transparent !important;
    color: #FA9806 !important;
}

.gui-controls>li.open>.menu-dropdown ul li a:hover::before {
    color: #bf7d2c !important;
}

.main-content .card {
    border-radius: 5px;
    /* background: #15171A; */
    /*height: calc(100vh - 100px);*/
}

.table-responsive #tblDriver_wrapper {
    height: calc(100vh - 109px);
}

.dataTables_wrapper table tbody tr td a {
    color: #b1aeae !important;
}

/*body .dataTables_buttons .cma_top_icon i {
    background: #15171a;
    border: 1px solid #222427 !important;
    color: #fff !important;
}
.dataTables_wrapper .dataTables_buttons .cma_top_icon:nth-child(2) i {
    color: #b7adad !important;
}
.dataTables_wrapper .dataTables_buttons .cma_top_icon:nth-child(3) i {
    color: #b7adad !important;
}*/
/*.dataTables_buttons .cma_add_button {
    background: #e0691a !important;
    margin-right: 10px !important;
}*/
.dataTables_buttons .cma_add_button {
    background: #bf7d2c !important;
    margin-right: 10px !important;
}

/*.dataTables_wrapper .input-group.prefix .form-control {
    border: 1px solid #2c2e30 !important;
}*/

table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
    background: transparent !important;
    border: 1px solid #222427 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #e0691a !important;
}

/*.card.card.card-blue {
    background: #fff !important;
}*/

.form-group>label,
.list_card_section .form-group label {
    font-family: 'Poppins', sans-serif !important;
}

.input-group .form-control {
    font-family: 'Poppins', sans-serif !important;
}

button.btn.cma_primary_button {
    font-family: 'Poppins', sans-serif !important;
}

body .dropdown-menu>li>a {
    font-family: 'Poppins', sans-serif !important;
}

body .card .card-head header {
    font-family: 'Poppins', sans-serif !important;
}

body .mainSideMenu .menu-dropdown ul li a {
    font-family: 'Poppins', sans-serif !important;
}

.swal2-modal .swal2-title {
    font-family: 'Poppins', sans-serif !important;
}

/** {
    font-family: 'Poppins', sans-serif;
}*/

html,
body {
    font-family: 'Poppins', sans-serif !important;
    background-color: #faf7f2 !important;
}

#header .page-header-box h1 {
    font-family: 'Poppins', sans-serif !important;
}

.header-nav-profile .dropdown .profile-info {
    font-family: 'Poppins', sans-serif !important;
}

.page-header-menu-section .header-nav-profile .dropdown .profile-info small {
    font-family: 'Poppins', sans-serif !important;
}

body .userpassword_craftmyapp_container a.help-block-orange {
    background: #bf7d2c !important;
    color: #fff;
    margin-left: 10px;
}

.dataTables_wrapper table thead tr th {
    font-family: 'Poppins', sans-serif !important;
}

.dataTables_wrapper table tbody tr td {
    font-family: 'Poppins', sans-serif !important;
}

.dataTables_wrapper .dataTables__bottom .paging_simple_numbers a {
    font-family: 'Poppins', sans-serif !important;
}

.dataTables_wrapper .dataTables_length select {
    font-family: 'Poppins', sans-serif !important;
}

.dataTables_buttons .cma_add_button {
    font-family: 'Poppins', sans-serif !important;
}

.div_filter .form-group label,
.div_filter label,
.div_filter .form-group input,
.div_filter .form-group label,
.div_filter span {
    font-family: 'Poppins', sans-serif !important;
}

/*button#btnFilter {
    background: #F37119 !important;
    font-family: 'Poppins', sans-serif !important;
}*/

button#btnCloseFilter {
    border: 1px solid #f37119 !important;
    box-shadow: inherit !important;
    color: #2C1F16 !important;
    font-weight: normal;
}

/*.switch input:checked + .slider {
    background-color: #f37119 !important;
}*/

div#menubar {
    background: #0A164C;
}

/*.menubar-scroll-panel .gui-controls > li > a.active {
    border-top: 0px !important;
    border-bottom: 0px !important;
    color: #F37119 !important;
}*/
/*
    .menubar-scroll-panel .gui-controls > li > a.active .title {
        color: #F37119 !important;
        margin-top: 3px;
    }*/
.menubar-scroll-panel .gui-controls>li>a.active .title {
    color: #fff !important;
    margin-top: 3px;
}

.menubar-scroll-panel .gui-controls>li>a.active {
    border-top: 0px !important;
    border-bottom: 0px !important;
    color: #00Deff !important;
    background: #bf7d2c;
}





.menubar-scroll-panel .gui-controls>li:hover>a.active {
    color: #00Deff !important;
}

/*.menubar-scroll-panel .gui-controls > li:hover > a.active {
    color: #F37119 !important;
}*/

/*    .menubar-scroll-panel .gui-controls > li:hover > a.active .title {
        color: #F37119 !important;
    }*/
.menubar-scr#00Deffoll-panel .gui-controls>li:hover>a.active .title {
    color: #00Deff !important;
}

.menubar .nano.has-scrollbar .gui-controls li:first-child {
    background: #fff !important;
}

#header .page-header-box {
    background: #fff !important;
    box-shadow: 3px 0px 10px 0px rgba(0, 0, 0, 0.10);
}

#header .page-header-box h1 {
    color: #000 !important;
    font-size: 23px !important;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
    gap: 8px;
}

.page-header-menu-section .header-nav-profile .dropdown .profile-info {
    color: #000;
}

.page-header-menu-section .header-nav-profile .dropdown .profile-info small {
    color: #000;
}

.card.card-block.contCard {
    border-radius: 5px;
    background: #fff !important;
}

.form-group>label {}

.form-control {
    border-radius: 5px !important;
    border: 1px solid #DDE1EF !important;
    background: #fff !important;
}

.card-block .form-group input {
    border-radius: 5px !important;
    border: 1px solid #DDE1EF !important;
    background: #FFF !important;
    color: #313534 !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 35px !important;
}

.form-group select.form-control {
    color: #313534 !important;
    border-radius: 15px !important;
}

.card.card.card-blue {}

.card.card-blue .card-head header {
    color: #201F1F;
    font-size: 16px;
}

section.main-content {
    background: #faf7f2 !important;
}

/*div#base {
    background: #F7F7F7 !important;
}*/

.detele-common-icon button {
    background: transparent !important;
    border: 0px !important;
    color: #F37119 !important;
}

.detele-common-icon button span:before {
    color: #F37119 !important;
}

/*html body #content button[type="button"].cma_cancel_button {
    border-radius: 5px;
    border: 1px solid #FA8836 !important;
    background: #fff !important;
    color: #2C1F16 !important;
    line-height: normal;
    font-weight: normal !important;
}*/

/*button#btnSubmit, button#btnSubmitReview {
    border-radius: 5px;
    background: #F37119 !important;
    border: 1px solid #F37119 !important;
    color: #FFF;
    text-align: center;
    font-size: 15px;
    font-style: normal;
    line-height: normal;
}
*/

button#btnSubmit,
button#btnSubmitReview {
    border-radius: 5px;
    background: #bf7d2c !important;
    border: 1px solid #bf7d2c !important;
    color: #FFF;
    text-align: center;
    font-size: 14px !important;
    font-style: normal;
    line-height: normal;
    border-radius: 15px;
}

.mainSideMenu .menu-dropdown {
    border-radius: 0px 5px 5px 0px;
    background: #292C36 !important;
    /*box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.45);*/
    box-shadow: unset !important;
}

/*.gui-controls > li.open > .menu-dropdown ul li a:hover {
    background: transparent !important;
    color: #FA9806 !important;
}
*/

.gui-controls>li.open>.menu-dropdown ul li a:hover {
    background: transparent !important;
    color: #ffF !important;
}

/*  .gui-controls > li.open > .menu-dropdown ul li a:hover::before {
        color: #FA9806 !important;
    }
*/
.main-content .card {
    border-radius: 5px;
    /* background: #15171A; */
}

/*.dataTables_wrapper table tbody tr td a {
    color: #b1aeae !important;
}*/
/*body .dataTables_buttons .cma_top_icon i {
    background: #15171a;
    border: 1px solid #222427 !important;
    color: #fff !important;
}
.dataTables_wrapper .dataTables_buttons .cma_top_icon:nth-child(2) i {
    color: #b7adad !important;
}
.dataTables_wrapper .dataTables_buttons .cma_top_icon:nth-child(3) i {
    color: #b7adad !important;
}*/
.dataTables_buttons .cma_add_button {
    background: #bf7d2c !important;
    margin-right: 10px !important;
}

.gui-controls>li.open>.menu-dropdown ul li a:hover::before {
    color: #00DEFF !important;
}

/*.dataTables_wrapper .input-group.prefix .form-control {
    border: 1px solid #2c2e30 !important;
}*/

table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
    background: transparent !important;
    border: 1px solid #222427 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #e0691a !important;
}

/*.card.card.card-blue {
    background: #fff !important;
}*/

.form-group>label,
.list_card_section .form-group label {
    font-family: 'Poppins', sans-serif !important;
}

.input-group .form-control {
    font-family: 'Poppins', sans-serif !important;
}

button.btn.cma_primary_button {
    font-family: 'Poppins', sans-serif !important;
}

body .dropdown-menu>li>a {
    font-family: 'Poppins', sans-serif !important;
}

body .card .card-head header {
    font-family: 'Poppins', sans-serif !important;
}

body .mainSideMenu .menu-dropdown ul li a {
    font-family: 'Poppins', sans-serif !important;
}

.swal2-modal .swal2-title {
    font-family: 'Poppins', sans-serif !important;
}

.map-tab {
    width: 100%;
    background: #fff;
    /* max-width: 500px;*/
}

.map-tab ul li a {
    color: #000000 !important;
    text-align: center;
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    padding: 9px 27px;
    background-color: #f0f1f8 !important;
    border-radius: 4px;
    text-transform: uppercase !important;
    text-transform: capitalize !important;
}

.map-tab ul li .nav-link {
    color: #000 !important;
    text-align: center;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px;
    font-style: normal !important;
    font-weight: 500;
    text-transform: capitalize !important;
    margin: 0px 0px 10px 0px;
    border: solid 0px;
    cursor: pointer
}

.map-tab .input-group.prefix span {
    position: absolute;
    right: 21px;
    border: 0px;
    top: 3px;
}

.map-tab .input-group.prefix {
    border-radius: 12px;
    border: 1px solid #DDE1EF;
    background: #FFF;
    padding: 0px 10px;
}

.map-tab .input-group.prefix input {
    border: 0px !important;
    width: 92%;
    color: #878A99;
    font-family: Roboto;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.search-filter {
    padding: 10px;
    display: flex;
    background: #F8F8F8;
    width: 100%;
}

.search-filter .filter-ico {
    border-radius: 12px;
    border: 1px solid #E8E8E8;
    background: transparent;
    width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    border: 1px solid #e2e8f0;
}

.search-filter .filter-ico svg {
    width: 16px;
}

.search-filter .filter-ico svg path {
    fill: #62748e;
}

.automatonShowFilter {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px;
    background-size: 20px 87px;
}

.automatonShowFilter {
    height: 39px !important;
    width: 37px;
}

.map-tab ul {
    display: flex;
    margin: 0px 13px;
    /*    justify-content: space-between;*/
}

.map-tab ul li.active a:hover {
    background: transparent;
    color: #e85d00;
}

.map-tab ul li a:hover {
    background: transparent;
}

.remote_list {
    display: flex;
    padding: 8px 13px;
    border-bottom: 2px solid #DDE1EF;
    width: 100%;
    text-align: left;
    align-items: center;
    cursor: pointer;
}

.remote-list-left {
    border-radius: 44px;
    width: 44px;
    height: 44px;
    border: 2px solid green;
    background: rgb(45 203 115 / 10%);
    text-align: center;
    line-height: 51px;
}

.remote-list-left.idle {
    background-color: #e3dfdf;
    border-color: #6e6e6e;
}

.remote-list-left.running {
    background-color: rgb(45 203 115 / 10%);
    border-color: #007f00;
}

.remote-list-left.over-speed {
    background-color: #fc9494;
    border-color: #f5001a;
}

.remote-list-left.unallocated {
    background-color: #D29F80;
    border-color: #f5001a;
}

.remote-top-section {
    display: flex;
    flex-direction: column;
}



.remote-top-section .tlt-run {
    display: flex;
    justify-content: space-between;
}

.remote-top-section .tlt-run h3 {
    margin-top: 0px;
    margin-bottom: 0px;
    color: #1F1F1F;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    background-color: #ffff0045;
    padding: 2px 7px;
    color: #000000;
    border-radius: 4px;
    border: solid 1px #070707;
}

.remote-list-right {
    width: 85%;
    margin-left: 5%;
}

.remote-top-section .tlt-run span {
    color: #878A99;
    text-align: right;
    font-family: 'Poppins', sans-serif !important;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    display: flex;
    align-items: center;
}

.remote-top-section .content p {
    color: #878A99;
    font-family: Poppins;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 10px 0px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.remote-top-section .tlt-run span b {
    color: #2DCB73;
    text-align: right;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-left: 4px;
    position: relative;
    top: 3px;
}

.status-red {
    color: #f44336 !important;
}

.status-green {
    color: #4CAF50;
    position: relative;
    top: -5px;
}

.status-gray {
    color: #9E9E9E !important;
}


.remote-btm-lst ul {
    list-style-type: none;
    margin-left: 0px !important;
    padding-left: 0px;
    display: flex;
    justify-content: space-around;
    margin-bottom: 0px;
}

.remote-btm-lst ul li a p {
    color: #1F1F1F;
    font-family: 'Poppins';
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: left;
    margin-bottom: 0px;
}

.remote-btm-lst ul li {
    width: auto;
    max-width: 100%;
    display: flex;
    padding: 0px;
}

.remote-btm-lst ul li a {
    text-decoration: none !important;
}

.remote-btm-lst {
    margin-top: 7px;
}

/*popup*/
.add_map_popup .header-modal h4 {
    color: #74849b;
    font-family: 'Poppins', sans-serif !important;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 0px;
    margin-top: 0px;
}

.add_map_popup .header-modal {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: solid 1px #c9c9c9;
}

.add_map_popup .modal-content {
    border: 0px solid rgba(0, 0, 0, 0.2) !important;
}

.add_map_popup .modal-content .form-group {
    padding-top: 12px;
    margin-bottom: 0px !important;
}

.add_map_popup .modal-content .form-group label {
    color: #212529;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 0px !important;
}

.add_map_popup .modal-content .form-group .form-control {
    border-radius: 5px !important;
    border: 1px solid #DDE1EF !important;
    background: #fff;
}

.add_map_popup {
    width: 388px;
    margin: 0 auto;
    border-radius: 0;
    background: #FFF;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.32);
}

.add_map_popup {
    position: absolute;
    top: 52px;
    z-index: 9999;
    right: 10px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    background: #fff;
    display: none;
}

.add_map_popup a.closebtn {
    font-size: 16px;
}

.map-tab {
    position: relative;
}

/*poup for map*/
.map-content-dialog {
    width: 280px;
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.32);
    position: absolute;
    left: 50%;
    top: 25%;
    /*z-index: 9999;*/
    display: none;
}

.map-top-content {
    display: flex;
    flex-direction: column;
    border-radius: 10px 10px 0px 0px;
    border-bottom: 1px solid #DDE1EF;
    background: #FFF;
    padding: 10px;
}

.map-content-left {
    display: flex;
    justify-content: space-between;
}

.map-content-left label {
    color: #1F1F1F;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.08px;
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}


.map-top-content p {
    color: #878A99;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 0px !important;
    letter-spacing: 0.07px;
}

.map-bottom-content .trip-tabs {
    margin-top: 0px !important;
}

.map-content-left a {
    border-radius: 5px;
    background: gray;
    color: #00895C;
    text-align: right;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.06px;
    padding: 6px 20px;
}

.map-content-left a.idle {
    background: gray;
    color: white;
    /* Text color for idle state */
}

.map-content-left a.running {
    background: rgb(45, 203, 115, 0.1);
    /* Light green */
    color: black;
    /* Text color for running state */
}

.map-content-left a.over-speed {
    background: red;
    color: white;
    /* Text color for over-speed state */
}

.map-content-left a.unallocated {
    background: #D29F80;
    color: white;
    /* Text color for idle state */
}

.map-bottom-content {
    display: flex;
}

.map-bottom-content ul {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    margin: 10px !important;
    padding: 0px !important;
    width: 100%;
}

.map-bottom-content ul li {
    display: flex;
    /* justify-content: space-between;*/
    margin-bottom: 8px;
}

.map-tab ul li .nav-link.active {
    background: #bf7d2c !important;
    color: #fff !important;
    opacity: 1;
}

.trip-tabs .nav-item {
    margin-right: 10px;
}

.trip-tabs {
    width: 96%;
}

.map-bottom-content ul li span {
    color: #878A99;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.07px;
    width: 155px;
}

.map-bottom-content ul li label {
    color: #1F1F1F;
    text-align: right;
    font-size: 13px !important;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.07px;
}

.map-bottom-content ul li label.ltr {
    color: #2DCB73 !important;
    text-align: right;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.07px;
}

.map-bottom-content ul li label.ltr span {
    color: #E39409 !important;
}

.map-wrapper {
    position: relative;
}

.map-bottom-content ul li span img {
    margin-right: 10px;
}

.map-bottom-content ul li:last-child {
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
}

.map-content-dialog.map-collpase {
    display: block;
    position: relative;
    left: 0px;
    width: 100%;
}

.globe-ico {
    display: none;
}

.globe-ico {
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    line-height: 37px;
    text-align: center;
    position: absolute;
    top: 67px;
    z-index: 9999;
    border: 1px solid #ccc;
    left: 1px;
}

@media only screen and (min-width:320px) and (max-width:1360px) {
    .map-controls {
        display: none;
        position: absolute;
        z-index: 999;
        left: 0px;
    }

    div#map {
        width: 100%;
    }

    .globe-ico {
        display: block;
    }
}

.acc-tab-control {
    height: auto;
    overflow: auto;
}

.acc-tab-control::-webkit-scrollbar {
    width: 6px;
    background: #aba6a6;
}

.map-content-dialog.map-collpase {
    box-shadow: inherit !important;
    border: 1px solid #ccc;
    padding: 10px;
}


/* Notification Icon Style */
.message_icon {
    font-size: 27px;
    color: #57b8ec;
}

.align-center {
    align-items: center
}


.message_icon .badge {
    position: absolute;
    top: 4px;
    right: -2px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 16px;
    height: 16px;
    padding: 1px 10px 0 10px;
    padding: 3px;
    background-color: #0027ff;
    color: #ffffff;
    z-index: 1;
    transition: transform 0.15s, background-color 0.5s;
    cursor: pointer;
}

.position-releative {
    position: relative
}


.popover_start .popover-body {
    background-color: #fff;
    padding: 10px;
}

.popover_start .popover-header {
    background-color: #e0691a !important;
    padding: 10px !important;
    margin: 0 !important;
    color: #fff;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}

.popover.popover_start {
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
    border: solid 0px;
}

.cursor-pointer {
    cursor: pointer
}

.animated-popover {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.show-popover {
    opacity: 1;
    transform: scale(1);
}

/* Notification Icon Style End */



.dashboard-card {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-control {
    color: #4A4A4A !important;
}

button.cma_secondary_button,
button.cma_secondary_button:hover {
    color: #fff !important;
    background: #bf7d2c !important;
    border: none !important;
}

.dataTables_wrapper .dataTables_buttons .cma_top_icon:nth-child(2) i {
    color: #1f1f1f !important;
}

.dataTables_wrapper .dataTables_buttons .cma_top_icon:nth-child(3) i {
    color: #0a164c !important;
}

actions button {
    border: solid 1px #bf7d2c !important;
}

.file-section button {
    border: solid 1px #bf7d2c !important;
}

.actions:not(.actions--inverse) .actions__item {
    color: #1f1f1f !important;
}

path[Attributes Style] {
    stroke: #491EC4 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #bf7d2c !important;
}

button#btnFilter {
    background: #bf7d2c !important;
    color: #fff;
    border-radius: 15px;
}

button#btnCloseFilter {
    border: 1px solid #0092e5 !important;
}

button#btnCloseFilter,
button#btnCloseFilter:hover {
    border: 1px solid #0092e5 !important;
    color: #2C1F16 !important
}

.ColVis_collection .colvis_switch:checked:before {
    background: #bf7d2c !important;
}

.dashboard-card.h-100 {
    border: solid 1px #ffffff;
}

.dashboard-card.h-100:hover {
    border: solid 1px #00Deff;
    cursor: pointer
}

.login-card .text-center .cma_primary_button {
    border-radius: 5px;
    background: #0193e6;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
    font-weight: 600;
    border: none !important;
}

.login-card .text-center .button-common {
    border-radius: 5px;
    background: #0b164c !important;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
    font-family: 'Roboto' !important;
}

.img-responsive,
.thumbnail>img,
.thumbnail a>img,
.carousel-inner>.item>img,
.carousel-inner>.item>a>img.h-100 {
    object-fit: cover;
    height: 97vh !important;
    width: 142vh !important;
    filter: brightness(50%) !important;
}

.container_login {
    /*    padding: 14rem !important;*/
    padding-bottom: 0px !important
}

.forgot_pass {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.login_btn {
    width: 100%;
    background: #bf7d2c;
    border: none;
}

.login_btn:hover {
    width: 100%;
    background: #bf7d2c !important;
    border: none !important;
}

.login_leftpanel {
    padding: 10px !important;
    padding-top: 10px !important;
}

.login_leftpanel img {
    border-radius: 16px !important;
}

.build_ver {
    position: absolute;
    right: 22px;
    bottom: 0;
}

.top_logo {
    padding-top: 2rem !important;
    /*   padding-top: 5rem !important;*/
    padding-right: 0rem !important;
    display: flex;
    text-align: center;
}

.carousel-caption {
    text-align: start !important;
    left: 2% !important;
}

.carousel-inner h1 {
    font-weight: 700 !important;
    font-size: 32px !important;
}

.carousel-inner p {
    font-weight: 500 !important;
    font-size: 20px !important;
    line-height: 26px !important;
}

/**/
.download-section {
    text-align: center;
    padding: 36px 0;
    padding-top: 18%;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-top: 1px solid #ddd;
}

.divider span {
    padding: 0 15px;
    font-weight: 500;
    color: #000;
    font-size: 14px;
}

.btn-app {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 8px 15px;
    background: #fff;
    text-decoration: none;
    font-weight: 500;
    color: #333;
    transition: all 0.3s;
}

.btn-app:hover {
    background: #f8f9fa;
}

.btn-app img {
    width: 20px;
    margin-right: 10px;
}

.input-group .input-group-addon {
    border-left: 1px solid #DDE1EF !important;
    border-top: 0px solid #DDE1EF !important;
    border-radius: 0px !important;
}


/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 600px) {
    .container_login {
        padding: 3rem !important;
        padding-bottom: 0px !important;
    }

    .login_leftpanel {
        display: none
    }

    .top_logo {
        padding-right: 10rem !important;
    }
}

@media only screen and (min-device-width : 601px) and (max-device-width : 980px) {
    .container_login {
        padding: 13rem !important;
        padding-bottom: 0px !important;
    }



    #myCarousel {
        display: none;
    }
}

.carousel-indicators .active {
    width: 41px;
    height: 10px;
    background-color: #ffffff !important;
}

.carousel-indicators li {
    display: inline-block;
    width: 20px;
    height: 10px;
    background-color: #FFFFFF33 !important;
    border: solid 0px !important;
}

html body .swal2-confirm,
body .swal2-confirm:hover {
    border: 1px solid #bf7d2c !important;
    background: transparent !important;
    color: #ffffff !important;
    font-weight: bold !important;
    background: #bf7d2c !important;
}

html body .swal2-cancel,
body .swal2-cancel:hover {
    border: 1px solid #bf7d2c !important;
    background: transparent !important;
    color: #bf7d2c !important;
    font-weight: bold !important;
}

body .swal2-icon.swal2-warning {
    border-color: #bf7d2c !important;
}

table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th.dtr-control:before {
    background: transparent;
    border: 2px solid #bf7d2c;
    color: #bf7d2c;
    font-weight: 800;
}

input:focus,
select:focus {
    border-bottom-color: #bf7d2c !important;
    border-width: 1.5px !important;
}

button#btnCloseFilter,
button#btnCloseFilter:hover {
    border: 1px solid #d5d5d6 !important;
    color: #45556c !important;
    font-weight: 600;
    border-radius: 15px;
}

.text-end {
    text-align: end
}

.forgot_passowrd {
    border: 0px solid #bf7d2c !important;
    background-color: transparent !important;
    color: #bf7d2c !important;
    box-shadow: none;
    font-size: 14px !important;
    line-height: 32px !important;
    text-decoration: underline;
    padding-left: 0 !important;
    font-family: 'Poppins', sans-serif !important;
    text-transform: uppercase;
}

.forgot_passowrd:hover {
    border: 0px solid #bf7d2c !important;
    background-color: transparent !important;
    color: #bf7d2c !important;
    box-shadow: none;
    font-size: 14px !important;
    line-height: 32px !important;
    text-decoration: underline;
    padding-left: 0 !important;
    font-family: 'Poppins', sans-serif !important;
}

.login_btn {
    width: 100%;
    background: #bf7d2c;
    border: none;
    margin: 0 !important;
    height: 45px;
    font-size: 16px !important;
}

section.section-account {
    justify-content: center !important;
}

.login-card .text-center .cma_primary_button:hover {
    border-radius: 5px !important;
    background: #0193e6 !important;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25) !important;
    font-weight: 600;
    border: none !important;
}

.login-card .text-center .button-common {
    border-radius: 5px;
    background: #0b164c !important;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
    font-family: 'Roboto' !important;
    border: none !important;
}

.emobilenumber_craftmyapp_container .has-success .help-block {
    color: #f44336 !important;
}

.mobile_craftmyapp_container .has-success .help-block {
    color: #f44336 !important;
}

.row.div_filter {
    left: 33px !important;
    top: 48px !important;
}

#base {
    padding-top: 58px !important;
    background-color: #faf7f2 !important;
}

.dmobile_craftmyapp_container .iti~.iti {
    display: none !important;
}


/*Theme style code start */
.card {
    border: 1px solid #ccc;
    box-shadow: 0px 6px 16px 2px #0000000D;
    border-radius: 3px !important;
    padding: 10px !important;
}

.dataTables_wrapper table thead tr th {
    background: #fbf7f2 !important;
    border-top: 1px solid #fbf7f2 !important;
    border-right: 0px solid #fbf7f2 !important;
    border-left: 0px solid #fbf7f2 !important;
    border-bottom: 1.09px solid #fbf7f2 !important;
    font-size: 13px;
    font-weight: 500 !important;
}

.table-responsive .dataTables_wrapper table thead {
    background: #9f9f9f42 !important;
    border-top: 1px solid #fbf7f2 !important;
    border-right: 0px solid #fbf7f2 !important;
    border-left: 0px solid #fbf7f2 !important;
    border-bottom: 1.09px solid #fbf7f2 !important;
    font-size: 13px;
    font-weight: 700 !important;
}

.dataTables_wrapper table tbody tr:nth-child(2n) td {
    background: #fafbfc !important;
    border-top: 0px solid #f7f8ff !important;
    border-right: 0px solid #f7f8ff !important;
    border-left: 0px solid #f7f8ff !important;
    border-bottom: 1.09px solid #f7f8ff !important;
    color: #212B37 !important;
    font-size: 13px;
    font-weight: 400 !important;
}


table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
    border-radius: 4px !important;
    border: 1px solid #D2D2DA !important;
    background: #FFF !important;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.14) !important;
    padding-top: 1px;
}

.form-group>label,
.list_card_section .form-group label {
    font-size: 13px !important;
    color: #62748e !important;
    text-transform: none !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600;
    text-transform: uppercase;
}

/*.card-head header {
    font-family: 'Poppins', sans-serif !important;
    font-style: normal !important;
    font-weight: 600 !important;
    font-size: 20px !important;
    line-height: 23px !important;
    color: #bf7d2c !important;
}*/
.card-head header {
    font-family: Poppins, sans-serif !important;
    font-style: normal !important;
    font-weight: 600 !important;
    font-size: 17px !important;
    line-height: 16px !important;
    color: #343332 !important;
    padding-bottom: 7px !important;
    border-radius: 2px;
    padding-left: 14px !important;
}

.card-head header {
    position: relative;
}

.card-head header::before {
    width: 6px;
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    background: #bf7d2c;
    border-radius: 5px;
}

.mainSideMenu .menu-dropdown ul li a:hover {
    background: transparent !important;
    color: #fff !important;
}

.mainSideMenu .menu-dropdown ul li a::before {
    color: #000 !important;
}

.mainSideMenu .menu-dropdown ul li a {
    color: #fff !important;
}

#dropdown_container .menu-dropdown,
.gui-controls>li.open>.menu-dropdown {
    background: #fff !important;
    padding: 10px;
    border-radius: 10px;
    /* color: red !important; */
}

#dropdown_container .menu-dropdown ul li a,
.gui-controls>li.open>.menu-dropdown ul li a {
    background: transparent !important;
    color: #62748e !important;
}

.mainSideMenu .menu-dropdown ul li a::before {
    color: #000 !important;
}

.gui-controls>li.open>.menu-dropdown ul li a:hover {
    color: #000 !important;
    font-weight: 700;
}

.gui-controls>li.open>.menu-dropdown {
    margin-top: 12px;
}

.gui-controls>li.open>.menu-dropdown ul li a:hover::before {
    background: #62748e !important;
}

.page-header-box {
    background: #ffffff !important;
    color: #fff !important;
    box-shadow: 0px 4px 9px 0px #00000003 !important;
    border-bottom: 1px solid #ccc;
}

.printablerow {
    box-shadow: 0px 6px 16px 2px #0000000D;
    border-radius: 3px !important;
    margin-top: 10px;
}

.dataTables_wrapper .dataTables_buttons .cma_top_icon:nth-child(2) i {
    color: #000 !important
}

.dataTables_wrapper .dataTables_buttons .cma_top_icon:nth-child(3) i {
    color: #000 !important
}

.dataTables_wrapper .add-row-btn {
    background: #bf7d2c;
}

.dataTables_wrapper .add-row-btn:hover {
    background: #bf7d2c !important;
}

.card-lst .list:hover,
.card-lst .list.active {
    box-shadow: none !important;
    margin: 0px !important;
}

.trbg {
    font-weight: bold;
    background-color: #F8F8F8 !important;
    border: 0px solid #80c8ff !important;
}

.auto_checker_action,
.auto_checker_action:hover {
    background: #bf7d2c !important;
    font-family: 'Roboto';
    font-size: 14px !important;
    border: 1px solid #bf7d2c;
    color: #fff !important;
    margin-left: 10px !important;
    border-radius: 15px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 35px !important;
}

.table-responsive-lg table thead {
    background: #fbf7f2 !important;
    border-bottom: 0px solid #fbf7f2;
    border-radius: 5px 5px 0px 0px;
}

.table-responsive-lg table thead th {
    color: #667085 !important;
}

.cma_primary_button:hover {
    color: #FFFFFF !important;
    background-color: #bf7d2c !important;
    border-color: #bf7d2c !important;
}

.input-file label {
    padding: 7px 10px !important;
}

.cancel-btn {
    background: #bf7d2c !important;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
    border-radius: 5px !important;
    font-family: 'Poppins', sans-serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 19px !important;
    height: 38px;
    padding: 5px 14px;
    border: none;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 10px;
}

.cancel-btn:hover {
    background: #bf7d2c !important;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
    border-radius: 5px !important;
    font-family: 'Poppins', sans-serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 19px !important;
    height: 38px;
    padding: 5px 14px;
    border: none;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 10px;
}

a.table_action.table_action_edit.viewbutton {
    background: #bf7d2c !important;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
    border-radius: 5px !important;
    font-family: 'Poppins', sans-serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    line-height: 19px !important;
    height: 29px;
    padding: 5px 6px !important;
    border: none;
    color: #fff !important;
}

a.table_action.table_action_edit.viewbutton:hover {
    background: #bf7d2c !important;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
    border-radius: 5px !important;
    font-family: 'Poppins', sans-serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    line-height: 19px !important;
    height: 29px;
    padding: 5px 6px !important;
    border: none;
    color: #fff !important;
}

#tblDailyShift tbody .dt-center {
    display: flex;
    align-items: center;
    gap: 10px;
}

table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_desc_disabled:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting:after {
    font-size: 15px !important;
}

table.dataTable thead th:not(.sorting):not(.sorting_asc):not(.sorting_desc):after,
table.dataTable thead th:not(.sorting):not(.sorting_asc):not(.sorting_desc):before {
    display: none !important;
    content: "" !important;
}

.popover_start_popup~.popover {
    min-width: 152px;
    max-width: 288px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border: none;
}

.notification-item::marker {
    color: #bf7d2c;
    font-size: 24px;
    /* margin-right: 19px; */
    /* width: 60px; */
    /* height: 80px; */
    /* display: block; */
}

ul.notification-list {
    padding-left: 24px !important;
}

.popover_start_popup .popover-header {
    padding: 0px !important;
    margin: 0px !important;
}

.notification-item {
    border-bottom: solid 1px #dfdfdf;
    padding-bottom: 4px;
    border-radius: 6px;
}

.map-tab ul li .nav-link.All_tab.active {
    background-color: #0a164c !important;
    border-bottom: 1px solid #0a164c;
    color: #ffff !important;
}

.map-tab ul li .nav-link.idle_tab.active {
    background-color: #6c757d !important;
    border-bottom: solid #6c757d;
    color: #ffff !important;
}

.map-tab ul li .nav-link.Running_tab.active {
    background-color: #28a745 !important;
    border-bottom: solid 2px #28a745;
    color: #ffff !important;
}

.map-tab ul li .nav-link.Unallocated_tab.active {
    background-color: #D29F80 !important;
    border-bottom: solid 2px #D29F80;
    color: #ffff !important;
}

@media (max-width: 1482px) {
    .map-tab ul {
        overflow-x: scroll;
        overflow-y: hidden;
    }
}


#map button:hover {
    background: none padding-box rgb(255, 255, 255) !important;
    color: rgb(0, 0, 0);
}

/*#accordion .collapse {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px !important;
    border-radius: 0px 0px 10px 10px !important;
}*/
.page-header-box {
    padding: 8px 24px !important;
    padding-bottom: 4px !important;
}

.ColVis_collection li label .material-icons {
    display: none !important;
}

ul.ColVis_collection {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.card-block .cgst_craftmyapp_container input.form-control {
    border-right: 0px solid !important;
    border-right-width: 0px !important;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.card-block .cgst_craftmyapp_container .input-group .input-group-addon {
    /* border: 1px solid #DDE1EF !important; */
    border: 1px solid #DDE1EF !important;
    border-radius: 5px !important;
    border-left: 0px solid !important;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

.cma_primary_button {
    background: #bf7d2c !important;
    color: #ffffff !important;
    border-color: #bf7d2c;
    padding-top: 4px !important;
    border-radius: 15px;
    font-size: 14px !important;
    text-transform: uppercase;
    font-weight: 600;
}

h2.Daily_text_header {
    font-size: 20px !important;
    font-style: normal;
    font-weight: 700 !important;
    line-height: normal;
    margin: 0 !important;
    padding: 0;
}

.login label {
    font-weight: 600 !important;
    font-size: 14px !important;
    padding-bottom: 17px !important;
    margin: 0px !important;
    line-height: 0;
    color: #62748e !important;
    text-transform: none !important;
}

.login input {
    height: 45px;
    border: solid 1px #d9d9d9 !important;
    border-radius: 4px !important;
}

.login .has-success .form-control,
.has-success .form-control-sucess {
    border: solid 1px #d9d9d9 !important;
    border-right: solid 0px #d9d9d9 !important;
    border-radius: 4px 0px 0px 4px !important;
}

.login .input-group .input-group-addon {
    border: solid 1px #d9d9d9 !important;
    border-radius: 0px 4px 4px 0px !important;
    border-left: solid 0px #d9d9d9 !important;
    background-color: #ebebeb;
}

.form-container .custom-upload {
    background-color: #bf7d2c !important;
    color: #fff !important;
}

.form-container input {
    border: solid 1px #e6e6e6;
    padding: 0px 0px;
    border-radius: 2px;
}

.showFiles {
    background: url(./images/file.png) no-repeat !important;
    background-position: right center !important;
    width: 26px !important;
    height: 28px !important;
}

/* Vehicle Contract: keep the custom attachment control stable across browsers. */
.vcdocumentupload_craftmyapp_container .form-group {
    position: relative;
}

.vcdocumentupload_craftmyapp_container .input-file {
    min-height: 38px;
    display: flex;
    align-items: center;
    overflow: visible;
}

.vcdocumentupload_craftmyapp_container .input-file input[type="file"] {
    display: none !important;
}

.vcdocumentupload_craftmyapp_container .input-file>label {
    cursor: pointer;
    top: 3px;
    left: 4px;
    height: 30px;
    display: flex;
    align-items: center;
    z-index: 1;
}

.vcdocumentupload_craftmyapp_container .input-file .filebtn {
    top: 9px;
    left: 88px;
    width: calc(100% - 131px);
}

.vcdocumentupload_craftmyapp_container #attachmentDisp .showFiles {
    top: 4px;
    right: 5px;
    cursor: pointer;
    background: #bf7d2c !important;
    -webkit-mask: url('./images/file.png') center / contain no-repeat;
    mask: url('./images/file.png') center / contain no-repeat;
}

.vcdocumentupload_craftmyapp_container .uploaded_files {
    top: calc(100% + 6px);
    left: 0;
    margin: 0;
}

.vcdocumentupload_craftmyapp_container .uploaded_files .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vcdocumentupload_craftmyapp_container .uploaded_files .modal-header .close {
    position: static;
    margin: 0 0 0 12px;
    flex: 0 0 auto;
}

/* Client logo upload: match the shared document-upload layout. */
.organizationlogo_craftmyapp_container .form-group {
    position: relative;
}

.organizationlogo_craftmyapp_container .input-file {
    min-height: 38px;
    display: flex;
    align-items: center;
    overflow: visible;
}

.organizationlogo_craftmyapp_container .input-file input[type="file"] {
    display: none !important;
}

.organizationlogo_craftmyapp_container .input-file>label {
    cursor: pointer;
    height: 36px;
    display: flex;
    align-items: center;
    z-index: 1;
}

.organizationlogo_craftmyapp_container .input-file .filebtn {
    top: 9px;
    left: 82px;
    width: calc(100% - 125px);
}

.organizationlogo_craftmyapp_container #attachmentDisp .showFiles {
    top: 4px;
    right: 5px;
    cursor: pointer;
}

.organizationlogo_craftmyapp_container .uploaded_files {
    top: calc(100% + 6px);
    left: 0;
    margin: 0;
}

.organizationlogo_craftmyapp_container .uploaded_files .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.organizationlogo_craftmyapp_container .uploaded_files .modal-header .close {
    position: static;
    margin: 0 0 0 12px;
    flex: 0 0 auto;
}

.organizationlogo_craftmyapp_container .uploaded_files .modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 12px 16px;
}

.organizationlogo_craftmyapp_container .uploaded_files .modal-footer .btn {
    margin: 0;
}

/* Reserve space for a wrapped dependent-row date error instead of overlaying it. */
.replacementvehiclelog_craftmyapp_container .todate_craftmyapp_container>div {
    display: flex;
    flex-direction: column;
}

.replacementvehiclelog_craftmyapp_container .todate_craftmyapp_container>div>.help-block {
    position: static !important;
    display: block;
    margin: 4px 0 0;
    min-height: 0;
    line-height: 16px;
    color: #f44336 !important;
    white-space: normal;
}

/* Preserve report action contrast after click, focus, and disabled states. */
.report-btn-group .btn-generate,
.report-btn-group .btn-generate:hover,
.report-btn-group .btn-generate:focus,
.report-btn-group .btn-generate:active,
.report-btn-group .btn-generate[disabled],
.report-btn-group .btn-generate.disabled {
    background-color: #c87941 !important;
    border-color: #c87941 !important;
    color: #ffffff !important;
    opacity: 1 !important;
}

.report-btn-group .btn-generate .material-icons {
    color: inherit !important;
}

/* SweetAlert action buttons need a visible, consistent separation. */
.swal2-actions,
.swal2-buttonswrapper {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.swal2-actions .btn,
.swal2-buttonswrapper .btn {
    margin: 0 !important;
}

/* Password guidance uses the application amber-brown palette. */
.userpassword_craftmyapp_container a.help-block-orange,
.userpassword_craftmyapp_container .help-block-orange {
    background-color: #c98227 !important;
    color: #ffffff !important;
}

.userpassword_craftmyapp_container a.help-block-orange {
    margin-left: 10px;
}

.userpassword_craftmyapp_container .collapse.help-block-orange {
    margin-top: 16px !important;
    padding: 16px 18px;
}

.attachment_craftmyapp_container .vendor-attachment-preview {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    margin-top: 6px;
    color: #c87941 !important;
    text-decoration: none;
}

.attachment_craftmyapp_container .vendor-attachment-preview span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dmobile_craftmyapp_container span.help-block {
    color: #f44336 !important;
}

.form-group.has-error {
    display: flex;
    flex-direction: column;
}

.form-group .help-block {
    order: 2;
}

.form-group.has-error .iti__selected-flag {
    height: 63%;
}

#verifiedstatus_buttons .btn-primary {
    color: #ffffff !important;
    background-color: #bf7d2c !important;
    border-color: #bf7d2c !important;
    border: none !important;
    margin: 0px 2px;
    font-family: 'Poppins', sans-serif !important;
    border-radius: 4px;
}

#verifiedstatus_buttons .btn-primary:hover {
    color: #ffffff !important;
    background-color: #bf7d2c !important;
    border-color: #bf7d2c !important;
    border: none !important;
    margin: 0px 2px;
}

#cboxContent #cboxClose {
    position: absolute !important;
    top: 0 !important;
}

#btnDownload {
    color: #ffffff !important;
    background-color: #bf7d2c !important;
    border-color: #bf7d2c !important;
    border: none !important;
    margin-bottom: 16px;
}

textarea.form-control {
    padding: 4px 0px 4px 5px;
    font-family: 'Poppins', sans-serif;
}

.dataTables_wrapper .add-row-btn {
    background: #bf7d2c;
    border-radius: 12px !important;
    padding: 11px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px !important;
    /* margin: 0px 10px; */
    margin-bottom: 0px !important;
    margin-right: 15px;
}

.dataTables_wrapper .add-row-btn:hover {
    background: #bf7d2c;
    border-radius: 12px !important;
    padding: 11px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px !important;
    /* margin: 0px 10px; */
    margin-bottom: 0px !important;
    margin-right: 15px;
}

.trip-tabs {
    margin-top: 15px;
}

.trip-tabs .nav-tabs {
    margin-bottom: 10px;
    display: flex;
    border-bottom: 1px solid #ddd;
    flex-direction: row;
}

.trip-tabs .nav-item {
    margin-bottom: 0;
}

.trip-tabs .nav-link {
    white-space: nowrap;
    cursor: pointer;
}

.current-trip-content.active {
    display: block;
}

.previous-trip-content.active {
    display: block;
}

.current-trip-content,
.previous-trip-content {
    display: none;
}

#map.active {
    display: block;
}

#tripDashboard.active {
    display: block;
}

#map,
#tripDashboard {
    display: none;
}

/**/
.header-cards {
    background: rgb(112 166 200) !important;
    padding: 10px !important;
    flex: auto !important;
}

.dashboard-section .card:hover,
.header-filters:hover {
    border-color: #90a1b9;
}

.dashboard-section .card,
.header-filters {
    border: 1px solid #e2e8f0d9;
    border-radius: unset !important;
}

.bar-chart svg rect {
    rx: 3;
}

.filters {
    background: #f0f1f8 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-radius: 5px !important;
}

.header-filters {
    display: flex;
    flex-direction: row;
    align-items: end;
}

.header-filters .card-body {
    flex: auto;
    padding-bottom: 0;
}

/**/
.top-layout .filters {
    background: #f0f1f8;
    padding: 10px;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-radius: 5px !important;
}

.top-layout .filters .filter-group {
    background: #fff;
    gap: 10px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    min-width: 290px;
}

.top-layout .top-kpi-container {
    background: rgb(192 192 192);
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    background: #fff !important;
}

.top-layout .kpi-card-top .label {
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    white-space: normal;
    font-weight: normal;
    color: #666;
    align-items: center;
    line-height: 20px;
}

.top-layout .kpi-card-top {
    display: flex;
    flex-wrap: wrap;
}

.top-layout {
    padding: 10px;
}

.top-layout .filters .filter-icon {
    background: #3b4b64 !important;
    color: #fff;
}

.dashboard-body .right-content .card div:first-child {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #3b4b64;
    min-height: 26px;
}


.dashboard-body .right-content .card div.value {
    font-size: clamp(16px, 2.5vw, 18px);
}

.dashboard-body .right-content .card div.sub-label {
    font-size: clamp(10px, 1.2vw, 12px);
    color: #a19999;
}

.card-stack-f {
    height: 400px;
    overflow: auto;
}

.card-stack {
    height: 400px;
    overflow: auto;
}

/**/
.info-section .info-section-content {
    padding: 10px;
    gap: 10px;
    background-color: #f0f1f8;
}

.kpi-card-title {
    font-size: 9px;
    margin: 0;
}

.kpi-card.card-with-line {
    padding-right: 5px;
    padding-left: clamp(20px, 1.5vw, 20px);
}

.kpi-card-value {
    font-size: 1.25rem !important;
}

.info-section .info-section-content .kpi-card.card-with-line::before {
    width: 3px;
    height: 60%;
    top: 50%;
    transform: translate(0px, -50%);
}

section.info-section {
    padding: 10px;
}

.detail-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding-inline: 0;
}

.viz-section,
.info-section>h3 {
    padding-inline: 0px !important;
}

.viz-section>h3,
.info-section>h3 {
    padding-top: 0;
}

.main-content .card {
    padding-bottom: 0 !important;
}

/**/
.dispatch-grid .card-comparison {
    margin-bottom: 0;
}

.dispatch-grid .card-title,
#fleet-utilization .card-title {
    margin-bottom: 0 !important;
    color: #62748e !important;
    font-size: 14px !important;
}

#fleet-utilization .card-comparison {
    margin-bottom: 0 !important;
}

.dispatch-grid .card-value.large {
    font-size: clamp(20px, 3.5vw, 24px) !important;
}

.dispatch-grid .card {
    padding-bottom: 0 !important;
}

/**/
.right-content ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.right-content ::-webkit-scrollbar-track {
    background: #9e9e9e3d;
}

.right-content ::-webkit-scrollbar-thumb {
    background: #8888889e;
    border-radius: 6px;
}

.detail-item span {
    font-size: 12px;
}

.detail-card-header {
    font-size: 14px !important;
}


.info-section-content .kpi-card-title {
    font-size: 12px;
}

.info-section-content .kpi-card-value {
    font-size: 16px;
}

.info-section-content .list-item b {
    font-size: 13px;
}


.viz-section>h3 {
    font-size: 14px !important;
}

.info-section>h3 {
    font-size: 14px !important;
}

.dashboard-section .grid-container {
    /*    background: #f0f1f8;*/
    padding-inline: 0px !important;
    /*    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);*/
    border-radius: 5px !important;
}

body.dashboard-section .grid-container .card {
    margin-bottom: 0px !important;
    border-radius: 16px !important;
}

.card-stack-f {
    background: #fff !important;
    padding: 10px !important;
    border: 10px solid #f0f1f8 !important;
}

.dashboard-body .right-content .card div:first-child {
    margin-bottom: 0px;
}

.heatmap-table svg {
    background: #fff !important;
}

div .main-content .card {
    padding-bottom: 10px !important;
}

.card-stack.card-stack-b {
    height: auto;
    border: 0px !important;
    padding: 0px !important;
    background: transparent !important;
}

.card-stack.card-stack-b .card {
    height: 350px;
    overflow: auto;
}

.card-stack {
    background: #fff !important;
    padding: 10px !important;
    border: 10px solid #f0f1f8 !important;
}

.card-stack.card-stack-b .card {
    background: #fff !important;
    padding: 10px !important;
    border: 10px solid #f0f1f8 !important;
}

.right-content .kpi-grid {
    background: transparent !important;
    padding: 14px !important;
    box-shadow: none;
    border-radius: 5px !important;
    height: 190px;
}

.right-content .card-bold {
    height: 157px;
}

.detail-cards-grid .detail-card {
    border: 10px solid #f0f1f8 !important;
}

.header h1 {
    font-size: 20px !important;
}

.header {
    background: #fff !important;
}

.top-layout .top-kpi-container {
    border-radius: 5px;
}

.dashboard-body .left-column {
    border-radius: 5px;
}

.dashboard-body .right-content {
    border-radius: 5px;
}

.top-layout .filter-group select {
    font-size: 10px;
}

.header-title h1 {
    font-size: 20px !important;
}

section.viz-section {
    border: 10px solid #f0f1f8;
}

.remote-top-section .tlt-run h3 {
    background: transparent;
    border: 0px;
    padding: 0px;
    display: flex;
    align-self: center;
    margin-top: 2px;
}

.remote-top-section .content p {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.remote-top-section .tlt-run span:first-child {
    background: #d1fae5;
    padding: 4px 6px;
    border-radius: 2px;
    color: #1bb689;
    font-weight: bold;
}

.map-controls .tab-content .map-content-dialog .map-bottom-content .trip-tabs {
    width: 100%;
}

.remote-top-section .tlt-run span.green {
    background: #d1fae5;
    padding: 4px 6px;
    border-radius: 2px;
    color: #1bb689;
    font-weight: bold;
}

.remote-list-left.green {
    background-color: #d1fae5;
    border-color: transparent;
    border-radius: 5px;
}

.remote-top-section .tlt-run span.orange {
    background: #e3be8c;
    padding: 4px 6px;
    border-radius: 2px;
    color: #8c641d;
    font-weight: bold;
}

.remote-top-section .tlt-run span.gray {
    background: #D3D3D3;
    padding: 4px 6px;
    border-radius: 2px;
    color: #808080;
    font-weight: bold;
}




.remote-list-left.orange {
    background-color: #e3be8c;
    border-color: transparent;
    border-radius: 5px;
}

.remote-top-section .tlt-run span.yellow {
    background: #f3f299;
    padding: 4px 6px;
    border-radius: 2px;
    color: #adaa1e;
    font-weight: bold;
}

.remote-list-left.yellow {
    background-color: #f3f299;
    border-color: transparent;
    border-radius: 5px;
}

.remote-top-section .tlt-run span.red {
    background: #f28399;
    padding: 4px 6px;
    border-radius: 2px;
    color: #f5001a;
    font-weight: bold;
}

.remote-list-left.red {
    background-color: #f28399;
    border-color: transparent;
    border-radius: 5px;
}

#vehicleStatusTabs li a {
    margin-bottom: 0px;
}

.user-icon-driver {
    margin-right: 4px;
    font-size: 14px;
}

.map-bottom-content ul {
    margin-left: 0px !important;
}

.map-bottom-content .trip-tabs .nav-tabs {
    margin-top: 0px !important;
}

table.enhanced-table thead th svg {
    width: 12px;
}

.kpi-card {
    overflow-y: auto;
}

.callericon {
    margin: 10px;
    font-size: 20px;
    color: #021f60;
}

.callericon1 {
    margin-left: 10px;
    font-size: 20px;
    color: #021f60;
    position: relative;
    right: 105px;
    top: 5px;
}

.card .remote-list-left.gray {
    background: #f9f8f7 !important;
    padding: 4px 6px;
    border-radius: 2px;
    color: #A9A9A9;
    border: none;
    font-weight: bold;
    border-radius: 12px !important;
    border: 1px solid #fee687 !important;
}

#detailsContainer .card.card.card-blue {
    padding: 10px 20px !important;
}

.div_filter .form-group label {
    font-weight: 600 !important;
    color: #62748e !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
}

.card-block .form-group input[readonly] {
    background-color: #acacac24 !important;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
    background-color: #acacac24 !important;
}

.dataTables_wrapper table.dataTable td.dataTables_empty {
    padding: 40px 12px;
    /* space for the image */
    text-align: center;
    /* Previous empty state: background: url('images/No_data.png') no-repeat center 12px; */
    background-color: #fafbfc !important;
    background-image: url('images/No_data.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center 12px !important;
    background-size: 250px auto !important;
    height: 250px;
    padding-top: 140px;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.tabs-carousel {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    background: #ffffff;
    border: none;
    border: solid 1px #f4f4f4;
    padding: 8px 0px;
}

.tabs-viewport {
    overflow: hidden;
    /* viewport window */
    flex: 1;
}

#vehicleStatusTabs {
    flex-wrap: nowrap;
    /* keep tabs in one line */
    overflow-x: auto;
    /* allow horizontal scroll */
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    /* Firefox hide */
}

#vehicleStatusTabs::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari hide */
}

#vehicleStatusTabs .nav-link {
    white-space: nowrap;
}

.tabs-arrow.tabs-next {
    padding-left: 16px !important;
}

.tabs-arrow {
    border: 1px solid #2196f3;
    background: #bf7d2c;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 28px;
    display: flex;
    align-items: start;
    justify-content: center;
    text-align: center;
    padding: 2px 12px !important;
    width: 35px;
    height: 34px;
    padding-right: 15px !important;
    border: none;
}

.tabs-arrow:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.tabs-arrow:hover {
    background: #bf7d2c !important;
    color: #fff;
}

.content span {
    display: flex;
    align-items: center;
}

.content span .drivername {
    width: 240px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.btn.active {
    box-shadow: none;
    outline: 0;
    background: #bf7d2c !important;
    color: white;
    margin-left: 15px;
}

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

.widget-container .input-container {
    padding: 4px 6px;
    height: 24px;
    border-radius: 5px !important;
    border: 1px solid #DDE1EF !important;
    background: #FFF !important;
    color: #313534 !important;
}

#pickupSearchWrap {
    margin: 0px 10px;
}

#pickupDestWrap,
#dropoffDestWrap {
    margin: 0px 20px;
}

#tblDriver_wrapper.dataTables_wrapper .dataTables__top .input-group.prefix {
    order: 5;
}

#tblEmployee_wrapper.dataTables_wrapper .dataTables__top .input-group.prefix {
    order: 5;
}

#nearbyvehiclesContainer {
    overflow: scroll;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

.location-info {
    margin-top: 15px;
}

/* ?? Driver Search Overlay ?? */
#driverSearchOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#driverSearchOverlay.active {
    display: flex;
}

.driver-search-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 48px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 380px;
    width: 90%;
    animation: slideUp 0.4s ease;
}

@@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.driver-search-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a73e8, #1a73e8);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: pulse 1.8s ease-in-out infinite;
}

.driver-search-icon i {
    font-size: 32px;
    color: #fff;
}

@@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.4);
    }

    50% {
        transform: scale(1.06);
        box-shadow: 0 0 0 14px rgba(26, 115, 232, 0);
    }
}

.driver-search-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.driver-search-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 28px;
}

.search-progress-track {
    background: #e8edf2;
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.search-progress-bar {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, #1a73e8, #1a73e8);
    animation: fillBar 58s linear forwards;
}

@@keyframes fillBar {
    0% {
        width: 0%;
    }

    80% {
        width: 85%;
    }

    100% {
        width: 92%;
    }
}

.search-timer-text {
    font-size: 12px;
    color: #999;
}

.search-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1a73e8;
    margin: 0 3px;
    animation: dotBounce 1.4s ease-in-out infinite;
}

.search-dots span:nth-child(2) {
    animation-delay: .2s;
}

.search-dots span:nth-child(3) {
    animation-delay: .4s;
}

@@keyframes dotBounce {

    0%,
    80%,
    100% {
        transform: scale(0.7);
        opacity: 0.5;
    }

    40% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Geolocation button */
.geo-btn {
    cursor: pointer;
    transition: transform 0.2s;
}

.geo-btn:hover {
    transform: scale(1.15);
}

.geo-btn.loading i {
    animation: spin 1s linear infinite;
}

@@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ??????????????????????????????????????????
           UNIFIED LOCATION PICKER
           (split-control: mode dropdown left + destination right)
           ?????????????????????????????????????????? */
.loc-unified-wrap {
    display: flex;
    align-items: stretch;
    border: 1px solid #ced4da;
    border-radius: 6px;
    overflow: visible;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    position: relative;
    margin-top: 4px;
    min-height: 38px;
    z-index: 20;
}

.loc-unified-wrap:focus-within {
    z-index: 1000;
}


.loc-mode-select {
    flex-shrink: 0;
    border: none;
    border-right: 1px solid #ced4da;
    border-radius: 6px 0 0 6px;
    background: #f4f6fb;
    color: black;
    font-size: 13px;
    font-weight: 600;
    padding: 0 8px 0 10px;
    height: 38px;
    cursor: pointer;
    outline: none;
    appearance: auto;
    -webkit-appearance: auto;
    min-width: 105px;
    transition: background .15s;
}

.loc-mode-select:focus {
    background: #e8f0fe;
}

/* Destination dropdown (standard mode) */
.loc-destination-wrap {
    flex: 1;
    min-width: 0;
}

.loc-destination-wrap.hidden {
    display: none;
}

/* Override Select2 styles to blend into unified control */
.loc-destination-wrap .select2-container {
    width: 100% !important;
}

.loc-destination-wrap .select2-container--default .select2-selection--single {
    border: none !important;
    border-radius: 0 6px 6px 0 !important;
    height: 38px !important;
    display: flex;
    align-items: center;
    background: transparent;
    box-shadow: none !important;
}

.loc-destination-wrap .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
    font-size: 13px;
    color: #333;
    padding-left: 10px;
    padding-right: 28px;
}

.loc-destination-wrap .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
    right: 6px;
}

/* Places text input (search mode) */
.loc-places-search-wrap {
    flex: 1;
    position: relative;
    display: none;
    align-items: center;
}

.loc-places-search-wrap.visible {
    display: flex;
}

.loc-places-input {
    border: none !important;
    border-radius: 0 6px 6px 0 !important;
    height: 38px;
    font-size: 13px;
    padding: 0 32px 0 10px;
    width: 100%;
    outline: none;
    background: transparent;
    color: #333;
}

.loc-places-input::placeholder {
    color: #aaa;
}

.loc-places-search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 13px;
    pointer-events: none;
}

.loc-places-dropdown {
    min-width: 100%;
    margin-top: 2px;
    scrollbar-width: thin;
}

.loc-places-dropdown-item {
    min-width: max-content;
}

.loc-destination-dropdown {
    z-index: 9999;
}

.loc-destination-dropdown .select2-results__options {
    max-height: 240px !important;
    overflow-y: auto !important;
}

/* ===== TAB STYLES ===== */
.trip-tabs-wrapper {
    margin: 16px 10px 0 10px;
}

.trip-tabs {
    display: flex;
    gap: 2px;
    /* background: #eef2f7; */
    /* border-radius: 8px 8px 0 0; */
    padding: 5px 8px 0 8px;
    flex-direction: column;
}


.trip-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 22px 10px 16px;
    border: none;
    background: transparent;
    border-radius: 7px 7px 0 0;
    font-size: 13.5px;
    font-weight: 500;
    color: #6b7a90;
    cursor: pointer;
    outline: none;
    transition: color 0.2s, background 0.2s;
    letter-spacing: 0.01em;
}

.trip-tab-btn:hover {
    color: #1a3a6e;
    background: #dce8fa;
}

/* All Trips active � blue (matches existing app theme) */
.trip-tab-btn.active[data-tab="all"] {
    font-weight: 700;
}

.trip-tab-btn.active[data-tab="all"] .tab-icon {
    color: black;
}

/* Backlog Trips active � amber/warning */
.trip-tab-btn.active[data-tab="backlog"] {
    font-weight: 700;
}



.tab-icon {
    font-size: 17px;
    color: #9aaec1;
    transition: color 0.2s;
}

/* Animated underline */
.tab-underline-bar {
    height: 3px;
    background: #dde4ef;
    border-radius: 0 0 3px 3px;
    position: relative;
    margin: 0 8px;
    overflow: hidden;
}

.tab-active-line {
    position: absolute;
    top: 0;
    height: 3px;
    border-radius: 2px;
    background: #bf7d2c !important;
    transition: left 0.25s cubic-bezier(.4, 0, .2, 1), width 0.25s cubic-bezier(.4, 0, .2, 1), background 0.2s;
}

/* Switch underline color for backlog tab */
#tripTabsWrapper.tab-backlog .tab-active-line {
    background: #bf7d2c !important;
}

.file-btn-upload {
    background: #bf7d2c !important;
    border: 1px #bf7d2c !important;
    color: #fff;
}

.file-btn-upload:hover {
    background: #bf7d2c !important;
    border: 1px #bf7d2c !important;
    color: #fff;
}

.top-layout.header-layout {
    padding: 0px;
    margin: 0px;
}

.header.header-top {
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

.header.header-top h1,
.header.header-top h2,
.header.header-top h2.dashboard-header-title {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    margin: 0;
    padding: 0;
    text-align: left;
    white-space: nowrap;
}

.header.header-bottom h1 {
    display: none;
}

.top-layout.header-layout .kpi-card-top {
    padding: 8px 0px 8px 0px;
}

.top-layout.header-layout .kpi-card-top {
    width: max-content;
}

/*menu*/
.gui-controls>li>.menu-dropdown {
    position: relative;
    left: 0px !important;
}

.nano .gui-controls li a {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.nano .gui-controls li a,
.menubar-scroll-panel .gui-controls>li>a.active {
    padding-left: 20px;
}

.nano .gui-controls li a span,
.gui-controls>li>a.active>.title {
    padding-left: 10px !important;
}

.gui-controls>li.open>.menu-dropdown {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    width: var(--sideMenuWidth) !important;
    max-width: 180px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.gui-controls>li>a.logo-item {
    margin: 0 auto !important;
}

.mainSideMenu .menu-dropdown ul li a {
    font-size: 11.5px !important;
    line-height: normal;
}

#dropdown_container {
    left: 0 !important;
    width: var(--sideMenuWidth) !important;
    max-width: var(--sideMenuWidth) !important;
}

#dropdown_container .menu-dropdown {
    width: var(--sideMenuWidth) !important;
    max-width: var(--sideMenuWidth) !important;
    left: 0 !important;
}

#dropdown_container .menu-dropdown ul li a {
    box-sizing: border-box;
    width: 100% !important;
    white-space: normal;
}

.gui-controls>li.open>.menu-dropdown {
    transform: translateY(-15px);
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.gui-controls>li>.menu-dropdown {
    transform: translateY(0);
}

/*.gui-controls > li:first-child {
    margin-bottom: 20px;
}*/
.gui-controls>li>a.logo-item {
    border-bottom: 1px solid #ccc;
    border-radius: 0px !important;
    border-right: 1px solid #ccc;
}

.mainlogo {
    position: fixed;
    top: 0px;
    z-index: 9999;
    left: 0px;
    margin-bottom: 0;
    width: var(--sideMenuWidth);
    background: #fff !important;
    height: 76px;
}

/*menu*/

/*arrow drawer*/
.rightdrawer {
    top: 12%;
    right: 14px;
    transform: translateY(-50%);
}


.leftdrawer {
    top: 5%;
    left: 14px;
    transform: translateY(-50%);
}

.panel-toggle,
.panel-toggle:hover {
    position: fixed;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid #e4e7ec;
    background: #004a99;
    color: #fff;
    font-size: 12px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.15s;
    z-index: 9998;
}

/*arrow drawer*/
.right-card {
    display: flex;
    border: 1px solid #004a99;
    height: 100%;
    justify-content: center;
    align-items: center;
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
}

.menubar.hide-left,
#menubar.hide-left .menubar-scroll-panel #main-menu {
    width: 60px !important;
    padding-top: 10px !important;
}

.menubar.hide-left .nano .gui-controls li a span {
    display: none;
}

.menubar.hide-left .nano .gui-controls li a {
    width: 100% !important;
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.menubar.hide-left .nano .gui-controls li a.active {
    margin-left: 0;
    margin-right: 0;
}

.menubar.hide-left .nano .gui-controls li a>i,
.menubar.hide-left .nano .gui-controls li a>svg,
.menubar.hide-left .nano .gui-controls li a>img {
    margin-left: auto !important;
    margin-right: auto !important;
}

body:has(.menubar.hide-left) #content>.main-content {
    margin-left: 60px;
    width: calc(100% - 60px);
}

body:has(.menubar.hide-left) .header.header-bottom {
    margin-left: auto;
    width: calc(100% - 26px);
}

.right-card-wrap.hide-right {
    display: none;
}

body:has(.hide-right) .fullcardShow {
    width: 100% !important;
}

body:has(.hide-left) #base {
    padding-left: 0 !important;
}

body:has(.hide-left) #header {
    left: 60px !important;
}

body:has(.hide-left) .mainlogo {
    left: 0;
    width: 60px !important;
}

body:has(.hide-left) .gui-controls>li>a.logo-item {
    width: 60px !important;
    min-width: 60px;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

body:has(.hide-left) .mainlogo>li {
    width: 60px;
}

#header {
    transition: 0.5s;
}

.panel-toggle:hover {
    background: #fff !important;
}

.top-layout.header-layout .kpi-card-top {
    flex-direction: row;
    padding-inline: 10px;
}

.leftdrawer,
.leftdrawer {
    color: #8a7f71;
    left: 182px;
    border: 0px !important;
    background: transparent !important;
    font-size: 26px;
}

button#rightdrawer {
    color: #8a7f71;
    border: 0px !important;
    font-size: 26px;
}

.leftdrawer:hover,
button#rightdrawer:hover {
    color: #3e3731 !important;
}

.filter-top-layout {
    display: none !important;
}

.filter-top-layout.show {
    display: block !important;
}

.filter-head {
    display: flex;
    gap: 10px;
}


.filter-top button.filter-icon {
    background: transparent !important;
    color: #314158;
    border: 1px solid #e2e8f0;
    height: 100%;
}

body:has(.expand-content) #leftdrawer {
    left: 53px;
    transform: rotate(180deg);
}

:root {
    --bg-common: #101828;
}

.bg-common {
    background-color: var(--bg-common);
}

.top-layout,
.dashboard-section,
.card.card.card-blue {
    box-shadow: unset !important;
    width: 100%;
}

.card-value {
    color: #101828 !important;
}

.header-update-info {
    background: transparent !important;
    color: #314158;
    border: 1px solid #e2e8f0;
}

.gui-controls>li>a.logo-item {
    padding-bottom: 13px !important;
}

.gui-controls>li>a.logo-item img {
    padding: 10px;
    background: transparent !important;
    border-radius: 13px !important;
    width: auto !important;
}

.header.header-top {
    display: flex;
    align-items: center;
}

body:has(.hide-left) .gui-controls>li>a.logo-item img {
    padding: 10px;
    width: 39px !important;
}

.header.header-top h2 {
    margin: 0;
}

table.dataTable tbody tr:hover td {
    background: #fafbfc !important;
}

table.dataTable tbody tr:hover td.dataTables_empty {
    background-color: #fafbfc !important;
    background-image: url('images/No_data.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center 12px !important;
    background-size: 250px auto !important;
}

.nano .gui-controls li a svg path {
    fill: #62748e !important;
}

.gui-controls>li>a>i {
    color: #62748e !important;
}

.gui-controls>li>a:hover>i {
    color: #000 !important;
}

.nano .gui-controls li a:hover svg path {
    fill: #000 !important;
}

.header-update-info .cma_active i {
    border-radius: 5px;
    background: #bf7d2c !important;
    padding: 5px;
}

.cma_active i:before {
    color: #fff !important;
}

.nano .gui-controls li.cma_active a:hover svg path,
.nano .gui-controls li.open a:hover svg path,
.nano .gui-controls li.cma_active a svg path {
    fill: #fff !important;
}

.nano .gui-controls.mainSideMenu li.open a:hover svg path {
    fill: #000 !important;
}

/*.col-sm-12.col-xs-12 {
    padding-inline: 0 !important;
}*/
.row {
    margin: 0;
}

#menubar .menubar-scroll-panel #main-menu {
    padding: 8px;
}

.trip-tabs .trip-tab-btn.active {
    background: #bf7d2c !important;
}

.trip-tabs {
    gap: 0 !important;
}

.trip-tab-btn,
.trip-tab-btn:hover {
    border: 1px solid #bf7d2c !important;
}

.bar-chart svg rect {
    fill: #bf7d2c !important;
}

.gui-controls>li.open>.menu-dropdown {
    margin-top: 17px;
}

.gui-controls>li ul>li>a:focus,
.gui-controls>li ul>li>a:focus-within {
    outline: unset !important;
}
#menubar.sidemenu-opened .nano,
#menubar.sidemenu-opened .nano-content {
    max-width: var(--sideMenuWidth) !important;
    overflow-x: hidden !important;
    width: var(--sideMenuWidth) !important;
}

.gui-controls > li ul > li > a:focus, .gui-controls > li ul > li > a:focus-within {
    outline: unset !important;
}

.rightdrawer,
.leftdrawer {
    box-shadow: -1px 1px 2px 1px #ccc;
    background: #fff !important;
    border-radius: 50% !important;
    width: 30px !important;
    height: 30px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0 !important;
}

.rightdrawer {
    transform: rotate(180deg);
}

#rightdrawer.d-none {
    display: none !important;
}

.main-content .dashboard-section .grid-container .dashboard-card,
div .main-content .card {
    border-radius: 16px !important;
    margin: 0 !important;
}

.header.header-bottom {
    margin-bottom: 10px;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
}

.top-left-controls .btn-group {
    padding: 4px;
    border-radius: 12px;
    background: #e8e8e8;
}

.top-left-controls .btn {
    background: unset;
    border-radius: 10px !important;
    padding-block: 0px !important;
}

.main-content .dataTables_wrapper .dataTables_buttons .cma_top_icon i {
    color: #62748e !important;
    border-radius: 12px !important;
}

.main-content .dataTables_wrapper .input-group.prefix .form-control {
    border-radius: 16px !important;
}

.main-content .dataTables_wrapper .dataTables__top .input-group.prefix {
    border: unset !important;
}


.main-content .dataTables_wrapper>table.dataTable {
    width: auto !important;
    min-width: 100% !important;
    table-layout: auto !important;
}

.main-content .dataTables_wrapper>table.dataTable>thead>tr>th:last-child,
.main-content .dataTables_wrapper>table.dataTable>tbody>tr>td:last-child {
    position: sticky;
    right: 0;
    z-index: 2;
}

.main-content .dataTables_wrapper>table.dataTable>thead>tr>th:last-child {
    background: #fbf7f2 !important;
}

.main-content .dataTables_wrapper>table.dataTable>tbody>tr>td:last-child {
    background: #ffffff !important;
}

.main-content .dataTables_wrapper>table.dataTable>tbody>tr:nth-child(2n)>td:last-child {
    background: #fafbfc !important;
}

li.has-dropdown.Dashboard_ {
    margin-top: 20px;
}

.gui-controls>li.has-dropdown>a {
    display: flex !important;
    align-items: center;
}

.gui-controls>li.has-dropdown>a .menu-toggle-arrow {
    margin-left: auto;
    width: 14px !important;
    height: 14px !important;
    color: #8a7f71;
}

.gui-controls>li.has-dropdown>a:hover .menu-toggle-arrow {
    color: #3e3731;
}

.gui-controls>li.has-dropdown.open>a .menu-toggle-arrow {
    transform: rotate(180deg);
    color: #bf7d2c !important;
}

.gui-controls>li.has-dropdown.active>a .menu-toggle-arrow {
    color: #bf7d2c !important;
}

.gui-controls>li.has-dropdown.cma_active>a .menu-toggle-arrow {
    color: #ffffff !important;
}

.nano.has-scrollbar .gui-controls li {
    margin-bottom: 5px;
}

.card-lst .list.list_status {
    border: 1px solid #D5D5D6 !important;
    background: #fff !important;
    border-radius: 15px;
}

/*.expand-content .main-content .card {
    margin-left: 40px !important;
}*/
.card.card-block.contCard {
    padding: 0px !important;
    background: transparent !important;
    border: 0px !important;
    box-shadow: unset;
}

.verifiedstatus_craftmyapp_viewcontainer {
    margin-top: 14px;
}

.tabs-carousel #vehicleStatusTabs li a.active {
    background: #bf7d2c !important;
}

.remote_list {
    border: 1px solid #bf7d2c !important;
    border-radius: 12px;
    background: #f9f8f7 !important;
}

.remote_list.collapsed {
    border: 1px solid #e2e8f0 !important;
    background: transparent !important;
}

div .main-content .card {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.map-tab ul li .nav-link:focus,
.map-tab ul li .nav-link:focus-within {
    outline: unset;
}

body:has(.hide-left) .gui-controls>li>a.logo-item img {
    background: #bf7d2c !important;
}

body:has(.hide-left) .gui-controls>li>a.logo-item span {
    display: none;
}

.nano .gui-controls li a.logo-item>img:first-child {
    display: none;
}

body:has(.hide-left) .nano .gui-controls li a.logo-item>img:first-child {
    display: block;
}

.gui-controls>li>a.logo-item span {
    padding: 0 !important;
}

body:has(.hide-left) .page-header-box {
    padding-bottom: 0 !important;
}

.download-section {
    padding: 20px 0 0 !important;
}

.container_login h1 b {
    font-size: 24px !important;
}

.login .form-group label {
    padding: 0 !important;
    color: #90a1b9 !important;
    font-size: 12px !important;
    margin-bottom: 10px !important;
    display: block !important;
}

.login .input-group {
    position: relative;
    margin-top: 0 !important;
}

.login .help-block {
    margin-top: 5px !important;
    margin-bottom: 2px !important;
    font-size: 12px !important;
    display: block;
}

.forgot_passowrd {
    font-size: 12px !important;
}

.divider span {
    color: #90a1b9 !important;
}

.login .has-success .form-control,
.has-success .form-control-sucess {
    border-radius: 12px !important;
    /*background: #7420209c !important;*/
}

.login .input-group .input-group-addon {
    background: unset;
    border: unset !important;
    position: absolute;
    right: 20px;
    z-index: 999;
    top: 50%;
    transform: translate(0px, -50%);
}

/*.login-rgt-ctn {
    max-width: 400px;
    margin: auto;

}*/
.login-rgt-ctn {
    max-width: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: center;
    position: relative;
}

.login-rgt-ctn .top_logo {
    width: 100%;
    text-align: right;
    margin-bottom: 20px;
    padding: 0 !important;
}

section.section-account .style-transparent {
    width: 100%;
}

.login-rgt-ctn .mt-2 {
    margin-top: 0.75rem !important;
}

.remote_list::before {
    content: "";
    width: 3px;
    display: block;
    height: 80%;
    position: absolute;
    left: 0;
    background: #bf7d2c;
    border-radius: 50px
}

.remote_list {
    position: relative;
}

.mainSideMenu .menu-dropdown ul li a::before {
    content: "" !important;
    left: 31px !important;
    width: 7px !important;
    height: 7px !important;
    background: #cad5e2;
    border-radius: 50%;
    top: 50% !important;
    transform: translate(0px, -50%) !important;
}

#dropdown_container .menu-dropdown ul li a,
.gui-controls>li.open>.menu-dropdown ul li a {
    padding-left: 47px !important;
}

.gui-controls>li.open>.menu-dropdown ul li a {
    position: relative;
}

.gui-controls>li.open>.menu-dropdown ul li a.active {
    color: #bf7d2c !important;
    background: #fbf7f2 !important;
}

.mainSideMenu .menu-dropdown ul li a.active::before {
    background: #bf7d2c;
    box-shadow: 0 0 0 4px rgba(198, 134, 66, 0.15);
}

#dropdown_container .menu-dropdown ul,
.gui-controls>li.open>.menu-dropdown ul {
    position: relative;
}

/* Theme's default per-item dashed tree connector — replaced by the solid
   full-height line below, so switch it off to avoid rendering both. */
#dropdown_container .menu-dropdown ul>li::before,
.gui-controls>li.open>.menu-dropdown ul>li::before {
    display: none !important;
}

#dropdown_container .menu-dropdown ul::before,
.gui-controls>li.open>.menu-dropdown ul::before {
    content: "";
    position: absolute;
    left: 11.5px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9cca3;
    border-radius: 2px;
    z-index: 99;
}

.row.div_filter {
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a !important;
}

.dataTables_wrapper .dataTables_length label select {
    border-radius: 12px !important;
}

#content .remote-trip-tab-btn.active,
#content .remote-trip-tab-btn:hover {
    background: #bf7d2c !important;
    border-color: #bf7d2c !important;
    border-radius: 12px !important;
}

.card-body:last-child {
    padding-block: 0;
}

.card-body.card-container-Padding-NoShadow>div::before {
    display: none;
}

.card.card-blue.card-section.cma_section_band.list_card_section.list_card_tablet .card-head {
    margin: 0 0 14px 0 !important;
}

.row:has(.col-sm-12) {
    margin: 0;
    width: 100%;
    padding-inline: 10px !important;
}

/*.row .col-sm-12:has(button){
    display:flex;
    align-items:center;
    padding-block:10px;
    justify-content:space-between;
}*/
input.btn.cma_primary_button.waves-effect.pull-right {
    text-transform: capitalize;
    margin: 0 !important;
}

.table-responsive {
    width: 100%;
}

.form-popup,
.file-section button {
    border-radius: 12px !important;
}

.form-popup {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.file-section button {
    padding: 4px 12px !important;
}

#leftCol .table-responsive {
    padding: 0 !important;
}

.trip-tabs {
    margin: 0;
}

.dropdown.actions__item.cma_top_icon {
    margin: 0 !important;
}

.file-section {
    margin: 0 !important;
    gap: 10px;
}

.dataTables_buttons.actions {
    gap: 10px;
    margin-left: 10px !important;
}

.file-section button {
    margin: 0 !important
}

.btn-group>.btn,
.btn-group-vertical>.btn {
    border: 0 !important;
    border-radius: 8px !important;
    min-width: 70px;
    align-items: center;
    justify-content: center;
    padding-block: 5px !important;
}


.trip-tabs.btn-group {
    gap: 10px !important;
}

.remote-trip-tabs button,
#content .remote-trip-tab-btn.active {
    border-radius: 8px !important;
}

.rider-table thead th {
    background: #bf7d2c !important;
}

.btn-group {
    display: flex;
    gap: 5px;
}

.page-header-menu-section {
    border-top: 1px solid #e2e8f0;
    position: fixed;
    bottom: 0px;
    padding-block: 10px;
    width: 100%;
    background: #e2e8f0 !important;
    z-index: 999;
    display: flex;
    flex-direction: column;
}

#menubar .menubar-scroll-panel .header-nav.header-nav-profile {
    width: 100% !important;
    min-width: 100% !IMPORTANT;
    justify-content: start;
}

span.profile-info {
    width: 100% !important;
    text-transform: uppercase;
    font-size: 12px !important;
    color: #314158 !important;
    font-weight: 700 !important;
    max-width: 95px;
}

body:has(.hide-left) span.profile-info {
    display: none !important;
}

.header-nav>li>a:hover,
.header-nav>li>a:focus {
    background: transparent;
}


.page-header-menu-section .header-nav-profile .dropdown .profile-info small {
    font-size: 10px;
    color: #314158;
    text-transform: capitalize;
    margin: 0;
}

.header-nav-profile .dropdown.open>a {
    background: transparent !important;
    box-shadow: unset !important;
}

li.dropdown {
    display: flex;
    align-items: center;
}

body:has(.hide-left) li.dropdown {
    flex-direction: column;
}

.page-header-menu-section .dropdown-toggle::after {
    display: none;
}

.header-nav-profile .dropdown img {
    min-width: 30px;
    height: 30px;
    width: 30px;
}

.icon-logout {
    border: 1px solid #afb1b4 !important;
    border-radius: 8px;
    font-size: 20px;
    padding: 5px;
    color: #62748e;
    background: #fff;
}

.icon-logout:hover {
    border: 1px solid #afb1b4 !important;
    border-radius: 8px;
    font-size: 20px;
    padding: 5px;
    color: #ec003f;
    background: #fff1f2;
}

.header-nav>li:first-child {
    gap: 10px;
}

ul.gui-controls.mainlogo a:first-child {
    padding: 13.5px 10px !important;
}

.page-header-box {
    height: 77.5px;
}

@media (max-width:767px) {
    ul .gui-controls.mainlogo a:first-child {
        padding: 16.5px 10px !important;
    }
}

body:has(.hide-left) .page-header-box {
    height: 73px;
}

body:has(.hide-left) #leftdrawer {
    top: 3%;
}

@media (min-width:1320px) {
    .header.header-bottom {
        flex-wrap: nowrap;
    }
}

.filter-top button.filter-icon {
    background: #bf7d2c !important;
    color: #ffffff !important;
}

body:has(.hide-left) .menu-dropdown {
    display: none;
}

body:has(.hide-left) #main-menu .menu-toggle-arrow {
    display: none;
}

.pl {
    padding-left: 0px;
}

<style>#tt-wrapper * {
    box-sizing: border-box;
}

#tt-wrapper {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px);
    overflow: hidden;
    font-family: 'Poppins', 'Roboto', sans-serif;
    font-size: 13px;
    background: #f0f2f5;
}




.tt-stat-chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 3px 10px;
    text-align: center;
    min-width: 52px;
    cursor: pointer;
    transition: background 0.15s;
}

.tt-stat-chip:hover {
    background: rgba(255, 255, 255, 0.16);
}

.tt-stat-chip .sc-num {
    font-size: 15px;
    font-weight: 700;
    display: block;
}

.tt-stat-chip .sc-lbl {
    font-size: 9px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tt-stat-chip.orange .sc-num {
    color: #ffb74d;
}

.tt-stat-chip.red .sc-num {
    color: #ef5350;
}

.tt-stat-chip.yellow .sc-num {
    color: #fff176;
}


#tt-main {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* ?? LEFT PANEL � QUEUES ?? */
#tt-left {
    width: 200px;
    min-width: 200px;
    background: #fff;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
    transition: width 0.3s ease;
}

#tt-left.collapsed {
    width: 0;
    min-width: 0;
    border: none;
}

.tt-left-header {
    background: #fff;
    color: #fff;
    padding: 12px 14px 10px;
    flex-shrink: 0;
}

.tt-left-header .qs-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 8px;
    color: #000000ad;
}

.tt-queue-search {
    position: relative;
}

.tt-queue-search input {
    width: 100%;
    /* background: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.2);*/
    background: rgb(183 128 55);
    border: 1px solid rgb(253 253 253 / 20%);
    border-radius: 16px;
    padding: 5px 10px 5px 28px;
    color: #fff;
    font-size: 11px;
    font-family: inherit;
    outline: none;
}

.tt-queue-search input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.tt-queue-search .qs-icon {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

.tt-left-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0 16px;
    background: #f9fafb;
}

.tt-left-body::-webkit-scrollbar {
    width: 3px;
}

.tt-left-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.tt-section-lbl {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #90a4ae;
    text-transform: uppercase;
    padding: 6px 14px 3px;
}

/* View items (All Tasks) */
.tt-view-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    margin: 1px 6px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: #37474f;
    border-left: 3px solid transparent;
    transition: background 0.12s;
}

.tt-view-item:hover {
    background: #f0f4f8;
}

.tt-view-item.active {
    background: #fff3e0;
    color: #e65100;
    font-weight: 600;
    border-left-color: #ff9800;
}

.tt-view-item .vi-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff3e0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tt-view-item .vi-badge {
    margin-left: auto;
    background: #fce4ec;
    color: #c62828;
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 10px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.tt-view-item.active .vi-badge {
    background: #ffe0b2;
    color: #e65100;
}

/* Queue items */
.tt-queue-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    margin: 1px 6px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 12px;
    color: #455a64;
    border-left: 3px solid transparent;
    transition: background 0.12s;
    white-space: nowrap;
    overflow: hidden;
}

.tt-queue-item:hover {
    background: #f0f4f8;
}

.tt-queue-item.active {
    background: #fdf0e3;
    color: #01579b;
    font-weight: 600;
    border-left-color: #bf7d2c;
}

.tt-queue-item .q-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tt-queue-item .q-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tt-queue-item .q-badge {
    margin-left: auto;
    background: #f5f5f5;
    color: #546e7a;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 10px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.tt-queue-item.active .q-badge {
    background: #fbeabb;
    color: #9b4801;
    border-color: #f9c090;
}

/* Skeleton */
.tt-skeleton-bar {
    height: 11px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: tt-shimmer 1.2s infinite;
    border-radius: 6px;
    margin: 6px 14px;
}

@@keyframes tt-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ?? CENTER PANEL � TABLE ?? */
#tt-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border-right: 1px solid #e0e0e0;
    min-width: 0;
}


#tt-tasktype-header {
    /*  background: linear-gradient(135deg, #1a3c5e 0%, #1e4d78 60%, #1a3c5e 100%);*/
    background: #fff;
    color: #fff;
    padding: 0 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #bf7d2c;
    transition: background 0.4s ease;
}

#tt-tasktype-header::before {
    display: none;
}

.tt-th-icon-wrap {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgb(245 124 0);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s, border-color 0.3s;
}

.tt-th-icon-wrap i {
    font-size: 22px;
    color: #bf7d2c;
}

.tt-th-text {
    flex: 1;
    min-width: 0;
}

.tt-th-name {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #000000ad;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    transition: opacity 0.25s;
}

.tt-th-desc {
    font-size: 11px;
    color: rgb(18 13 13 / 85%);
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.25s;
}

.tt-th-badge {
    background: #bf7d2c;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tt-th-badge i {
    font-size: 13px;
}

/* Accent bar at bottom of header - color changes per queue */
#tt-tasktype-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #bf7d2c;
    transition: background 0.4s ease;
}

/* Fade animation on header text swap */
.tt-th-name.fade-anim,
.tt-th-desc.fade-anim {
    animation: tt-header-fade 0.35s ease;
}

@@keyframes tt-header-fade {
    0% {
        opacity: 0;
        transform: translateY(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Toolbar */
.tt-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid #e8eaf0;
    flex-shrink: 0;
    background: #fff;
}

.tt-toolbar-title {
    font-size: 14px;
    font-weight: 700;
    color: #bf7d2c;
    white-space: nowrap;
}

.tt-toolbar-icons {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.tt-icon-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #d0d5dd;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: background 0.12s;
    padding: 0;
}

.tt-icon-btn:hover {
    background: #f5f5f5;
}

.tt-btn-add {
    background: #bf7d2c;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.tt-btn-add:hover {
    background: #142d46;
}

.tt-task-num-badge {
    font-weight: 600;
    font-size: 12px;
    color: #334155;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.2px;
}

/* Header Bar Flex Layout for Task Tracker */
.tt-hdr-flex-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 4px 12px !important;
    box-sizing: border-box !important;
}

.tt-hdr-category-block {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

.tt-hdr-category-block .tt-th-icon-wrap {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    background: #feeee1 !important;
    border: 1px solid #bf7d2c !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #bf7d2c !important;
    flex-shrink: 0 !important;
}

.tt-hdr-category-block .tt-th-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.2 !important;
    font-family: 'Poppins', sans-serif !important;
}

.tt-hdr-category-block .tt-th-desc {
    font-size: 11px !important;
    color: #64748b !important;
    line-height: 1.3 !important;
    margin-top: 1px !important;
}

.tt-hdr-right-tools {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.tt-hdr-status-tabs {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.tt-hdr-status-tabs .tt-stab {
    padding: 4px 10px !important;
    font-size: 13px !important;
}

.tt-hdr-search-wrap {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.tt-hdr-search-wrap input {
    height: 32px !important;
    border-radius: 20px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 4px 12px 4px 30px !important;
    font-size: 12px !important;
    width: 210px !important;
    background: #f8fafc !important;
    transition: all 0.15s !important;
    outline: none !important;
}

.tt-hdr-search-wrap input:focus {
    background: #ffffff !important;
    border-color: #bf7d2c !important;
    box-shadow: 0 0 0 2px rgba(191, 125, 44, 0.18) !important;
}

.tt-hdr-search-wrap .si {
    position: absolute !important;
    left: 9px !important;
    color: #94a3b8 !important;
    font-size: 15px !important;
    pointer-events: none !important;
}

/* Status tabs */
.tt-status-tabs {
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid #e8eaf0;
    background: #fff;
    flex-shrink: 0;
    overflow-x: auto;
}

.tt-stab {
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
    white-space: nowrap;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: inherit;
}

.tt-stab:hover {
    color: #111827;
}

.tt-stab.active {
    color: #111827;
    border-bottom-color: transparent;
    font-weight: 600;
}

.tt-stab .sb {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

/* Distinct Pill Badges matching Image 2 reference */
.tt-stab .sb-all,
.tt-stab .sb.all {
    background-color: #173859 !important;
    /* Dark Navy Blue */
    color: #ffffff !important;
}

.tt-stab .sb-open,
.tt-stab .sb.blue {
    background-color: #1976d2 !important;
    /* Vibrant Royal Blue */
    color: #ffffff !important;
}

.tt-stab .sb-pending,
.tt-stab .sb.orange {
    background-color: #ff7a00 !important;
    /* Vibrant Orange */
    color: #ffffff !important;
}

.tt-stab .sb-closed,
.tt-stab .sb.closed {
    background-color: #d1d5db !important;
    /* Soft Light Grey */
    color: #374151 !important;
}


/* Filter bar */
.tt-filter-bar {
    display: none !important;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
    background: #fafafa;
    flex-wrap: wrap;
}

.tt-search-wrap {
    position: relative;
    flex: 1;
    max-width: 280px;
}

.tt-search-wrap input {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 20px;
    padding: 6px 12px 6px 32px;
    font-size: 12px;
    font-family: inherit;
    color: #333;
    outline: none;
    background: #fff;
}

.tt-search-wrap input:focus {
    border-color: #1a3c5e;
}

.tt-search-wrap .si {
    position: absolute;
    left: 9px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #aaa;
    pointer-events: none;
}

.tt-fbar-btn {
    border: 1px solid #d0d5dd;
    background: #fff;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
}

.tt-fbar-btn:hover {
    background: #f5f5f5;
}

.tt-filter-chip {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    color: #01579b;
    border-radius: 16px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    display: none !important;
    align-items: center;
    gap: 4px;
}

.tt-filter-chip.show {
    display: inline-flex !important;
}

.tt-filter-chip button {
    background: none;
    border: none;
    color: #01579b;
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    padding: 0;
    margin-left: 2px;
}

/* Table area */
.tt-table-wrap {
    flex: 1;
    overflow-y: auto;
    overflow-x: auto;
}

.tt-table-wrap::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.tt-table-wrap::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}



#tt-center table.dataTable tbody tr:hover td {
    background: #fdf8f0 !important;
    cursor: pointer;
}


/* ── Zero out DataTables tableTools/built-in selected background ────────
   dataTables.tableTools.css sets:
     table.dataTable tbody tr.selected, tr.selected td { background: #9FAFD1 }
   We match the same compound selector (and add #tt-center for higher specificity)
   to force transparent BEFORE our amber border rule below. ─────────────── */
table.dataTable tbody tr.selected,
table.dataTable tbody tr.selected td,
#tt-center table.dataTable tbody tr.selected,
#tt-center table.dataTable tbody tr.selected td {
    background-color: transparent !important;
    background: transparent !important;
}

/* Base unselected table rows: medium charcoal text */
#tt-center table.dataTable tbody tr td {
    color: #4b5563;
    font-weight: 400;
}

/* Our actual selected state: amber left border on FIRST cell only + bold dark text across row */
#tt-center table.dataTable tbody tr.selected td {
    color: #111111 !important;
    font-weight: 700 !important;
}

#tt-center table.dataTable tbody tr.selected td:first-child {
    border-left: 4px solid #d97706 !important;
}

#tt-center table.dataTable tbody tr.selected td:not(:first-child) {
    border-left: none !important;
}


/* Status badges */
.tt-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tt-badge-open {
    background: #dcfce7 !important;
    color: #15803d !important;
}

.tt-badge-closed {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}

.tt-badge-pending {
    background: #feefc3 !important;
    color: #d97706 !important;
}

/* Priority badges */
.tt-priority {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.tt-priority-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.tt-priority-critical {
    background: #fff5f5 !important;
    color: #e11d48 !important;
    border: 1px solid #fecdd3 !important;
}

.tt-priority-critical .tt-priority-dot {
    background-color: #e11d48 !important;
}

.tt-priority-high {
    background: #fff7ed !important;
    color: #ea580c !important;
    border: 1px solid #fed7aa !important;
}

.tt-priority-high .tt-priority-dot {
    background-color: #ea580c !important;
}

.tt-priority-medium {
    background: #fefce8 !important;
    color: #d97706 !important;
    border: 1px solid #fef08a !important;
}

.tt-priority-medium .tt-priority-dot {
    background-color: #d97706 !important;
}

.tt-priority-low {
    background: #f0fdf4 !important;
    color: #16a34a !important;
    border: 1px solid #bbf7d0 !important;
}

.tt-priority-low .tt-priority-dot {
    background-color: #16a34a !important;
}

.tt-priority-default {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

/* Next action dropdown pill button */
.tt-na-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 140px !important;
    min-width: 140px !important;
    box-sizing: border-box !important;
    border: 1px solid #fde68a !important;
    border-radius: 14px !important;
    padding: 4px 24px 4px 12px !important;
    font-size: 11px !important;
    font-family: inherit;
    color: #d97706 !important;
    background: #fffdf5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23d97706' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") no-repeat right 10px center !important;
    background-size: 8px 5px !important;
    cursor: pointer;
    outline: none;
    font-weight: 600 !important;
    transition: all 0.15s ease-in-out;
    box-shadow: 0 1px 2px rgba(217, 119, 6, 0.05);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.tt-na-select:hover {
    border-color: #f59e0b !important;
    background-color: #fff9e6 !important;
    color: #b45309 !important;
}

.tt-na-select:focus {
    border-color: #d97706 !important;
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.15) !important;
}

.tt-na-select option {
    color: #1f2937 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    padding: 6px 12px !important;
}

/* Table footer / pager */
.tt-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    border-top: 1px solid #e8eaf0;
    flex-shrink: 0;
    background: #fafafa;
    font-size: 11px;
    color: #888;
}

/* ?? RIGHT PANEL � ACTION LOG ?? */
#tt-right {
    width: 30%;
    flex-basis: 30%;
    max-width: 30%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
    transition: width 0.3s ease, flex-basis 0.3s ease, max-width 0.3s ease;
}

#tt-right.collapsed {
    width: 0;
    flex-basis: 0;
    max-width: 0;
    min-width: 0;
}

.tt-right-header {
    background: #fff;
    border-bottom: 1px solid #e8eaf0;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.tt-right-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a3c5e;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tt-right-icons {
    display: flex;
    gap: 2px;
}

.tt-rhi-btn {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 3px 5px;
    border-radius: 4px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.12s;
}

.tt-rhi-btn:hover {
    background: #f5f5f5 !important;
    border: none !important;
    color: #333 !important;
}

.tt-rhi-btn.active {
    background: rgba(26, 60, 94, 0.1) !important;
    color: #1a3c5e !important;
}

/* Right panel empty state */
.tt-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 32px 20px;
    text-align: center;
    color: #90a4ae;
}

.tt-empty-state i {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.35;
}

.tt-empty-state p {
    font-size: 12px;
    margin: 0;
    line-height: 1.7;
}

#tt-right-frame {
    flex: 1;
    border: none;
    overflow: hidden;
    display: none;
}

#tt-right-inner {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
}

/* ?? NEXT ACTION POPUP ?? */
.tt-na-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 10000;
}

.tt-na-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 360px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(79, 195, 247, 0.25), 0 2px 8px rgba(0, 0, 0, 0.12);
    z-index: 10001;
    overflow: hidden;
    font-family: inherit;
    max-height: 80vh;
    flex-direction: column;
}

.tt-na-header {
    background: #bf7d2c;
    color: #fff;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tt-na-header span {
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tt-na-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.tt-na-body {
    padding: 16px 20px 20px;
    background: #fff;
    overflow-y: auto;
    flex: 1;
}

/* DataTables top controls */
#tt-center .dataTables__top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    flex-wrap: wrap;
    background: #fff;
    border-bottom: 1px solid #eee;
}

#tt-center .dataTables_filter {
    display: none !important;
}

#tt-center .dataTables_length {
    display: none !important;
}

#tt-center .dataTables__bottom {
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #888;
}

#tt-center .dataTables_info {
    font-size: 11px;
    color: #888;
}

#tt-center .dt-buttons {
    display: none !important;
}

/* Base dot style */
.tt-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Per-priority colors */
.tt-dot-critical {
    background: #b91c1c;
}

.tt-dot-high {
    background: #c2410c;
}

.tt-dot-medium {
    background: #a16207;
}

.tt-dot-low {
    background: #15803d;
}

.tt-dot-default {
    background: #6b7280;
}

/* Removed — was overriding the selected highlight above */


.tt-status-tabs {
    padding-top: 10px;
}

button.tt-fbar-btn {
    margin-left: 10px;
    margin-bottom: 6px;
}

.tt-search-wrap {
    margin-bottom: 6px;
}

.search-btn {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

input#fu_duedate {
    line-height: 10px;
}

.tt-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tt-table-wrap .dataTables_wrapper {
    min-width: 900px;
}

#tblTask {
    min-width: 900px;
}

span.bellico {
    display: flex;
    align-items: flex-start;
}

.bellico span.badge {
    left: 21px !important;
    right: unset !important;
    top: 1px;
    background: #bf7d2c;
}

.message_icon {
    display: flex;
    padding: 5px 8px 0px 10px;
    margin-bottom: 0px;
}

span.notify {
    font-size: 13px;
    color: #62748e;
    text-transform: capitalize;
    margin: 0;
    font-weight: 600;
    line-height: 39px;
    padding-left: 6px;
}

span.icosvg svg path {
    color: #909caf;
}

.message_icon:hover span.notify,
.message_icon:hover span.icosvg svg path {
    color: #bf7d2c;
}

span.icosvg {
    display: flex;
    margin-top: 7px;
}

#tblVendor_wrapper .btn-group {
    padding: 4px;
    border-radius: 12px;
    background: #e8e8e8;
}

label,
.form-group label,
.card-body .form-group label,
.form-group>label,
.list_card_section .form-group label,
.servicesContainer .services.dependentContainerBorder .form-group label,
.servicesContainer .services.dependentContainerBorder label {
    color: #62748e !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.form-group label span,
.servicesContainer .services.dependentContainerBorder .form-group label span,
.servicesContainer .services.dependentContainerBorder label span {
    font-size: 13px !important;
}

.form-control,
select.form-control,
textarea.form-control,
.SumoSelect>.CaptionCont,
.select2-container--default .select2-selection--single .select2-selection__rendered,
.input-group .form-control,
.intl-tel-input input,
.iti input,
input[type="file"] {
    color: #343332 !important;
}

.form-control::placeholder,
textarea.form-control::placeholder,
.input-group .form-control::placeholder,
.intl-tel-input input::placeholder,
.iti input::placeholder {
    color: #939393 !important;
}

/* Fleet Efficiency dashboard filter popup */
.dashboard-filter-button {
    background: #bf7d2c;
    border: 1px solid #bf7d2c;
    border-radius: 3px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    min-height: 42px;
    padding: 8px 14px;
}

.dashboard-filter-button:hover,
.dashboard-filter-button:focus,
.dashboard-filter-button:active {
    background: #bf7d2c !important;
    border-color: #bf7d2c !important;
    color: #fff !important;
}

.dashboard-filter-popup {
    background: #fff;
    border: 1px solid #bdc9f1;
    border-radius: 16px;
    box-shadow: 0 14px 26px rgba(27, 35, 58, 0.16);
    box-sizing: border-box;
    display: none;
    max-width: calc(100vw - 330px);
    padding: 14px 26px;
    position: fixed;
    width: 675px;
    z-index: 1050;
}

.dashboard-filter-popup.is-visible {
    display: block;
}

.dashboard-filter-popup .filter-popup-body {
    background: #fff;
    padding: 0;
}

.dashboard-filter-popup .filter-popup-form {
    background: #fff !important;
    border: 0;
    display: grid;
    gap: 10px 26px;
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    padding: 0;
    white-space: normal;
}

.dashboard-filter-popup .filters {
    background: #fff !important;
    box-shadow: none !important;
}

.dashboard-filter-popup .filter-group {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dashboard-filter-popup .filter-group label {
    color: #637491;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
}

.dashboard-filter-popup .filter-group select,
.dashboard-filter-popup .filter-group input {
    background-color: #fff;
    border: 1px solid #d4d9e4;
    border-radius: 14px;
    color: #333;
    font-size: 15px;
    height: 42px;
    padding: 8px 12px;
    width: 100%;
}

.dashboard-filter-popup .filter-popup-actions {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
}

.dashboard-filter-popup .filter-popup-cancel,
.dashboard-filter-popup .filter-popup-cancel:hover,
.dashboard-filter-popup .filter-popup-cancel:focus {
    background: #fff !important;
    border: 1px solid #d3d3d3 !important;
    border-radius: 16px;
    color: #3d4a5f !important;
    font-size: 16px;
    font-weight: 700;
    height: 40px;
    min-width: 114px;
}

.dashboard-filter-popup .filter-popup-apply,
.dashboard-filter-popup .filter-popup-apply:hover,
.dashboard-filter-popup .filter-popup-apply:focus,
.dashboard-filter-popup .filter-popup-apply:active {
    background: #bf7d2c !important;
    border: 1px solid #bf7d2c !important;
    border-radius: 16px;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    height: 40px;
    min-width: 112px;
}

@media (max-width: 991px) {
    .dashboard-filter-popup {
        left: 16px;
        max-width: calc(100vw - 32px);
        top: 180px;
        width: calc(100vw - 32px);
    }

    .dashboard-filter-popup .filter-popup-form {
        grid-template-columns: 1fr;
    }

    .dashboard-filter-popup .filter-popup-actions {
        gap: 12px;
    }
}

* Contact Card Styles for Next Action Popups */ .contact-card-popup {
    background: #fff;
    border: 1px solid #fcdfb3;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 12px;
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-card-avatar {
    width: 36px;
    height: 36px;
    background: #bf7d2c !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-avatar i {
    color: #fff;
    font-size: 20px;
}

.contact-card-info {
    flex: 1;
}

.contact-card-name {
    margin: 0;
    font-weight: 700;
    font-size: 14px;
    color: #bf7d2c;
}

.contact-card-role {
    margin: 0;
    font-size: 11px;
    color: #78909c;
}

.contact-card-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fbf7f2;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 8px;
}

.contact-card-row-alt {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f3f3f3;
    border-radius: 8px;
    padding: 7px 12px;
    margin-bottom: 10px;
}

.contact-card-phone-icon {
    font-size: 16px;
    color: #bf7d2c;
}

.contact-card-voip-icon {
    font-size: 15px;
    color: #bf7d2c;
}

.contact-card-phone-text {
    font-size: 14px;
    font-weight: 700;
    color: #bf7d2c;
}

.contact-card-voip-text {
    font-size: 13px;
    color: #bf7d2c;
}

.contact-card-actions {
    text-align: center;
}

.contact-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #bf7d2c !important;
    color: #fff !important;
    text-decoration: none;
    padding: 9px 28px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
}

.contact-card-no-details {
    text-align: center;
    color: #fcdfb3;
    font-size: 13px;
    padding: 10px 0;
}

.contact-card-no-contacts {
    text-align: center;
    color: #bf7d2c;
    font-size: 13px;
    padding: 10px 0;
}

/* ══════════════ Generic List-Page Header Extras (status pills + current view) ══════════════ */
.cma-header-extras {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
    padding-left: 8px;
}

.cma-current-view-wrap {
    margin-left: auto;
    white-space: nowrap;
}

.cma-view-sep,
.cma-view-label {
    display: none;
    /* shown via JS .show() when a value exists */
}

#header .header.header-top {
    display: flex !important;
    align-items: center;
    width: 100%;
    gap: 0;
    flex-wrap: nowrap;
    overflow: visible;
}

#header .header.header-top h1 {
    flex-shrink: 0;
    margin-right: 4px;
}

/* Status pill row */
.cma-status-pills-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.cma-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3px;
    background: #f0f2f5;
    border: 1px solid #d0d5dd;
    color: #1a1a1a;
    white-space: nowrap;
}

.cma-pill .cma-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.cma-dot-green {
    background: #27ae60;
}

.cma-dot-gray {
    background: #95a5a6;
}

.cma-dot-orange {
    background: #e67e22;
}

.cma-dot-blue {
    background: #2980b9;
}

.cma-dot-purple {
    background: #8e44ad;
}

.cma-dot-red {
    background: #e74c3c;
}

.cma-pill .cma-pill-count {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
}

/* "Current View: <date> • <label>" badge */
.cma-current-view {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0f2f5;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    color: #1a1a1a;
    white-space: nowrap;
}

.cma-current-view .cma-cal-icon {
    color: #e67e22;
    font-size: 13px;
}

.cma-current-view .cma-view-label-text {
    color: #888;
    font-weight: 400;
}

.cma-current-view .cma-dot-sep {
    color: #bbb;
}

@media (max-width: 992px) {
    .cma-header-extras {
        flex-wrap: wrap;
    }

    .cma-current-view-wrap {
        margin-left: 0 !important;
    }
}

@media (max-width: 768px) {
    .cma-status-pills-wrap {
        gap: 3px;
    }

    .cma-pill {
        font-size: 10px;
        padding: 2px 6px;
    }

    .cma-current-view {
        font-size: 11px;
    }
}

/* ══════════════ Generic Active-Filter Badges (any list page) ══════════════ */
.cma-active-filters-bar {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    vertical-align: middle;
}

.cma-active-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff5ec;
    border: 1px solid #e67e22;
    border-radius: 20px;
    padding: 3px 8px 3px 10px;
    font-size: 12px;
    color: #1a1a1a;
    white-space: nowrap;
}

.cma-badge-label {
    font-weight: 500;
}

.cma-badge-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #e67e22;
    font-size: 14px;
    line-height: 1;
    padding: 0 2px;
    font-weight: 700;
}

.cma-badge-remove:hover {
    color: #c0392b;
}

.cma-badge-clear-all {
    background: none;
    border: 1px solid #c0392b;
    border-radius: 20px;
    color: #c0392b;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 10px;
    cursor: pointer;
    white-space: nowrap;
}

.cma-badge-clear-all:hover {
    background: #c0392b;
    color: #fff;
}

.automatonShowFilter {
    position: relative;
}

.automatonShowFilter.cma-filter-has-active::after {
    content: '';
    position: absolute;
    top: 1px;
    right: 1px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e67e22;
    border: 1.5px solid #fff;
    pointer-events: none;
}

/* ══════════════ Generic Filter Toolbar Layout ══════════════
   Add class="cma-filter-toolbar" to ANY DataTable's wrapper (see Step 2) */
.cma-filter-toolbar .dataTables__top {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.cma-filter-toolbar .dataTables__top .automatonShowFilter {
    order: 1;
}

.cma-filter-toolbar .dataTables__top .input-group.prefix {
    order: 2;
}

.cma-filter-toolbar .dataTables__top .dataTables_buttons.actions {
    order: 3;
    margin-left: 0 !important;
}

.cma-filter-toolbar .dataTables__top .cma-active-filters-bar {
    order: 10;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

/*.cma-btn-reset-filters {
    margin-left: 6px;
    border-color: #aaa;
    color: #555;
}

    .cma-btn-reset-filters:hover {
        background: #f0f0f0;
    }*/

.cma-action-dropdown {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 30px !important;
}

.cma-action-trigger {
    align-items: center;
    background: #fff !important;
    border: 1px solid #eadfd3 !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 3px rgba(32, 24, 16, 0.08);
    color: #5f5246 !important;
    display: inline-flex;
    height: 30px;
    justify-content: center;
    margin: 0;
    padding: 0 !important;
    width: 30px;
}

.cma-action-trigger:hover,
.cma-action-trigger:focus,
.cma-action-dropdown.open .cma-action-trigger {
    background: #fffaf5 !important;
    border-color: #d9c4ae !important;
    color: #5f5246 !important;
    outline: none;
}

.cma-action-menu {
    background: #fff;
    border: 1px solid #eadfd3 !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 20px rgba(55, 42, 30, 0.14) !important;
    min-width: 144px !important;
    overflow: hidden;
    padding: 0 !important;
}

.cma-action-item,
.cma-action-item:visited {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #eee4da;
    color: #242424 !important;
    display: flex;
    font-size: 12px !important;
    gap: 8px !important;
    line-height: 1;
    min-height: 36px;
    padding: 8px 12px !important;
    text-decoration: none;
    white-space: nowrap;
}

.cma-action-item:last-child {
    border-bottom: 0;
}

.cma-action-item:hover,
.cma-action-item:focus {
    background: #fffaf5 !important;
    color: #242424 !important;
    text-decoration: none;
}

.cma-action-item svg,
.cma-action-item i,
.cma-action-item img {
    align-items: center;
    display: inline-flex;
    flex-shrink: 0;
    height: 15px !important;
    justify-content: center;
    min-width: 15px !important;
    width: 15px !important;
}

.cma-action-item span {
    color: inherit !important;
    font-weight: 500 !important;
    line-height: 1;
}

.cma-action-item.table_action_view,
.cma-action-item.table_action_view:visited,
.cma-action-item.table_action_call,
.cma-action-item.table_action_call:visited {
    color: #bf7d2c !important;
}

.cma-action-item.table_action_view svg path {
    stroke: #bf7d2c !important;
}

.cma-action-item.table_action_edit,
.cma-action-item.table_action_edit:visited {
    color: #242424 !important;
}

.cma-action-item.table_action_delete,
.cma-action-item.table_action_delete:visited,
.cma-action-item.table_action_delete:hover,
.cma-action-item.table_action_delete:focus {
    color: #e11d2e !important;
}

.cma-action-item.table_action_delete svg path {
    stroke: #e11d2e !important;
}

table.dataTable tbody tr td:has(> .cma-action-dropdown) {
    max-width: 64px !important;
    min-width: 64px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    text-align: center !important;
    width: 64px !important;
}

.cma-action-menu.cma-action-menu-portal {
    bottom: auto !important;
    display: block !important;
    left: 0;
    max-width: calc(100vw - 16px);
    position: fixed !important;
    right: auto !important;
    top: 0;
    z-index: 2000;
}

.cma-pad-20 {
    padding: 20px;
}

.cma-card-body-compact {
    padding: 0 1px 1px;
}

.cma-hidden {
    display: none;
}

.cma-margin-0 {
    margin: 0;
}

.cma-gap-10 {
    gap: 10px;
}

.cma-trip-danger {
    background-color: #b52b23;
    color: #fff;
}

.cma-font-14-middle {
    font-size: 14px;
    vertical-align: middle;
}

.cma-font-16-middle {
    font-size: 16px;
    vertical-align: middle;
}

.cma-inline-flex-offset {
    align-items: center;
    display: inline-flex;
    margin-left: 10px;
}

.cma-margin-left-5 {
    margin-left: 5px;
}

.cma-margin-right-10 {
    margin-right: 10px;
}

.cma-trip-fixed-panel {
    background: #fff;
    border: 1px solid #ccc;
    left: 50%;
    max-width: calc(100vw - 32px);
    padding: 20px;
    position: fixed;
    top: 20%;
    transform: translateX(-50%);
    z-index: 9999;
}

.cma-trip-scroll-panel {
    height: 85vh;
    overflow: scroll;
    padding: 0;
}

.cma-font-medium {
    font-weight: 500;
}

.asset-vendor-action-cell {
    max-width: 64px;
    min-width: 64px;
    width: 64px;
}

.asset-vendor-card {
    padding: 20px;
}

.asset-vendor-card-body {
    padding: 0 1px 1px;
}

.asset-vendor-validation-hidden {
    display: none;
}

.asset-vendor-table-wrap,
.asset-vendor-table {
    margin: 0;
}

/* Trip list only: keep the complete toolbar on one aligned row where space allows. */
.trip-list-page .dataTables__top {
    align-items: center !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start !important;
    min-height: 64px;
}

.trip-list-page .dataTables__top .trip-tabs {
    flex: 0 0 auto;
    margin: 0 !important;
    order: 1;
    padding: 0;
    width: auto;
}

.trip-list-page .dataTables__top .automatonShowFilter {
    flex: 0 0 auto;
    order: 2;
}

.trip-list-page .dataTables__top .dataTables_buttons.actions {
    align-items: center;
    display: inline-flex !important;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 8px;
    margin-left: auto !important;
    order: 3;
}

.trip-list-page .dataTables__top .dataTables_buttons.actions .actions__item,
.trip-list-page .dataTables__top .dataTables_buttons.actions .file-section {
    flex: 0 0 auto;
    margin: 0 !important;
}

.trip-list-page .dataTables__top .dataTables_buttons.actions .file-section {
    align-items: center;
    display: inline-flex !important;
    flex-wrap: nowrap;
    gap: 8px;
}

.trip-list-page .dataTables__top .file-btn-upload {
    align-items: center;
    background: #bf7d2c !important;
    border: 1px solid #bf7d2c !important;
    color: #ffffff !important;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    margin: 0 !important;
    padding: 8px 13px;
    white-space: nowrap;
}

.trip-list-page .dataTables__top .file-btn-upload:hover,
.trip-list-page .dataTables__top .file-btn-upload:focus,
#tripUploadForm .Upload_file_btn,
#tripUploadForm .Upload_file_btn:hover,
#tripUploadForm .Upload_file_btn:focus {
    background: #bf7d2c !important;
    border: 1px solid #bf7d2c !important;
    color: #ffffff !important;
}

#tripUploadForm .trip-upload-selected-file {
    color: #0a164c;
    cursor: pointer;
    display: block;
    font-size: 12px;
    overflow-wrap: anywhere;
    text-decoration: underline;
}

#tripUploadForm .trip-upload-selected-file:empty {
    display: none;
}

.trip-list-page .dataTables__top .input-group.prefix {
    flex: 0 1 190px;
    margin: 0 !important;
    min-width: 170px;
    order: 4;
    width: 190px;
}

/* Trip uses Inspect + Call. Keep both rows equally compact and distinguish Call in green. */
.trip-action-menu .cma-action-item.table_action_call,
.trip-action-menu .cma-action-item.table_action_call:visited,
.trip-action-menu .cma-action-item.table_action_call:hover,
.trip-action-menu .cma-action-item.table_action_call:focus {
    color: #16855b !important;
    min-height: 36px;
    padding-bottom: 8px !important;
    padding-top: 8px !important;
}

.trip-action-menu .cma-action-item.table_action_call .callericon {
    color: #16855b !important;
    font-size: 15px !important;
    margin: 0 !important;
}

#tripUploadErrorModal .modal-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

#tripUploadErrorModal .modal-header .close {
    flex: 0 0 auto;
    margin: 0 0 0 auto;
    position: static;
}

@media (max-width: 991px) {
    .trip-list-page .dataTables__top .dataTables_buttons.actions {
        margin-left: 0 !important;
    }

    .trip-list-page .dataTables__top .input-group.prefix {
        flex-basis: 100%;
        max-width: 100%;
        width: 100%;
    }
}

/* Shared list-page active-filter badge layout. Dashboards use their own *_dash badge flow. */
.cma-list-filter-toolbar .dataTables__top {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px;
    width: 100%;
}

.cma-list-filter-toolbar .cma-list-toolbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 42px;
}

.cma-list-filter-toolbar .cma-list-toolbar-left,
.cma-list-filter-toolbar .cma-list-toolbar-facets,
.cma-list-filter-toolbar .cma-list-toolbar-right,
.cma-list-filter-toolbar .dataTables_buttons.actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cma-list-filter-toolbar .cma-list-toolbar-left {
    flex: 0 0 auto;
    min-width: 0;
}

.cma-list-filter-toolbar .cma-list-toolbar-facets {
    flex: 1 1 auto;
    justify-content: flex-start;
    min-width: 0;
    overflow: hidden;
}

.cma-list-filter-toolbar .cma-list-toolbar-facets:empty {
    display: none;
}

.cma-list-filter-toolbar .cma-list-toolbar-facets .card-lst {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.cma-list-filter-toolbar .cma-list-toolbar-facets .card-lst>[class*="col-"] {
    flex: 0 1 190px;
    max-width: 190px;
    padding: 0 !important;
}

.cma-list-filter-toolbar .cma-list-toolbar-right {
    flex: 0 0 auto;
    justify-content: flex-end;
    min-width: max-content;
    margin-left: auto;
}

.cma-list-filter-toolbar .top-left-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cma-list-filter-toolbar .automatonShowFilter {
    flex: 0 0 auto;
}

.cma-list-filter-toolbar .dataTables_buttons.actions {
    float: none !important;
    flex-wrap: nowrap;
    margin-left: 0 !important;
}

.cma-list-filter-toolbar .dataTables_buttons.actions .input-group.prefix {
    float: none !important;
    width: 220px;
    margin-left: 4px;
    order: 20;
}

.cma-list-filter-toolbar .dataTables_filter,
.cma-list-filter-toolbar .dataTables_length {
    display: none !important;
}

#cmaBtnCancelFilter,
#cmaBtnCancelFilter:hover,
#cmaBtnCancelFilter:focus,
#cmaBtnResetFilter,
#cmaBtnResetFilter:hover,
#cmaBtnResetFilter:focus {
    background: #fff !important;
    border: 1px solid #d5d5d6 !important;
    color: #45556c !important;
    box-shadow: none !important;
    font-weight: 600;
    border-radius: 15px;
}

.cma-list-filter-toolbar .cma-badge-clear-all,
.cma-list-filter-toolbar .cma-badge-clear-all:hover,
.cma-list-filter-toolbar .cma-badge-clear-all:focus,
.cma-list-filter-toolbar .cma-badge-clear-all:active {
    background: #fff !important;
    border-color: #c0392b !important;
    color: #c0392b !important;
    box-shadow: none !important;
}

.cma-list-filter-toolbar .cma-list-filter-row {
    display: none;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-height: 30px;
}

.cma-list-filter-toolbar .cma-list-filter-row.has-filters {
    display: flex;
}

.cma-list-filter-toolbar .cma-active-filters-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    flex-wrap: wrap;
    white-space: normal;
    margin-left: 0 !important;
}

.cma-list-filter-toolbar .cma-active-badge {
    max-width: 260px;
}

.cma-list-filter-toolbar .cma-badge-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cma-list-filter-toolbar .automatonShowFilter.cma-filter-has-active::after {
    content: '';
    top: 1px;
    right: 1px;
    width: 8px;
    min-width: 8px;
    height: 8px;
    padding: 0;
    background: #e67e22;
    border: 1.5px solid #fff;
    border-radius: 50%;
}

@media (max-width: 991px) {
    .cma-list-filter-toolbar .cma-list-toolbar-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .cma-list-filter-toolbar .cma-list-toolbar-facets,
    .cma-list-filter-toolbar .cma-list-toolbar-right,
    .cma-list-filter-toolbar .dataTables_buttons.actions {
        justify-content: flex-start;
        flex-wrap: wrap;
        width: 100%;
    }

    .cma-list-filter-toolbar .dataTables_buttons.actions .input-group.prefix {
        width: min(100%, 260px);
    }
}

.header.header-bottom:has(.cma-dashboard-badge-row) {
    flex-wrap: wrap !important;
    row-gap: 8px;
}

.header.header-bottom>.cma-dashboard-badge-row {
    order: 20;
}

/* Dashboard active filter badges */
.cma-dashboard-badge-row {
    display: flex;
    align-items: center;
    flex: 0 0 100%;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    padding: 0;
    margin: 8px 0 0;
}

.cma-dashboard-badge-row:empty {
    display: none !important;
}

.cma-dashboard-badge-row .cma-active-badge {
    max-width: 280px;
}

.cma-dashboard-badge-row .cma-badge-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cma-badge-remove-dash,
.cma-badge-remove-rider,
.cma-badge-remove-vendor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #e67e22;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

.cma-badge-remove-dash:hover,
.cma-badge-remove-dash:focus,
.cma-badge-remove-rider:hover,
.cma-badge-remove-rider:focus,
.cma-badge-remove-vendor:hover,
.cma-badge-remove-vendor:focus {
    background: transparent;
    color: #d35400;
    outline: none;
}

.cma-badge-clear-all-dash,
.cma-badge-clear-all-rider,
.cma-badge-clear-all-vendor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 12px;
    border: 1px solid #e74c3c !important;
    border-radius: 20px;
    background: #fff !important;
    color: #e74c3c !important;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
}

.popover {
    z-index: 999999 !important;
}

/* Glowing Compliance Badge Styles */
.ref-overdue {
    background: rgba(239, 68, 68, 0.08) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 11px;
    display: inline-block;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.2);
    text-transform: uppercase;
}

.ref-expiring-soon {
    background: rgba(245, 158, 11, 0.08) !important;
    color: #f59e0b !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 11px;
    display: inline-block;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.2);
}

/* ── Clickable parent task reference links ─────────────────────────────── */
.tt-parent-ref-block {
    margin-top: 2px;
    line-height: 1.3;
}

.tt-parent-label {
    color: #888888 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
}

table.dataTable tbody tr td a.tt-parent-task-link,
table.dataTable tbody tr td a.tt-parent-task-link:link,
table.dataTable tbody tr td a.tt-parent-task-link:visited,
#tt-center table.dataTable tbody tr td a.tt-parent-task-link,
#tt-center table.dataTable tbody tr td a.tt-parent-task-link:link,
#tt-center table.dataTable tbody tr td a.tt-parent-task-link:visited,
.tt-parent-task-link,
.tal-parent-link {
    color: #d97706 !important;
    /* DEFAULT warm orange/amber link color on ALL rows */
    font-weight: 600 !important;
    text-decoration: underline !important;
    cursor: pointer;
    font-size: 12px;
}

table.dataTable tbody tr td a.tt-parent-task-link:hover,
#tt-center table.dataTable tbody tr td a.tt-parent-task-link:hover,
.tt-parent-task-link:hover,
.tal-parent-link:hover {
    color: #b45309 !important;
    /* slightly darker amber on hover */
    text-decoration: underline !important;
}

.cma-badge-clear-all-dash:hover,
.cma-badge-clear-all-dash:focus,
.cma-badge-clear-all-rider:hover,
.cma-badge-clear-all-rider:focus,
.cma-badge-clear-all-vendor:hover,
.cma-badge-clear-all-vendor:focus {
    border-color: #c0392b !important;
    background: #fff5f3 !important;
    color: #c0392b !important;
    outline: none;
}


/* ── Reset (scoped to the Remote Monitor page only) ─────────────────────── */
body:has(.rm-root) {
    overflow: hidden !important;
}

#content:has(.rm-root) {
    padding-top: 64px !important;
}

/* theme adds 64px; cancel it so rm-root height fills exactly */
#content:has(.rm-root) .main-content {
    padding: 0 !important;
    margin: 0 !important;
}

/* ── Root & Variables ────────────────────────────────────────────────── */
.rm-root {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 64px);
    /* 85px = #base padding-top (header height) */
    overflow: hidden;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f8fafc;

    /* Navy/Slate Corporate Theme Palette */
    --navy-950: #040815;
    --navy-900: #0a1128;
    --navy-800: #101f42;
    --navy-700: #1c325e;

    /* Brand Blue/Teal/Ochre */
    --brand-blue: #0ea5e9;
    --brand-teal: #14b8a6;
    --brand-ochre: #bf7d2c;
    --brand-ochre-hover: #a56822;
    --brand-ochre-light: #fbf7f2;

    /* Semantic colors */
    --color-border: #e2e8f0;
    --color-bg-light: #f8fafc;
    --text-main: #0a1128;
    --text-muted: #64748b;
}


/* ── Stats bar ────────────────────────────────────────────────────────── */
.rm-stats-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
    overflow-x: auto;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.02);
}

.rm-stats-bar::-webkit-scrollbar {
    height: 4px;
}

.rm-stats-bar::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
}

.rm-kpi {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    padding: 6px 12px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    user-select: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.02);
}

.rm-kpi:hover {
    border-color: var(--brand-ochre);
    background: var(--brand-ochre-light);
}

/* ── Active KPI Card Styling (Adjust colors and highlights here) ── */
.rm-kpi.active {
    border-color: var(--brand-ochre);
    /* Ochre border when selected */
    background: var(--brand-ochre-light);
    /* Light cream/ochre background */
    box-shadow: 0 0 0 3px rgba(191, 125, 44, 0.15);
    /* Soft outer highlight glow */
}

.rm-kpi-val {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1.2;
}

.rm-kpi-lbl {
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.rm-kpi.kpi-online .rm-kpi-val {
    color: #10b981;
}

.rm-kpi.kpi-offline .rm-kpi-val {
    color: var(--navy-900);
}

.rm-kpi.kpi-intrip .rm-kpi-val {
    color: var(--brand-blue);
}

.rm-kpi.kpi-idle .rm-kpi-val {
    color: var(--brand-ochre);
}

.rm-kpi.kpi-stale .rm-kpi-val {
    color: #ef4444;
}

.rm-kpi.kpi-break .rm-kpi-val {
    color: #007AFF;
}

.rm-kpi.kpi-breakdown .rm-kpi-val {
    color: #ef4444;
}

.rm-stats-divider {
    width: 1px;
    height: 28px;
    background: #e2e8f0;
    flex-shrink: 0;
    margin: 0 4px;
}

.rm-kpi-pax {
    flex-direction: row;
    gap: 8px;
    min-width: 130px;
    cursor: default;
}

.rm-kpi-pax:hover {
    border-color: #e2e8f0;
    background: #ffffff;
}

.rm-kpi-pax .rm-kpi-val {
    font-size: 14px;
}

/* ── Main body ────────────────────────────────────────────────────────── */
.rm-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* ── Left panel ───────────────────────────────────────────────────────── */
.rm-left {
    width: 290px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    overflow: hidden;
}

.rm-left-head {
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.rm-search {
    width: 100%;
    padding: 8px 12px 8px 36px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--navy-900);
    background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat 12px center;
    outline: none;
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.rm-search:focus {
    border-color: var(--brand-ochre);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(191, 125, 44, 0.12);
}

/* Exception filter chips */
.rm-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.rm-root .rm-dir-head {
    flex-wrap: wrap;
    gap: 8px;
}

.rm-root .rm-sort-select {
    width: 100%;
    min-width: 0;
    height: 32px;
    padding: 4px 8px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #334155;
    font-size: 12px;
    letter-spacing: 0;
}

.rm-chip {
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    cursor: pointer;
    color: #334155;
    transition: all 0.16s ease-in-out;
    user-select: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 2px;
    box-shadow: none;
}

.rm-chip:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

.rm-chip.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.3);
}

.rm-chip.chip-sos.active {
    background: #ef4444;
    border-color: #ef4444;
}

/* Dropdown filters */
.rm-filters {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.rm-filter-select {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    background: #f8fafc;
    margin-bottom: 6px;
    outline: none;
    color: var(--navy-900);
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.rm-filter-select:last-child {
    margin-bottom: 0;
}

.rm-filter-select:focus {
    border-color: var(--brand-ochre);
    background-color: #ffffff;
}

/* Vehicle directory header */
.rm-dir-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px 6px;
    flex-shrink: 0;
}

.rm-dir-head span {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rm-sort-btn {
    font-size: 10px;
    color: var(--brand-ochre);
    font-weight: 700;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    letter-spacing: 0.3px;
}

.rm-sort-btn:hover {
    color: var(--brand-ochre-hover);
}

/* Vehicle cards */
.rm-cards {
    flex: 1;
    overflow-y: auto;
    padding: 4px 12px 12px;
}

.rm-cards::-webkit-scrollbar {
    width: 5px;
}

.rm-cards::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
}

.rm-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #cbd5e1;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.01);
}

.rm-card:hover {
    border-color: var(--brand-ochre);
    box-shadow: 0 4px 12px rgba(191, 125, 44, 0.08);
}

.rm-card.selected {
    border-color: var(--navy-800);
    border-left-width: 4px;
    background: #f8fafc;
    box-shadow: 0 2px 8px rgba(10, 17, 40, 0.04);
}

/* Card Accent Colors corresponding to Status */
.rm-card.card-intrip {
    border-left-color: var(--brand-blue);
}

.rm-card.card-available {
    border-left-color: var(--brand-teal);
}

.rm-card.card-assigned {
    border-left-color: #0B3D91;
}

.rm-card.card-breakdown {
    border-left-color: #ef4444;
}

.rm-card.card-break {
    border-left-color: #7c3aed;
}

.rm-card.card-overspeed {
    border-left-color: #ef4444;
}

.rm-card.card-undercap {
    border-left-color: var(--brand-ochre);
}

.rm-card.card-unallocated {
    border-left-color: #94a3b8;
}

.rm-card.card-offline {
    border-left-color: #94a3b8;
}

.rm-card-row1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.rm-card-reg {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-900);
}

.rm-card-badges {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.rm-card-row2 {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 500;
    color: var(--navy-800);
}

.rm-card-row3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
}

.rm-card-row4 {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    gap: 8px;
}

/* Status badges */
.rm-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
    line-height: 1.2;
}

.badge-intrip {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #dbeafe;
}

.badge-running {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #dbeafe;
}

.badge-available {
    background: #e6fffa;
    color: #047857;
    border-color: #b2f5ea;
}

.badge-assigned {
    background: #e8f0ff;
    color: #0B3D91;
    border-color: #9bb8f0;
}

.badge-overspeed {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fee2e2;
}

.badge-breakdown {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fee2e2;
}

.badge-break {
    background: #eff6ff;
    color: #007AFF;
    border-color: #bfdbfe;
}

.badge-undercap {
    background: #fffbeb;
    color: #b45309;
    border-color: #fef3c7;
}

.badge-unallocated {
    background: #f1f5f9;
    color: #475569;
    border-color: #e2e8f0;
}

.badge-offline {
    background: #f8fafc;
    color: #94a3b8;
    border-color: #e2e8f0;
}

.rm-flexi-badge {
    background: #f5f0ff;
    color: #7e22ce;
    border-color: #ddd6fe;
}

/* Data status dot */
.rm-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
    flex-shrink: 0;
}

.dot-live {
    background: #10b981;
}

.dot-delayed {
    background: #f59e0b;
}

.dot-stale {
    background: #f59e0b;
}

.dot-offline {
    background: #ef4444;
}

/* Confidence */
.conf-high {
    color: #10b981;
    font-weight: 700;
}

.conf-medium {
    color: #f59e0b;
    font-weight: 700;
}

.conf-low {
    color: #ef4444;
    font-weight: 700;
}

/* ── Map ──────────────────────────────────────────────────────────────── */
.rm-map-wrap {
    flex: 1;
    position: relative;
    overflow: hidden;
}

#rm-map {
    width: 100%;
    height: 100%;
}

.rm-map-legend {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    max-width: calc(100% - 40px);
    padding: 6px 8px;
    overflow: visible;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
    color: var(--text-main);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.rm-map-legend-title {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    flex: 0 0 auto;
}

.rm-map-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex: 0 0 auto;
}

.rm-map-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 8px;
}

.rm-map-legend-dot.dot-overspeed {
    background: #FF2D55;
}

.rm-map-legend-dot.dot-breakdown {
    background: #FF3B30;
}

.rm-map-legend-dot.dot-fullcap {
    background: #34C759;
}

.rm-map-legend-dot.dot-undercap {
    background: #FFBF00;
}

.rm-map-legend-dot.dot-break {
    background: #007AFF;
}

.rm-map-legend-dot.dot-flexitrip {
    background: #8A2BE2;
}

.rm-map-legend-dot.dot-checkedin {
    background: #FF9500;
}

.rm-map-legend-dot.dot-notcheckedin {
    background: #8E8E93;
}

.rm-map-legend-dot.dot-deviceunallocated {
    background: #3C3C43;
}

.rm-map-toggle {
    position: absolute;
    top: 46px;
    right: 12px;
    z-index: 10;
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.rm-map-toggle button {
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    border: none;
    background: #ffffff;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s ease;
}

.rm-map-toggle button.active {
    background: var(--brand-ochre);
    color: #ffffff;
}

@media (max-width: 1200px) {
    .rm-map-legend {
        left: 12px;
        right: 12px;
        transform: none;
        max-width: none;
    }

    .rm-map-toggle {
        top: 58px;
    }
}

/* ── Detail panel ─────────────────────────────────────────────────────── */
.rm-detail {
    width: 0;
    flex-shrink: 0;
    overflow: hidden;
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    border-left: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.rm-detail.open {
    width: 320px;
    overflow-y: auto;
}

.rm-detail::-webkit-scrollbar {
    width: 5px;
}

.rm-detail::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
}

.rm-detail-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 16px 10px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 5;
}

.rm-detail-reg {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy-900);
}

.rm-detail-type {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.rm-close-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.rm-close-btn:hover {
    color: #ef4444;
}

.rm-detail-tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.rm-tab {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    user-select: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.15s ease;
}

.rm-tab.active {
    color: var(--brand-ochre);
    border-bottom-color: var(--brand-ochre);
}

.rm-tab:hover:not(.active) {
    color: var(--brand-ochre);
}

.rm-detail-body {
    padding: 14px 16px;
}

.rm-section {
    margin-bottom: 16px;
}

.rm-section-title {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--brand-ochre);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rm-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #f1f5f9;
}

.rm-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.rm-field {
    display: flex;
    flex-direction: column;
}

.rm-field-lbl {
    font-size: 9px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.rm-field-val {
    font-size: 12px;
    font-weight: 700;
    color: var(--navy-900);
}

.rm-field-val.na {
    color: #cbd5e1;
    font-weight: 500;
    font-style: italic;
}

/* Exception flags */
.rm-exceptions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.rm-exc-flag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    transition: all 0.15s ease;
}

.rm-exc-flag.active {
    background: #fef2f2;
    border-color: #fee2e2;
    color: #dc2626;
}

.rm-exc-flag.warn {
    background: #fffbeb;
    border-color: #fef3c7;
    color: #b45309;
}

.rm-exc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e2e8f0;
    flex-shrink: 0;
}

.rm-exc-flag.active .rm-exc-dot {
    background: #dc2626;
}

.rm-exc-flag.warn .rm-exc-dot {
    background: #b45309;
}

/* Control room buttons */
.rm-ctrl-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rm-ctrl-btn {
    flex: 1;
    min-width: 110px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 11px;
    font-weight: 700;
    color: var(--navy-800);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.rm-ctrl-btn:hover,
.rm-ctrl-btn:focus-visible {
    background: var(--brand-ochre-light) !important;
    border: 1px solid var(--brand-ochre) !important;
    color: var(--brand-ochre) !important;
}

.rm-ctrl-btn.btn-call {
    background: var(--brand-ochre-light);
    border-color: var(--brand-ochre);
    color: var(--brand-ochre);
}

.rm-ctrl-btn.btn-call:hover,
.rm-ctrl-btn.btn-call:focus-visible {
    background: var(--brand-ochre) !important;
    border: 1px solid var(--brand-ochre) !important;
    color: #ffffff !important;
}

.rm-ctrl-btn.btn-sos {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
}

.rm-ctrl-btn.btn-sos:hover,
.rm-ctrl-btn.btn-sos:focus-visible {
    background: #b91c1c !important;
    border: 1px solid #b91c1c !important;
    color: #ffffff !important;
}

/* ── Bottom table ─────────────────────────────────────────────────────── */
.rm-table-resizer {
    height: 1px;
    background: #e2e8f0;
    cursor: row-resize;
    flex-shrink: 0;
    position: relative;
    user-select: none;
}

.rm-table-resizer::before {
    content: '';
    position: absolute;
    top: -4px;
    bottom: -4px;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 10;
}

.rm-table-wrap {
    --rm-table-visible-rows: 6;
    /* Change this number to adjust rows visible on page load */
    --rm-table-row-height: 50px;
    --rm-table-header-height: 40px;
    --rm-table-column-header-height: 34px;
    flex-shrink: 0;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    height: calc(var(--rm-table-header-height) + var(--rm-table-column-header-height) + (var(--rm-table-visible-rows) * var(--rm-table-row-height)));
}

.rm-table-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.rm-table-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--navy-900);
}

.rm-table-actions {
    display: flex;
    gap: 8px;
}

.rm-table-btn {
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: var(--navy-800);
    cursor: pointer;
    transition: all 0.15s ease;
}

.rm-table-btn:hover {
    border-color: var(--brand-ochre);
    color: var(--brand-ochre);
    background: var(--brand-ochre-light);
}

/* Fixed-height scroll area — stays same size regardless of row count */
.rm-table-scroll {
    overflow-x: auto;
    overflow-y: auto;
    flex: 1;
    /* takes up all remaining space in .rm-table-wrap */
}

.rm-table-scroll::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.rm-table-scroll::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
}

.rm-live-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    white-space: nowrap;
    min-width: 980px;
}

.rm-live-table th {
    padding: 8px 12px;
    background: #f8fafc;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    position: sticky;
    top: 0;
    z-index: 2;
}

.rm-live-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--navy-800);
    font-weight: 500;
}

.rm-live-table td.rm-table-plate {
    font-weight: 600 !important;
    color: var(--navy-900);
}

.rm-live-table tbody tr {
    cursor: pointer;
    transition: background 0.1s ease;
}

.rm-live-table tbody tr:hover {
    background: #f8fafc;
}

.rm-live-table tbody tr.selected {
    background: #f1f5f9;
}

.rm-live-table tbody tr:last-child td {
    border-bottom: none;
}

/* Empty state */
.rm-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 20px;
    font-size: 13px;
}

.rm-empty i {
    font-size: 32px;
    color: #e2e8f0;
    display: block;
    margin-bottom: 8px;
}

/* ── Advanced Layout Filters ─────────────────────────────────────────── */
.rm-adv-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy-900);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.rm-adv-toggle-btn i:first-child {
    color: var(--text-muted);
    font-size: 13px;
}

.rm-adv-toggle-btn i:last-child {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 10px;
    transition: transform 0.2s ease;
}

.rm-adv-toggle-btn:hover,
.rm-adv-toggle-btn:focus-visible {
    background: #f8fafc !important;
    border: 1px solid #94a3b8 !important;
    color: var(--navy-900) !important;
}

.rm-adv-toggle-btn.active {
    background: var(--brand-ochre);
    border-color: var(--brand-ochre);
    color: #ffffff;
}

.rm-adv-toggle-btn.active i {
    color: #ffffff !important;
}

.rm-adv-toggle-btn.active:hover,
.rm-adv-toggle-btn.active:focus-visible {
    background: var(--brand-ochre) !important;
    border: 1px solid var(--brand-ochre) !important;
    color: #ffffff !important;
}

.rm-adv-filter-panel {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    margin: 0 12px 12px 12px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
    max-height: min(320px, 40vh);
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
}

.rm-adv-filter-panel::-webkit-scrollbar {
    width: 5px;
}

.rm-adv-filter-panel::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.rm-adv-filter-panel::-webkit-scrollbar-track {
    background: transparent;
}

.rm-adv-filter-section {
    margin-bottom: 14px;
}

.rm-adv-filter-section:last-child {
    margin-bottom: 0;
}

.rm-adv-filter-title {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.rm-adv-filter-panel .rm-filter-chips {
    padding: 0;
    border-bottom: none;
    margin: 0;
}

.rm-adv-filter-panel .rm-filters {
    padding: 0;
    border-bottom: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rm-adv-filter-panel .rm-filter-select {
    width: 100%;
    margin: 0;
}

/* rm styles */
.rm-pax-sep {
    font-weight: 400;
    color: #8a94a6;
}

.rm-adv-toggle-wrap {
    padding: 4px 12px 10px;
}

.rm-adv-filter-panel {
    display: none;
}

/* toggled via .rm-adv-open (KO css binding) */
.rm-adv-filter-panel.rm-adv-open {
    display: block;
}

.rm-icon-user {
    font-size: 10px;
    flex-shrink: 0;
}

.rm-ml-auto {
    margin-left: auto;
}

.rm-icon-phone {
    color: #bf7d2c;
    font-size: 12px;
}

.rm-icon-metric {
    font-size: 9px;
    margin-right: 2px;
}

.rm-text-ochre {
    color: #bf7d2c;
}

.rm-card-status {
    display: flex;
    align-items: center;
    font-size: 10px;
    min-width: 0;
}

.rm-card-heartbeat {
    font-size: 10px;
    color: #8a94a6;
}

.rm-grid-span2 {
    grid-column: span 2;
}

.rm-card-long-shift {
    color: #925400;
    font-size: 11px;
    font-weight: 600;
    margin: 0 0 6px;
}

.rm-telemetry-timing {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
    align-items: start;
}

.rm-telemetry-timing > .rm-field {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.rm-val-xs {
    font-size: 10px;
}

.rm-w-fit {
    width: fit-content;
}

.rm-inline-dot {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rm-tab-previous {
    display: none;
    padding: 12px;
    overflow-y: auto;
    max-height: calc(100vh - 250px);
}

.rm-prev-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 12px;
}

.rm-prev-header {
    border-bottom: 2px solid #0a1128;
    padding-bottom: 8px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.rm-prev-id-lbl {
    font-size: 10px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.rm-prev-id-val {
    font-size: 14px;
    font-weight: 800;
    color: #0a1128;
}

.rm-prev-status-badge {
    background: #e0f2fe;
    color: #0369a1;
    border-color: #bae6fd;
}

.rm-prev-row {
    margin-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.rm-prev-val {
    font-size: 12px;
    font-weight: 700;
    color: #0a1128;
}

.rm-mb8 {
    margin-bottom: 8px;
}

.rm-prev-section-title {
    font-size: 11px;
    font-weight: 800;
    color: #0a1128;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.rm-prev-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.rm-prev-thead-row {
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    color: #64748b;
}

.rm-prev-th {
    padding: 4px 0;
}

.rm-prev-th-right {
    padding: 4px 0;
    text-align: right;
}

.rm-prev-tbody-row {
    border-bottom: 1px solid #f1f5f9;
    color: #0a1128;
}

.rm-prev-td {
    padding: 6px 0;
}

.rm-prev-td-right {
    padding: 6px 0;
    text-align: right;
    font-weight: 700;
}

.rm-prev-td-ellipsis {
    padding: 6px 0;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rm-prev-empty {
    font-size: 11px;
    color: #94a3b8;
    font-style: italic;
}

.rm-empty-prev {
    padding: 30px 10px;
}

.rm-empty-prev-icon {
    font-size: 24px;
    color: #cbd5e1;
    display: block;
    margin-bottom: 6px;
}

* ── Timeline comment icons & follow-up link ───────────────────────────── */ .tal-comment-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 2px;
    vertical-align: middle;
}

.tal-followup-link {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #6366f1;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    border-bottom: 1px dashed #6366f1;
    cursor: pointer;
    transition: color 0.15s;
    vertical-align: middle;
    margin-left: 4px;
}

.tal-followup-link:hover {
    color: #4338ca;
    border-bottom-style: solid;
    text-decoration: none;
}

/* Ensure Search Queues pill color matches Service Support theme color #bf7d2c exactly */
.tq-q-search {
    background: #bf7d2c !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.tq-q-search::-webkit-input-placeholder {
    color: #ffffff !important;
    opacity: 0.95 !important;
}

.tq-q-search::-moz-placeholder {
    color: #ffffff !important;
    opacity: 0.95 !important;
}

.tq-q-search:-ms-input-placeholder {
    color: #ffffff !important;
    opacity: 0.95 !important;
}

.tq-q-search::placeholder {
    color: #ffffff !important;
    opacity: 0.95 !important;
}

.tq-q-search:focus,
.tq-q-search:hover {
    background: #bf7d2c !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2) !important;
}

.hdr-dashboard-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.hdr-active-filter-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
}

.hdr-active-filter-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #bf7d2c;
    display: inline-block;
    flex-shrink: 0;
}

.hdr-active-filter-label {
    color: #6b7280;
    font-weight: 500;
    font-size: 12px;
}

.hdr-active-filter-badge {
    background: #f3f4f6;
    color: #1f2937;
    border-radius: 6px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #e5e7eb;
    display: inline-flex;
    align-items: center;
}

.hdr-active-filter-badge.hdr-badge-shift,
.hdr-active-filter-badge.hdr-badge-sec {
    background: #fff7ed !important;
    color: #bf7d2c !important;
    border: 1px solid #ffedd5 !important;
}

.hdr-badge-remove {
    margin-left: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    color: #bf7d2c;
    opacity: 0.75;
    display: inline-block;
    transition: opacity 0.15s, color 0.15s;
}

.hdr-badge-remove:hover {
    opacity: 1;
    color: #dc2626;
}

.hdr-kpi-block {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 16px;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
}

.hdr-kpi-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: 'Poppins', sans-serif;
}

.hdr-kpi-label {
    font-size: 10px;
    font-weight: 600;
    color: #6b7280;
    text-transform: none;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.hdr-kpi-val {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
}

.hdr-kpi-val small {
    font-size: 11px;
    font-weight: 500;
    color: #6b7280;
}

.hdr-filter-btn-wrap {
    position: relative;
}

.hdr-filter-btn {
    background: #ffffff !important;
    color: #374151 !important;
    border: 1px solid #fed7aa !important;
    border-radius: 20px !important;
    padding: 7px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    font-family: 'Poppins', sans-serif !important;
}

.hdr-filter-btn .hdr-btn-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #bf7d2c;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 3px rgba(191, 125, 44, 0.35);
    }

    50% {
        opacity: 0.7;
        transform: scale(0.85);
        box-shadow: 0 0 0 rgba(191, 125, 44, 0);
    }
}

.hdr-btn-dot.is-glowing {
    animation: pulseGlow 1.8s infinite ease-in-out !important;
}

.hdr-filter-btn svg {
    stroke: #4b5563 !important;
    transition: stroke 0.2s ease !important;
}

.hdr-filter-btn:hover {
    background: #f9fafb !important;
    border-color: #f97316 !important;
    color: #111827 !important;
}

.hdr-filter-btn[aria-expanded="true"] {
    background: #bf7d2c !important;
    color: #ffffff !important;
    border-color: #bf7d2c !important;
    box-shadow: 0 3px 10px rgba(191, 125, 44, 0.25) !important;
}

.hdr-filter-btn[aria-expanded="true"] svg {
    stroke: #ffffff !important;
}

.hdr-filter-btn[aria-expanded="true"] .hdr-btn-dot {
    background: #ffffff !important;
}

/* Floating Dashboard Criteria Popup */
.dashboard-filter-popup {
    position: fixed !important;
    display: none !important;
    width: 580px;
    max-width: calc(100vw - 32px);
    padding: 20px 24px;
    background: #ffffff !important;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
    box-sizing: border-box;
    z-index: 1050;
    font-family: 'Poppins', sans-serif;
}

.dashboard-filter-popup.is-visible {
    display: block !important;
}

.filter-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 16px;
}

.popup-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: 0.5px;
}

.popup-subtitle {
    font-size: 10px;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.5px;
}

.filter-popup-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    width: 100%;
    box-sizing: border-box;
}

.filter-group {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.filter-group.full-width {
    grid-column: span 2;
}

.filter-group label {
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #4b5563 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px !important;
    display: block;
}

.filter-group select,
.filter-group input,
.dashboard-filter-popup .select2-container,
.dashboard-filter-popup .select2-container--default,
.dashboard-filter-popup .select2-container--bootstrap,
.dashboard-filter-popup .select2,
.dashboard-filter-popup div.select2-container,
.dashboard-filter-popup span.select2-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    display: block !important;
    float: none !important;
}

.filter-group select {
    border-radius: 20px !important;
    border: 1px solid #d1d5db !important;
    padding: 4px 30px 4px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    background: #ffffff !important;
    outline: none !important;
    height: 38px !important;
    transition: border-color 0.15s, box-shadow 0.15s;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}

/* Native select arrows sit against the field edge and cannot be repositioned.
   Use one inset chevron for the filter popups shared by all dashboards. */
html body .dashboard-filter-popup .filter-group select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    padding-right: 42px !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 14px 14px !important;
}

html body .dashboard-filter-popup .select2-container .select2-selection__arrow {
    right: 12px !important;
}

html body .dashboard-filter-popup .select2-container .select2-choice .select2-arrow {
    right: 10px !important;
    border-left: 0 !important;
    background: transparent !important;
}

.dashboard-filter-popup .select2-container .select2-choice,
.dashboard-filter-popup .select2-container .select2-selection--single {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    height: 38px !important;
    line-height: 36px !important;
    border-radius: 20px !important;
    border: 1px solid #d1d5db !important;
    padding: 0 30px 0 14px !important;
    background: #ffffff !important;
    display: block !important;
    overflow: hidden !important;
}

.dashboard-filter-popup .select2-container .select2-chosen,
.dashboard-filter-popup .select2-container .select2-selection__rendered {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    padding: 0 !important;
    line-height: 36px !important;
}

.filter-group select:focus {
    border-color: #bf7d2c !important;
    box-shadow: 0 0 0 3px rgba(191, 125, 44, 0.15) !important;
}

.filter-popup-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #f3f4f6;
}

.btn-popup-reset {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151;
    border-radius: 20px;
    padding: 8px 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-popup-reset:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-popup-apply {
    background: #bf7d2c;
    border: none;
    color: #ffffff;
    border-radius: 20px;
    padding: 8px 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(191, 125, 44, 0.25);
    transition: all 0.15s ease;
}

.dashboard-filter-popup .btn-popup-apply:hover,
.dashboard-filter-popup .btn-popup-apply:focus,
.dashboard-filter-popup .btn-popup-apply:focus-visible,
.dashboard-filter-popup .btn-popup-apply:active {
    background: #a66e20 !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(191, 125, 44, 0.35) !important;
}

.dashboard-filter-popup .btn-popup-apply:hover svg,
.dashboard-filter-popup .btn-popup-apply:focus svg,
.dashboard-filter-popup .btn-popup-apply:active svg {
    stroke: #ffffff !important;
}

/* Shared Segmented Tab Switch Toggle (Equal Curves & Clean Transitions) */
.drivertab_card .cma-tab-switch-group,
.cma-tab-switch-group {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    gap: 6px;
    margin-bottom: 16px;
}

#toggleDetails.details_btn,
#toggleEdit.details_btn,
.drivertab_card .details_btn,
.cma-tab-switch-group .details_btn {
    border-radius: 10px !important;
    border: none !important;
    background: #e2e8f0 !important;
    color: #475569 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 7px 22px !important;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    float: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

#toggleDetails.details_btn:hover,
#toggleEdit.details_btn:hover,
.drivertab_card .details_btn:hover,
.cma-tab-switch-group .details_btn:hover {
    color: #bf7d2c !important;
    background: #cbd5e1 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    outline: none !important;
    margin: 0 !important;
}

#toggleDetails.details_btn.active,
#toggleEdit.details_btn.active,
.drivertab_card .details_btn.active,
.cma-tab-switch-group .details_btn.active {
    background: #bf7d2c !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 6px rgba(191, 125, 44, 0.25) !important;
}

#toggleDetails.details_btn.active:hover,
#toggleEdit.details_btn.active:hover,
.drivertab_card .details_btn.active:hover,
.cma-tab-switch-group .details_btn.active:hover {
    background: #bf7d2c !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 6px rgba(191, 125, 44, 0.25) !important;
}

#toggleDetails.details_btn:focus,
#toggleEdit.details_btn:focus,
#toggleDetails.details_btn:focus-visible,
#toggleEdit.details_btn:focus-visible {
    outline: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   REMOTE MONITOR — NEW UI OVERRIDES (appended block)
   All rules below are scoped to the RM page via .rm-root / :has(.rm-root) and
   override earlier rules purely by source order. Do not edit rules above; add
   any further RM tweaks to the bottom of this block only.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Shared tokens (defined once on the RM root) ─────────────────────────── */
.rm-root {
    --brand-ochre: #bf7d2c;
    --rm-card-border: #e8e0d2;
    --rm-radius: 14px;
    --rm-gap: 12px;
    --rm-cream: #f4efe7;
    --rm-track: #f1ece3;
    --rm-card-shadow: 0 1px 3px rgba(58, 42, 18, 0.06), 0 4px 12px rgba(58, 42, 18, 0.04);
}

/* ── Upper spacing (fixed 64px header ↔ stats bar) ───────────────────────── */
#base:has(.rm-root) {
    padding-top: 74px !important;
}

/* 64 header + 10 gap */
#content:has(.rm-root) {
    padding-top: 0 !important;
}

.rm-root {
    height: calc(100vh - 74px) !important;
}

/* ── Layout: content fills width in both sidebar states ──────────────────── */
body:has(.rm-embed-mode) .main-content {
    margin-left: 0 !important;
    width: 100% !important;
}

body:has(.rm-root):has(.hide-left) #base {
    padding-left: 60px !important;
}

/* ── Card layout on warm cream background ────────────────────────────────── */
.rm-root {
    box-sizing: border-box;
    background: var(--rm-cream) !important;
    padding: var(--rm-gap);
    gap: var(--rm-gap);
}

.rm-root *,
.rm-root *::before,
.rm-root *::after {
    box-sizing: border-box;
}

.rm-root .rm-stats-bar,
.rm-root .rm-left,
.rm-root .rm-map-wrap,
.rm-root .rm-detail.open,
.rm-root .rm-table-wrap {
    background: #ffffff;
    border: 1px solid var(--rm-card-border);
    border-radius: var(--rm-radius);
    box-shadow: var(--rm-card-shadow);
    overflow: hidden;
}

/* stats bar sits flush as its own card (drop its bottom border) */
.rm-root .rm-stats-bar {
    border-bottom: 1px solid var(--rm-card-border);
}

/* body is a row of cards with even gaps */
.rm-root .rm-body {
    gap: var(--rm-gap);
}

/* left directory keeps its status-colored card borders inside the panel */
.rm-root .rm-left {
    border-right: 1px solid var(--rm-card-border);
}

/* detail panel: only render the card chrome when open (0-width when closed) */
.rm-root .rm-detail {
    border-left: none;
}

.rm-root .rm-detail.open {
    border-left: 1px solid var(--rm-card-border);
    overflow-y: auto;
}

/* Push the "Active Pax Load" KPI to the far right */
.rm-root .rm-kpi-pax {
    margin-left: auto;
}

/* ── Left directory: shimmer skeleton cards during initial load ──────────── */
.rm-root .rm-skeleton-wrap {
    flex: 1;
    overflow: hidden;
    padding: 4px 12px 12px;
}

.rm-root .rm-skel-card {
    background: #ffffff;
    border: 1px solid var(--rm-card-border);
    border-left: 4px solid #e6ddcd;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 8px;
}

.rm-root .rm-skel-line {
    height: 10px;
    border-radius: 6px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #efe9df 25%, #f7f3ec 37%, #efe9df 63%);
    background-size: 400% 100%;
    animation: rm-shimmer 1.4s ease infinite;
}

.rm-root .rm-skel-line:last-child {
    margin-bottom: 0;
}

.rm-root .rm-skel-line-lg {
    width: 60%;
}

.rm-root .rm-skel-line-md {
    width: 90%;
}

.rm-root .rm-skel-line-sm {
    width: 40%;
}

@keyframes rm-shimmer {
    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

/* ── Map: map canvas with an overlaid type toggle and legend footer ─────── */
.rm-root .rm-map-wrap {
    flex: 1;
    position: relative;
    isolation: isolate;
    z-index: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.rm-root #rm-map {
    flex: 1;
    width: 100%;
    height: auto;
    min-height: 0;
}

/* Toggle = cream-track pill, active button ochre */
.rm-root .rm-map-toggle {
    position: absolute;
    top: 12px;
    left: 12px;
    right: auto;
    z-index: 10;
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    background: var(--rm-track);
    border: none;
    border-radius: 9999px;
    box-shadow: none;
    overflow: visible;
}

.rm-root .rm-map-toggle button {
    background: transparent;
    color: var(--text-muted);
    border-radius: 9999px;
    padding: 6px 16px;
}

.rm-root .rm-map-toggle button.active {
    background: var(--brand-ochre);
    color: #ffffff;
}

/* Single-Header Floating Map Legend Pill Card (Fullscreen & Normal Compatible) */
.rm-root #rm-map {
    position: relative !important;
}

.rm-root .rm-map-legend {
    position: absolute !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 28px !important;
    top: auto !important;
    transform: none !important;
    width: auto !important;
    max-width: none !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 5px 6px !important;
    padding: 7px 8px !important;
    background: #fff !important;
    border: 1px solid #d5dde5 !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.12) !important;
    z-index: 20 !important;
}
.rm-network-legend {
    position: absolute;
    left: 12px;
    bottom: var(--rm-network-legend-bottom, 80px);
    max-height: var(--rm-network-legend-height, 190px);
    max-width: calc(100% - 92px);
    overflow-y: auto;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #d5dde5;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    color: #243746;
    font-size: 11px;
    z-index: 20;
}
.rm-network-legend > strong { display: block; margin-bottom: 7px; font-size: 12px; }
.rm-root .rm-map-top-bar { max-width: calc(100% - 90px); flex-wrap: wrap; }

.rm-root .rm-map-legend-title {
    color: #64748b !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    flex: 0 0 auto !important;
    margin-right: 4px !important;
}

.rm-root .rm-map-legend-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
}

.rm-root .rm-map-legend-dot {
    width: 7.5px !important;
    height: 7.5px !important;
    border-radius: 50% !important;
    flex: 0 0 7.5px !important;
}

/* ── Detail panel tabs: segmented pill on a cream track ──────────────────── */
.rm-root .rm-detail-tabs {
    display: flex;
    gap: 2px;
    margin: 10px 14px;
    padding: 3px;
    background: var(--rm-track);
    border: none;
    border-bottom: none;
    border-radius: 10px;
}

.rm-root .rm-tab {
    border-bottom: none;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 8px;
    padding: 7px 0;
    color: var(--text-muted);
}

.rm-root .rm-tab.active {
    background: #ffffff;
    color: var(--navy-900);
    border-bottom-color: transparent;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.rm-root .rm-tab:hover:not(.active) {
    color: var(--navy-900);
}

/* ── Bottom table: 4 rows default, ochre accent, titled header ───────────── */
.rm-root .rm-table-wrap {
    --rm-table-visible-rows: 4;
}

.rm-root .rm-table-wrap.rm-table-collapsed {
    height: auto !important;
}

.rm-root .rm-table-wrap.rm-table-collapsed .rm-table-scroll {
    display: none;
}

.rm-root .rm-table-resizer.rm-table-resizer-hidden {
    display: none;
}

.rm-root .rm-table-collapse-btn {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: var(--navy-800);
    cursor: pointer;
}

.rm-root .rm-table-collapse-btn:hover,
.rm-root .rm-table-collapse-btn:focus-visible {
    border: 1px solid var(--brand-ochre) !important;
    background: var(--brand-ochre-light) !important;
    color: var(--brand-ochre) !important;
}

.rm-root .rm-table-head {
    position: relative;
    padding-left: 20px;
    border-bottom: 1px solid var(--rm-card-border);
}

.rm-root .rm-table-head::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 26px;
    border-radius: 0 3px 3px 0;
    background: var(--brand-ochre);
}

.rm-root .rm-table-head-titles {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rm-root .rm-table-subtitle {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--brand-ochre);
}

/* ==========================================================================
   TRIP LIST STATUS BADGES (In Trip vs Trip Over)
   ========================================================================== */
.cma-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    text-transform: capitalize;
}

.cma-status-in-trip {
    background-color: rgba(16, 185, 129, 0.12) !important;
    color: #059669 !important;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.cma-status-trip-over {
    background-color: rgba(245, 158, 11, 0.12) !important;
    color: #d97706 !important;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.cma-status-default {
    background-color: rgba(107, 114, 128, 0.1) !important;
    color: #4b5563 !important;
    border: 1px solid rgba(107, 114, 128, 0.2);
}

/* Pulsating Green Dot for In Trip */
.cma-pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    animation: cmaPulseDot 1.8s infinite;
}

@keyframes cmaPulseDot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.trip-list-page button.trip-upload-amber,
.trip-list-page #tripUploadForm button.Upload_file_btn.trip-upload-amber {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 38px;
    padding: 7px 12px !important;
    border-radius: 8px !important;
    background: #c98227 !important;
    background-color: #c98227 !important;
    border: 1px solid #c98227 !important;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    box-shadow: none !important;
}

.trip-list-page button.trip-upload-amber i,
.trip-list-page button.trip-upload-amber .fa,
.trip-list-page button.trip-upload-amber .material-icons {
    color: #fff !important;
}

.trip-list-page button.trip-upload-amber:hover,
.trip-list-page button.trip-upload-amber:focus,
.trip-list-page button.trip-upload-amber:active,
.trip-list-page #tripUploadForm button.Upload_file_btn.trip-upload-amber:hover,
.trip-list-page #tripUploadForm button.Upload_file_btn.trip-upload-amber:focus,
.trip-list-page #tripUploadForm button.Upload_file_btn.trip-upload-amber:active {
    background: #a9681f !important;
    background-color: #a9681f !important;
    border-color: #a9681f !important;
    color: #fff !important;
    box-shadow: none !important;
}

.trip-list-page .trip-file-preview {
    display: none;
    margin-top: 10px;
    padding: 8px 10px;
    border: 1px solid #ead4b8;
    border-radius: 5px;
    background: #fff8ef;
    color: #a9681f;
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.trip-list-page .trip-file-preview:hover,
.trip-list-page .trip-file-preview:focus {
    color: #815019;
    text-decoration: underline;
}

/* ── COMPACT PROFESSIONAL GOOGLE MAPS INFOWINDOW ──────────────────────────── */
.rm-map-wrap .gm-style .gm-style-iw-c {
    padding: 8px 32px 8px 14px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16) !important;
    background: #ffffff !important;
    max-width: 280px !important;
}

.rm-map-wrap .gm-style .gm-style-iw-d {
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    max-height: none !important;
}

.rm-map-wrap .gm-style .gm-style-iw-ch {
    padding-top: 0 !important;
}

.rm-map-wrap .gm-style-iw-c:has(.vehicle-info-window-card) button {
    top: 5px !important;
    right: 5px !important;
    width: 22px !important;
    height: 22px !important;
    opacity: 0.6 !important;
}

/* Request cards provide their own padding and close control. */
.rm-map-wrap .gm-style .gm-style-iw-c:has(.rm-request-info-card) {
    padding: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
}
.rm-map-wrap .gm-style .gm-style-iw-d:has(.rm-request-info-card) {
    padding: 0 !important;
    overflow: visible !important;
}
.rm-map-wrap .gm-style-iw-c:has(.rm-request-info-card) .gm-style-iw-chr {
    display: none !important;
}

.rm-pickup-popup {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #6b21a8;
    white-space: nowrap;
}

.rm-pickup-popup i {
    font-size: 14px;
    color: #8a2be2;
}


/* ── CLEAN COMPACT INFOWINDOW (ZERO PADDING & CUSTOM CLOSE) ─────────────── */
.rm-map-wrap .gm-style-iw-c:has(.vehicle-info-window-card) button.gm-ui-hover-deactivate {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
}

.rm-map-wrap .gm-style-iw-c:has(.vehicle-info-window-card) {
    padding: 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16) !important;
    background: #ffffff !important;
}

.rm-map-wrap .gm-style-iw-d:has(.vehicle-info-window-card) {
    overflow: hidden !important;
    padding: 4px !important;
    margin: 0 !important;
    max-height: none !important;
}


/* =========================================================================
   REMOTE MONITOR CUSTOM STYLES & RADAR PULSE
   ========================================================================= */
.rm-heartbeat-card-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 6px !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    font-size: 11px !important;
    line-height: 1 !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
    text-decoration: none !important;
    vertical-align: middle !important;
}

.rm-heartbeat-card-link:hover {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3) !important;
}

@keyframes rm-radar-wave {
    0% {
        transform: scale(0.6);
        opacity: 0.9;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.rm-radar-pulse {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: rm-radar-wave 2s infinite cubic-bezier(0.25, 1, 0.5, 1);
    box-sizing: border-box;
}

.rm-radar-disc {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    box-sizing: border-box;
}

/* HEADER KPI BAR & CHIPS (STRICT HORIZONTAL FLEX ROW) */
.header.header-top {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    padding-right: 16px !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
}

.rm-header-kpi-bar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    margin-left: 20px !important;
    margin-right: auto !important;
    overflow: visible !important;
    flex-shrink: 0 !important;
}

.rm-header-kpis {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
}

.rm-search-popup {
    box-sizing: border-box;
    max-width: 240px;
    padding: 8px;
    background: #ffffff;
    color: #1e293b;
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* Keep the native close control beside the location, not in an empty header row. */
.rm-map-wrap .gm-style .gm-style-iw-c:has(.rm-search-popup) {
    padding: 12px 44px 12px 14px !important;
    max-width: min(320px, calc(100vw - 32px)) !important;
}
.rm-map-wrap .gm-style-iw-c:has(.rm-search-popup) .gm-style-iw-chr {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.rm-map-wrap .gm-style-iw-c:has(.rm-search-popup) .gm-style-iw-ch {
    display: none !important;
}
.rm-map-wrap .gm-style-iw-c:has(.rm-search-popup) .gm-style-iw-chr button {
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
}
.rm-map-wrap .gm-style-iw-c:has(.rm-search-popup) .gm-style-iw-chr button span {
    margin: 2px !important;
}
.rm-search-popup {
    font-weight: 600;
    font-size: 12px;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Network cards own their header, close control and spacing. */
.rm-map-wrap .gm-style .gm-style-iw-c:has(.rm-network-popup) {
    padding: 0 !important;
    border-radius: 12px !important;
    max-width: min(280px, calc(100vw - 32px)) !important;
}
.rm-map-wrap .gm-style .gm-style-iw-d:has(.rm-network-popup) {
    padding: 0 !important;
    overflow: auto !important;
}
.rm-map-wrap .gm-style-iw-c:has(.rm-network-popup) .gm-style-iw-chr {
    display: none !important;
}
.rm-network-popup {
    box-sizing: border-box;
    width: 260px;
    max-width: calc(100vw - 32px);
    padding: 12px;
    background: #fff;
    color: #1e293b;
    font-family: Inter, system-ui, sans-serif;
    font-size: 12px;
    line-height: 1.4;
}
.rm-network-card-header, .rm-network-summary, .rm-network-metrics > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.rm-network-card-header { margin-bottom: 10px; }
.rm-network-card-header > strong { font-size: 12px; }
.rm-network-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #64748b;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.rm-network-close:hover { background: #f1f5f9; color: #1e293b; }
.rm-network-close:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.rm-network-caption, .rm-network-metrics dt { color: #64748b; font-size: 11px; font-weight: 400; }
.rm-network-score strong { font-size: 26px; line-height: 1.3; font-weight: 700; }
.rm-network-score > span { color: #64748b; font-size: 11px; }
.rm-network-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 7px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #f8fafc;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}
.rm-network-status::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--network-status-color);
    border: 1px solid rgba(0,0,0,.12);
}
.rm-network-metrics { margin: 10px 0 0; padding-top: 9px; border-top: 1px solid #e2e8f0; }
.rm-network-metrics > div + div { margin-top: 5px; }
.rm-network-metrics dt, .rm-network-metrics dd { margin: 0; }
.rm-network-metrics dd { font-weight: 600; }
.rm-network-variation {
    margin-top: 10px;
    padding: 6px 8px;
    border: 1px solid #fecaca;
    border-radius: 6px;
    background: #fef2f2;
    color: #dc2626;
    font-size: 10px;
    font-weight: 700;
}

.rm-load-error {
    padding: 8px 12px;
    color: #991b1b;
    background: #fef2f2;
    font-size: 12px;
}

.rm-empty-state {
    padding: 16px 12px;
    color: #555;
    text-align: center;
    font-size: 12px;
}

.rm-header-chip {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 5px 12px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    min-width: 82px !important;
    height: 38px !important;
    cursor: pointer !important;
    transition: all 0.15s ease-in-out !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

.rm-header-kpis .rm-header-chip {
    padding: 4px 10px !important;
    min-width: 68px !important;
}

.rm-header-chip.chip-total,
.rm-header-chip.chip-pax {
    min-width: 88px !important;
}

.rm-header-chip:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

.rm-header-chip .chip-top {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    width: 100% !important;
    text-align: center !important;
    gap: 4px !important;
    margin-bottom: 2px !important;
    line-height: 1 !important;
}

.rm-header-chip .chip-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

.rm-header-chip .chip-lbl {
    font-size: 9.5px !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
    color: #64748b !important;
    letter-spacing: 0.1px !important;
    white-space: nowrap !important;
    text-align: center !important;
    align-self: center !important;
    display: inline-block !important;
    width: 100% !important;
}

.rm-header-chip .chip-val {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.1 !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
    text-align: center !important;
    align-self: center !important;
    display: block !important;
    width: 100% !important;
}

.rm-header-chip.chip-online .chip-dot {
    background: #10b981 !important;
}

.rm-header-chip.chip-online .chip-val {
    color: #059669 !important;
}

.rm-header-chip.chip-online {
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
    color: #047857 !important;
}

.rm-header-chip.chip-stale .chip-dot {
    background: #f59e0b !important;
}

.rm-header-chip.chip-stale .chip-val {
    color: #d97706 !important;
}

.rm-header-chip.chip-stale {
    background: #fffbeb !important;
    border-color: #fde68a !important;
    color: #b45309 !important;
}

.rm-header-chip.chip-offline .chip-dot {
    background: #ef4444 !important;
}

.rm-header-chip.chip-offline .chip-val {
    color: #dc2626 !important;
}

.rm-header-chip.chip-offline {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
    color: #b91c1c !important;
}

.rm-header-chip.chip-breakdown .chip-val {
    color: #dc2626 !important;
}

.rm-header-chip.chip-breakdown {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
}

.rm-header-chip.chip-break .chip-val {
    color: #2563eb !important;
}

.rm-header-chip.chip-break {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
}

.rm-header-chip.chip-running .chip-val {
    color: #0284c7 !important;
}

.rm-header-chip.chip-running {
    background: #f0f9ff !important;
    border-color: #bae6fd !important;
}

.rm-header-chip.chip-flexi .chip-val {
    color: #7c3aed !important;
}

.rm-header-chip.chip-flexi {
    background: #f5f3ff !important;
    border-color: #ddd6fe !important;
}

.rm-header-chip.chip-available .chip-val {
    color: #0d9488 !important;
}

.rm-header-chip.chip-available {
    background: #f0fdfa !important;
    border-color: #99f6e4 !important;
}

.rm-header-chip.chip-assigned .chip-val {
    color: #b45309 !important;
}

.rm-header-chip.chip-assigned {
    background: #fefce8 !important;
    border-color: #fef08a !important;
}

.rm-header-chip.chip-idle .chip-val {
    color: #ea580c !important;
}

.rm-header-chip.chip-idle {
    background: #fff7ed !important;
    border-color: #fed7aa !important;
}

.rm-header-divider {
    width: 1px !important;
    height: 24px !important;
    background: #e2e8f0 !important;
    margin: 0 4px !important;
    flex-shrink: 0 !important;
}

/* BOTTOM TABLE HEADER & GPS STATUS CHIPS */
.rm-table-head {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 8px 16px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-sizing: border-box !important;
}

.rm-table-head-titles {
    display: flex !important;
    flex-direction: column !important;
    flex-shrink: 0 !important;
}

.rm-table-status-chips {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: 20px !important;
    margin-right: auto !important;
    flex-wrap: nowrap !important;
}

/* PERFECTED LEFT PANEL VEHICLE CARDS */
.rm-card {
    padding: 9px 12px !important;
    margin-bottom: 8px !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #cbd5e1 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    cursor: pointer !important;
    transition: all 0.16s ease-in-out !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.rm-card:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

.rm-card.selected {
    border-color: #0d9488 !important;
    border-left-color: #0d9488 !important;
    background: #f0fdfa !important;
    box-shadow: 0 0 0 1.5px #0d9488 !important;
}

.rm-card.card-intrip {
    border-left-color: #10b981 !important;
}

.rm-card.card-available {
    border-left-color: #06b6d4 !important;
}

.rm-card.card-assigned {
    border-left-color: #eab308 !important;
}

.rm-card.card-breakdown {
    border-left-color: #ef4444 !important;
}

.rm-card.card-break {
    border-left-color: #3b82f6 !important;
}

.rm-card.card-overspeed {
    border-left-color: #f43f5e !important;
}

.rm-card.card-undercap {
    border-left-color: #f59e0b !important;
}

.rm-card.card-unallocated {
    border-left-color: #94a3b8 !important;
}

.rm-card.card-offline {
    border-left-color: #64748b !important;
}

.rm-card-row1 {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 4px !important;
}

.rm-card-reg {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    letter-spacing: 0.2px !important;
}

.rm-card-badges {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.rm-card-row2 {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
}

.rm-card-row3 {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 11px !important;
    color: #475569 !important;
    font-weight: 500 !important;
    margin-bottom: 5px !important;
    white-space: nowrap !important;
}

.rm-card-row4 {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 10.5px !important;
    color: #64748b !important;
    white-space: nowrap !important;
}

.rm-card-metric {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    white-space: nowrap !important;
    font-size: 11px !important;
}

.rm-card-status {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.rm-card-idle-text {
    color: #b45309 !important;
    font-weight: 600 !important;
    font-size: 10.5px !important;
    white-space: nowrap !important;
}

.rm-card-heartbeat {
    color: #94a3b8 !important;
    font-size: 10px !important;
    white-space: nowrap !important;
}



/* =========================================================================
       MAP TOP BAR (MAP/SATELLITE TOGGLE + SEARCH LOCATION BAR)
       ========================================================================= */
.rm-map-top-bar {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 9999 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    pointer-events: auto !important;
}

.rm-map-toggle {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
    padding: 3px !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #cbd5e1 !important;
    height: 38px !important;
    box-sizing: border-box !important;
}

.rm-map-type-btn {
    border: none !important;
    background: transparent !important;
    padding: 5px 14px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    cursor: pointer !important;
    transition: all 0.15s ease-in-out !important;
    line-height: 1.4 !important;
}

.rm-map-type-btn.active {
    background: #bf7d2c !important;
    color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(191, 125, 44, 0.3) !important;
}

.rm-map-search-box {
    display: inline-flex !important;
    align-items: center !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #cbd5e1 !important;
    padding: 0 10px !important;
    height: 38px !important;
    width: 155px !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    box-sizing: border-box !important;
}

.rm-map-search-box:focus-within {
    border-color: #BF7D2C !important;
    box-shadow: 0 3px 12px rgba(191, 125, 44, 0.25) !important;
}

.rm-map-search-icon {
    color: #64748b !important;
    font-size: 13px !important;
    margin-right: 8px !important;
    flex-shrink: 0 !important;
}

.rm-map-place-input {
    min-width: 0;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 12.5px !important;
    color: #1e293b !important;
    width: 100% !important;
    padding: 0 !important;
    font-family: inherit !important;
}

.rm-map-place-input::placeholder {
    color: #94a3b8 !important;
    font-size: 12px !important;
}

.rm-map-search-clear {
    border: none !important;
    background: transparent !important;
    color: #94a3b8 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    padding: 0 4px !important;
    display: none;
}

.rm-location-results {
    position: fixed;
    z-index: 1040;
    box-sizing: border-box;
    background: #fff;
    color: #243746;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
    overflow-y: auto;
    overscroll-behavior: contain;
    font-size: 13px;
    line-height: 1.45;
    letter-spacing: 0;
}
.rm-location-results[hidden] { display: none !important; }
.rm-location-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 12px;
    cursor: pointer;
    border-bottom: 1px solid #edf0f3;
}
.rm-location-option:last-child { border-bottom: 0; }
.rm-location-option:hover,
.rm-location-option[aria-selected="true"] { background: #eaf5f6; }
.rm-location-option[aria-selected="true"] { box-shadow: inset 3px 0 #087f8c; }
.rm-location-option > i { flex-shrink: 0; margin-top: 3px; color: #64748b; }
.rm-location-text { min-width: 0; overflow-wrap: anywhere; }
.rm-location-text strong { display: block; font-size: 13px; font-weight: 600; }
.rm-location-text > span { display: block; margin-top: 3px; font-size: 12px; color: #586779; }
.rm-location-status { padding: 14px; color: #586779; }


/* Vehicle Cluster Badge Styling (Signature Orange/Ochre Gradient) */
.rm-vehicle-cluster {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    border: 2.5px solid #ffffff !important;
    box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.25), 0 4px 10px rgba(0, 0, 0, 0.25) !important;
    cursor: pointer !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
    font-family: Inter, system-ui, -apple-system, sans-serif !important;
    line-height: 1 !important;
}

.rm-vehicle-cluster:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 0 0 7px rgba(245, 158, 11, 0.35), 0 6px 14px rgba(0, 0, 0, 0.3) !important;
}


/* Vehicle Cluster Badge (Amber/Orange Pill with Car Icon) */
.rm-vehicle-cluster {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    min-width: 44px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 8px !important;
    font-weight: 700 !important;
    font-size: 12.5px !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.25), 0 4px 10px rgba(0, 0, 0, 0.25) !important;
    cursor: pointer !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
    font-family: Inter, system-ui, -apple-system, sans-serif !important;
    line-height: 1 !important;
    user-select: none !important;
}

.rm-vehicle-cluster:hover {
    transform: translate(-12px, -12px) scale(1.1) !important;
    box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.35), 0 6px 14px rgba(0, 0, 0, 0.3) !important;
}

/* Request Cluster Badge (Electric Indigo/Sapphire Pill with Person Icon) */
.rm-request-cluster {
    background: linear-gradient(135deg, #ff3b5c, #e11d48) !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    min-width: 44px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 8px !important;
    font-weight: 700 !important;
    font-size: 12.5px !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 0 0 4px rgba(255, 59, 92, 0.25), 0 4px 10px rgba(0, 0, 0, 0.25) !important;
    cursor: pointer !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
    font-family: Inter, system-ui, -apple-system, sans-serif !important;
    line-height: 1 !important;
    user-select: none !important;
}

.rm-request-cluster:hover {
    transform: translate(12px, 12px) scale(1.1) !important;
    box-shadow: 0 0 0 6px rgba(255, 59, 92, 0.35), 0 6px 14px rgba(0, 0, 0, 0.3) !important;
}


.dot-online {
    background: #10b981 !important;
}

.dot-live {
    background: #10b981 !important;
}

.dot-stale,
.dot-stale-gps,
.dot-stalegps {
    background: #f59e0b !important;
}

.dot-offline {
    background: #ef4444 !important;
}


/* Floating Map Layer Filters (Vehicles & Requests) */
.rm-map-layers-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-left: 4px !important;
}

.rm-layer-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    height: 38px !important;
    padding: 0 14px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
    font-family: Inter, system-ui, -apple-system, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
    user-select: none !important;
}

.rm-layer-btn:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #334155 !important;
}

.rm-layer-btn.chip-veh.active {
    background: #f0f9ff !important;
    border-color: #0284c7 !important;
    color: #0369a1 !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.2) !important;
}

.rm-layer-btn.chip-veh.active i {
    color: #0284c7 !important;
}

.rm-layer-btn.chip-req.active {
    background: #fff1f2 !important;
    border-color: #ff3b5c !important;
    color: #e11d48 !important;
    box-shadow: 0 2px 8px rgba(255, 59, 92, 0.25) !important;
}

.rm-layer-btn.chip-req.active i {
    color: #ff3b5c !important;
}

.rm-layer-btn.chip-zone.active {
    background: #ecfeff !important;
    border-color: #0891b2 !important;
    color: #0e7490 !important;
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.24) !important;
    opacity: 1 !important;
}

.rm-layer-btn.chip-zone.active i {
    color: #0891b2 !important;
}

.rm-layer-btn:not(.active) {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    opacity: 0.75 !important;
}

.rm-layer-btn:not(.active) i {
    color: #94a3b8 !important;
}

.rm-layer-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    padding: 1px 6px !important;
    border-radius: 9999px !important;
    background: #e2e8f0 !important;
    color: #475569 !important;
}

.rm-layer-btn.chip-veh.active .rm-layer-badge {
    background: #bae6fd !important;
    color: #0369a1 !important;
}

.rm-layer-btn.chip-req.active .rm-layer-badge {
    background: #fecdd3 !important;
    color: #9f1239 !important;
}

/* Remote Monitor: Network Signal coverage toggle */
.rm-layer-btn.chip-network {
    gap: 7px !important;
}
.rm-layer-btn.chip-zone.active .rm-layer-badge {
    background: #a5f3fc !important;
    color: #155e75 !important;
}

/* Remote Monitor: Network Signal coverage toggle */
.rm-layer-btn.chip-network {
    gap: 7px !important;
}
.rm-root .rm-sidebar-expand-tab {
    display: none;
    flex: 0 0 34px;
    align-self: center;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
}

.rm-root .rm-sidebar-expand-tab:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.rm-root .rm-sidebar-expand-tab:focus-visible {
    outline: 2px solid #475569;
    outline-offset: 2px;
}

.rm-root .rm-body.sidebar-collapsed .rm-left {
    display: none !important;
}

.rm-root .rm-body.sidebar-collapsed .rm-sidebar-expand-tab {
    display: inline-flex !important;
}
.rm-layer-btn.chip-network .rm-network-icon {
    flex: 0 0 auto;
}

.rm-layer-btn.chip-network.active {
    background: #fffbeb !important;
    border-color: #d97706 !important;
    color: #b45309 !important;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.22) !important;
    opacity: 1 !important;
}

/* Remote Monitor: Haul Road toggle */
.rm-layer-btn.chip-haulroad {
    gap: 7px !important;
}

.rm-layer-btn.chip-haulroad.is-active {
    background: #fbf7f2 !important;
    border-color: #bf7d2c !important;
    color: #a56822 !important;
    box-shadow: 0 2px 8px rgba(191, 125, 44, 0.22) !important;
    opacity: 1 !important;
}

.rm-layer-btn.chip-haulroad.is-active i {
    color: #bf7d2c !important;
}

.rm-ns-status {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    min-height: 38px;
    padding: 4px 8px;
    box-sizing: border-box;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
}

.rm-signal-overview {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #fff;
    color: #36566b;
    cursor: pointer;
}
.rm-signal-overview:hover { background: #eef5f6; }
.rm-signal-overview:focus-visible { outline: 2px solid #087f8c; outline-offset: 2px; }

.rm-ns-status:empty {
    display: none;
}
}
#tblEmployee .employee-select-column {
    width: 44px !important;
    min-width: 44px;
    max-width: 44px;
    text-align: center !important;
}

#tblEmployee_wrapper .dataTables_scrollBody table {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#tblEmployee_wrapper.employee-list-loading .dataTables_scrollBody tbody {
    visibility: hidden;
}

.dataTables_buttons #activateSelectedEmployees {
    background: #2e7d32 !important;
    border-color: #2e7d32 !important;
    color: #fff !important;
    opacity: 1;
}
.dataTables_buttons #activateSelectedEmployees:hover:not(:disabled) {
    background: #256628 !important;
    border-color: #256628 !important;
}
.dataTables_buttons #activateSelectedEmployees:disabled {
    background: #e8e8e8 !important;
    border-color: #e8e8e8 !important;
    color: #9a9a9a !important;
    opacity: 1;
    cursor: not-allowed;
    box-shadow: none;
}
