/*Write your custom css in this file.*/
.datepicker {
    z-index: 9999 !important;
}
.modal-dialog-compact {
    max-width: 400px;
}
.upload-file-button-muted {
    color: #7988a2;
}
.cart-grid-item .cart-grid-item-image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.cart-grid-item .store-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-item-image-container .cart-item-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}
.cart-item-quantity-control {
    width: 92px;
}
.store-empty-state {
    min-height: 400px;
}
.store-empty-state-content {
    vertical-align: middle;
}
.store-empty-icon {
    color: #d8d8d8;
}
.public-store-setting-image-preview {
    display: block;
    width: 100%;
    object-fit: cover;
    border: 1px solid #e4e9ef;
    border-radius: 5px;
}
.public-store-setting-image-preview-wide {
    max-width: 520px;
    max-height: 180px;
}
.checkbox-checked {
    width: 15px;
    height: 15px;
    /* border: 2px solid rgba(166, 166, 166, 0.2); */
    background-size: 12px 10px;
}
.checkbox-blank {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(166, 166, 166, 0.2);
    border-radius: 1px;
}
.min_height_35{
    min-height : 35px;
}
.w40p {
    width: 40%;
}
.card table .badge {
    margin-top: 0px;
}
.badge {
    font-size: 75%;
}
.py-4 {
    padding-top: 1.1rem!important;
    padding-bottom: 1.5rem!important;
}
.dataTable .badge {
    margin-bottom: 0px;
}
.dataTable .badge.badge-normal{
    white-space: normal;
}

table.dataTable tbody th, table.dataTable tbody td {
    padding: 10px 10px !important;
}
.general-form .form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}
.general-form .form-control {
    background-color: #ffffff;
    opacity: 1;
}
.dataTables_empty{
    padding: 15px 10px !important;
    text-align: center;
}
/* table.dataTable.display tbody th, table.dataTable.display tbody td,table.dataTable.no-footer tbody td {
    border-top: 1px solid #0000003d !important;
} */
.selectedreadonly{
    pointer-events: none;
    touch-action: none;
}
/* .display.dataTable thead{ 
    background: #38a4f8;
    border: 1px solid #38a4f8;
    --bs-text-opacity: 1;
    color: rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important;
} */
.w3p {
    width: 3%; 
}
.w4p {
    width: 4%; 
}
.w8p {
    width: 8%; 
}
a.disabled{
    pointer-events: none;
}
.collapse-title {
    position: relative;
  }
    
  .collapse-title::after {
    content: "+";
    top: 0px;
    right: 0px;
    position: absolute;
    padding: 0px 10px;
    font-weight: bold;
    color: #fff;
    font-size: 18px;
  }
  
  .collapse-title[aria-expanded="true"]::after {
    content: "-";
  }

/* table.dataTable tbody>tr.selected, table.dataTable tbody>tr>.selected{ */
    /* background: #38a4f8; */
    /* border: 1px solid #38a4f8; */
/* } */
.dataTable tbody tr:hover.selected td {
    color: #4e5e6a !important;
}
table.dataTable tbody td.select-checkbox:before, table.dataTable tbody th.select-checkbox:before {
    content: ' ';
    margin-top: -6px;
    margin-left: -6px;
    border: 2px solid rgba(166, 166, 166, 0.2);
    border-radius: 3px;
}
table.dataTable tbody td.select-checkbox:before, table.dataTable tbody td.select-checkbox:after, table.dataTable tbody th.select-checkbox:before, table.dataTable tbody th.select-checkbox:after {
    display: block;
    position: absolute;
    top: 1.2em;
    left: 50%;
    width: 20px;
    height: 20px;
    box-sizing: border-box;
}
.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #38a4f8;
}
.general-form .form-control::placeholder {
    font-size: 12px;
    color: #4e5e6a5e;
  }
  .form-control{
    color: #4e5e6a !important;
  }
  label{
    font-size: 12px;
    color: #4e5e6a;
}
.general-form .form-control {
    font-size: 12px;
    border-color: #7877774d;
}
.general-form .unit-type-drop {
    border-color: #7877774d;
}
.general-form .select2-container .select2-choice,.general-form .select2-container .select2-choices,.general-form .select2-container .select2-choices .select2-search-field input{
    border-color: #7877774d !important;
}
.general-form input,.general-form textarea{
    border-color: #7877774d !important;
}
.general-form.white .select2-container .select2-choice,.general-form.white .select2-container-multi.form-control{
    border-color: #7877774d !important;
}
.general-form textarea.form-note{
    height: 35px;
}
/* table.dataTable.row-border tbody td{
    border: 1px solid #0000003d;
    background-color: #fff;
    color : #000 !important;
} */
/* table.dataTable.row-border thead th
{
    background: #38a4f8;
    border: 1px solid #38a4f8;
    --bs-text-opacity: 1;
    color: rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important;
} */
.btn-warning{
    background: #ffb822 !important;
    border-color: #ffb822 !important;
}
.capitalize{
    text-transform: capitalize;
}
.app-alert.animate {
    top: 0 !important;
    height: 55px;
    z-index: 9999;
}
.back-btn{
    width: auto;
    height: auto;
    z-index: auto;
    position: static;
    bottom: auto;
    right: auto;
    box-shadow: none;
    border-radius: 4px;
    text-align: center;
    padding: 0.45rem 0.75rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.back-btn .back-btn-label{
    line-height: 1;
}
.form-control-timesheet {
    text-align: center;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #f2f4f6;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.app-alert-message{
    max-width: 100%;
}
#client-form #address{
    height: 45px;
}
/* .sidebar{
	font-size: 13px;
} */
.form-group #remark{
	height: 100px !important;
}
.modal-w20{
    width: 50%;
}
.edit-image-file.vehicle .delete-saved-file {
    top: -10px !important;
    left: 90% !important;
    min-width: 25px;
    padding: 3px 4px;
    display: unset;
}
.edit-image-file.vehicle .download-saved-file {
    top: -10px !important;
    left: 90% !important;
    min-width: 25px;
    padding: 3px 4px;
    display: unset;
}
.edit-image-file .download-saved-file:hover{
    background: #0ABB89;
    color: #fff;
    border: 1px solid #0ABB89;
}
.edit-image-file.vehicle {
    height: 120px !important;
}

/* The container */
.container-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 50px;
}

/* Hide the browser's default checkbox */
.container-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom checkbox */
.container-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 50px;
    width: 50px;
    background-color: #eee;
    border-radius: 30px;
    border: 3px solid #cdc8c8;
}

/* On mouse-over, add a grey background color */
.container-checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container-checkbox input:checked ~ .checkmark {
    background-color: #2196F3;
    border: 1px solid #2196f3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.container-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container-checkbox .checkmark:after {
    left: 17px;
    top: 10px;
    width: 12px;
    height: 25px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.toggle.ios, .toggle-on.ios, .toggle-off.ios { border-radius: 20rem; }
.toggle.ios .toggle-handle { border-radius: 20rem; }
.toggle.btn {
    min-width: 4.7rem;
}
#date_filter,#staff_category{
    background-color: #fff;
}
.checkinoutcls .toggle.btn{
    min-width: 4.8rem;
}
.undo_leave_class .toggle.btn{
    min-width: 10.8rem;
}
html, body{
    color : #7d8489 !important;
    /* font-size: 12px !important; */
}
.btn {
    font-size: 12px !important;
}

