
/* brand colors
#0099D3 - light blue
#1A6E90 - dark blue
#666666 - dark grey
*/

*{
    font-family: 'Lato', sans-serif;
    font-family: 'Roboto', sans-serif;
}
body {
    background: #f3f2ef;
    /* background: #ffffff; */
}

body .sidebar-content,
body .sidebar,
body .simplebar-wrapper {
    /* background: #2d6bcf; */
    /* background: #9c0a0a; */
    background: var(--background-color);
}

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

.sidebar-link,
a.sidebar-link,
.sidebar-link i,
.sidebar-link svg,
a.sidebar-link i,
a.sidebar-link svg,
.sidebar-dropdown .sidebar-link,
.sidebar-link:hover,
.sidebar-link:hover i,
.sidebar-link:hover svg {
    color: #ffffff;
}

select[readonly] {
    background: #eee; /*Simular campo inativo - Sugestão @GabrielRodrigues*/
    pointer-events: none;
    touch-action: none;
  }

/* bg colors */
.bg-brand{
    background-color: var(--background-color);
}
.text-brand{
    color: var(--background-color);
}
.bg-blue-light {
    background: #e0eafc;
}

.bg-green-light {
    background: rgba(75, 191, 115, .175);
}

.bg-red-light {
    background: rgba(217, 83, 79, .175);
}

.bg-grey-light {
    background: #e9e9e9;
}

.bg-orange-light {
    background: #faeddb;
}

.bg-purple-light {
    background: #e0cfff;
}

.card {
    box-shadow: 0 0 0 1px rgb(0 0 0 / 15%), 0 2px 3px rgb(0 0 0 / 25%);
}

.card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.card-title {
    color: #0a66c2;
}

select.form-control {
    background-color: #ffffff !important;
}

select.readonly {
    background-color: #e2e8ee !important;
}

/* loader */
.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid var(--background-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    position: fixed;
    display: none;
    top: 50%;
    left: 50%;
    z-index: 9999999;
}

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

    100% {
        transform: rotate(360deg);
    }
}

#overlay {
    background: rgb(0 0 0 / 30%);
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
}

.form-switch .form-check-input {
    width: 3em;
}

.form-check-input {
    height: 1.5em;
}

.form-check-input:checked {
    background-color: #4bbf73;
    border-color: #4bbf73;
}

.fixed-footer{
    position: fixed;
    width: 100%;
    bottom: 0;
}


@media only screen and (max-width: 768px) {
    .fixed-footer{
        padding: 1rem 0 1rem 0 !important;
    }
    .text-end{
        text-align: inherit !important;
    }
    .fixed-footer .text-start p{
        margin-bottom: 1rem !important;
    }
  }

/* login page */

/* .login-section-wrapper .row{
    background: var(--background-color);
} */

