/* --- 1. DEFINICIONES GLOBALES Y FUENTES --- */

@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?nwuri5');
    src: url('../fonts/icomoon.eot?nwuri5#iefix') format('embedded-opentype'), url('../fonts/icomoon.ttf?nwuri5') format('truetype'), url('../fonts/icomoon.woff?nwuri5') format('woff'), url('../fonts/icomoon.svg?nwuri5#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-ic_currency:before {
    content: "\e900";
    color: #6658dd;
}

.icon-ic_lang:before {
    content: "\e901";
    color: #6658dd;
    font-size: 20px;
    vertical-align: middle;
    margin-right: 5px;
}


/* --- 3. COMPONENTES DE LIBRERÍAS EXTERNAS --- */

/* DataTables */
.dataTables_length {
    width: 100%;
    max-width: 200px !important;
}
.dt-buttons.btn-group.flex-wrap {
    display: none;
}
.dt-buttons .btn.btn-secondary, .dt-buttons .btn.btn-secondary:focus, .dt-buttons .btn.btn-secondary:active {
    border-radius: 50px;
}
.dataTables_wrapper .form-ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dataTables_wrapper .inner-div:last-child {
    margin-left: -5px;
}
.dataTables_wrapper .inner-div {
    vertical-align: middle;
    float: none;
    width: auto;
    display: inline-block;
}
.dataTables_wrapper .inner-div .action-icon {
    margin: 0;
    padding: 0;
}
.dataTables_filter label {
    float: right !important;
}
.dataTables_filter label .form-control {
    position: relative;
    z-index: 999;
}
.dataTables_scrollHead thead th {
    cursor: pointer;
    padding-left: 8px !important;
}
table.dataTable {
    width: 100% !important;
}
.dataTables_scrollFootInner, .dataTables_scrollFoot, .dataTables_scrollHeadInner, .dataTable {
    width: 100% !important;
}
td.dataTables_empty {
    text-align: center;
}

/* Selectize */
.selectize-control.single .selectize-input:after{
    transform:translate(10px, 0px)
}
.selectize-control.single .selectize-input.dropdown-active:after{
    transform: rotate(356deg);
}
.selectize-input.items.not-full.has-options.has-items {
    display: flex;
    overflow-x: auto;
}
.selectize-input.items.not-full.has-options.has-items::-webkit-scrollbar {
    width: 10px;
    height: 4px;
}
.selectize-input.items.not-full.has-options.has-items::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
.selectize-input.items.not-full.has-options.has-items::-webkit-scrollbar-thumb {
    background-color: #d4a34a;
}

/* Select2 */
input.select2-search__field::placeholder {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    padding: 0 10px 0 20px !important;
}
span.select2-selection.select2-selection--multiple {
    padding: 3px 2px;
}
.select2-container .select2-selection--multiple .select2-selection__rendered{
    overflow-y: auto !important;
}
ul.select2-selection__rendered li {
    margin: 5px 2px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
    color:#fff !important;
}

/* International Telephone Input (ITI) */
.intl-tel-input {
    display: table-cell;
}
.intl-tel-input .selected-flag {
    z-index: 4;
}
.intl-tel-input .country-list {
    z-index: 999;
}
.input-group .intl-tel-input .form-control {
    border-top-left-radius: 4px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 0;
}
#phone_numberInput .iti {
    width: 100%;
}

/* Dropify (File Upload) */
.dropify-wrapper {
    height: 130px !important;
}
.upload_box .dropify-wrapper .dropify-clear {
    top: 0;
    right: 0;
    padding: 0;
    border: 0;
}
.upload_box .dropify-wrapper .dropify-clear span{
    display: none;
}
.upload_box .dropify-wrapper .dropify-clear::after {
    content: "\F00D";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
    color: #fff;
    position: absolute;
    right: 10px;
    z-index: 1111;
    top: 5px;
}
.upload_box .text-muted {
    margin: 10px !important;
}

/* TagsInput */
.label-info {
    background-color: #5bc0de;
    display: inline-block;
    padding: 0.2em 0.6em 0.3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25em;
}
#ui-id-1, #ui-id-2 {
    z-index: 9999;
}
#ui-id-1 li, #ui-id-2 li {
    z-index: 9999;
}
body .tagsinput .tag {
    background: #CCC;
    color: rgba(0, 0, 0, 0.795);
    padding: 5px 30px 0px 12px;
    border-radius: 50px;
    font-size: 12px;
}