.th-icon a{
    cursor: pointer;
    min-width: 28px;
    background: #fff;
    color: #a1a3a5;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    text-align: center;
    margin: 0 5px;
    padding: 2px 0 2.5px 0;
    border: 1px solid #e2e7f1;
    font-size: 14px;
}

.th-icon a:hover {
    background: #0ABB87;
    color: #fff;
    border: 1px solid #0ABB87;
}
.th-icon a.delete:hover {
    background: #FD397A;
    color: #fff;
    border: 1px solid #FD397A;
}
.th-edit-delete .div-edit-delete {
    display: none;
  }

/* Hide language and favorite-client topbar icons on small-tablet through small-laptop widths */
@media (max-width: 1366px) {
    #topbar-language-dropdown,
    #topbar-favorite-clients {
        display: none !important;
    }
}
  
  .th-edit-delete:hover .div-edit-delete {
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 0px;
  }
  .avatar-lg {
    border-radius: 50%;
    background-color: #fff;
}
div.dataTables_scrollBody {
    background: unset !important;
    top: -30px;
    max-height: calc(100vh - 420px) !important;
}
.dataTables_scrollHead,.dataTables_scrollHead th{
/* border: 1px solid #f2f2f2 !important; */
z-index: 9;
/* background-color: #38a4f8; */
}
.timsheet_check_tr th{
    background: #fff !important;
    border: unset !important;
}

.padding0-th.dataTable thead .p0 th,.padding0-th.dataTable tbody td.p0{
    padding: 0px !important;
}
.th-div-first{
width: 50%;
float: left;
border-right: 1px solid #f2f2f2;
padding: 10px;
text-align: center;
}
.th-div-second{
    width: 50%;
    float: left;
    padding: 10px;
    text-align: center;
}

.intime_a,.intime_delete{
    cursor: pointer;
    min-width: 28px;
    background: #fff;
    color: #a1a3a5;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    text-align: center;
    margin: 0 5px;
    padding: 2px 0 2.5px 0;
    border: 1px solid #e2e7f1;
    font-size: 14px;
}
.intime_a:hover {
    background: #0ABB87;
    color: #fff;
    border: 1px solid #0ABB87;
}
.intime_delete:hover {
    background: #FD397A;
    color: #fff;
    border: 1px solid #FD397A;
}
.min-h70{
    height: 50px;
}
.select2-result-unselectable{
    background-color: #eee;
}
#attendance-tabs.nav-tabs{
    border-bottom: unset;
}
/* .btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #884ea0;
    border-color: #884ea0;
} */
.icon-12 {
    width: 14px;
    height: 14px;
    color:#1d82f5;
    font-size: 12px;
}
.icon-12.fill {
    fill:#1d82f5;
}
.text-lightest {
    color: #99a5b5;
}
@media (max-width: 990px){

    .th-div-first{
        width: 100%;
        float: left;
        border-right: 1px solid #f2f2f2;
        padding: 10px;
        text-align: center;
        }
        .th-div-second{
            width: 100%;
            float: left;
            padding: 10px;
            text-align: center;
        }

/* th, td { white-space: nowrap; } */
    div.dataTables_wrapper {
        width: 348px;
        /* margin: 0 auto; */
    }
    .dtfc-fixed-left{
        background-color: white;
        color:#000 !important;
        z-index: 1;
    }
    table.dataTable thead tr>.dtfc-fixed-left, table.dataTable thead tr>.dtfc-fixed-right, table.dataTable tfoot tr>.dtfc-fixed-left, table.dataTable tfoot tr>.dtfc-fixed-right {
        top: 0;
        bottom: 0;
        z-index: 3;
        /* background: #38a4f8; */
        /* border: 1px solid #38a4f8; */
        --bs-text-opacity: 1;
        color: rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important;
    }
    table.dataTable tbody tr>.dtfc-fixed-left{
        background-color: white;
        color:#000 !important;
    }
    

/* .sidebar .sidebar-toggle-btn {
    float: right;
    display: inline-block !important;
    margin: 0 !important; 
    background-color: #fff;
    width: 2rem;
    height: 4.8rem;
    padding-top: 20px;
} */

table.dataTable thead th:first-child, table.dataTable tbody td:first-child{
	padding-left: 25px !important;
}

.dataTables_scrollHead table tr th:first-child{
    width: 2px !important;
    padding-left: 5px !important;
}
/* #job-table thead th:first-child, table.dataTable tbody td:first-child{
    width: 2px !important;
    padding-left: 7px !important;
} */
.dataTables_scrollHead table tr th:nth-child(2){
    width: 50px !important;
}
#job-table thead th:nth-child(2), table.dataTable tbody td:nth-child(2){
    width: 50px !important;
}
#job-table_filter.dataTables_filter{
    margin: 0 0px 10px 0px !important;
    float: left !important;
}
#job-table_wrapper .dataTables_length{
    text-align: left !important;
}
.modal-w20 {
    width: 80%;
}
}
@media only screen and (max-width: 768px) {
    div.dataTables_wrapper {
        width: 325px;
    }
}
@media only screen  and (min-width: 375px)  and (max-width: 812px)  {
    div.dataTables_wrapper {
        width: 352px;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    div.dataTables_wrapper {
        width: 705px;
    }

    .dataTables_scrollHead table tr th:first-child{
        width: 2px !important;
        padding-left: 5px !important;
    }
    /* #job-table thead th:first-child, table.dataTable tbody td:first-child{
        width: 2px !important;
        padding-left: 5px !important;
    } */
    #job-table thead th:first-child, table.dataTable tbody td:first-child {
        width: 3px !important;
        padding-left: 25px !important;
    }
    #job-table thead th:nth-child(2), table.dataTable tbody td:nth-child(2) {
        width: 100px !important;
    }
}
@media (max-width: 767px) {
    .sidebar-off{
        z-index: 1080;
    }
}

#team-form .select2-container.select2-container-disabled .select2-choices div {
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    background-color: #22B9FF !important;
    /* font-size: 75%; */
}
#team-form .select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice{
    background-color: #22B9FF !important;
    border: 1px solid #22B9FF;
}
.settings .settings-anchor {
    font-size: 13px;
}
/* table .goal-progress {
    display: inline-block;
}
.goal-progress {
    text-align: center;
    position: relative;
}
table .goal-percent {
    font-size: 10px;
    text-align: center;
    left: 1px;
    top: 22px;
    line-height: 0;
}
.goal-percent {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    text-align: center;
    line-height: 40px;
    font-size: 50px;
} */



