.error
{
    color: red;
}

/* .tabulator-row .tabulator-cell:last-of-type, .tabulator .tabulator-header .tabulator-col:last-of-type
{
    display: none !important;
} */
/* Loading Overlay */
#loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-overlay .spinner-border {
    width: 2rem;
    height: 2rem;
    border-width: 0.2em;
}

.loading-overlay .loading-text {
    margin-left: 8px;
    font-size: 14px;
    color: #2c3e50;
}
.tabulator-selected
{
    background-color: #A5C9FF !important;
}
.tabulator .tabulator-footer
{
    background-color: unset !important;
}
.modal-header {
    cursor: grab;
}
.modal-header:active {
    cursor: grabbing;
}
/* Custom box styling */
.custom-box {
    border: 1px solid #ccc;
    min-height: 250px;
    padding: 10px;
    margin-bottom: 20px;
    overflow-x: auto; /* Horizontal scroll */
    overflow-y: auto; /* Vertical scroll */
    max-height: 350px; /* Set a maximum height */
  }
  
  /* Style for user items */
  .user-item {
  /*  display: inline-block; */
  display: block;
  white-space: nowrap; /* Keeps data in a single line */
  margin-right: 10px; /* Add some space between user items */
  text-align: left;
  padding: 5px 2px 5px 2px;
  }
  /* Alternate row colors */
  .user-item:nth-child(even) {
    background-color: #F5F5F5; /* Alternate background color for even rows */
  }
  
  /* Left-align user text */
  .user-item label {
    margin: 0;
    text-align: left;
  }
  
  /* Style for search input */
  .custom-box input[type="text"] {
    width: calc(100% - 20px);
    margin-bottom: 10px;
    padding: 5px;
  }
  .select2
{
    width: 100% !important;
}
.select2-selection
{
    min-height: 40px;
    height: auto !important;

}
input[type="checkbox"],
input[type="radio"] {
    all: unset; 
    appearance: auto; 
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    vertical-align: middle;
}

.tabulator-cell {
    overflow: visible !important;
    position: relative;
  }
  
  .tabulator-row {
    overflow: visible !important;
    
    z-index: auto;
  }
  
  .tabulator-tableHolder {
    overflow-x: auto;
    overflow-y: auto;
    position: relative; 
  }
  
  .dropdown-menu {
    z-index: 2000; /* higher than everything else */
  }

  table.dataTable
  {
    width: 100% !important;
  }


  /* copy from custom.css daniel_crm */

  

.dropdown-menu.dropdown-list.dropdown-menu-right.pullDown.dial_frame_div {
    height: 490px;
    width: 310px;
    overflow: hidden;
}

.dropdown-menu.dropdown-list.dropdown-menu-right.pullDown.dial_frame2_div {
    height: 210;
    width: 193px;
    overflow: hidden;
    overflow-x: hidden !important;
}

.dropdown-menu.dropdown-list.dropdown-menu-right.pullDown.dial_frame2_div .dropdown-list-content {
    overflow-x: hidden !important;
}


.dial_frame {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
}
.dropdown-list-content::after {
    content: none !important;
}
.blinking-text {
    display: none; /* initially hide the text */
}
.chat-box .chat-content .chat-item.chat-right .chat-details
{
    margin-right: unset !important;

}
.chat-box .chat-content .chat-item .chat-details
{
    margin-left: unset !important;

}
.language-selector {
    display: inline-block;
    position: relative;
    padding: 5px;
    border: 1px solid #ccc;
    cursor: pointer;
}
.language-selector:hover {
    background-color: #f9f9f9;
}
.language-selector .flag {
    margin-right: 5px;
    vertical-align: middle;
}
.language-selector .language-name {
    display: inline-block;
    vertical-align: middle;
}
.flag {
    vertical-align: middle;
}