/* --- 4. ESTILOS DE COMPONENTES ESPECÍFICOS --- */

/* Popups y Modales */
.pay-popop-dispatcher .btn.dropdown-toggle {
    padding: 7px 10px;
    border-radius: 0px;
}
.modal-opensag .modal {
    overflow-x: hidden;
    overflow-y: auto;
}
.modal-body .card-box{
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}
.modal.fadeIn {
    opacity: .4;
}
.pac-container, .pac-container .pac-item {
    z-index: 99999 !important;
}
.modal-footer .btn.btn-blue {
    width: 100%;
    max-width: 100% !important;
}
#add-customer-modal .modal-dialog.modal-lg,#edit-customer-modal .modal-dialog.modal-lg {
    max-width: 1040px;
}
#optimize-route-modal .modal-dialog.modal-lg{
    max-width: 400px;
}
.commonModal .modal-dialog.modal-dialog-centered.modal-lg {
    max-width: 1170px;
}
.commonModalLabel{
    display: flex;
}

/* Formularios y Botones de Radio/Checkbox */
.login-form label {
    padding: 8px 10px;
    display: inline-block;
    cursor: pointer;
    border-radius: 4px;
    background-color: #f8ecec;
    color: #000000;
    font-size: 13px;
    letter-spacing: 0.5px;
    min-width: 80px;
    text-align: center;
    border: 1px solid transparent;
    margin-bottom: 0;
}
.main_form .login-form label{
    min-width: 140px !important;
}
.login-form .blank-label {
    display: none;
}
.login-form input[type="radio"]:checked + label {
    background-color: #6658dd;
    color:#fff;
    font-size: 13px;
    letter-spacing: 0.5px;
}
.login-form input[type="radio"]:checkedlabel {
    border-color: #6658dd;
}
.login-form input {
    display: none;
}
.login-form .custom-control-label::before {
    display: none;
}
form#StoreWarehouse label.checkbox-inline {
    margin-right: 10px;
}
#radio1, #radio2, #radio3, #radio4 {
    transform: scale(1.2);
}
.row.coolcheck.no-gutters .radio label {
    margin-right: 20px;
}
.radio label{
    cursor: pointer;
}
.custom-checkbox .col-2 {
    width: 50px;
    max-width: max-content;
    flex: initial;
    padding: 0 0 0 10px;
}
.custom-checkbox .col-10 {
    flex: auto;
    max-width: none;
    width: 164px;
    padding-right: 0;
}

/* Agentes y Equipos */
.agent-listing tbody td {
    padding: 15px 0 10px 15px;
}
.agent-listing tbody td:nth-child(2){
    position: relative;
}
.agent-status {
    position: absolute;
    left: 20px;
    top: 10px;
    border: 3px solid #fff;
    border-radius: 50%;
    font-size: 10px;
}
.agents-datatable tbody td, .dataTables_scrollHead thead th {
    padding: 10px 10px 10px 15px !important;
}
form#submitAgent .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    left: -10px;
    position: relative;
    color:#fff !important;
}
#warehouse_idInputEdit .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
    left: -10px;
    position: relative;
    color:#fff !important;
}

/* Geofencing y Mapas */
.price_geo-fence span.switchery.switchery-default {
    height: 20px;
}
.price_geo-fence span.switchery.switchery-default small {
    width: 20px;
    height: 20px;
}
.geo-input_fence button.btn.btn-info {
    margin: 0px;
    padding: 0px 22px;
}
#map-canvas {
    height: calc(100vh - 204px);
}
.geo_main #map-canvas {
    height: calc(100vh - 212px) !important;
}
.geo_middle {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0 0 20px;
}