.progress-rounded {
    width: 50px;
    height: 50px;
    background: none;
    position: relative;
  }
  
  .progress-rounded::after {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #eee;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .progress-rounded>span {
    width: 50%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    z-index: 1;
  }
  
  .progress-rounded .progress-left {
    left: 0;
  }
  
  .progress-rounded .progress-bar {
    width: 100%;
    height: 100%;
    background: none;
    border-width: 3px;
    border-style: solid;
    position: absolute;
    top: 0;
  }
  
  .progress-rounded .progress-left .progress-bar {
    left: 100%;
    border-top-right-radius: 80px;
    border-bottom-right-radius: 80px;
    border-left: 0;
    -webkit-transform-origin: center left;
    transform-origin: center left;
  }
  
  .progress-rounded .progress-right {
    right: 0;
  }
  
  .progress-rounded .progress-right .progress-bar {
    left: -100%;
    border-top-left-radius: 80px;
    border-bottom-left-radius: 80px;
    border-right: 0;
    -webkit-transform-origin: center right;
    transform-origin: center right;
  }
  
  .progress-rounded .progress-value {
    position: absolute;
    top: 0;
    left: 0;
  }
  #journal_entry_form_table #dynamic_field textarea{
    height : 35px;
  }
  .gridview_search{
    width : 100% !important;
  }
  .widget-icon-coral {
    float: left;
    background-color: #FD397A;
    height: 55px;
    width: 55px;
    display: flex;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .widget-icon-coral .icon {
    width: 2rem;
    height: 2rem;
    color: #fff;
  }
  .widget-icon-purple {
    float: left;
    background-color: #6f42c1;
    height: 55px;
    width: 55px;
    display: flex;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .widget-icon-purple .icon {
    width: 2rem;
    height: 2rem;
    color: #fff;
  }
  .widget-icon-warning {
    float: left;
    background-color: #ffc107;
    height: 55px;
    width: 55px;
    display: flex;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .widget-icon-warning .icon {
    width: 2rem;
    height: 2rem;
    color: #fff;
  }
  .widget-icon-orange {
    float: left;
    background-color: #fd7e14;
    height: 55px;
    width: 55px;
    display: flex;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .widget-icon-orange .icon {
    width: 2rem;
    height: 2rem;
    color: #fff;
  }
  .widget-icon-secondary {
    float: left;
    background-color: #6c757d;
    height: 55px;
    width: 55px;
    display: flex;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .widget-icon-secondary .icon {
    width: 2rem;
    height: 2rem;
    color: #fff;
  }
  .widget-icon-info {
    float: left;
    background-color: #0dcaf0;
    height: 55px;
    width: 55px;
    display: flex;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .widget-icon-info .icon {
    width: 2rem;
    height: 2rem;
    color: #fff;
  }
  .page-tax-returns {
    padding: 1cm;
    border: 1px #D3D3D3 solid;
    border-radius: 5px;
    background: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    display: flex;
    /* width: 21cm; */
    margin: 15px auto;
}
.widget-icon-green {
    float: left;
    background-color: #0abb87;
    height: 55px;
    width: 55px;
    display: flex;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .widget-icon-green .icon {
    width: 2rem;
    height: 2rem;
    color: #fff;
  }
  table.dataTable.row-border tbody td.textwhite{
    color :#fff !important;
  }
  .dataTable tbody tr:hover td.textwhite {
    color: #4e5e6a !important;
}
tbody td.textwhite{
    color :#fff !important;
  }
tbody tr:hover td.textwhite {
    color: #4e5e6a !important;
}
.bgg-success {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important;
}
.h155{
    height: 155px !important;
}
.project_staff_in_out tr{
    height: 65px;
    font-size: 15px;
}
.project_staff_in_out .avatar-xs {
    width: 50px;
    height: 35px;
}
/*** iPhone and iOS Form Input Zoom Fixes ***/
/* Fix Input Zoom on devices older than iPhone 5: */
@media screen and (device-aspect-ratio: 2/3) {
    select, textarea, input[type="text"], input[type="password"],
    input[type="datetime"], input[type="datetime-local"],
    input[type="date"], input[type="month"], input[type="time"],
    input[type="week"], input[type="number"], input[type="email"],
    input[type="url"]{ font-size: 16px; }
}

/* Fix Input Zoom on iPhone 5, 5C, 5S, iPod Touch 5g */
@media screen and (device-aspect-ratio: 40/71) {
    select, textarea, input[type="text"], input[type="password"],
    input[type="datetime"], input[type="datetime-local"],
    input[type="date"], input[type="month"], input[type="time"],
    input[type="week"], input[type="number"], input[type="email"],
    input[type="url"]{ font-size: 16px; }
}

/* Fix Input Zoom on iPhone 6, iPhone 6s, iPhone 7  */
@media screen and (device-aspect-ratio: 375/667) {
    select, textarea, input[type="text"], input[type="password"],
    input[type="datetime"], input[type="datetime-local"],
    input[type="date"], input[type="month"], input[type="time"],
    input[type="week"], input[type="number"], input[type="email"], 
    input[type="tel"], input[type="url"]{ font-size: 16px; }
}

/* Fix Input Zoom on iPhone 6 Plus, iPhone 6s Plus, iPhone 7 Plus, iPhone 8, iPhone X, XS, XS Max  */
@media screen and (device-aspect-ratio: 9/16) {
    select, textarea, input[type="text"], input[type="password"],
    input[type="datetime"], input[type="datetime-local"],
    input[type="date"], input[type="month"], input[type="time"],
    input[type="week"], input[type="number"], input[type="email"],
    input[type="tel"], input[type="url"]{ font-size: 16px; }
}
.topbar-brand {
    padding: 0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: -0.02em;
    z-index: 999;
}

/* --------------------------------------------------------------------------
 * Topbar — modern icon buttons & header polish (theme color files untouched)
 * -------------------------------------------------------------------------- */
#default-navbar.navbar-custom {
    min-height: 64px;
    border-bottom: 1px solid #e8ecf1 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#default-navbar .navbar-nav {
    align-items: center;
}

#default-navbar .navbar-nav.me-auto {
    gap: 2px;
    padding-left: 4px;
}

#default-navbar .d-flex > .navbar-nav {
    gap: 2px;
    padding-right: 10px;
}

/* Rounded icon buttons — toolbar actions */
#default-navbar .navbar-nav .nav-item > .nav-link:not(#user-dropdown):not(#start-timer-icon),
#default-navbar #topbar-timer-icon-container .nav-item > .nav-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0 !important;
    margin: 12px 3px;
    border-radius: 12px;
    color: #64748b !important;
    border: 1px solid transparent;
    background: transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

#default-navbar .navbar-nav .nav-item > .nav-link:not(#user-dropdown):not(#start-timer-icon):hover,
#default-navbar .navbar-nav .nav-item > .nav-link:not(#user-dropdown):not(#start-timer-icon):focus,
#default-navbar #topbar-timer-icon-container .nav-item > .nav-link:hover,
#default-navbar #topbar-timer-icon-container .nav-item > .nav-link:focus {
    background: #f8fafc;
    color: #334155 !important;
    border-color: #e8ecf1;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

#default-navbar .nav-item.show > .nav-link:not(#user-dropdown):not(#start-timer-icon) {
    background: #eef2ff;
    color: #4f46e5 !important;
    border-color: #c7d2fe;
}

#default-navbar .navbar-nav .nav-link .icon,
#default-navbar .navbar-nav .nav-link svg {
    width: 18px;
    height: 18px;
    stroke-width: 2px;
}

#default-navbar .sidebar-toggle-btn-li .sidebar-toggle-btn {
    margin-left: 6px;
    margin-right: 4px;
}

#default-navbar #global-search-btn:hover,
#default-navbar #quick-add-icon:hover {
    background: #eef2ff !important;
    color: #4f46e5 !important;
    border-color: #c7d2fe !important;
}

/* Hey Anu mic — no background; match other topbar icons */
#default-navbar #topbar-ai-mic-li {
    display: flex;
    align-items: center;
}

#default-navbar #topbar-ai-mic-li .hey-anu-fab.hey-anu-topbar-btn {
    background: transparent !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    color: #64748b !important;
    border: 1px solid transparent;
}

#default-navbar #topbar-ai-mic-li .hey-anu-fab.hey-anu-topbar-btn:hover,
#default-navbar #topbar-ai-mic-li .hey-anu-fab.hey-anu-topbar-btn:focus {
    background: #f8fafc !important;
    color: #334155 !important;
    border-color: #e8ecf1;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