#myDataTable_filter
{
    display: none !important;
}
#myDataTableSingleOp_filter
{
    display: none !important;
}
.card-header:not(.row) {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card .card-header button {
    border-radius: 5px !important;
}

.custom-checkbox {
    transform: scale(1); 
    appearance: none; 
    -webkit-appearance: none; 
    border: 2px solid #28a745; 
    border-radius: 4px; 
    width: 20px; 
    height: 20px; 
    outline: none; 
    margin-left: 5px; 
}


.custom-checkbox:checked {
    background-color: #41C457; 
}

.chat-item.chat-right .chat-text a.file-link
{
    color: black; 
}

.chat-item.chat-right .chat-text hr {
    background: white;
}


/* Styles for chat-item with class chat-left */
.chat-item.chat-left .chat-text a.file-link
{
    color: black; /* Set anchor and hr color to black */
}

.chat-item.chat-left .chat-text hr {
    background: black;
}

#attach_file_p
{
    color: #6777EF !important;    
}

body.search-show:before, body.sidebar-show:before
{
    content: unset !important;
}
.chat_circle_btn
{
    border-radius: 50%; 
    width: 40px; 
    height: 40px;
}
.chat-box .chat-content .chat-item.chat-right .chat-details .chat-text
{
    background-color: #D9FDD3 ;
    color: black ;
}
.card-body.chat-content.custom-chat-body
{
    background: linear-gradient(to bottom right, #f1f1f1, #efeae2);
}
.chat-time
{
    color: black;
}
.chat-box .chat-content .chat-item .chat-left .chat-details .chat-text
{
    color: black;
}

.chat-box .chat-content .chat-item.chat-right .chat-details .isComment2
{
    background-color: #CCD2D7 ;
    color: white; 
}
.inline-dropdown .dropdown-item {
  display: inline-block;
  margin-right: 10px; /* Adjust the spacing between items as needed */
}
.chat-box .chat-content .chat-item.chat-right .chat-details .isComment1
{
    background-color: #FF990D ;
    color: white ;
}
.messageListChatCount
{
    position: absolute;
    top: 80px;
    left: 230px;
}

.messageListStatus
{
    position: absolute;
    top: 85px;
    left: 180px;
}
.chat_reaction
{
    position: absolute;
    top: 15px;
    left: 18px;
    font-size: 18px;
    box-sizing: border-box;
/*    border: 1px solid grey;*/
/*    padding: 2px;*/
/*    border-radius: 100%;*/
}
.chat_reactionFile
{
    top: 75px;
    left: 90px;
}
.reply-message
{
    padding: 10px;
    border: 1px solid lightgrey;
    border-left: 5px solid green;
    margin-bottom: 10px;
    background: aliceblue;
    opacity: 0.8;
    cursor: pointer;
    color: black;
}
.reply-message-a
{
    color: inherit;
    text-decoration: none;
}
.chat_reply_alert
{
    width: 50%;
}
#iframeContent {
    display: none;
    padding: 20px;
    margin-top: 10px;
    background-color: #f8f9fa;
    position: absolute;
    top: 60px;
    right: 100px;
    width: 400px; /* Adjust the width as needed */
    height: 550px; /* Adjust the height as needed */
    border: 1px solid #ccc; /* Add a border for visibility */
    z-index: 1000; /* Ensure it's above other content */
    overflow: hidden; /* Hide overflow content if any */
    color: black !important;
    cursor: pointer;
    margin-left: 10px;
    margin-right: 10px;
}
.bell
{
    color: black !important;
    width: 25px !important;
    margin-left: 20px;
    margin-right: 20px;
    cursor: pointer;

}
#iframeContent iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.custom-li {
  width: 10rem;
}

/* Media query for larger screens */
@media (min-width: 960px) {
  .custom-li {
    width: 15rem;
}
}

.card-body.chat-content .chat-item:first-of-type {
  padding-top: 100px;
}
/*.chat-right .dropdown-menu.show {
    transform: translate3d(-161px, -121px, 0px) !important;
}*/
#myallchatbox .dropup {
    display: none !important;
}
#opMsg_mychatbox_closed .dropup {
    display: none !important;
}

.disabled-link {
    pointer-events: none; 
    opacity: 0.5; 
    cursor: not-allowed; 
}
.dt-buttons 
{
    margin-bottom: 10px;
}
.dt-buttons-left
{
    /* margin-bottom: 10px; */
    margin-left: 2px;
}