/* Tareas y Despacho (Tasks & Dispatch) */
.add-sub-task-btn {
    background-color: #ECF6FF;
    height: 38px;
    line-height: 38px;
    font-size: 15px;
    font-weight: 600;
    width: 100%;
    display: block;
    cursor: pointer;
    border-radius: 4px;
    background-color: #f8ecec;
    color: #000000;
    letter-spacing: 0.5px;
    text-align: center;
    transition: all .3s ease-in-out 0s;
    border: 1px solid transparent;
}
.add-sub-task-btn:hover, .add-sub-task-btn:focus, .add-sub-task-btn:visited {
    color: #000000;
    background-color: #F8ECEC;
    border-color: #6658dd;
}
.assigned-block {
    background-color: #EAECFD;
}
.assigned-block h6 {
    color: #272727;
    font-size: 13px;
    letter-spacing: 0;
    line-height: 15px;
    margin-bottom: 0px;
    margin-top: 4px;
}
.assigned-block span {
    color: #797979;
    font-size: 13px;
    letter-spacing: 0;
}
.assigned-block h5 {
    color: #272727;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
}
.assigned-block a {
    color: #797979;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    border-bottom: 1px dashed #979797;
}
.assigned-btn {
    border-radius: 10px;
    background-color: rgb(44 129 255 / .21);
    color: #5664EA;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 13px;
    border: none;
}
.showtasks {
    border: none;
    outline: none;
}
#accordion .left-sidebar .card-body {
    padding: 0;
    border-bottom: 1px dashed #000;
}

/* Pagos y Contabilidad (Payments & Accounting) */
#submitpayreceive .card-box {
    padding: 12px;
    border: 1px solid #dddddd4a;
    border-radius: 4px;
}
#submitpayreceive .card-box label {
    margin-bottom: 0px;
}
.pay-detail-box {
    border: 1px solid #ddd;
    text-align: center;
    border-radius: 4px;
    margin-bottom: 15px;
    padding: 4px;
}
.pay-detail-box label {
    margin-bottom: 0px;
    font-size: 12px;
    letter-spacing: -.3px;
}

/* Custom Toggle Switch */
.altoggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 20px;
    background: #eee;
    border-radius: 50px;
    border: solid 0px transparent;
    background-clip: padding-box;
    cursor: pointer;
    margin: 0;
}
.toggle__bg {
    width: 34px;
    height: 16px;
    background: #fff;
    background: linear-gradient(to right, #fff 50%, #777 50% 100%);
    background-size: 200% 100%;
    background-position: 100%;
    border-radius: 50px;
    border: solid 0px transparent;
    background-clip: padding-box;
    box-shadow: inset 0px 2px 5px 1px hsl(0deg 0% 0% / 30%);
    transition: all 0s ease-in-out;
}
.toggle__sphere {
    position: relative;
    height: 15px;
    width: 15px;
    background: #777;
    background: linear-gradient(to right, #fff 50%, #777 50% 100%);
    border-radius: 50%;
    transform-origin: top left;
    transform: translateY(0px);
    transition: all 0.2s ease-in-out;
}
.altoggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.altoggle input:checked .toggle__bg .toggle__sphere {
    transform: translateX(20px) translateY(0px);
}

/* --- 5. TEMA CLARO (LIGHT THEME) --- */

body.light .card-body.custom-body-table .login-form ul li {
    margin-bottom: 20px;
}

body.light div#edit-customer-modal .iti__country-list {
    left: 5% !important;
    height: 200px !important;
    top: 42px !important;
    width: 250px !important;
    overflow-x: hidden;
}

body.light form#add_customer .iti__country-list {
    z-index: 999;
    width: 300px;
    overflow-x: hidden;
}

body.light .address_box label {
    width: 160px;
}

body.light .row.location-section .form-group.col-12.mb-1 input.form-control.address {
    width: 94%;
    margin: 0 auto 10px;
}

.light .navbar-custom .topnav-menu .nav-link {
    color: #696969;
}

.light .navbar-custom .button-menu-mobile {
    color: #000;
}

.light .btn-info {
    color: #fff;
    background-color: #6658dd;
    border-color: #6658dd;
    padding: 8px 20px;
    margin: 2px 0px;
}

body.light form#payment_option_form .switchery,
body.light form#payout_option_form .switchery {
    height: 20px;
    width: 40px;
}

body.light form#payment_option_form .switchery>small,
body.light form#payout_option_form .switchery>small {
    height: 20px;
    width: 20px;
}

body.light .alTaskType input, .alTaskType textarea, .alTaskType select {
    color: #6e7e8f;
}

body.light div#newadd .form-group.col-12.mb-1 input.form-control.address {
    width: 95%;
    margin: 0 auto 10px;
}

body.light .outter_bx {
    padding: 0 10px;
    border-radius: 5px;
    background: #00800024;
}

body.light .outter_bx p {
    color: #188118 !important;
    font-size: 14px;
}