#default-navbar #topbar-ai-mic-li .hey-anu-fab.hey-anu-topbar-btn.listening,
#default-navbar #topbar-ai-mic-li .hey-anu-fab.hey-anu-topbar-btn.speaking {
    box-shadow: none !important;
}

#default-navbar #topbar-ai-mic-li .hey-anu-fab.hey-anu-topbar-btn.muted {
    background: transparent !important;
    color: #dc2626 !important;
}

#default-navbar #topbar-ai-mic-li .hey-anu-fab.hey-anu-topbar-btn.muted:hover,
#default-navbar #topbar-ai-mic-li .hey-anu-fab.hey-anu-topbar-btn.muted:focus {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border-color: #fecaca;
}

#default-navbar #topbar-ai-mic-li .hey-anu-fab-svg-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    color: inherit;
}

#default-navbar #topbar-ai-mic-li .hey-anu-fab-wave-bar {
    background: rgba(100, 116, 139, 0.55);
}

#default-navbar #topbar-ai-mic-li .hey-anu-fab.listening .hey-anu-fab-wave-bar {
    background: rgba(100, 116, 139, 0.85);
}

#default-navbar #personal-language-icon {
    padding: 0 !important;
}

/* Notification & message badges on icons */
#default-navbar .notification-badge-container {
    position: absolute;
    top: 0;
    right: 0;
    pointer-events: none;
    line-height: 1;
}

#default-navbar .notification-badge-container .badge.up {
    position: static;
    top: auto;
    margin: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 10px;
    font-weight: 600;
    line-height: 18px;
    border-radius: 999px;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.18);
}

/* User menu pill */
#default-navbar #user-dropdown {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    width: auto !important;
    height: auto !important;
    padding: 5px 12px 5px 5px !important;
    margin: 10px 2px 10px 6px;
    border-radius: 999px;
    border: 1px solid #e8ecf1;
    background: #f8fafc;
    color: #334155 !important;
    max-width: 220px;
}

#default-navbar #user-dropdown:hover,
#default-navbar #user-dropdown:focus {
    background: #fff;
    border-color: #c7d2fe;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

#default-navbar #user-dropdown .avatar-xs {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
}

#default-navbar #user-dropdown .avatar-xs img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

#default-navbar #user-dropdown .user-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Clock in / out chip */
#default-navbar #start-timer-icon {
    width: auto !important;
    height: auto !important;
    padding: 10px 4px !important;
    margin: 10px 4px;
    border: none !important;
    background: transparent !important;
}

#default-navbar #start-timer-icon .btn {
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 7px 14px;
    line-height: 1.2;
    box-shadow: none;
    border-width: 1px;
}

#default-navbar #start-timer-icon .btn-success {
    background: #ecfdf5;
    border-color: #86efac;
    color: #15803d;
}

#default-navbar #start-timer-icon .btn-danger {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #b91c1c;
}

/* App title (center brand) */
#default-navbar .topbar-brand.topbar-logo {
    display: flex;
    align-items: center;
    min-height: 64px;
    margin: 0 10px;
    padding: 0;
}

/* Topbar dropdown panels */
#default-navbar .dropdown-menu {
    border-radius: 14px;
    border: 1px solid #e8ecf1;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
    padding: 8px;
    margin-top: 4px;
    overflow: hidden;
}

#default-navbar .user-dropdown-menu .dropdown-item {
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.875rem;
}

#default-navbar .user-dropdown-menu .dropdown-item:hover {
    background: #f8fafc;
}

#default-navbar .notification-dropdown,
#default-navbar .message-dropdown {
    padding: 0;
}

#default-navbar .notification-dropdown .card,
#default-navbar .message-dropdown .card {
    border-radius: 14px;
}

#default-navbar .language-dropdown {
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 575px) {
    #default-navbar .navbar-nav .nav-item > .nav-link:not(#user-dropdown):not(#start-timer-icon),
    #default-navbar #topbar-timer-icon-container .nav-item > .nav-link {
        width: 38px;
        height: 38px;
        margin: 12px 2px;
    }

    #default-navbar #user-dropdown {
        padding: 4px !important;
        border-radius: 50%;
        min-width: 40px;
        width: 40px !important;
    }

    #default-navbar #user-dropdown .user-name {
        display: none !important;
    }
}

.sidebar .sidebar-version{
    position: fixed;
    z-index: 999;
    font-size: 10px;
    top: 45px;
    color: #5e9b90;
    margin-left: 200px;
}
.cart-grid-item .cart-grid-item-image .cart-grid-rate{
    background: #a1a2a2;
    color: #fff;
}
/* .btn-info {
    background: #5b988c;
    border: 1px solid #5b988c;
} */
/* .process-order-preview { */
    /* max-width: unset; */
    /* min-width: unset; */
    /* margin: auto; */
/* } */
.widget-module {
    border: 1px solid #f2f4f6;
}
/* preview,PDF Logo style */
table.header-style tr td img{
    width: 100%;
}
.float-start.mr15 img{
    width: 50%;
}
#estimate-item-table .option.w80,
#clients_contract-item-table .option.w80,
#company_policy-item-table .option.w80,
#sub_contract_po-item-table .option.w80,
#sales_return_item_table .option,
#sub_contract_return_item_table .option{
    padding: 10px 0px !important;
}
.sidebar-brand{
    /* padding: 0.9rem 1.9rem; */
    /* background-color: #fff !important; */
}
.mleft-right {
    margin-left: 1px;
    margin-right: 1px;
}
.widget-details h3 {
    margin: 0;
    color: #000;
}

#dynamic_field .help-block{
    box-shadow: none;
    color: #ec5855;
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
}
#dynamic_field .select2-container {
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    margin-bottom: 0;
    display: table;
    table-layout: fixed;
  }
  .client-profile-image-thumb{
    width: 125px;
    height: 125px;
}
@media (max-width: 1366px){
    .licensed_to{
        display: none !important;
    }
}
.table>:not(caption)>*>* {
    color: unset;
    background-color: unset;
}
.select-batch a{
    font-size: 10px !important;
    padding: 7px;
}
.del_item{
    cursor: pointer;
    min-width: 28px;
    background: #fff;
    color: #9699a8;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    text-align: center;
    margin: 0 5px;
    padding: 2px 0 2.5px 0;
    border: 1px solid #f1f1f5;
    font-size: 14px;
}
.del_item:hover {
    background: #fd1361;
    color: #fff;
    border: 1px solid #fd1361;
}
#show_vehicle_prv_km{
    margin-top: 5px;
    margin-bottom: 5px;
    box-shadow: none;
    display: block;
}
.max-logo-size {
    max-width: 100%;
    max-height: 100%;
}

/* Compact invoice header in browser preview and details view */
.invoice-preview .header-style,
.invoice-details-view .header-style {
    margin-top: 10px;
}
.invoice-preview .header-style td,
.invoice-details-view .header-style td {
    padding: 2px 5px;
}
.invoice-preview .header-style .hidden-invoice-preview-row,
.invoice-details-view .header-style .hidden-invoice-preview-row {
    padding: 0;
}

.app-alert.alert-danger{
    background-color: #09b0ec;
    color: #fff;
}
.send_to_client{
    cursor: pointer;
}
.side_bar_seach_menu {
    position: relative;
    margin: 10px 12px 14px;
    padding: 0;
    z-index: 2;
}

.side_bar_seach_menu .sidebar-menu-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    z-index: 1;
}