#dial_frame
{
    height: 480px !important;
    margin-left: 20px !important;
    width: 380px !important;
    margin-right: 20px !important;

}
#myDataTableSingleOp thead
{
    background-color: #F5F5F5;
}
#myDataTableSingleOp tbody tr td:last-child
{
    display: none;
}#myDataTable1 thead
{
    background-color: #F5F5F5;
}



.main-content .row .col-12 .card .btn-success:not(.btn-except) {
    background-color: #28a745 !important;
    color: white !important;
}

.main-content .row .col-12 .card .btn-primary:not(.btn-except) {
    background-color: #007bff !important;
    color: white !important;
}

.main-content .row .col-12 .card .btn-danger:not(.btn-except) {
    background-color: #dc3545 !important;
    color: white !important;
}

.main-content .row .col-12 .card .btn-info:not(.btn-except) {
    background-color: #17a2b8 !important;
    color: white !important;
}

.main-content .row .col-12 .card .btn-warning:not(.btn-except) {
    background-color: #ffc107 !important;
    color: black !important;
}
.table-sm thead
{
    background-color: #F5F5F5;
}
#myDataTableSingleOp thead th:last-child {
    display: none;
}
/* Target the second-to-last <td> in each row */
#myDataTableSingleOp tbody tr td:nth-last-child(2) {
    text-align: center;
}

/* Target the last <td> in each row */
#myDataTableSingleOp tbody tr td:last-child {
    text-align: center;
}
#myDataTableSingleOp thead th.hideInput input {
  display: none;
}
.audio-success
{
    background-color: #28a745 !important;
    color: white !important;
}
.audio-primary
{
    background-color: #007bff !important;
    color: white !important;
}
.audio-primary i
{
    color: white !important;
}
#myDataTable1:not(.table-except) thead th:first-child {
  display: none !important;
}

#myDataTable1:not(.table-except) tbody tr td:first-child {
  display: none !important;
}

table.dataTable tbody tr.selected a, 
table.dataTable tbody th.selected a, 
table.dataTable tbody td.selected a {
    color: black !important;
}

table.dataTable tbody tr.selected a:hover, 
table.dataTable tbody th.selected a:hover, 
table.dataTable tbody td.selected a:hover {
    color: #6777EF !important;
}

#myDataTable1:not(.table-except) thead th:first-child input,
#myDataTable1:not(.table-except) thead th:nth-child(2) input {
  display: none;
}


/*@media screen and (max-width: 470px) and (max-height: 405px) {
    ul.navbar-nav.navbar-right li {
        display: none !important;
    }
}*/
.card .card-statistic-4 .banner-i i {
    max-width: 100%;
    float: right;
    font-size: 60px;
    color: #808080;
    opacity: 0.5;
}
/* For very small devices (max-width: 320px, iPhone 5 and smaller) */
@media screen and (max-width: 320px) {
    ul.navbar-nav.navbar-right li.hide-sm-device {
        display: none !important;
    }
    #iframeContent
    {
        right: 10px;
        width: 350px;
    }
    .main-footer {
        height: 110px;
    }
}

/* For small mobile devices (max-width: 375px, iPhone 6/7/8) */
@media screen and (max-width: 375px) {
    ul.navbar-nav.navbar-right li.hide-sm-device {
        display: none !important;
    }
    #iframeContent
    {
        right: 10px;
        width: 350px;

    }

    .main-footer {
        height: 110px;
    }
}

/* For larger mobile devices (max-width: 425px, iPhone 6/7/8 Plus, some Android devices) */
@media screen and (max-width: 425px) {
    ul.navbar-nav.navbar-right li.hide-sm-device {
        display: none !important;
    }
    #iframeContent
    {
        right: 10px;
        width: 350px;

    }
    .main-footer {
        height: 110px;
    }
}

/* For small tablets or large phones (max-width: 600px) */
@media screen and (max-width: 600px) {
    ul.navbar-nav.navbar-right li.hide-sm-device {
        display: none !important;
    }
    #iframeContent
    {
        right: 10px;
        width: 350px;
    }
    .main-footer {
        height: 110px;
    }
}
body.dark.dark-sidebar.theme-black .color-white {
    color: white !important;
}