body.light .custom-body-table .dt-buttons.btn-group.flex-wrap {
    float: right !important;
    position: absolute;
    right: 20%;
    top: 18px;
}
body.light div#agents-datatable_filter label {
    position: absolute;
    right: 40px;
    width: 15%;
    top: 25px;
}
body.light .card-body.custom-body-table .alert-success {
    margin: -3px 0 20px;
    z-index: 99999;
}



/* --- 6. TEMA OSCURO (DARK THEME) --- */

body.dark {
    background: #303841;
}

body.dark .navbar-custom {
    background: #3c4752;
}

body.dark .card.widget-inline p {
    color: #fff !important;
}
body.dark .login-form ul li button {
    width: 120px;
}
body.dark .login-form a.btn.btn-info.btn-sm {
    color: #fff;
    width: 120px;
    padding: 0.45rem 0.9rem;
}
body.dark .navbar-custom .topnav-menu .nav-link {
    font-weight: 400;
    color: #fff;
}
body.dark .iti__country-list {
    z-index: 999;
    min-width: 300px;
    width: 317px;
    overflow-x: hidden;
    height: 200px !important;
    width: 250px !important;
}
body.dark  .btn, .dark .btn-blue:not(:disabled):not(.disabled):active, .dark .btn-blue:not(:disabled):not(.disabled).active, .dark .show > .btn-blue.dropdown-toggle {
    color: #f2f2f2;
    border-radius: 50px;
    color: #36404a;
    background-color: rgb(247 184 75 / 82%);
    border-color: rgb(247 184 75 / 82%);
}
body.dark .btn, .dark .btn-blue:not(:disabled):not(.disabled):active, .dark .btn-blue:not(:disabled):not(.disabled).active, .dark .show > .btn-blue.dropdown-toggle {
    color: #fff;
}
body.dark .navbar-custom .btn.btn-blue.waves-effect {
    color: #fff;
}
body.dark button.btn.btn-blue.waves-effect.waves-light.openModal {
    color: #f2f2f2;
    width: auto;
    min-width: unset;
    max-width: unset;
}
body.dark div#pricing-datatable_wrapper button.btn.btn-secondary.btn-success.waves-effect.waves-light {
    color: #fff;
}
body.dark .table {
    color: #dbe9f9;
}
body.dark #sidebar-menu > ul > li > a{
    color: #dbe9f9;
}
body.dark #sidebar-menu .menu-title{
    color: #dbe9f9;
}
body.dark .custom-control-label::before {
    border: #dbe9f9 solid 1px;
}
body.dark .custom-switch .custom-control-label::after{background-color:#dbe9f9;}
body.dark div#edit-customer-modal h4,
body.dark div#edit-customer-modal label,
body.dark div#edit-customer-modal .form-control {
    color: #dbe9f9;
}
body.dark div#edit-customer-modal .form-control::placeholder{
    color: #a2b3c5;
}
body.dark a.btn.btn-success.btn-rounded.waves-effect.waves-light.editInput{
    color: #dbe9f9;
}
body.dark .modal-footer button.btn.btn-blue.waves-effect.waves-light.submitEditForm {
    color: #dbe9f9;
}
body.dark .card button.btn.btn-secondary.btn-success.waves-effect.waves-light {
    color: #dbe9f9;
}
body.dark .table thead th {
    font-size: 14px;
    vertical-align:middle;
}
body.dark .table th, .table td {
    font-size: 13px;
}
body.dark .select2-container--default .select2-selection--multiple{
    background:transparent !important;
}
body.dark #agents-datatable_wrapper table tr td a{
    color: #d4a34a !important;
}
body.dark button.showaccounting.btn.btn-primary-outline.action-icon.setcolor{
    color: #d4a34a !important;
}
body.dark .address_box span.short_name {
    color: #d3a24a;
}
body.dark .address_box label {
    width: 160px;
}
body.dark .alTaskType {
    background-color: #3b4651;
    border: none;
    border-radius: 7px;
}
body.dark .alTaskType input, .alTaskType textarea, .alTaskType select {
    border: 1px solid #6e7e8f !important;
    color: #dbe9f9;
}
body.dark a.add-sub-task-btn.waves-effect.waves-light.subTask{color: #dbe9f9;}
body.dark a.btn.pink_btn{
    color: #dbe9f9;
}
body.dark .site_link a span {
    color: #dbe9f9;
}
body.dark p.al_text_overflow {
    color: #dbe9f9;
}
body.dark .card-box{color: #dbe9f9;}
body.dark .sub-header{color: #dbe9f9;}
body.dark .header-title{color: #dbe9f9;}
body.dark label.control-label.col-6 {
    font-size: 20px;
}
body.dark .content .col-md-8.mx-auto .iti__country-list {
    left: 5% !important;
    height: 200px !important;
    top: 38px !important;
    width: 239px !important;
}
body.dark .content .col-md-8.mx-auto label{color: #dbe9f9;}
body.dark .content .col-md-8.mx-auto button{color: #dbe9f9;}
body.dark .content .col-md-8.mx-auto  option {
    font-size: 12px !important;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.dark table#teams-datatable{
    background: #36404a;
    border-radius: 10px;
}
body.dark .dt-buttons .btn.btn-secondary, .dt-buttons .btn.btn-secondary:focus, .dt-buttons .btn.btn-secondary:active {
    background: rgb(247 184 75 / 82%) !important;
    background: #d4a34a !important;
}
body.dark .btn-label, .btn-label:focus, .btn-label:active {
    background: rgb(247 184 75 / 82%) !important;
    background-color: #d4a34a !important;
}
body.dark div#team_agents_1 .dropdown-item{color: #dbe9f9;}
body.dark .edit-icon-div a {
    color: #d4a34a;
}
body.dark button.btn.btn-success.waves-effect.waves-light.saveaccounting{color: #dbe9f9;}
body.dark div#vehicle_type_idInputEdit .radio img,
div#vehicle_type_idInput .radio img {
    filter: invert(1);
}
body.dark div#add-agent-modal .iti__country-list {
    left: 12% !important;
    height: 200px !important;
    top: 40px !important;
    width: 300px !important;
}
body.dark #submitpayreceive .card-box label {
    margin-bottom: 0px;
    color: #000;
}
body.dark .content.dashboard-boxes button.btn.btn-info.waves-effect.waves-light.text-sm-right {
    color: #fff;
}
body.dark .switchery {
    height: 22px;
    width: 42px;
}
body.dark .switchery>small {
    height: 20px;
    top: 1px;
    width: 20px;
}
body.dark .geo_wrapper.geo_main button{color:#fff;}
body.dark form#logic_form button{color:#fff;}
body.dark form#edit_price span.select2-selection.select2-selection--multiple {
    background-color: transparent !important;
}
body.dark form#edit_price .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #d4a34a !important;
    border: 1px solid #d4a34a !important;
}
body.dark[data-sidebar-size=condensed] .logo-box {
    width: 70px !important;
    filter: invert(1);
}
body.dark .footer a.black {
    color: #d4a34a;
}
body.dark .tagsinput .focus {
    outline: 0 !important;
    box-shadow: none !important;
}
body.dark.modal-open .dropdown.bootstrap-select button.btn.dropdown-toggle.btn-light {
    border-radius: 2px;
    background: transparent;
    border-color: #cccccc1f;
}
body.dark[data-sidebar-size=condensed] .left-side-menu #sidebar-menu>ul>li:hover>a {
    color: #36404a;
    background-color: rgb(247 184 75 / 82%);
    box-shadow: inset 1px 1px 5px 0 #323a42;
}
body.dark .custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: rgb(247 184 75 / 82%);
    background-color: rgb(247 184 75 / 82%);
}
body.dark .radio-info input[type=radio]:checked label::after,body.dark .radio label::after {
    background-color: rgb(247 184 75 / 82%);
}
body.dark .radio-info input[type=radio]:checked label::before,body.dark .radio input[type=radio]:checked label::before{
    border-color: rgb(247 184 75 / 82%);
}
body.dark #sidebar-menu > ul > li > a:hover,body.dark #sidebar-menu > ul > li > a:focus,body.dark #sidebar-menu > ul > li > a:active,body.dark #sidebar-menu .menuitem-active .active {
    color: rgb(247 184 75 / 82%);
}
body.dark .action-icon .mdi-square-edit-outline{
    color: rgb(247 184 75 / 82%);
}
body.dark input#form-tags-4_tag {
    outline: 0 !important;
}
body.dark  #form-tags-4_tagsinput {
    background: #36404a;
    border-color:#666b70;
    border-radius: 4px;
}
body.dark .main_forms .selectize-control.single .selectize-input:after {
    transform: rotate(359deg) !important;
}
body.dark .main_forms .selectize-control.single .selectize-input.dropdown-active:after{
    border-color:transparent transparent #fff transparent;
}
body.dark .btn.btn-primary-outline.action-icon {
    background: transparent;
    border: 0;
    color: rgb(247 184 75 / 82%) !important;
}
body.dark .tagsinput{
    background-color: transparent;
    border-color: rgb(247 184 75 / 82%);
}
body.dark table#teams-datatable tr td a {
    color: #dbe9f9 !important;
    font-size: 13px;
}
body.dark form#StoreSubadmin label{
    color: #dbe9f9 !important;
}
.dark .login-form label{
    background-color: #00000036;
    color: rgb(247 184 75 / 82%);
}
.dark .login-form input[type="radio"]:checked+label {
    border-color: #d5a34c;
}
body.dark .col-md-12.main_form button#pay-to-driver {
    color: #fff;
}
body.dark .col-md-12.main_form span.total_commission {
    color: #d5a44c;
}
body.dark .datetime_div i {
    color: #d3a34a;
}
.dark ul.dtr-details {
    display: flex;
    align-items:center;
}
.dark ul.dtr-details li {
    width: 25%;
}
.dark .gm-style .gm-style-iw-c {
    background-color: #333c44;
}
.dark .gm-style .gm-style-iw-t::after {
    background: linear-gradient( 45deg,rgb(48 56 64) 50%,rgb(51 60 68) 51%,rgb(48 56 64) 100%);
    box-shadow: -2px 2px 2px 0 rgb(178 178 178 / 40%);
}
.dark .user_name label,.dark .user_info i {
    color: #d5a44c;
}
body.dark .input-group-text {
    color: #d3a14a;
}
.dark .add-sub-task-btn{
    background-color: rgb(247 184 75 / 82%);
    color:#fff;
}
.dark .add-sub-task-btn:hover{
    border-color: rgb(247 184 75 / 82%);
    background-color: rgb(247 184 75 / 60%);
}
.dark .selectize-dropdown,.dark .selectize-input,.dark .selectize-input input{
    color: #94a0ad;
}
.dark .selectize-control.single .selectize-input:after{
    border-color: #94a0ad transparent transparent transparent;
    transform: rotate(360deg);
}
.dark .assigned-block h5 {
    color: #94a0ad;
}
.dark .table h5, .dark .card-box h5 {
    color: #dadfe3 !important;
}
.dark #AddAttributeBox h5 {
    color: #dbe9f9 !important;
}
.dark #AddAttributeBox td {
    padding: 0;
}
.dark .selectize-input.items input:after{
    transform: rotate(-180deg) !important
}
.dark .toggle__bg {
    background: #2f3740;
}
.dark .toggle__sphere {
    margin-left: 20px;
}
.dark td.sorting_1.dtr-control a{color:#d4a34a;}
body.dark div#newadd .form-group.col-12.mb-1 input.form-control.address {
    width: 95%;
    margin: 0 auto 10px;
}
body.dark form#taskFormHeader .edit-icon-float-right {
    color: #fff;
}
body.dark span.iti__country-name {
    color: #000000a8;
}
body.dark .modal-title {
    margin-top: 0;
    color: #dbe9f9 !important;
}
body.dark label{ color: #dbe9f9; }
body.dark h1, body.dark h2, body.dark h3, body.dark h4, body.dark h5{color: #dbe9f9;}
body.dark div#edit_page_content button{color:#fff;}
body.dark .outter_bx {
    background-color: #262c33;
    padding: 0 10px;
    border-radius: 5px;
}
body.dark .outter_bx p {
    color: #d5a44c;
    font-size: 14px;
}
body.dark .alert-success { margin: 10px; }
body.dark button.btn, body.dark a.btn {
    color: #fff;
}
body.dark .bootstrap-select .dropdown-toggle .filter-option-inner-inner {
    color: #fff;
}
body.dark .main_form .select2-container--default .select2-selection--single {
    border: 1px solid #ced4da !important;
    background-color: transparent !important;
}
body.dark .alTaskType { background-color: transparent; }
body.dark .alTaskType input, .alTaskType textarea, .alTaskType select {
    color: #acbfd2;
}
body.dark .edit-icon-float-right{ color: #acbfd2; }
body.dark .alTaskType.active { border: 1px solid #d4a34a; }
body.dark .side_head .radio-primary input[type=radio]:checked + label::before { border-color: #d5a44c; }
body.dark .side_head .radio-primary input[type=radio]:checked + label::after { background-color: #d5a44c; }
body.dark .logo-box { filter: invert(1); }
body.dark #vehicle_type_idInput .form-check-inline,
body.dark #vehicle_type_idInputEdit .form-check-inline {
    filter: invert(1);
}
body.dark a.editSubscriptionPlanBtn { color: #d2a149; }
body.dark .edit-icon-div a{ color: #d2a149; }
body.dark div#add-pricing-modal .select2-container--default .select2-selection--multiple,
body.dark div#edit-price-modal .select2-container--default .select2-selection--multiple{
    background-color: transparent !important;
}
body.dark .left-sidebar #accordion .card-header:hover, .left-sidebar #accordion .card-header:focus, .left-sidebar #accordion .card-header:visited {
    background: #4a5158;
}
body.dark .table { color: #dbe9f9; }
body.dark .card-body.custom-body-table div#agents-datatable_wrapper select#agent_name_id {
    color: #dbe9f9 !important;
}
body.dark .copyin1 { background-color: #f4f3fd00; }
body.dark #form-tags-1_tagsinput { border-color: #cccccc59; }
body.dark .tagsinput div input{ color:#dbe9f9 !important; }
body.dark .geo_bottom_btns button { color: #fff !important; }
body.dark .logo span.logo-lg img { filter: invert(1); }

/* --- 7. DISEÑO RESPONSIVO (MEDIA QUERIES) --- */

@media(max-width:1670px) {
    div#agent_route_container .card-body.ui-sortable-handle .assigned-block .col-12.d-flex {
        flex-wrap: wrap;
    }
}
@media(max-width:1600px) {
    div#scrollbar .side_head > .d-flex .form-check-inline {
        margin: 0 auto!important;
    }
    #accordion .card-body .assigned-block h6{
        margin-left:0;
        width:100%;
    }
    .left-side-menu{
        width:210px;
    }
    .dshboard .content-page{
        margin-left: 210px;
        padding-left: 0!important;
    }
    .left-sidebar #teams_container .card .card-header{
        grid-gap: 0;
        padding:10px;
    }
    body.dark .custom-body-table .dt-buttons.btn-group.flex-wrap {
        position: absolute;
        top: 76px;
        margin-right: 100px !important;
        z-index: 1;
    }
    .main_form {margin-top: 20px;}
    body.dark .custom-body-table .dataTables_scroll { margin-top: 70px; }
    body.dark div#agents-datatable_filter label {
        position: absolute !important;
        right: 30px;
        top: 80px;
        width: 25%;
    }
    body.light .custom-body-table .dt-buttons.btn-group.flex-wrap {
        position: absolute;
        top: 20px;
        left: auto;
        right:0px;
        z-index: 1;
    }
    .dt-bootstrap4 { margin-top: 20px; }
    body.light .custom-body-table .dataTables_scroll { margin-top: 70px; }
    body.light div#agents-datatable_filter label {
        position: absolute !important;
        right: 30px;
        top: 80px;
        width: 25%;
    }
}

@media(max-width:1440px){
    .content-page{margin-left: 200px;}
    .bulkupload { margin-top: 10px; }
    .nagtive-margin .dt-bootstrap4{margin-top:0px !important;}
    body.light .outter_bx { margin-top: 20px; }
    body.light ul#top-tab { margin-top: 30px; }
    body.light .dropify-wrapper .dropify-message { top: 50px; }
    .del-add-card { position: absolute; right: 0; }
    body.light .card-body.custom-body-table div#agents-datatable_filter label {
        top: 6%;
        right: 8px;
        left: auto !important;width:max-content;
    }
    body.light .custom-body-table .dt-buttons.btn-group.flex-wrap {
        position: absolute;
        top: 0px;
        z-index: 1;
        right: 20px;left: auto !important;top:1%;
    }
    body.light .custom-body-table .dataTables_scroll { margin-top: 40px; }
}

@media(max-width:1366px) {
    .iphad-space { margin-top: 60px; }
    body.light .card-body.custom-body-table div#agents-datatable_filter label{ top:5% !important; }
    .content-page{margin-left: 200px;}
    .left-sidebar #teams_container .card .card-header{ grid-template-columns: 1fr; }
    #map-canvas { height: calc(100vh - 284px); }
    body[dir="rtl"] .geo_middle{
        height: calc(100vh - 650px);
        margin-bottom: 10px;
    }
    body[dir="rtl"] .card_outer{ height: auto !important; }
    .page-title-box { padding-top: 60px; }
}

@media(max-width:1140px){
    .radio label::before{width:12px;height:12px;top:3px;}
    .radio label::after{width:6px;height:6px;top: 6px;
        left: 5px;}
    .side_head .mdi.mdi-sync{font-size: 18px;}
    .row.coolcheck.no-gutters .radio label{margin-right: 10px !important;padding-left: 0px;}
    .pick_drop_item_list{padding: 6px 15px 6px 25px;}
    .login-form ul li {margin: 4px 3px !important;}
}

@media(max-width:1024px){
    .login-form ul li{margin-right:2px;}
    .row.coolcheck.no-gutters .radio label{
        font-size: 10px;margin-right:6px !important;
        padding:2px 0px 0px 0px;
    }
    .iphad-space {padding-top: 50px;}
    .radio label::before{width: 14px;height: 14px;}
    .side_head .mdi.mdi-sync{font-size: 16px;}
    .radio label::after{width:6px;height: 6px;top: 7px;
        left: 6px;}
    .left-sidebar #teams_container .card .card-header .row {align-items: center;    }
    body.light .card-body.custom-body-table .login-form ul li {margin: 4px 2px !important;}
    .custom-checkbox .col-2{padding: 0 0 0 0px;}
    .custom-checkbox .col-10 {width: 119px;padding-right: 0; }
}

@media(max-width:991px){
    body{padding-bottom:0px !important;}
    .left-side-menu {
        display: none;
        z-index: 1000 !important;
    }
    .card_outer { height: auto !important; }
    .geo_middle { height: 300px !important; }
    body[dir="rtl"] .geo_middle{
        height: 120px;
        margin-bottom: 10px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    body {padding-bottom: 100px !important;}
    .map-wrapper .contant {
        width: 90%;
        height: 100px;
        padding: 10px;
    }
    body.light .custom-body-table .dt-buttons.btn-group.flex-wrap {
        z-index: 1;
        right: 34% !important;
        left: auto !important;
        top: 4% !important;
    }
    .main_form .login-form label { min-width: 78px !important; }
}

@media(max-width:767px){
    .logo-box { position: absolute; }
    ul.list-unstyled.topnav-menu.topnav-menu-left.m-0 { position: absolute; left: 64px; }
    .page-title-box .page-title {
        padding-left: 0;margin-left:0px;
    }
    .login-form ul li {
        width: 45%;
        margin-bottom: 15px;
    }
    .login-form label {
        width: 100%;
        padding: 8px !important;
    }
    .card-body.custom_body_card .dataTables_filter label { width: 50% !important; }
}

@media (max-width: 576px) {
    body.light .custom-body-table .dt-buttons.btn-group.flex-wrap{ visibility: hidden; }
    .mobile-attribute-rwd {
        flex: 100% !important;
        max-width: 100%;
    }
    .content-page{overflow-y: unset;}
    .navbar-custom .topbar-dropdown { display: none; }
    body.light .card-body.custom-body-table div#agents-datatable_filter label{visibility: hidden;}
}

@media (max-width:320px){
    .geo-input_fence button.btn.btn-info{
        padding: 0px 5px;
    }
    .radio.radio-primary.form-check-inline {
        width: 100%;
        margin: 10px;
        text-align: center;
        display: unset;
    }
    .radio label::before{top:0px !important;}
    .radio label::after{top: 4px !important;left: 6px !important;}
    body {padding-bottom:0px !important;}
}

@media only screen and (min-width: 768px) and (max-width:1366px) {
    body.dark[data-sidebar-size=condensed] .left-side-menu #sidebar-menu > ul > li > a {
        padding: 10px 20px;
        min-height: 10px;
        transition: none;
    }
    body.dark[data-sidebar-size=condensed] .left-side-menu #sidebar-menu > ul > li > a svg {
        width: 18px;
        height: 18px;
        margin-left: 6px;
    }
}