#seach_menu,
.side_bar_seach_menu .sidebar-menu-search-input {
    width: 100%;
    max-width: 100%;
    min-height: 42px;
    padding: 10px 14px 10px 40px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    color: #334155;
    font-size: 0.875rem;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#seach_menu:focus,
.side_bar_seach_menu .sidebar-menu-search-input:focus {
    outline: none;
    border-color: #c7d2fe;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

#seach_menu::placeholder,
.side_bar_seach_menu .sidebar-menu-search-input::placeholder {
    color: #94a3b8;
}

@media (max-width: 767px) {
    .side_bar_seach_menu {
        margin: 8px 10px 12px;
    }
}
.bom_item {
    cursor: pointer;
    background-color: #f5f5f5;
    padding: 5px;
}
.collapse-title.bom_item::after{
    color: #0c0c0c;
}

/* Health Alert Modal Styles */
.health-alert-trigger {
    transition: all 0.3s ease;
}

.health-alert-trigger:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.modal-header.bg-warning {
    border-bottom: 3px solid #f0ad4e;
}

.card.border-success {
    border-width: 2px !important;
}

.card.border-warning {
    border-width: 2px !important;
}

.card.border-danger {
    border-width: 2px !important;
}

.card.border-info {
    border-width: 2px !important;
}

#healthAlertModal .alert {
    border-left: 4px solid;
    border-radius: 0.375rem;
}

#healthAlertModal .alert-danger {
    border-left-color: #dc3545;
}

#healthAlertModal .alert-warning {
    border-left-color: #ffc107;
}

#healthAlertModal .alert-info {
    border-left-color: #0dcaf0;
}
#signature canvas{
    background-color: #eee; 
    border: 1px solid #ccc; 
    padding: 10px;
}
.sidebar-menu .badge {
    margin-right: 15px;
}
.icon-fill-whatsapp{
    color: #25d366;
    fill: #25d366;

}
.hide_item_category_checkboxes label{
    padding: 0 20px;
}
.red-hr{
	border: 0.5px solid; 
	color: #d81b60
}
.org-hr {
    border: 0.5px solid;
    color: #fb8c00;
}
.animated-clock-sec{
    left: 10px;
    top: -15px;
}

/*
 * macOS / installed PWA safe-area fix.
 * In a standalone/minimal-ui PWA window, the very top strip of the window is the
 * OS-owned draggable title bar / safe-area. Because the viewport uses
 * "viewport-fit=cover", page content (the fixed top bar) extends into that strip,
 * so clicks on the top half of the topbar icons (favourites, dashboards, reminder,
 * etc.) are swallowed by the window drag region instead of reaching the link.
 * Offsetting the fixed top-anchored elements by the safe-area inset moves the
 * clickable icons out of the drag region. env() resolves to 0 in normal browser
 * tabs, so this has no effect outside an installed PWA.
 */
@media all and (display-mode: standalone), all and (display-mode: minimal-ui) {
    body {
        padding-top: env(safe-area-inset-top, 0px);
    }

    .navbar-custom,
    .sidebar,
    .sidebar-brand {
        top: env(safe-area-inset-top, 0px);
    }
}

/* --------------------------------------------------------------------------
 * Staff dashboard — modern DataCore-style layout (scoped; theme colors untouched)
 * -------------------------------------------------------------------------- */
.staff-dashboard-page {
    --dash-card-radius: 14px;
    --dash-card-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --dash-card-border: 1px solid #e8ecf1;
}

.staff-dashboard-page .dashboard-page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.02em;
}

.staff-dashboard-page .dashboard-welcome-text {
    font-size: 0.95rem;
}

.staff-dashboard-page .dashbaord-header-area h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
}

/* KPI & action widget icons — match sales dashboard layout */
.staff-dashboard-page .dashboard-kpi-row .dashboard-icon-widget,
.staff-dashboard-page .dashboard-action-items-grid .dashboard-icon-widget {
    border: var(--dash-card-border);
    border-radius: var(--dash-card-radius);
    box-shadow: var(--dash-card-shadow);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    overflow: hidden;
    margin-bottom: 0;
}