/* Add a custom spinner style */
.swal-loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-top: 10px;
}

@keyframes spin {
    to {
      transform: rotate(360deg);
  }
}
.modal-super-xl {
    max-width: 90%;
}

.card-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #007bff; /* Adjust color to your theme */
  cursor: pointer;
}
.selectric
{
  min-width: 200px;
}

.selectric-items li.selected {
background: #487FFF !important;
color: white !important;
}
.table.dataTable.no-footer
{
    border-top: 1px solid #DFDFDF;
}
@media (min-width: 1200px) {
  .modal-super-xl {
    max-width: 90% !important;
  }
}
.btn-secondary
{
    background-color: #BFC6CD !important;
    border-color: #cdd3d8 !important;
}


.chat_circle_btn
{
    border-radius: 50%; 
    width: 40px; 
    height: 40px;
}
.chat-box .chat-content .chat-item.chat-right .chat-details .chat-text
{
    background-color: #D9FDD3 ;
    color: black ;
}
.card-body.chat-content.custom-chat-body
{
    background: linear-gradient(to bottom right, #f1f1f1, #efeae2);
}
.chat-time
{
    color: black;
}
.chat-box .chat-content .chat-item .chat-left .chat-details .chat-text
{
    color: black;
}

.chat-box .chat-content .chat-item.chat-right .chat-details .isComment2
{
    background-color: #CCD2D7 ;
    color: white; 
}
.inline-dropdown .dropdown-item {
  display: inline-block;
  margin-right: 10px; /* Adjust the spacing between items as needed */
}
.chat-box .chat-content .chat-item.chat-right .chat-details .isComment1
{
    background-color: #FF990D ;
    color: white ;
}
.messageListChatCount
{
    position: absolute;
    top: 80px;
    left: 230px;
}

.messageListStatus
{
    position: absolute;
    top: 85px;
    left: 180px;
}
.chat_reaction
{
    position: absolute;
    top: 15px;
    left: 18px;
    font-size: 18px;
    box-sizing: border-box;
/*    border: 1px solid grey;*/
/*    padding: 2px;*/
/*    border-radius: 100%;*/
}
.chat_reactionFile
{
    top: 75px;
    left: 90px;
}
.reply-message
{
    padding: 10px;
    border: 1px solid lightgrey;
    border-left: 5px solid green;
    margin-bottom: 10px;
    background: aliceblue;
    opacity: 0.8;
    cursor: pointer;
    color: black;
}
.reply-message-a
{
    color: inherit;
    text-decoration: none;
}
.chat_reply_alert
{
    width: 50%;
}
.chat-box .chat-content .chat-item.chat-right .chat-details
{
    margin-right: unset !important;

}
.chat-box .chat-content .chat-item .chat-details
{
    margin-left: unset !important;

}

 #emoji-button {
    right: 40px; /* Adjust this value to create space between the buttons */
  }

  .btn-primary {
    right: 5px;
  }
  .emojionearea-button
  {
    display: block !important;
  }
  .chat-box .chat-content
  {
    background-color: #fff !important;
  }
  .unique-chat-window {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 40px; /* Changed to right */
    left: auto; /* Added to override Bootstrap */
    width: 350px;
    height: 720px;
/*    height: 580px;*/

background-color: #fff;
border: 1px solid #ccc;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
z-index: 4;
background: #f0f2f5;
}


.unique-chat-all-window {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 400px; /* Changed to right */
  left: auto; /* Added to override Bootstrap */
  width: 350px;
  height: 720px;
/*    height: 580px;*/

background-color: #fff;
border: 1px solid #ccc;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
z-index: 4;
background: #f0f2f5;
}

.unique-chat-header {
  padding: 10px;
  background-color: #f0f2f5;
  color: #000000;
  border-bottom: 1px solid #ccc;
  display: flex; /* Added */
  align-items: center; /* Added */
}

