:root {
    --primary-500: #FF4D00;
    --primary-400: #6A9C89;
    --primary-300: #C1D8C3;
    --primary-200: #C6DBF5;
    --primary-100: #ECF0F5;
    --secondry-100: #F1F7F0;
    --logo-500: #030e2a;
    --error: #f64e60;
    --success: #198754;
}

.btn-primary {
    border-color: var(--primary-500);
    background-color: var(--primary-500);
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.swal2-icon::before{
    font-size: inherit !important;
}

:is([dir=ltr] .swal2-popup .swal2-html-container) {
    padding-right: unset!important
}

:is([dir=rtl] .swal2-popup .swal2-html-container) {
    padding-left: unset!important
}

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

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

.swal2-popup .swal2-styled.swal2-confirm {
    background-color: var(--success);
}

.swal2-popup .swal2-styled.swal2-cancel {
    color: var(--error);
}

.swal2-popup .swal2-html-container {
    margin-top: 15px !important;
    color: #787878;
}

.swal2-popup .swal2-styled{
    min-width: 100px;
}

.switch input:empty~span:before {
	/*EEE5FF*/
    background-color: #DECCFF;
}
.form-control {
	border: 1px solid #D9D9D9;
}
.border-right-1 {
    border-right: 1px solid gainsboro;
}

/* sticky footer */
div.card-footer {
    position: sticky;
    left: 0;
    bottom: 0;
    width: 100%;

}
/* Hide Input Number Arrows */

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.text-dark-50 {
	color: #646676!important;
}

/* Tree view css */
.k-checkbox.k-state-indeterminate, .k-checkbox:indeterminate {
    color: #3c3b90 !important;
}
.k-checkbox {
    color: #3c3b90 !important;
}
.k-checkbox:checked {
    color: #3c3b90 !important;
}
.k-checkbox:hover {
    color: #3c3b90 !important;
}
.k-checkbox:checked:focus {
    box-shadow: 0 0 3px 0 #3c3b90 !important;
    border-color: #3c3b90 !important;
}
.k-checkbox:focus {
    box-shadow: 0 0 3px 0 #3c3b90 !important;
    border-color: #3c3b90 !important;
}
.k-treeview-leaf.k-selected.k-hover, .k-treeview-leaf.k-selected:hover {
    background-color: #3c3b90 !important;
}
.k-treeview-leaf.k-selected {
    background-color: #3c3b90 !important;
}
/* ------------- */

/* Css class for Filter Info */
.filterInfo {
    text-align: center; 
    padding-bottom: 20px;
    font-size: 16px;
}
/* ------------- */

/*css class for remove filter data*/
.remove-filter:hover{
    text-decoration: line-through !important;
}
/*end remove filter*/

.select2-container--disabled{
    background-color: #f3f6f9;
    border-color: #f3f6f9;
    color: #3f4254;
    font-weight: 500 !important;
}

table.dataTable tbody tr:hover {
  background-color: #F3F6F9 !important;
}

table.table-separate tbody tr:hover {
  background-color: #F3F6F9 !important;
}
.error{
    color: var(--error)!important;
}

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

.peer:checked~.peer-checked\:bg-success {
    background-color: var(--success);
}

.file-upload-container:has(input.error) {
    border-color: var(--error)!important;
}

.select2-section-cus:has(select.error) .select2-selection__rendered {
    border-style: dashed!important;
    border-color: var(--error)!important;
}

.form-input.error, .nice-select.error {
    border-style: dashed!important;
    border-color: var(--error)!important;
}

.table-scroll{
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}
.f-13{
    font-size: 13px !important;
}
.json-beautifier { white-space: pre; font-family: monospace; }
.p-8px{
    padding: 8px !important;
}
.border-bottom-dotted{
    border-bottom: 1px dotted !important;
}
.border-bottom-top-solid{
    border-bottom: 1px solid !important;
    border-top: 1px solid  !important;
}
.sans-serif-font{
    font-family: sans-serif !important;
}
.text-black{
    color: black !important;
}
.inactiveLink {
    pointer-events: none !important;
    cursor: default !important;
}
.border-collapse{
    border-collapse: collapse;
}
.select2-container--default .select2-results__option[aria-selected=true]{
    background: #c7ccdd !important;
    color: #3f4254 !important;
}
.select2-container--default .select2-results__option.select2-results__option--highlighted {
    background: #c7ccdd !important;
    color: #3F428B;
}

/* new custom css */



.font-lexend{
    font-family: 'Lexend', sans-serif;
}

.font-semibold {
    font-weight: 500;
}

label {
    font-weight: 500;
}

.bg-theme-500 {
    background: var(--primary-500);
}

.text-theme-500{
    color: var(--primary-500);
}

.bg-theme-400 {
    background: var(--primary-400);
}

.bg-theme-300 {
    background: var(--primary-300);
}

.bg-theme-200 {
    background: var(--primary-200);
}

.bg-theme-100 {
    background: var(--primary-100);
}

.bg-theme-light {
    background: #ffffff;
}

.form-input:focus, .form-multiselect:focus, .form-select:focus, .form-textarea:focus, .nice-select:focus, .nice-select .nice-select-search:focus {
    border-color: var(--primary-500);
}

.text-primary {
    color: var(--primary-500);
}


.text-account {
    color: var(--primary-400);
}

.btn-secondary {
    background: var(--primary-400);
    border-color: var(--primary-400);
}

/* table tfoot tr, table thead tr {
    background-color: var(--secondry-100)!important;
} */

.sidebar .nav-item a div:first-child svg, .sidebar .nav-item button div:first-child svg {
    color: #070707 !important
}

.sidebar .nav-item>a.active, .sidebar .nav-item>button.active ,.sidebar .nav-item>button.active span, .sidebar .nav-item>button.active div:first-child svg {
    background-color: var(--primary-500);
    color: #ffffff !important;
}

.sidebar .nav-item>a.active, .sidebar .nav-item>a.active ,.sidebar .nav-item>a.active span, .sidebar .nav-item>a.active div:first-child svg {
    background-color: var(--primary-400);
    color: #ffffff !important;
}

.sidebar ul.sub-menu li a:hover, .sidebar ul.sub-menu li button:hover {
    background-color: #00000014;
    color: var(--primary-500);
    border-radius: 6px;
}

.sidebar ul.sub-menu li a:hover:before, .sidebar ul.sub-menu li button:hover:before {
    background-color: #ffffff !important;
}

.top-header-cs .bg-white-light\/40{
    background-color: #ffffff !important;
}

.top-header-cs .hover\:text-primary:hover {
    color: #3b6932 !important;
}


.error.text-danger{
    margin-left: 10px;
    margin-left: 5px;
    margin-top: 5px;
    font-size: 12px;
}

.btn-border-danger{
    --tw-border-opacity: 1;
    border-color: rgb(231 81 90/var(--tw-border-opacity));
    --tw-text-opacity: 1;
    color: rgb(231 81 90/var(--tw-text-opacity));
    --tw-shadow-color: #e7515a99;
    --tw-shadow: var(--tw-shadow-colored);
    cursor: pointer;
}

.btn-light {
    background: white;
    color: black;
    box-shadow: unset;
    border-color: #999999;
    border-radius: 50px
}

.nice-select .current{
    font-weight: 600;
    color: black;
}
.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple{
    border: unset!important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered, .select2-container .select2-selection--multiple .select2-selection__rendered{
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    background-color: #fff;
    border-radius: 5px;
    border: solid 1px #e8e8e8;
    box-sizing: border-box;
    clear: both;
    cursor: pointer;
    display: block !important;
    float: left;
    font-family: inherit;
    font-size: 14px;
    font-weight: normal;
    height: 38px;
    line-height: 36px!important;
    outline: none;
    padding-left: 18px !important;
    padding-right: 30px !important;
    position: relative;
    text-align: left !important;
    transition: all .2s ease-in-out;
    user-select: none;
    white-space: nowrap !important;
    width: 100%;
    font-weight: 600;
}

.select2-container .select2-search--inline .select2-search__field{
    margin-top: unset !important;
    margin-left: unset !important;
    height: auto !important;
}
.select2-container .select2-selection--multiple .select2-selection__rendered{
    /* display: flex !important; */
    padding: 0px 10px !important;
    height: auto;
    padding-bottom: 4px !important;
}

.disabled-container {
    pointer-events: none;
}

.disabled-container .select2-selection__rendered {
    background: #f7f7f7 !important;
}

.file-title{
    color: var(--primary-500);
    font-size: 10px;
    text-align: left;
}

.file-name{
    font-size: 14px;
}

.select2-container--disabled .select2-selection__rendered{
    background: #f7f7f7 !important;
}

.select2-container .select2-selection--multiple .select2-selection__rendered .select2-search--inline{
    margin-left: 5px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
    padding: 0 8px !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice{
    padding-left: 40px !important;
    padding-right: 10px !important;
    line-height: 27px !important;
    max-height: 28px !important;
    margin-top: 4px !important;
    float: left;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 25px !important;
    top: 6px !important;
    right: 10px !important;
    width: 20px !important;
}

.select2-container--open .select2-dropdown--below {
    border-top: 1px solid #e0e6ed !important;
    border: 1px solid #e0e6ed;
    border-radius: 5px!important;
    overflow: hidden;
}

.select2-container--open .select2-dropdown--above{
    border-bottom: 1px solid #e0e6ed !important;
    border: 1px solid #e0e6ed;
    border-radius: 5px!important;
    overflow: hidden;
}

input:focus-visible {
    outline: none!important;
}


.select2-results__option {
    padding: 0!important;
    cursor: pointer;
    font-weight: 400;
    line-height: 40px;
    list-style: none;
    outline: none;
    padding-left: 18px!important;
    padding-right: 29px!important;
    text-align: left;
    transition: all .2s;
}

.select2-container--default .select2-results__option.select2-results__option--highlighted {
    background: #f6f6f6 !important;
    color: #000000!important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background: #f6f6f6 !important;
    color: #000000 !important;
    font-weight: 600;
}


/* file upload */
.file-upload-container {
    text-align: center;
    border: 1px dashed #e0e6ed;
    border-radius: 10px;
    background: #e0e6ed21;
    padding: 0 10px;
  }
  .upload-section {
    width: 100%;
    cursor: pointer;
    margin-bottom: 10px;
  }
  
  .image-container {
    position: relative;
  }
  
  .uploaded-image {
    width: 70px;
    height: 70px;
    margin: 0 auto;
  }
  

  
  .hidden-input {
    /* display: none; */

    visibility: hidden;
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  
  .upload-text {
    /* margin-bottom: 10px; */
    margin: 0px 10px 5px;
  }

  .upload-text  .sm-text{
    font-weight: 300;
    font-size: 12px;
  }


  input[readonly] {
    background-color: #f7f7f7;
  }
  
  .flatpickr-day.selected{
    background: var(--primary-500) !important;
    color: #fff!important;
    border-color: var(--primary-500)!important;
  }

  .flatpickr-weekdays{
    background: var(--primary-500) !important;
  }

  span.flatpickr-weekday{
    color: #fff!important;
  }
  .flatpickr-days{
    padding-top: 5px;
    background: var(--primary-100);
  }

  .flatpickr-day.today {
    border-color:var(--primary-500);
}

/* edit btn on the table  */

.dt-edit-text {
    text-decoration: none;
    color: var(--primary-500);
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-right: 25px; /* Space for the icon */
}

.dt-edit-text::before {
    content: url('../assets/images/icons/edit.svg'); /* Use the path to your SVG icon */
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-60%);
    width: 16px; /* Adjust the width of the icon */
    height: 16px; /* Adjust the height of the icon */
    opacity: 0; /* Initially hide the icon */
    transition: opacity 0.3s ease; /* Add a smooth transition effect */
}

.dt-edit-text:hover::before {
    opacity: 1;
}
.float-left{
    float: left !important;
}
#swal2-html-container{
    margin-top:20px !important;  
}
.swal2-icon-content{
    display: none !important;
}

.file-view-sec{
    border: 1px solid #e8e8e8;
    padding: 10px;
    border-radius: 0.375rem;
    background: #fafafa;
}

.file-view-sec label{
    background: #e8e8e8;
    padding: 5px 10px;
    border-radius: 0.3rem;
    margin: 0;
    
}

.file-view-sec .work-order-file-link {
    padding: 0 10px;
}

.peer:checked~.peer-checked\:bg-primary{
    background-color: rgb(0 128 0/var(--tw-bg-opacity));
}

.sec-titles label {
    border-radius: 0.375rem;
    background: var(--primary-500);
    padding: 12px 10px;
    color: white;
    font-size: 16px;
    font-weight: 700;
}

.hover-icons:hover svg {
    fill: white !important;
}

.repeater-error .error.text-danger{
    font-size: 8px;
    margin: 0;
}

.bottom-cbm-row{
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
    padding: 20px;
    box-shadow: 0px 0px 5px #b5b5b5;
    background: white;
    width: 100%;
}

.fileCustomPadding{
    padding-top: 5px;
    padding-bottom: 5px;
}


.bde_team, .lde_team{
     min-height: 100%;
}

 .scrollable-area {
    /* padding-left: 20px;
    padding-right: 20px; */
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
}

.scrollable-area .panel {
    padding-bottom: 0px !important;
}


.sortable-ghost {
    opacity: 0.4;
    background: #ccc;
    border: 2px dashed #000;
}

.sortable-drag {
    border: 2px solid var(--primary-500);
}
.ltr-right-70 {
    right: -70% !important;
}

.max-w-70{
    max-width: 70% !important;
}



.nav-transition {
    transition-duration: 500ms; /* 5000 milliseconds */
}

.chat-placeholder {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: black;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

body.no-scroll {
    overflow: hidden;
}

.input_desc{
    padding: 10px 5px;
    width: 100%;
}
.label_title{
    font-weight: 700;
}

.scrolled-tiled{
    
    height: calc(100vh - 210px);
    overflow: hidden;
    overflow-y: auto;
}


.scroll-sensitive {
    position: relative;
  }
  
  .scroll-sensitive::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30px; /* Width of the scroll-sensitive area */
    background-color: rgba(255, 0, 0, 0.2); /* Change this color as needed */
    display: none; /* Initially hidden */
  }
  
  .scroll-sensitive.active::after {
    display: block; /* Show when active */
  }

  .dataTable-table thead tr th {
    font-size: .875rem;
    font-weight: 500 !important;
    border-bottom: none !important ;
  }


  .dataTable-input-cs, .dataTable-selector-cs{
    width: auto;
    background-color: #fff !important;
    color: #0e1726;
    border-color: #e0e6ed !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    border-width: 1px !important;
    outline: none !important;
  }

  .dataTable-selector-cs{
    margin-left: 15px;
  }

  .w-full{
    width: 100% !important;
  }

  .dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 100px !important;
    border: 1px solid #b6b6b6 !important;
    margin-left: 5px !important;
}

    .dataTables_wrapper .dataTables_paginate .paginate_button:hover{
        background: var(--primary-300) !important ;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover{
        background: #ffffff !important;
    }
    
    .dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active{
        color: #dbdbdb !important;
    }

    /* .sorting{
        position: relative;
    }

    .sorting:before {
        border-top: 5px solid #0e1726;
        bottom: 4px;
    }

    .sorting:after {
        border-bottom: 5px solid #0e1726;
        border-top: 5px solid #0000;
        top: -2px;
    }


    .sorting:after, .sorting:before {
        content: "";
        height: 0;
        width: 0;
        position: absolute;
        border-left: 5px solid #0000;
        border-right: 5px solid #0000;
        opacity: .2;
    } */

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{ 
    background: var(--primary-400) !important ;
    color: #ffffff !important;
}


.dataTable thead th.sorting,
.dataTable thead th.sorting_asc,
.dataTable thead th.sorting_desc {
    background-image: none !important;
}



.dataTable thead th.sorting::after {
    content: '▲▼'; /* Icons for both directions when unsorted */
    color: #cccccc;
    font-size: 10px;
    margin-left: 5px;
}

/* Custom icon for ascending sort */
.dataTable thead th.sorting_asc::after {
    content: '▲'; /* Icon for ascending */
    color: var(--primary-500);
    font-size: 10px;
    margin-left: 5px;
}

/* Custom icon for descending sort */
.dataTable thead th.sorting_desc::after {
    content: '▼'; /* Icon for descending */
    color: var(--primary-500);
    font-size: 10px;
    margin-left: 5px;
}