.staff-dashboard-page .dashboard-kpi-row .white-link:hover .dashboard-icon-widget,
.staff-dashboard-page .dashboard-kpi-row .dashboard-icon-widget:hover,
.staff-dashboard-page .dashboard-action-items-grid .white-link:hover .dashboard-icon-widget,
.staff-dashboard-page .dashboard-action-items-grid .dashboard-icon-widget:hover {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.staff-dashboard-page .dashboard-kpi-row .dashboard-icon-widget .card-body,
.staff-dashboard-page .dashboard-action-items-grid .dashboard-icon-widget .card-body {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    min-height: 88px;
    padding: 20px;
    background: #fff;
}

.staff-dashboard-page .dashboard-kpi-row .widget-icon,
.staff-dashboard-page .dashboard-kpi-row .widget-icon-info,
.staff-dashboard-page .dashboard-kpi-row .widget-icon-secondary,
.staff-dashboard-page .dashboard-kpi-row .widget-icon-orange,
.staff-dashboard-page .dashboard-action-items-grid .widget-icon {
    float: none;
    flex: 0 0 55px;
    width: 55px;
    height: 55px;
    border-radius: 5px;
}

.staff-dashboard-page .dashboard-kpi-row > [class*="col-"] {
    display: flex;
}

.staff-dashboard-page .dashboard-kpi-row > [class*="col-"] > .white-link {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
}

.staff-dashboard-page .dashboard-kpi-row .dashboard-icon-widget {
    flex: 1 1 auto;
    width: 100%;
}

.staff-dashboard-page .dashboard-kpi-row .dashboard-icon-widget .card-body {
    height: 100%;
}

.staff-dashboard-page .dashboard-kpi-row .widget-details,
.staff-dashboard-page .dashboard-action-items-grid .widget-details {
    position: static;
    float: none;
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}

.staff-dashboard-page .dashboard-kpi-row .widget-details h1,
.staff-dashboard-page .dashboard-kpi-row .widget-details h2,
.staff-dashboard-page .dashboard-action-items-grid .widget-details h1 {
    font-size: 1.15rem;
    line-height: 1.25;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    color: #0f172a;
}

.staff-dashboard-page .dashboard-kpi-row .widget-details > span:not(.kpi-subtext):not(.kpi-trend),
.staff-dashboard-page .dashboard-action-items-grid .widget-details > span:not(.kpi-subtext) {
    line-height: 1.25;
    white-space: normal;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.staff-dashboard-page .dashboard-kpi-row .widget-details .kpi-subtext,
.staff-dashboard-page .dashboard-action-items-grid .widget-details .kpi-subtext {
    font-size: 12px;
    color: #898fa9;
    margin-top: 2px;
}

.staff-dashboard-page .dashboard-kpi-row .widget-details .kpi-trend,
.staff-dashboard-page .dashboard-action-items-grid .widget-details .kpi-trend {
    display: block;
    font-size: 11px;
    margin-top: 4px;
    font-weight: 500;
}

.staff-dashboard-page .dashboard-kpi-row .widget-details .kpi-trend.text-success,
.staff-dashboard-page .dashboard-action-items-grid .widget-details .kpi-trend.text-success {
    color: #16a34a !important;
}

.staff-dashboard-page .dashboard-kpi-row .widget-details .kpi-trend.text-danger,
.staff-dashboard-page .dashboard-action-items-grid .widget-details .kpi-trend.text-danger {
    color: #dc2626 !important;
}

/* Clock-in widget inside KPI row */
.staff-dashboard-page .dashboard-kpi-row .clock-in-out-card .card-body {
    display: flex;
    align-items: center;
    gap: 12px;
}

.staff-dashboard-page .dashboard-kpi-row .clock-in-out-card .widget-details .btn {
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 8px;
}

.staff-dashboard-page .dashboard-kpi-row .clock-in-out-card .widget-details h1 {
    white-space: normal;
}

/* Action items section card wrapper */
.staff-dashboard-page .dashboard-action-items-card {
    border: var(--dash-card-border);
    border-radius: var(--dash-card-radius);
    box-shadow: var(--dash-card-shadow);
    overflow: hidden;
}

.staff-dashboard-page .dashboard-action-items-card .dashboard-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

/* List / table widgets */
.staff-dashboard-page .dashboard-list-card,
.staff-dashboard-page .dashboard-content-row .dashboard-widget-shell > .card,
.staff-dashboard-page .dashboard-content-row .dashboard-main-column .card,
.staff-dashboard-page .dashboard-content-row .dashboard-side-column .card,
.staff-dashboard-page .dashboard-content-row > .col-12 .card {
    border: var(--dash-card-border);
    border-radius: var(--dash-card-radius);
    box-shadow: var(--dash-card-shadow);
    overflow: hidden;
    margin-bottom: 0;
}

.staff-dashboard-page .dashboard-content-row .dashboard-main-column,
.staff-dashboard-page .dashboard-content-row .dashboard-side-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.staff-dashboard-page .dashboard-content-row .dashboard-widget-shell {
    margin-bottom: 0;
}

.staff-dashboard-page .dashboard-content-row .dashboard-widget-shell > .card > .card-header,
.staff-dashboard-page .dashboard-chart-widget .card-header {
    padding: 14px 18px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    background: #fff !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.staff-dashboard-page .dashboard-content-row .dashboard-widget-shell > .card > .card-header h5,
.staff-dashboard-page .dashboard-card-header h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.staff-dashboard-page .dashboard-card-header {
    padding: 14px 18px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    background: #fff !important;
}

.staff-dashboard-page .dashboard-tasks-section .card-header {
    padding: 14px 18px;
}

.staff-dashboard-page .dashboard-list-card .table-responsive,
.staff-dashboard-page .dashboard-tasks-section .table-responsive {
    padding: 0 4px 8px;
}

.staff-dashboard-page .dashboard-list-card table.dataTable,
.staff-dashboard-page .dashboard-tasks-section table.dataTable {
    border-collapse: separate;
    border-spacing: 0;
}

.staff-dashboard-page .dashboard-list-card table.dataTable tbody tr,
.staff-dashboard-page .dashboard-tasks-section table.dataTable tbody tr {
    border-bottom: 1px solid #f1f5f9;
}

.staff-dashboard-page .dashboard-list-card table.dataTable tbody tr:hover,
.staff-dashboard-page .dashboard-tasks-section table.dataTable tbody tr:hover {
    background-color: #f8fafc;
}

.staff-dashboard-page .dashboard-content-row {
    margin-top: 4px;
}

.staff-dashboard-page .widget-container {
    margin-bottom: 16px;
}

.staff-dashboard-page .dashboard-kpi-row {
    margin-bottom: 4px;
}

/* Custom dashboard icon widgets — same sales-dashboard icon layout */
.staff-dashboard-page.dashboard-view .dashboard-icon-widget {
    border: var(--dash-card-border);
    border-radius: var(--dash-card-radius);
    box-shadow: var(--dash-card-shadow);
}

.staff-dashboard-page.dashboard-view .dashboard-icon-widget .card-body {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    min-height: 88px;
    overflow: hidden;
}

.staff-dashboard-page.dashboard-view .dashboard-icon-widget .widget-icon {
    float: none;
    flex: 0 0 55px;
    width: 55px;
    height: 55px;
    border-radius: 5px;
}

.staff-dashboard-page.dashboard-view .dashboard-icon-widget .widget-details {
    position: static;
    float: none;
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}

.staff-dashboard-page.dashboard-view .dashboard-icon-widget .widget-details h1 {
    font-size: 1.15rem;
    line-height: 1.25;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.staff-dashboard-page.dashboard-view .dashboard-icon-widget .widget-details span {
    display: block;
    line-height: 1.3;
    white-space: normal;
}

/* Phase 1 — dashboard page header toolbar */
.staff-dashboard-page .dashboard-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.staff-dashboard-page .dashboard-page-header-left {
    flex: 1 1 280px;
    min-width: 0;
}

.staff-dashboard-page .dashboard-page-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 1 auto;
}

.staff-dashboard-page .dashboard-period-wrap {
    min-width: 160px;
}

.staff-dashboard-page .dashboard-period-select {
    border-radius: 12px;
    border-color: #e2e8f0;
    min-height: 40px;
    font-size: 0.9rem;
    box-shadow: none;
}

.staff-dashboard-page .dashboard-customize-btn {
    border-radius: 12px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.staff-dashboard-page #dashboard-period-label {
    font-size: 0.82rem;
}

/* Phase 1 — My Tasks card header tools */
.staff-dashboard-page .dashboard-tasks-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px !important;
}

.staff-dashboard-page .dashboard-tasks-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1e293b;
    flex: 0 0 auto;
}

.staff-dashboard-page .dashboard-tasks-header-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 1 1 320px;
    min-width: 0;
}

.staff-dashboard-page .dashboard-tasks-search-wrap {
    position: relative;
    flex: 1 1 200px;
    max-width: 280px;
    min-width: 160px;
}

.staff-dashboard-page .dashboard-tasks-search-wrap .icon-16 {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.staff-dashboard-page .dashboard-tasks-search {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding-left: 36px;
    min-height: 38px;
    font-size: 0.875rem;
    box-shadow: none;
}

.staff-dashboard-page .dashboard-tasks-search:focus {
    border-color: #c7d2fe;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.staff-dashboard-page .dashboard-task-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.staff-dashboard-page .dashboard-task-filter-chip {
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.8rem;
    border-color: #e2e8f0;
}

.staff-dashboard-page .dashboard-task-filter-chip.active {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #fff;
}

.staff-dashboard-page .dashboard-tasks-view-all {
    border-radius: 12px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 767px) {
    .staff-dashboard-page .dashboard-page-header-actions {
        width: 100%;
        justify-content: stretch;
    }

    .staff-dashboard-page .dashboard-period-wrap,
    .staff-dashboard-page .dashboard-customize-btn {
        flex: 1 1 auto;
    }

    .staff-dashboard-page .dashboard-tasks-header-tools {
        width: 100%;
        justify-content: stretch;
    }

    .staff-dashboard-page .dashboard-tasks-search-wrap {
        max-width: none;
        flex: 1 1 100%;
    }

    .staff-dashboard-page .dashboard-kpi-row .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .staff-dashboard-page .dashboard-action-items-grid > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .staff-dashboard-page .dashboard-action-items-grid > .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Phase 4 — grouped action items */
.staff-dashboard-page .dashboard-action-group {
    margin-bottom: 18px;
}

.staff-dashboard-page .dashboard-action-group:last-of-type {
    margin-bottom: 0;
}

.staff-dashboard-page .dashboard-action-group-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 0 0 10px 2px;
}

.staff-dashboard-page .dashboard-action-expand-btn {
    border-radius: 999px;
    padding: 6px 16px;
}

/* Phase 5 — empty states, skeletons, chart */
.staff-dashboard-page .dashboard-empty-state {
    text-align: center;
    padding: 28px 16px;
    color: #94a3b8;
}

.staff-dashboard-page .dashboard-empty-state-inline {
    padding: 20px 12px;
}

.staff-dashboard-page .dashboard-empty-state .icon-32 {
    margin-bottom: 10px;
    opacity: 0.7;
}

.staff-dashboard-page .dashboard-chart-card-body {
    min-height: 260px;
    position: relative;
}

.staff-dashboard-page .dashboard-skeleton {
    border-radius: 10px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e8ecf1 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: dashboard-shimmer 1.2s ease-in-out infinite;
}

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

.staff-dashboard-page .dashboard-skeleton-line {
    height: 14px;
    margin-bottom: 8px;
}

.staff-dashboard-page .dashboard-skeleton-line.w40 {
    width: 40%;
}

.staff-dashboard-page .dashboard-skeleton-tile {
    height: 88px;
}

.staff-dashboard-page .dashboard-skeleton-chart {
    height: 220px;
    width: 100%;
}

.staff-dashboard-page .dashboard-kpi-skeleton .dashboard-icon-widget {
    position: relative;
    overflow: hidden;
}

.staff-dashboard-page .dashboard-kpi-skeleton .dashboard-icon-widget .card-body > * {
    visibility: hidden;
}

.staff-dashboard-page .dashboard-kpi-skeleton .dashboard-icon-widget::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 8px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e8ecf1 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: dashboard-shimmer 1.2s ease-in-out infinite;
}