.chat-avatar {
  width: 40px; /* Added */
  height: 40px; /* Added */
  border-radius: 50%; /* Added */
  overflow: hidden; /* Added */
  margin-right: 10px; /* Added */
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.unique-close-btn {
  margin-left: auto; /* Added */
  cursor: pointer;
}

.unique-close-btn i {
  font-size: 14px; /* Adjust size as needed */
}
.chat-box .chat-content .chat-item .chat-details .chat-text
{
  font-size: 14px !important;
}
.chat-file
{
  background: #F66161 !important;
}
.chat-num-messages
{
  cursor: pointer;
}

.custom-chat-body {
  max-height: 650px; /* Adjust this value as needed */
  overflow-y: auto; /* Add scrollbars if content exceeds the height */
}
.custom-chat-footer
{
  height: 70px;
  background: #f0f2f5;
}
.post_chat_footer
{
  background: #f0f2f5;
  color: #800000;
}
.unique-lg-btn
{
  position: relative;
  top: 25px;
  right: 11px;
}
#attach_file_btn
{
  right: 40px;
}
#attach_audio_file_btn
{
  right: 85px;
}
#scroll_down_btn
{
  right: 95px;
  width: 30px;
  height: 30px;
}
#loadMsgBtn
{
  right: 130px;
}
.emojionearea .emojionearea-editor

{
  min-height: 6em !important;

  max-height: 6em !important;
/*  overflow-y: scroll;*/
}
.custom-chat-body
{
  overflow: auto !important;
}



.chat .chat-message .fa-file-o, .chat .chat-message .fa-file-image-o {
    font-size: 16px;
    color: gray;
    cursor: pointer;
}
.chat-app {
    height: 690px;
}
.chat-app .people-list {
    width: 280px;
    position: absolute;
    left: 0;
    top: 0;
    padding: 20px;
}
.chat-app .chat {
    border-left: 1px solid #e8e8e8;
}
.chat-app .list_btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    padding: 0;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    display: none;
    -webkit-box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.3);
    -ms-box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
}
.people-list {
    transition: 0.5s;
}
.people-list .chat-search {
    margin: 10px;
}
.people-list .chat-list li {
    padding: 10px 15px;
    list-style: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
}
.people-list .chat-list li:hover {
    background: #efefef;
    cursor: pointer;
}
.people-list .chat-list li.active {
    background: #efefef;
}
.people-list .chat-list li .name {
    font-size: 15px;
}
.people-list .chat-list img {
    width: 45px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%}
.people-list img {
    float: left;
    border: 1px solid #fff;
    -webkit-box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.2);
    -ms-box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%}
.people-list .about {
    float: left;
    padding-left: 8px;
}
.people-list .status {
    color: #999;
    font-size: 13px;
}
.chat .chat-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    border-radius: 0 0.55rem 0 0;
}
.chat .chat-header img {
    float: left;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    width: 45px;
}
.chat .chat-header .chat-about {
    float: left;
    padding-left: 10px;
}
.chat .chat-header .chat-with {
    font-weight: bold;
    font-size: 16px;
}
.chat .chat-header .chat-num-messages {
    color: 434651;
}
.chat .chat-history {
    padding: 20px;
    border-bottom: 2px solid #fff;
    height: 450px;
}
.chat .chat-history ul {
    padding: 0;
}
.chat .chat-history ul li {
    list-style: none;
}
.chat .chat-history .message-data {
    margin-bottom: 15px;
}
.chat .chat-history .message-data .message-data-name {
    font-size: 13px;
    font-weight: 700;
}
.chat .chat-history .message-data-time {
    color: #434651;
    padding-left: 6px;
}
.chat .chat-history .message {
    color: #444;
    padding: 18px 20px;
    line-height: 26px;
    font-size: 13px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    -ms-border-radius: 7px;
    border-radius: 7px;
    margin-bottom: 30px;
    width: 90%;
    position: relative;
}
.chat .chat-history .message:after {
    bottom: 100%;
    left: 7%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #fff;
    border-width: 10px;
    margin-left: -10px;
}
.chat .chat-history .my-message {
    background: #e8e8e8;
}
.chat .chat-history .my-message:after {
    bottom: 100%;
    left: 7%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #e8e8e8;
    border-width: 10px;
    margin-left: -10px;
}
.chat .chat-history .other-message {
    background: #d9e7ea;
}
.chat .chat-history .other-message:after {
    border-bottom-color: #d9e7ea;
    left: 93%}