.animated-gradiend-bg-01 {
    background: linear-gradient(-45deg, #0099D3 , #1A6E90 , #0099D3 , #1A6E90 );
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

.login-section-wrapper .h2,
.login-section-wrapper p.lead{
    color: #ffffff;
}

.bg-image-vertical {
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 100%;
}
.login-form-wrapper{
    margin-top: 7rem;
}
.sso-login-wrapper{
    margin-top: 10rem;
}

.auth-login-otb-based-wrapper input{
    height: 40px;
}

/* datatable */
table.dataTable {
    clear: both;
    margin-top: 6px !important;
    margin-bottom: 6px !important;
    max-width: none !important;
    border-collapse: collapse !important;
    border-spacing: 0;
}

tbody,
td,
tfoot,
th,
thead,
tr {
    border: 1px solid;
}

div.table-responsive>div.dataTables_wrapper>div.row {
    margin: 1rem 0 0 0;
}

div.dataTables_wrapper div.dataTables_filter {
    margin-bottom: 1rem;
}

.table>tbody>tr>td {
    font-size: 12px;
}

.table>:not(caption)>*>* {
    padding: .4rem;
}

/* sidebar */
.admin-sidebar .sidebar-link,
a.sidebar-link {
    text-transform: capitalize;
}

.borderless,
.borderless tr,
.borderless tbody,
.borderless td,
.borderless th {
    border: none;
}

.modal{
    overflow: hidden !important;
}

table th,
.nav-tabs .nav-link,
.modal-title,
.badge {
    text-transform: uppercase;
}

.card .card-header {
    text-transform: uppercase;
    padding: .5rem 1.25rem;
}


.text-muted {
    font-size: 10px;
    margin-left: .3rem;
}

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

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

.select2-container {
    width: 100% !important;
}

.card-header{
    font-weight: 700;
}
.sidebar-brand{
    font-size: .9rem;
    background: var(--background-color);
    box-shadow: 0 0 2px rgb(0 0 0 / 50%);
}

.stat.text-danger svg{
    color: rgb(217, 83, 79) !important;
}

.btn.btn-secondary.buttons-excel.buttons-html5{
    background-color: #1d6f42;
    border-color: #1d6f42;
}
.required-mark{
    color: #910808;
}
.prt-cpy{
    cursor: pointer;
}
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__clear{
    margin-top: 0rem;
}

/* .select2-container{
    z-index: 9999;
} */

.select2-close-mask{
    z-index: 2099;
}
.select2-dropdown{
    z-index: 3051;
}

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

/* table-card */

.table-card-01 {
    background: #f6f6f6;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #22222230;
    border-radius: 5px;
    box-shadow: 0 0 2px rgb(0 0 0 / 20%);
}

.negative-tr{
    background: #ff00001f;
}

.btn{
    margin-top: .2rem;
    margin-bottom: 0.2rem !important;
}

.btn-group-sm>.btn, .btn-sm {
    border-radius: 0.1rem;
    font-size: .7rem;
    padding: 0.2rem 0.2rem;
}

.table-current-entries-list .bg-warning td,
.table-current-entries-list .bg-primary td {
    box-shadow: inherit !important;
}

.table tbody, .table td, .table tfoot, .table th, .table thead, .table tr{
    border-color: #d6d6d696;
}

.card-title{
    font-size: .80rem;
    line-height: 1.3rem;
}

.text-decoration-none{
    text-decoration: none;
}

.tab .tab-content{
    box-shadow: 0 0 0 1px rgb(0 0 0 / 15%), 0 2px 3px rgb(0 0 0 / 25%);
}

.swal2-container.swal2-center{
    z-index: 999999;
}

.dropdown .dropdown-menu.show{
    z-index: 99999;
}

.input-group .btn{
    margin-top: 0;
    margin-bottom: 0 !important;
}
.report-wrapper .card{
    height: 6rem;
    border-radius: 32px;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}
.report-wrapper .card-title{
    margin-bottom: 0;
}
.report-wrapper .card:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.report-wrapper
{
    padding: 2rem 1rem .5rem 1rem;
    background-color: #ecf2fd;
    /* color: #ffffff; */
    border-radius: 10px;
    box-shadow: 0 0 2px rgba(0, 0, 0, .5);
}
/* .accordion-header{
    box-shadow: 0 0 0 1px rgb(0 0 0 / 15%), 0 2px 3px rgb(0 0 0 / 25%);
}
.accordion-button:not(.collapsed){
    box-shadow: 0 0 0 1px rgb(0 0 0 / 15%), 0 2px 3px rgb(0 0 0 / 25%);
    background-color: #ffffff;
    color: #0a66c2;
    text-transform: uppercase;
} */
.accordion-button:not(.collapsed){
    background-color: #4e8aeb47;
    color: #000000;
}


.select2-container--bootstrap4 .select2-results__option[aria-selected=true]{
    background-color: #dddddd;
    color: #000000;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-search--inline .select2-search__field,
.select2-container .select2-search--inline{
    width: 100% !important;
}

.fas.fa-bell{
color: #293042
}

.dropdown-item.active{
    background-color: inherit !important;
}

@keyframes bell-shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    50% { transform: rotate(15deg); }
    75% { transform: rotate(-15deg); }
}

.bell-animate {
    animation: bell-shake 0.6s ease-in-out infinite;
}

.unc{
    background: #dd2334;
    color: #ffffff;
    padding: 1px 4.3px;
    border-radius: 50px;
}

.accordion-body{
    padding: 1rem 1.25rem 2rem 1.25rem;
}

/* todo list css */
.add-task-btn {
    cursor: pointer;
}

.completed-task {
    text-decoration: line-through;
    transition: transform 0.5s ease-in-out;
}

.task-completed {
    transform: translateY(5px);
    opacity: 0.5;
}

.scrollable-list {
    height: 300px;
    max-height: 300px;
    /* Set the height you want for the scrollable area */
    overflow-y: auto;
    /* Enable vertical scrolling */
}

.hidden {
    display: none;
}


.circle-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #000;
    /* Adjust border color as needed */
    border-radius: 50% !important;
    /* Makes it a perfect circle */
    appearance: none;
    /* Removes default checkbox styling */
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dots {
    display: block;
    cursor: pointer;
}

.menu {
    display: none;
    background: #fff;
    border: 1px solid #ccc;
    padding: 5px;
    z-index: 1000;
    min-width: 100px;
    /* Ensure the menu has enough width */
}

.menu.visible {
    display: block;
    opacity: 1;
}

.task-options {
    position: relative;
    margin-left: 10px;
    /* Adjust this value to provide enough space for the delete button */
}

.scrollable-list {
    overflow-x: hidden;
    width: 100%;
    white-space: nowrap;
}

.flag {
    margin-right: -150px;
}

.delete-task-btn {
    white-space: nowrap;

    padding: 5px 10px;
 
    font-size: 14px;
    
    width: 100%;
  
}

.delete-task-span {
    cursor: pointer;
}

.edit-task-span {
    cursor: pointer;
}


.report-wrapper {
    overflow: hidden;
}

.visible {
    display: block !important;
}

.task-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    word-wrap: break-word;
    white-space: normal;
}

.task-title {
    word-break: break-word;
    white-space: normal;
    flex: 1;
    /* Ensure the title takes up available space */
}

.flag {
    flex-shrink: 0;
}

.task-options {
    flex-shrink: 0;
    cursor: pointer;
}

.text-wrap {
    overflow-wrap: break-word;

}

.hollow-badge {
    background-color: transparent;
    color: #333;
    border: 1px solid #333;
    padding: 0.35em 0.65em;
    font-size: 0.675em;
    line-height: 1;
}

#bg-doc {
    background-color: #fff6c6;
    border-radius: 10px;
    width: 60px;
    height: 60px;
    transition: 0.3s ease-in-out;
}
#bg-doc-green{
    background-color: #cbfcff;
    border-radius: 10px;
}