.staff-dashboard-page .dashboard-fade-in {
    animation: dashboard-fade-in 0.25s ease;
}

@keyframes dashboard-fade-in {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.staff-dashboard-page.dashboard-is-loading .dashboard-kpi-row {
    pointer-events: none;
}

.staff-dashboard-page #dashboard-action-items-root.dashboard-action-skeleton .dashboard-action-items-card {
    opacity: 0.55;
    pointer-events: none;
    position: relative;
}

.staff-dashboard-page #dashboard-action-items-root.dashboard-action-skeleton .dashboard-action-items-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--dash-card-radius);
    background: linear-gradient(90deg, rgba(241, 245, 249, 0.4) 25%, rgba(232, 236, 241, 0.7) 50%, rgba(241, 245, 249, 0.4) 75%);
    background-size: 200% 100%;
    animation: dashboard-shimmer 1.2s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
 * Left menu — rounded active / hover pills (DataCore-style)
 * Theme background colors remain from assets/css/color/*.css
 * -------------------------------------------------------------------------- */
.sidebar-menu {
    padding: 8px 0 18px;
}

.sidebar-menu li a {
    border-radius: 12px !important;
    margin: 3px 12px;
    padding: 10px 14px;
}

.sidebar-menu li.active > a {
    border-radius: 12px !important;
    font-weight: 500;
}

.sidebar-menu li ul li a {
    border-radius: 10px !important;
    margin: 2px 12px 2px 26px;
    padding: 8px 12px;
}

.sidebar-menu li ul li.active > a {
    border-radius: 10px !important;
    font-weight: 500;
}

.sidebar-toggled .sidebar-menu li:hover > a {
    border-radius: 12px !important;
}

.sidebar-toggled .sidebar-menu li ul li a {
    border-radius: 8px !important;
    margin: 1px 8px;
}

.sidebar-toggled .sidebar-menu li ul li a:hover {
    border-radius: 8px !important;
}

/* --------------------------------------------------------------------------
 * Global search modal — rounded search window & fields
 * -------------------------------------------------------------------------- */
.global-search-modal .modal-dialog {
    max-width: 680px;
}

.global-search-modal .modal-content {
    border-radius: 16px !important;
    border: 1px solid #e8ecf1;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.14);
    overflow: hidden;
}

.search-modal {
    padding: 16px 20px;
    background: #f8fafc;
}

.search-modal .row {
    align-items: stretch;
    gap: 10px;
}

.search-modal .col-sm-3,
.search-modal .col-sm-9 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.search-modal .form-control,
.search-modal .help-search-box {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    background-color: #fff !important;
    padding: 10px 14px !important;
    min-height: 44px;
    box-shadow: none;
}

.search-modal .help-search-box:focus {
    border-color: #c7d2fe !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.search-modal .select2-choice,
.search-modal .select2-container .select2-choice,
.search-modal .select2-container--default .select2-selection--single {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    min-height: 44px;
    background: #fff !important;
}

.search-modal .select2-container .select2-choice .select2-chosen {
    padding: 10px 14px !important;
    line-height: 22px;
}

.global-search-modal .awesomplete > ul {
    border-radius: 12px;
    border: 1px solid #e8ecf1;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    overflow: hidden;
    margin-top: 8px;
}

.global-search-modal .awesomplete ul li {
    border-radius: 8px;
    margin: 4px 6px;
}

.global-search-modal .awesomplete ul li[aria-selected="true"] {
    border-radius: 8px;
}

@media (max-width: 767px) {
    .global-search-modal .modal-content {
        border-radius: 14px !important;
    }

    .search-modal .col-sm-3 {
        border-bottom: none !important;
        margin-bottom: 0;
    }
}

/* ------------------------------------------------------------------
   Native dark theme (1E202D) — topbar, sidebar search, dashboard
   Palette aligned with WhatsBoost dark surfaces and 1E202D.css
   ------------------------------------------------------------------ */
body[data-color="1E202D"] #default-navbar.navbar-custom {
    background: #252932 !important;
    border-bottom-color: #2f3541 !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35) !important;
}

body[data-color="1E202D"] #default-navbar .navbar-nav .nav-item > .nav-link:not(#user-dropdown):not(#start-timer-icon),
body[data-color="1E202D"] #default-navbar #topbar-timer-icon-container .nav-item > .nav-link {
    color: #898fa9 !important;
}

body[data-color="1E202D"] #default-navbar .navbar-nav .nav-item > .nav-link:not(#user-dropdown):not(#start-timer-icon):hover,
body[data-color="1E202D"] #default-navbar .navbar-nav .nav-item > .nav-link:not(#user-dropdown):not(#start-timer-icon):focus,
body[data-color="1E202D"] #default-navbar #topbar-timer-icon-container .nav-item > .nav-link:hover,
body[data-color="1E202D"] #default-navbar #topbar-timer-icon-container .nav-item > .nav-link:focus {
    background: #20242c !important;
    color: #e5e7eb !important;
}

body[data-color="1E202D"] #default-navbar .navbar-nav .nav-item > .nav-link:not(#user-dropdown):not(#start-timer-icon) svg,
body[data-color="1E202D"] #default-navbar #topbar-timer-icon-container .nav-item > .nav-link svg {
    color: #898fa9 !important;
    fill: #898fa9 !important;
}

body[data-color="1E202D"] #default-navbar .navbar-nav .nav-item > .nav-link:not(#user-dropdown):not(#start-timer-icon):hover svg,
body[data-color="1E202D"] #default-navbar #topbar-timer-icon-container .nav-item > .nav-link:hover svg {
    color: #e5e7eb !important;
    fill: #e5e7eb !important;
}

body[data-color="1E202D"] #default-navbar .topbar-brand.topbar-logo,
body[data-color="1E202D"] #default-navbar .topbar-brand.topbar-logo span,
body[data-color="1E202D"] #default-navbar .topbar-brand.topbar-logo a,
body[data-color="1E202D"] .topbar-brand {
    color: #e5e7eb !important;
}

body[data-color="1E202D"] #default-navbar .nav-item.show > .nav-link:not(#user-dropdown):not(#start-timer-icon) {
    background: rgba(91, 115, 232, 0.18) !important;
    color: #5b73e8 !important;
    border-color: rgba(91, 115, 232, 0.35) !important;
}