.chat .chat-message {
    padding: 20px;
}
.chat .chat-message textarea {
    width: 100%;
    border: none;
    padding: 10px 20px;
    font: 14px/22px Lato,  Arial,  sans-serif;
    margin-bottom: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    resize: none;
}
.online {
    margin-right: 3px;
    font-size: 10px;
    color: #86bb71;
}
.offline {
    margin-right: 3px;
    font-size: 10px;
    color: #e38968;
}
.me {
    margin-right: 3px;
    font-size: 10px;
    color: #0498bd;
}
.float-right {
    float: right;
}
.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
.slimScrollBar {
    z-index: 0 !important;
}
.chat-upload {
    float: right;
}
.chat-box .chat-content {
    background-color: #f9f9f9 !important;
    height: 400px;
    overflow: hidden;
    padding-top: 25px !important;
}
.chat-box .chat-content .chat-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 25px;
}
.chat-box .chat-content .chat-item.chat-right img {
    float: right;
}
.chat-box .chat-content .chat-item.chat-right .chat-details {
    margin-left: 0;
    margin-right: 70px;
    text-align: right;
}
.chat-box .chat-content .chat-item.chat-right .chat-details .chat-text {
    text-align: left;
    background-color: #6777ef;
    color: #fff;
}
.chat-box .chat-content .chat-item>img {
    float: left;
    width: 50px;
    border-radius: 50%}
.chat-box .chat-content .chat-item .chat-details {
    margin-left: 70px;
}
.chat-box .chat-content .chat-item .chat-details .chat-text {
    box-shadow: 0 4px 25px 0 rgba(0, 0, 0, 0.1);
    background-color: #fff;
    padding: 10px 15px;
    border-radius: 3px;
    width: auto;
    display: inline-block;
    font-size: 12px;
}
.chat-box .chat-content .chat-item .chat-details .chat-text img {
    max-width: 100%;
    margin-bottom: 10px;
}
.chat-box .chat-content .chat-item.chat-typing .chat-details .chat-text {
    background-image: url("../img/typing.svg");
    height: 40px;
    width: 60px;
    background-position: center;
    background-size: 60%;
    background-repeat: no-repeat;
}
.chat-box .chat-content .chat-item .chat-details .chat-time {
    margin-top: 5px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.6;
}
.chat-box .chat-form {
    padding: 0;
    position: relative;
}
.chat-box .chat-form .form-control {
    border: none;
    padding: 15px;
    height: 50px;
    padding-right: 70px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: none;
    outline: none;
}
.chat-box .chat-form .btn {
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    right: -5px;
    -webkit-transform: translate(-50%,  -50%);
    transform: translate(-50%,  -50%);
    box-shadow: 0 4px 25px 0 rgba(0, 0, 0, 0.1);
}
.chat-box .chat-form .btn i {
    margin-left: 0;
}
.chat-box .chat-content .chat-item.chat-right .chat-details
{
    margin-right: unset !important;

}
.chat-box .chat-content .chat-item .chat-details
{
    margin-left: unset !important;

}
/* Styles for chat-item with class chat-right */
.chat-item.chat-right .chat-text a.file-link
{
    color: black; /* Set anchor and hr color to solid white */
}

.chat-item.chat-right .chat-text hr {
    background: white;
}


/* Styles for chat-item with class chat-left */
.chat-item.chat-left .chat-text a.file-link
{
    color: black; /* Set anchor and hr color to black */
}

.chat-item.chat-left .chat-text hr {
    background: black;
}