#bg-doc:hover {
    background-color: #ffed9c;
    transform: scale(5.1);
}
:root {
    --primary-color: #2A5C87;
    --primary-soft: #d2ecff;
    --accent-color: #60ecff;
}

.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

.hover-scale:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.icon-container {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-container i {
    font-size: 1.75rem;
    transition: transform 0.3s ease;
}



.hover-scale:hover .icon-container i {
    transform: scale(1.1);
}



.document-meta {
    border-top: 1px solid #eee;
    padding-top: 12px;
    font-size: 0.9rem;
}

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

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



.icon-container {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 123, 255, 0.1); /* Soft blue background */
    position: relative;
}

/* Count Badge */
.count-badge {
    position: absolute;
    top: -10px;
    right: -27px;
    color: #222222;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 50%;
    min-width: 20px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}
.count-badge-three-digit {
    position: absolute;
    top: -10px;
    right: -32px;
    color: #222222;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 50%;
    min-width: 20px;
    text-align: center;
}
.count-badge-four-digit {
    position: absolute;
    top: -10px;
    right: -25px;
    background: #2A5C87; /* Red color for contrast */
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 50%;
    min-width: 20px;
    text-align: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.bg-blue-soft { background-color: #dbeafe; }
.text-blue { color: #2563eb; }

.bg-green-soft { background-color: #dcfce7; }
.text-green { color: #16a34a; }

.bg-purple-soft { background-color: #f3e8ff; }
.text-purple { color: #9333ea; }

.bg-orange-soft { background-color: #ffedd5; }
.text-orange { color: #ea580c; }

.bg-pink-soft { background-color: #fddbf5; }
.text-pink { color: #db2777; }

.bg-indigo-soft { background-color: #e0e7ff; }
.text-indigo { color: #4f46e5; }

.bg-cyan-soft { background-color: #cffafe; }
.text-cyan { color: #0891b2; }

.bg-amber-soft { background-color: #fee2c7; }

.bg-coral-soft { background-color: #ffe4e1; }

.bg-mustard-soft { background-color: #e9fec3; }
.bg-brown-soft { background-color: #fed4c3; }
.bg-red-soft { background-color: #fec3c3; }

.monthlyChart {
    height: 250px !important;
    width: 100% !important;
    background-color: #ffffff; 
    border-radius: 10px; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 10px;
}

.employee-tracker-entry-cursor-pointer:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.cursor-pointer-cards .card:hover {
    cursor: pointer;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.security-segment-dashboard-wrapper .content-block p,
.compliance-module-dashboard-wrapper .content-block p{
    font-size: 11px;
    font-weight: 500;
}
/* .ql-toolbar.ql-snow{
    display: none !important;
}
#toolbar-container.ql-toolbar.ql-snow{
   display: block !important; 
} */

.po-entry-row{
    background-color: #d4d3d323;
}

/* login with google btn */
.login-with-google-btn {
  transition: background-color .3s, box-shadow .3s;
    
  padding: 8px 16px 8px 42px;
  border: none;
  border-radius: 20px;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .25);
  
  color: #757575;
  font-size: 14px;
  font-weight: 500;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
  
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTcuNiA5LjJsLS4xLTEuOEg5djMuNGg0LjhDMTMuNiAxMiAxMyAxMyAxMiAxMy42djIuMmgzYTguOCA4LjggMCAwIDAgMi42LTYuNnoiIGZpbGw9IiM0Mjg1RjQiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxwYXRoIGQ9Ik05IDE4YzIuNCAwIDQuNS0uOCA2LTIuMmwtMy0yLjJhNS40IDUuNCAwIDAgMS04LTIuOUgxVjEzYTkgOSAwIDAgMCA4IDV6IiBmaWxsPSIjMzRBODUzIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNNCAxMC43YTUuNCA1LjQgMCAwIDEgMC0zLjRWNUgxYTkgOSAwIDAgMCAwIDhsMy0yLjN6IiBmaWxsPSIjRkJCQzA1IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNOSAzLjZjMS4zIDAgMi41LjQgMy40IDEuM0wxNSAyLjNBOSA5IDAgMCAwIDEgNWwzIDIuNGE1LjQgNS40IDAgMCAxIDUtMy43eiIgZmlsbD0iI0VBNDMzNSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PHBhdGggZD0iTTAgMGgxOHYxOEgweiIvPjwvZz48L3N2Zz4=);
  background-color: white;
  background-repeat: no-repeat;
  background-position: 12px 11px;
  
  &:hover {
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 2px 4px rgba(0, 0, 0, .25);
  }
  
  &:active {
    background-color: #eeeeee;
  }
  
  &:focus {
    outline: none;
    box-shadow: 
      0 -1px 0 rgba(0, 0, 0, .04),
      0 2px 4px rgba(0, 0, 0, .25),
      0 0 0 3px #c8dafc;
  }
  
  &:disabled {
    filter: grayscale(100%);
    background-color: #ebebeb;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .25);
    cursor: not-allowed;
  }
}

.login-with-microsoft-btn {
  transition: background-color .3s, box-shadow .3s;
    
  padding: 8px 16px 8px 42px;
  border: none;
  border-radius: 20px;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .25);
  
  color: #757575;
  font-size: 14px;
  font-weight: 500;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
  
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/4/44/Microsoft_logo.svg);
  
  background-size: 18px 18px;
  background-color: white;
  background-repeat: no-repeat;
  background-position: 12px 11px;
  
  &:hover {
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 2px 4px rgba(0, 0, 0, .25);
  }
  
  &:active {
    background-color: #eeeeee;
  }
  
  &:focus {
    outline: none;
    box-shadow: 
      0 -1px 0 rgba(0, 0, 0, .04),
      0 2px 4px rgba(0, 0, 0, .25),
      0 0 0 3px #c8dafc;
  }
  
  &:disabled {
    filter: grayscale(100%);
    background-color: #ebebeb;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .25);
    cursor: not-allowed;
  }
}
                /* Overall Search Bar Styles */
                .search-container {
                    position: relative;
                    width: 100%;
                    max-width: 400px; /* Adjust for responsive design */
                    margin: 0 auto;
                }
        
                .search-container input {
                    width: 100%;
                    padding: 5px 0px 4px 30px;
                    font-size: 14px;
                    border-radius: 50px;
                    border: 1px solid #ddd;
                    background-color: #fff;
                    transition: border-color 0.3s ease, box-shadow 0.3s ease;
                }
        
                .search-container input:focus {
                    border-color: #3498db;
                    outline: none;
                    box-shadow: 0 0 8px rgba(52, 152, 219, 0.2);
                }
        
                .search-container .search-icon {
                    position: absolute;
                    left: 11px;
                    top: 49%;
                    transform: translateY(-50%);
                    color: #7b838a;
                    font-size: 14px;
                }
        
                .search-container .clear-icon {
                    position: absolute;
                    right: 10px;
                    top: 50%;
                    transform: translateY(-50%);
                    color: #aaa;
                    cursor: pointer;
                    font-size: 1rem;
                    visibility: hidden;
                }
                .search-container .clear-icon-global {
                    position: absolute;
                    right: 10px;
                    top: 50%;
                    transform: translateY(-50%);
                    color: #aaa;
                    cursor: pointer;
                    font-size: 1rem;
                }
        
                .search-container input:not(:placeholder-shown) + .clear-icon {
                    visibility: visible;
                }
        
                /* Results dropdown */
                .searchResults {
                    position: absolute;
                    top: 100%;
                    left: 0;
                    width: 100%;
                    background-color: #fff;
                    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
                    max-height: 300px;
                    overflow-y: auto;
                    display: none;
                    border-radius: 8px;
                    overflow-x: hidden;
                    z-index: 9999;
                    padding: 10px;
                }
        
                .search-item {
                    font-size: 0.9rem;
                    cursor: pointer;
                    transition: background-color 0.3s ease;
                }
        
                .search-item:hover {
                    background-color: #f4f4f4;
                }
        
                .highlight {
                    color: #3498db;
                    font-weight: bold;
                }
        
                /* Empty State */
                .searchResults.empty p {
                    font-style: italic;
                    color: #888;
                    text-align: center;
                }
                .searchResults {
            display: none;
            list-style-type: none;
            padding: 0;
            margin: 0;
            position: absolute;
            width: 100%;
            max-height: 300px;
            overflow-y: auto;
            background-color: #fff;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            z-index: 9999;
        }
        
        .search-result-item {
            display: block;
            padding: 10px;
            color: #333;
            text-decoration: none;
            border-bottom: 1px solid #f1f1f1;
            transition: background-color 0.3s ease, padding-left 0.3s ease;
        }
        
        .search-result-item:hover {
            background-color: #f1f1f1;
            padding-left: 15px;
        }
        
        .search-result-item:focus {
            outline: none;
            background-color: #f0f0f0;
        }
        
        .search-result-item.active {
            padding-left: 15px;
            background-color: #f1f1f1 !important;
            color: #333;
        }
        
        .loading-indicator {
            font-size: 16px;
            color: #007bff;
            text-align: center;
            padding: 10px;
        }
        .search-container1 {
                    position: relative;
                    width: 100%;
                    max-width: 400px; /* Adjust for responsive design */
                    margin: 0 auto;
                }
        
                .search-container1 input {
                    width: 100%;
                    padding: 5px 0px 4px 30px;
                    font-size: 14px;
                    border-radius: 50px;
                    border: 1px solid #ddd;
                    background-color: #fff;
                    transition: border-color 0.3s ease, box-shadow 0.3s ease;
                }
        
                .search-container1 input:focus {
                    border-color: #3498db;
                    outline: none;
                    box-shadow: 0 0 8px rgba(52, 152, 219, 0.2);
                }
        
                .search-container1 .search-icon {
                    position: absolute;
                    left: 11px;
                    top: 49%;
                    transform: translateY(-50%);
                    color: #7b838a;
                    font-size: 14px;
                }
        
                .search-container1 .clear-icon {
                    position: absolute;
                    right: 10px;
                    top: 50%;
                    transform: translateY(-50%);
                    color: #aaa;
                    cursor: pointer;
                    font-size: 1rem;
                    visibility: hidden;
                }
        
                .search-container1 input:not(:placeholder-shown) + .clear-icon {
                    visibility: visible;
                }
        
                /* Results dropdown */
                .searchResults1 {
                    position: absolute;
                    top: 100%;
                    left: 0;
                    width: 100%;
                    background-color: #fff;
                    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
                    max-height: 300px;
                    overflow-y: auto;
                    display: none;
                    border-radius: 8px;
                    overflow-x: hidden;
                    z-index: 9999;
                    padding: 10px;
                }
        
                .search-item {
                    font-size: 0.9rem;
                    cursor: pointer;
                    transition: background-color 0.3s ease;
                }
        
                .search-item:hover {
                    background-color: #f4f4f4;
                }
        
                .highlight {
                    color: #3498db;
                    font-weight: bold;
                }
        
                /* Empty State */
                .searchResults1.empty p {
                    font-style: italic;
                    color: #888;
                    text-align: center;
                }
                .searchResults1 {
            display: none;
            list-style-type: none;
            padding: 0;
            margin: 0;
            position: absolute;
            width: 100%;
            max-height: 300px;
            overflow-y: auto;
            background-color: #fff;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            z-index: 9999;
        }
        
        .search-result-item {
            display: block;
            padding: 10px;
            color: #333;
            text-decoration: none;
            border-bottom: 1px solid #f1f1f1;
            transition: background-color 0.3s ease, padding-left 0.3s ease;
        }
        
        .search-result-item:hover {
            background-color: #f1f1f1;
            padding-left: 15px;
        }
        
        .search-result-item:focus {
            outline: none;
            background-color: #f0f0f0;
        }
        
        .search-result-item.active {
            padding-left: 15px;
            background-color: #f1f1f1 !important;
            color: #333;
        }
        
        .search-modal .modal-content {
                /* border-radius: 12px; */
                box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
                border: none;
            }
        
            .search-modal .modal-header {
                border-bottom: none;
                padding: 1.2rem 1.5rem 1rem 1.5rem;
                background-color: #f9f9f9;
                flex-direction: column;
                align-items: stretch;
            }
        
            .searchInputWrapper {
                position: relative;
                width: 100%;
            }
        
            .searchInput1 {
                padding-left: 2.3rem;
                height: 42px;
                border: none;
                border-radius: 8px;
                box-shadow: inset 0 0 0 1px #ddd;
                background-color: #fff;
                font-size: 0.95rem;
                transition: all 0.2s ease-in-out;
            }
        
            .searchInput1:focus {
                box-shadow: inset 0 0 0 2px #007bff;
                outline: none;
            }
        
            .searchInputWrapper .search-icon {
                position: absolute;
                top: 50%;
                left: 10px;
                transform: translateY(-50%);
                color: #888;
                font-size: 1rem;
                pointer-events: none;
            }
        
            .searchResults1 {
                font-size: 0.95rem;
                color: #444;
                display: flex;
                flex-direction: column;
                max-height: none;
                overflow: hidden;
                border-radius: unset;
                box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
                border-bottom-left-radius: 5px;
                border-bottom-right-radius: 5px;
                transition: max-height 0.3s ease;
            }
        
            .searchResults1.scrollable {
                max-height: 300px;
                overflow-y: auto;
            }
        
            .search-item {
                padding: 8px 12px;
                background-color: #f5f5f5;
                /* border-radius: 6px; */
                border: 1px solid #eaeaea;
                font-size: 0.9rem;
            }
        
            .searchResults1 p {
                margin: 0;
            }
            .size{
                font-size: 16px;
            }
            .item-size{
                font-size: 14px;
            }
            .search-container {
            position: relative;
        }
        
        .shortcut-hint {
            position: absolute;
            right: 30px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 0.8rem;
            color: #888;
            padding: 4px 6px;
            border-radius: 4px;
            pointer-events: none;
        }
        
        
            .modal-body::-webkit-scrollbar {
                width: 6px;
            }
        
            .modal-body::-webkit-scrollbar-thumb {
                background-color: rgba(0, 0, 0, 0.2);
                border-radius: 3px;
            }
/* @media (max-width: 576px) {
    #searchHide{
        display: none;
    }
  }
@media (min-width: 1576px) {
    #searchicon{
        display: none;
    }
    #searchModal{
        display: none;
    }
  } */
   /* Mobile: Hide the inline search bar */
@media (max-width: 576px) {
    #searchHide {
        display: none !important;  /* Hide the full search bar */
    }
    #searchicon {
        display: block !important; /* Show search icon */
    }
}


@media (min-width: 577px) {
    #searchHide {
        display: block !important; 
    }
    #searchicon,
    #searchModal {
        display: none !important;  
    }
}

.rde .employee-wrapper,
.rde .communication-mode,
.rde .task-time,
.rde .task-date,
.rde .subject,
.rde .client-wrapper,
.rde .remarks,
.rde .raised-by-employee-wrapper,
.rde .non-response-by-employee-wrapper,
.rde .ticket-date,
.rde .ticket-number,
.rde .status-wrapper {
    display: none;
}
#dateRangeCurtain {
    padding-left: 1.5rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    background-color: #f8f9fa;
    color: #212529;
    text-align: left;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease-in-out, opacity 0.4s ease-in-out;
    font-size: 10px;
    /* padding: 0px 0; */
    font-weight: 400;
    max-height: 52px;
    padding-top: 7px;
    padding-bottom: 7px;
    opacity: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


/* .navbar:hover + #dateRangeCurtain {
    max-height: 80px;
    padding-top: 12px;
    padding-bottom: 12px;
    opacity: 1;
} */


#dateRangeCurtain span {
    display: inline-block;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.navbar:hover + #dateRangeCurtain span {
    opacity: 1;
    transform: translateY(0);
}
#global-search-clear-btn{
    margin-top: 0rem !important;
}


    .search-box {
    transition: all 0.3s ease-in-out;
    border: 1px solid #e0e0e0;
    }
    .search-box:hover {
    border-color: #0d6efd;
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
    }
    #dashboardSearch::placeholder {
    color: #aaa;
    /* font-style: italic; */
    }
    .highlightcardtext {
        background-color: yellow; 
        display: inline;
        padding: 0;
        margin: 0;
        white-space: nowrap;
    }