body[data-color="1E202D"] #default-navbar #global-search-btn:hover,
body[data-color="1E202D"] #default-navbar #quick-add-icon:hover {
    background: rgba(91, 115, 232, 0.18) !important;
    color: #5b73e8 !important;
    border-color: rgba(91, 115, 232, 0.35) !important;
}

body[data-color="1E202D"] #default-navbar #topbar-ai-mic-li .hey-anu-fab.hey-anu-topbar-btn {
    color: #898fa9 !important;
}

body[data-color="1E202D"] #default-navbar #topbar-ai-mic-li .hey-anu-fab.hey-anu-topbar-btn:hover,
body[data-color="1E202D"] #default-navbar #topbar-ai-mic-li .hey-anu-fab.hey-anu-topbar-btn:focus {
    background: #20242c !important;
    color: #e5e7eb !important;
    border-color: #2f3541 !important;
}

body[data-color="1E202D"] #default-navbar .notification-badge-container .badge.up {
    border-color: #252932 !important;
}

body[data-color="1E202D"] #default-navbar #user-dropdown {
    background: #20242c !important;
    border-color: #2f3541 !important;
    color: #e5e7eb !important;
}

body[data-color="1E202D"] #default-navbar #user-dropdown:hover,
body[data-color="1E202D"] #default-navbar #user-dropdown:focus {
    background: #2f3541 !important;
    border-color: #3d4454 !important;
    box-shadow: 0 0 0 3px rgba(91, 115, 232, 0.18) !important;
}

body[data-color="1E202D"] #default-navbar #user-dropdown .user-name {
    color: #e5e7eb !important;
}

body[data-color="1E202D"] #default-navbar #user-dropdown .avatar-xs img {
    border-color: #2f3541 !important;
}

body[data-color="1E202D"] #default-navbar #start-timer-icon .btn-success {
    background: rgba(34, 197, 94, 0.14) !important;
    border-color: rgba(34, 197, 94, 0.45) !important;
    color: #86efac !important;
}

body[data-color="1E202D"] #default-navbar #start-timer-icon .btn-danger {
    background: rgba(239, 68, 68, 0.14) !important;
    border-color: rgba(239, 68, 68, 0.45) !important;
    color: #fca5a5 !important;
}

body[data-color="1E202D"] #default-navbar .dropdown-menu {
    background: #252932 !important;
    border-color: #2f3541 !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45) !important;
}

body[data-color="1E202D"] #default-navbar .user-dropdown-menu .dropdown-item {
    color: #898fa9 !important;
}

body[data-color="1E202D"] #default-navbar .user-dropdown-menu .dropdown-item:hover {
    background: #20242c !important;
    color: #e5e7eb !important;
}

/* Sidebar menu search (WhatsBoost-style input surface) */
body[data-color="1E202D"] .side_bar_seach_menu .sidebar-menu-search-input {
    background: #20242c !important;
    border-color: #2f3541 !important;
    color: #e5e7eb !important;
}

body[data-color="1E202D"] .side_bar_seach_menu .sidebar-menu-search-input::placeholder {
    color: #898fa9 !important;
}

body[data-color="1E202D"] .side_bar_seach_menu .sidebar-menu-search-input:focus {
    background: #20242c !important;
    border-color: #5b73e8 !important;
    box-shadow: 0 0 0 3px rgba(91, 115, 232, 0.2) !important;
    color: #e5e7eb !important;
}

body[data-color="1E202D"] .side_bar_seach_menu .sidebar-menu-search-icon {
    color: #898fa9 !important;
}

body[data-color="1E202D"] .side_bar_seach_menu .sidebar-menu-search-input:focus + .sidebar-menu-search-icon,
body[data-color="1E202D"] .side_bar_seach_menu:focus-within .sidebar-menu-search-icon {
    color: #5b73e8 !important;
}

/* Staff dashboard — readable text on dark surfaces */
body[data-color="1E202D"] .staff-dashboard-page {
    --dash-card-border: 1px solid #2f3541;
    --dash-card-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    color: #898fa9;
}

body[data-color="1E202D"] .staff-dashboard-page .dashboard-page-title,
body[data-color="1E202D"] .staff-dashboard-page .dashbaord-header-area h4 {
    color: #e5e7eb !important;
}

body[data-color="1E202D"] .staff-dashboard-page .dashboard-welcome-text {
    color: #898fa9 !important;
}

body[data-color="1E202D"] .staff-dashboard-page .dashboard-kpi-row .dashboard-icon-widget .card-body,
body[data-color="1E202D"] .staff-dashboard-page .dashboard-action-items-grid .dashboard-icon-widget .card-body,
body[data-color="1E202D"] .staff-dashboard-page.dashboard-view .dashboard-icon-widget .card-body {
    background: #252932 !important;
}

body[data-color="1E202D"] .staff-dashboard-page .dashboard-kpi-row .widget-details h1,
body[data-color="1E202D"] .staff-dashboard-page .dashboard-kpi-row .widget-details h2,
body[data-color="1E202D"] .staff-dashboard-page .dashboard-action-items-grid .widget-details h1,
body[data-color="1E202D"] .staff-dashboard-page.dashboard-view .dashboard-icon-widget .widget-details h1 {
    color: #e5e7eb !important;
}

body[data-color="1E202D"] .staff-dashboard-page .dashboard-kpi-row .widget-details > span:not(.kpi-subtext):not(.kpi-trend),
body[data-color="1E202D"] .staff-dashboard-page .dashboard-action-items-grid .widget-details > span:not(.kpi-subtext) {
    color: #898fa9 !important;
}

body[data-color="1E202D"] .staff-dashboard-page .dashboard-content-row .dashboard-widget-shell > .card > .card-header,
body[data-color="1E202D"] .staff-dashboard-page .dashboard-chart-widget .card-header,
body[data-color="1E202D"] .staff-dashboard-page .dashboard-card-header {
    background: #252932 !important;
    border-bottom-color: #2f3541 !important;
    color: #e5e7eb !important;
}

body[data-color="1E202D"] .staff-dashboard-page .dashboard-list-card table.dataTable tbody tr:hover,
body[data-color="1E202D"] .staff-dashboard-page .dashboard-tasks-section table.dataTable tbody tr:hover {
    background-color: #20242c !important;
}

body[data-color="1E202D"] .staff-dashboard-page .dashboard-list-card table.dataTable tbody tr,
body[data-color="1E202D"] .staff-dashboard-page .dashboard-tasks-section table.dataTable tbody tr {
    border-bottom-color: #2f3541 !important;
}

/* Global search modal in dark theme */
body[data-color="1E202D"] .global-search-modal .modal-content {
    background: #252932 !important;
    border-color: #2f3541 !important;
}

body[data-color="1E202D"] .global-search-modal .modal-header,
body[data-color="1E202D"] .global-search-modal .modal-body {
    background: #252932 !important;
    color: #898fa9 !important;
}

body[data-color="1E202D"] .global-search-modal .form-control {
    background: #20242c !important;
    border-color: #2f3541 !important;
    color: #e5e7eb !important;
}

body[data-color="1E202D"] .global-search-modal .awesomplete ul {
    background: #252932 !important;
    border-color: #2f3541 !important;
}

body[data-color="1E202D"] .global-search-modal .awesomplete ul li {
    color: #898fa9 !important;
}

body[data-color="1E202D"] .global-search-modal .awesomplete ul li[aria-selected="true"],
body[data-color="1E202D"] .global-search-modal .awesomplete ul li:hover {
    background: #20242c !important;
    color: #e5e7eb !important;
}