.chat_circle_btn
{
    border-radius: 50%; 
    width: 50px; 
    height: 50px;
}
.chat-box .chat-content .chat-item.chat-right .chat-details .chat-text
{
    background-color: #D9FDD3 ;
    color: black ;
}
.card-body.chat-content.custom-chat-body
{
    background: linear-gradient(to bottom right, #f1f1f1, #efeae2);
}
.chat-time
{
    color: black;
}
.chat-box .chat-content .chat-item .chat-left .chat-details .chat-text
{
    color: black;
}

.chat-box .chat-content .chat-item.chat-right .chat-details .isComment2
{
    background-color: #CCD2D7 ;
    color: white; 
}
.inline-dropdown .dropdown-item {
  display: inline-block;
  margin-right: 10px; /* Adjust the spacing between items as needed */
}
.chat-box .chat-content .chat-item.chat-right .chat-details .isComment1
{
    background-color: #FF990D ;
    color: white ;
}
.messageListChatCount
{
    position: absolute;
    top: 80px;
    left: 230px;
}

.messageListStatus
{
    position: absolute;
    top: 85px;
    left: 180px;
}
.chat_reaction
{
    position: absolute;
    top: 15px;
    left: 18px;
    font-size: 18px;
    box-sizing: border-box;
/*    border: 1px solid grey;*/
/*    padding: 2px;*/
/*    border-radius: 100%;*/
}
.chat_reactionFile
{
    top: 75px;
    left: 90px;
}
.chat_reply_alert
{
    width: 50%;
}

.card-body.chat-content .chat-item:first-of-type {
  padding-top: 100px;
}
/*.chat-right .dropdown-menu.show {
    transform: translate3d(-161px, -121px, 0px) !important;
}*/
#myallchatbox .dropup {
    display: none !important;
}
#opMsg_mychatbox_closed .dropup {
    display: none !important;
}
.card-body.chat-content.custom-chat-body {
/*    overflow-y: auto !important; */
    max-height: 400px;
}
.chat-content
{
    margin-left: unset !important;
}
#scroll_down_btn
{
    width: 40px;
    height: 40px;
}
.custom-chat-body {
/*  overflow-y: auto;*/
  max-height: 400px; /* Adjust based on your layout */
}
#myallchatbox .custom-chat-body 
{
      max-height: 650px;

}


.chat-content  .dropup 
{
    display: none !important;
}

.btn-group > button:first-child {
    margin-left: 0.25rem !important; 
}

.btn-group > button:nth-child(2) {
    margin-left: 0 !important;
}
.form-check-input.card-checkbox {
  width: 1.25rem;   /* default ~2.25rem */
  height: 0.5rem; /* default ~1.25rem */
  transform: scale(0.7); /* shrink overall size */
  margin-top: 0.2rem;    /* adjust vertical alignment */
}

#divCampaignBtn {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  align-items: center;
  gap: 0.5rem; /* uniform gap for all items */
}

#divCampaignBtn > * {
  margin: 0 !important; /* remove all inconsistent margins */
}
#myTabulatorTable .tabulator-header .tabulator-col {
    white-space: nowrap !important;
}
#myTabulatorTable {
    overflow-x: auto !important;
    white-space: nowrap !important;
}
.swal2-title
{
    font-size: 30px !important;
}
#tabulator_table_div.dataTable thead th {
  white-space: nowrap;       /* no line breaks */
  overflow: hidden;          /* hide overflow */
  text-overflow: ellipsis;   /* show "..." if too long */
  vertical-align: middle;    /* keep text aligned */
}
#tabulator_table_div_wrapper .dt-buttons
{
    display: none !important;
}

#tabulator_table_div th,
#tabulator_table_div td:not(.dt-empty) {
  text-align: start !important;
}
/* .table-responsive:not(.exlMinHeight) > #tabulator_table_div {
    min-height: 800px;
}


.modal .table-responsive {
    min-height: auto !important;
} */

#diagram_ivr_add_form_model footer
{
    display: none;
}
#crm_base_add_form_model .row.border .col-md-5.border
{
        height: 400px;
    overflow-y: scroll;
}
.table-responsive {
  overflow-x: unset !important; /* default = no scroll */
}

.table-responsive:has(table[data-overflow="true"]) {
  overflow-x: auto !important; /* enable scroll only when needed */
}

#actionArea
{
    overflow-y: hidden !important;
}

#tabulator_table_div td {
  white-space: nowrap;   
}

table tr td {
        white-space: nowrap;

}
.form-control[type=file]
{
    line-height: 1.7 !important;
    background: #f8f9fa !important
    ;
}


.tox-dialog.tox-dialog--width-lg {
  background-color: #1e1e1e; 
  color: #d4d4d4;
  font-family: 'Fira Code', 'Source Code Pro', Consolas, 'Courier New', monospace;
}


.tox-dialog__title {
  background: #252526;
  color: #cccccc;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 12px;
  border-bottom: 1px solid #333;
  font-family: 'Fira Code', monospace;
}


.tox-textarea-wrap {
  background: #1e1e1e;
  border: 1px solid #333;
}




.tox-textarea::selection {
  background: #264f78;
  color: #ffffff;
}


.tox-button {
  border-radius: 4px;
  padding: 6px 14px;
  font-family: 'Fira Code', monospace;
}

.tox-button.tox-button--secondary {
  background: #3a3d41;
  color: #d4d4d4;
  border: none;
}

.tox-button:not(.tox-button--secondary) {
  background: #007acc;
  color: #fff;
  border: none;
}

.tox-button:hover {
  opacity: 0.9;
}
.tox-textarea {
  background-color: #1e1e1e !important;
  color: #d4d4d4 !important;
  font-family: Consolas, Menlo, Monaco, "Courier New", monospace !important;
  font-size: 14px !important;
  line-height: 1.5;
  padding: 12px;
  white-space: pre;
  caret-color: #ffffff;
  resize: none;
  tab-size: 2;
}

body.overlay-active .sidebar-close-btn {
  display: inline-flex ;
}

.sidebar-logo img {
    max-height: 5rem !important;
    margin-top: 25px;
}

.ag-filter
{
    background: whitesmoke;
}

/* All AG Grid filter inputs */
.ag-filter input {
  padding: 5px 8px;       /* add padding */
  padding-left: 25px;     /* extra left space for the icon */
  box-sizing: border-box; /* prevent overflow issues */
}

/* Hide placeholder text */
.ag-filter input::placeholder {
  color: transparent;
}
.ag-filter input::-webkit-input-placeholder { color: transparent; }
.ag-filter input::-moz-placeholder { color: transparent; }
.ag-filter input:-ms-input-placeholder { color: transparent; }
.ag-filter input::-ms-input-placeholder { color: transparent; }

/* Optional: style the search icon (if AG Grid uses background-image) */
.ag-filter .ag-input-field-input {
  background-position: 5px center;   /* keep icon aligned */
  background-repeat: no-repeat;
}
.ag-input-field-input::-webkit-search-cancel-button,
.ag-input-field-input::-webkit-search-decoration,
.ag-input-field-input::-webkit-search-results-button,
.ag-input-field-input::-webkit-search-results-decoration {
  display: none;
}

.ag-input-field-input {
  -webkit-appearance: none;
  appearance: none;
  background-image: none !important; /* force remove */
}
.ag-input-wrapper:before {
    display: none !important;
        }




/* Sliding Settings Panel */
.settings-panel {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease-in-out;
  z-index: 1050;
  overflow-y: auto;
}

.settings-panel.open {
  right: 0;
}

/* Gear Button */
.settings-toggle {
  position: fixed;
  top: 50%;
  right: 0; /* Default right */
  transform: translateY(-50%);
  padding: 10px;
  border-radius: 8px 0 0 8px;
  cursor: pointer;
  z-index: 1060;
  transition: right 0.3s ease-in-out;
}


/* Slide gear icon along with panel */
.settings-panel.open + #settings-toggle {
  right: 300px; /* Match panel width */
}

/* Spinning animation */
.spin {
  animation: spin 1.7s linear infinite;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.modal-backdrop
{
    z-index: auto !important;
}



.modal-backdrop.show:nth-of-type(2) {
  z-index: 1060; /* Behind second modal */
}

#homerRawModal {
  z-index: 1070; /* Above first modal */
}
