
.form-group.row label{
    flex: 1;
}
.eye-adjustment{
    position: absolute;
    top: 7px;
    right: 22px;
    background: white;
    padding: 3px 8px;
}
.eye-adjustment img{
    cursor: pointer;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled{
    /* border: 1px solid #e5e5e5 !important; */
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover{
  background: linear-gradient(to bottom, #58585800 0%, #1110 100%) !important;
  border: none !important;
}
/* Firefox */
.heighlighted-box{
    border-radius: 7px;
    border: 1px solid #f0f0f0;
    padding: 10px;
    background: #e5e5e5;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
textarea{
    resize: none;
}
input[type=number] {
    -moz-appearance: textfield;
}
.form-group.row label:nth-child(1){
    flex-basis: 100%;
    color: #4f515e;
}
.title-csr{
    font-size: 3em;
    font-weight: 500;
    font-family: fangsong;
}
.select-parameter{
    padding: 05px 10px !important;
    min-height: 50px;
}
.sticky-card-wrap{
    font-size: 16px;
    padding: 12px;
    border-radius: 7px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.single-data-wrap{
    background-color: #fff;
    padding: 15px;
    border-radius: 7px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.single-data-wrap p{
    color: #191919;
    font-size: 17px;
    padding: 0px 7px;
}
.single-data-wrap h1{
    font-weight: 700;
    font-size: 18px;
    /* background: #f5f2f2; */
    padding: 7px;
    background-image: linear-gradient(103deg, #f8f8f8 30%, transparent 60%);
}
.ul-wrap{
    display: flex;
    column-gap: 40px;
    flex-wrap: wrap;
    padding: 0px 0px 0px 20px;
    color: #191919;
    font-size: 17px;
}
.ul-wrap li{
    width: 40%;
}
#status{
    width: 20px;
    height: 20px;
}
#togglePassword{
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
}
.append-customer-name a{
    padding: 7px;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 23px;
    color: #fff;
    background: #4268d6;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
}
.costing-form-wrap{
    border: 1px solid #e5e5e5;
    padding: 10px;
    border-radius: 7px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    margin-bottom: 30px;
}
#customers {
    border-collapse: collapse;
    width: 100%;
    padding: 20px;
  }

  #customers td, #customers th {
    border: 1px solid #ddd;
    padding: 8px;
  }

  #customers tr:nth-child(even){background-color: #f2f2f2;}

  #customers tr:hover {background-color: #ddd;}

  #customers th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #04AA6D;
    color: white;
  }
  .col-lg-20{
    flex: 0 0 20%;
    max-width: 20%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }
.success-msg.active{
    margin: 15px;
    padding: 15px;
    border-radius: 3px 3px 3px 3px;
    color: #270;
    background-color: #DFF2BF;
}
.read-msg
{
    margin: 10px 0;
    border-radius: 3px 3px 3px 3px;
    color: #270;
    background-color: #DFF2BF;
    border: 5px solid #fff !important;
}
/* width */
.chart-area::-webkit-scrollbar {
    width: 20px;
  }

  /* Track */
  .chart-area::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
  }

  /* Handle */
  .chart-area::-webkit-scrollbar-thumb {
    background: #e5e5e5;
    border-radius: 10px;
  }

  /* Handle on hover */
  .chart-area::-webkit-scrollbar-thumb:hover {
    background: #e5e5e5;
  }
  .chart-dashboard .nav-link{
    display: inline-block;
    width: 49%;
    padding: 9px;
    border-bottom: 1px solid #e5e5e5;
  }
  .chart-dashboard .nav-link h5{
    color: #3d3d3d ;
    font-weight: 600 ;
    font-size: 15px;
  }
 .user-dropdown-wrap {
    background: #283d78;
    z-index: 999999;
    border-radius: 0px 7px 7px 0px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transition: 0.3s ease-in-out;
    visibility: hidden;
    height: 0;
  }
  .user-dropdown-wrap a{
    color: rgba(255,255,255,.8);
    text-decoration: none;
    padding: 1rem;
  }
  .user-dropdown-wrap a:hover{
    color: #fff;
  }
  .user-dropdown-wrap.active{
    visibility: visible;
    padding: 20px;
    height: auto;
  }
  #close-user-dropdown{
    position: absolute;
    right: 15px;
    top: 65px;
    color: #fff;
    border: 1px solid #fff;
    padding: 4px 5px;
    border-radius: 50px;
    width: 25px;
    cursor: pointer;
  }
  .user-dropdown-wrap a{
    font-size: 13px;
    color: #e5e5e5 !important;
    font-weight: 400 !important;
    transition: 0.3s ease-in-out;
  }
  .user-dropdown-wrap a:hover{
    color: #fff !important;
    font-weight: 700 !important;
  }
.csr-homme-sticky-card{
    padding: 10px;
    background: white;
    position: sticky;
    top: 20px;
    border-radius: 5px;
}
.card-customer{
    display: none;
}
.card-customer.active{
    display: block;
}
.customer-card a{
  color: #252525;
}
/* Chatbot style */

/* Message container */
.chat-message-container {
  display: flex;
  flex-direction: column;
  gap: 14px;

  max-height: 500px; /* or any height you want */
  overflow-y: auto;
}

/* Shared message style */
.chat-message {
  display: flex;
  align-items: flex-end;
  max-width: 80%;
}

/* Avatar */
.message-avatar img{
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 10px;
}

/* Message bubble */
.message-content {
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
  max-width: 300px;
  word-wrap: break-word;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Sender message style */
.chat-message.sender {
  flex-direction: row-reverse;
  align-self: flex-end;
}

.chat-message.sender .message-content {
  background-color: #007bff;
  color: #fff;
  border-bottom-right-radius: 4px;
}

/* Receiver message style */
.chat-message.receiver {
  flex-direction: row;
  align-self: flex-start;
}

.chat-message.receiver .message-content {
  background-color: #e1e1e1;
  color: #333;
  border-bottom-left-radius: 4px;
}
.white-bg-wrap{
  background: #fff;
  padding: 20px;
}
.card.shadow .mockup-btn{
  margin-bottom: 7px;
}
textarea{
  border-radius: 0px !important;
}
/* .dataTables_scrollBody{
  max-height: fit-content !important; 
} */
.dropdown-item{
  padding: 6px 10px;
  white-space: normal;
  border-bottom: 1px solid #e5e5e5;
}
.dropdown-menu .dropdown-item:last-child{
  border: none;
}
.single-data-wrap div img , .mockups-img-box img{
  width: 320px;
    height: 280px !important;
    object-fit: contain;
    object-position: left;
    padding: 10px 0px;
}
.white-color{
  color: #fff;
}
/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; /* optional: removes jumpy dropdown */
}
.filter-dropdown{
  display: inline;
}
.filter-dropdown .dropdown-menu p{
    padding: 7px;
    border-bottom: 1px solid #e5e5e5;
    margin: 0;
    cursor: pointer;
}
.filter-dropdown .dropdown-menu p:hover{
  background: #ededed;
}
.dropdown.dropstart .dropdown-menu{
  left: inherit ;
}
.dataTables_scroll{
    max-height: fit-content;
    overflow: auto;
    max-width: 100%;
    width: 100%;
}
.dataTables_scroll .dataTables_scrollBody{
  overflow: initial !important;
}
.dataTables_scroll tr .flex-td{
  display: flex;
  align-items: flex-start;
  column-gap: 4px;
}
.dataTables_wrapper.no-footer .dataTables_scrollBody{
  border: none;
}
.bg-light-2{
  background-color: #f4f9fd;
}
.title-head{
  font-size: 25px;
  color: #212121;
  font-weight: 600;
}
.text-wrap{
    color: #191919;
    font-size: 17px;
}
.message-clr{
  font-size: 14px;
  color: #0A1629;
}
.height-wrap{
  max-height: 300px;
  overflow-y: auto;
}
/* width */
.height-wrap::-webkit-scrollbar {
  width: 5px;
}

/* Track */
.height-wrap::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
.height-wrap::-webkit-scrollbar-thumb {
  background: #888; 
}

/* Handle on hover */
.height-wrap::-webkit-scrollbar-thumb:hover {
  background: #555; 
}
#dataTable_wrapper{
  position: relative;
}
.dataTables_scrollHead{
  position: sticky !important;
  top: 0;
  background: #fff;
  z-index: 1;
}
.mail-list-wrap a:hover{
  text-decoration: none;
}
.mail-list-wrap a .date-wrap small{
  background-color: #F3F3F3;
      color: #646568;
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 7px;
}
.mail-list-wrap a{
  border-bottom: 1px solid #c8c8c8;
    padding: 10px 0px;
    transition: 0.3s ease-in-out;
}
.mail-list-wrap a:hover{
  background-color: #fff;
  box-shadow: 5px 5px 10px #e5e5e5;
}
.mail-list-wrap a h3 i{
  color: #a3a3a3;
  padding-right: 5px;
}
.mail-list-wrap a h3{
  font-size: 14px;
  word-break: break-all;
  color: #2b2b2b;;
}
.badge-hover-wrap {
    position: relative;
    display: inline-block;
}
.custom-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ffc107;
    color: #000;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    pointer-events: none;
    z-index: 10;
}

.badge-hover-wrap:hover .custom-badge {
    opacity: 1;
}
.select2-container .select2-selection--single {
    height: 38px !important;
    padding: 6px 12px;
}
 .chat-card {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease;
    }

    /* .chat-card:hover {
      transform: scale(1.02);
    } */
    .chat-header {
        font-weight: 600;
        font-size: 1.2rem;
        border-bottom: 1px solid #ddd;
        padding-bottom: 0.5rem;
    }

    .chat-body {
        margin-top: 1rem;
        height: 160px;
        overflow-y: auto;
        flex-grow: 1;
    }

    .chat-row {
        display: flex;
        margin-bottom: 10px;
    }

    .user-msg {
        background-color: #eef2ff;
        color: #2f2f2f;
        align-self: flex-start;
        border-radius: 20px;
        padding: 10px 15px;
        max-width: 80%;
        font-size: 14px;
    }

    .bot-msg {
        background-color: #f3f3f3;
        color: #1e293b;
        align-self: flex-end;
        border-radius: 20px;
        padding: 10px 15px;
        max-width: 80%;
        margin-left: auto;
        font-size: 14px;
    }
    .force-row{
      display: flex !important;
      flex-wrap: wrap;
      margin-right: -.75rem;
      margin-left: -.75rem;
    }

.dataTables_scroll {
    overflow: auto !important;
    width: 100% !important;
}

.dataTables_scrollHead {
    overflow: visible !important;   /* ✅ THIS FIXES THE CLIPPING */
}

.dataTables_scrollHeadInner {
    overflow: visible !important;   /* ✅ Critical */
    width: max-content !important;
}

.dataTables_scrollBody {
    overflow-x: auto !important;
}

.dataTables_scrollBody table,
.dataTables_scrollHeadInner table {
    min-width: max-content !important;
    width: 100% !important;
}

thead th {
    white-space: nowrap;
    box-sizing: border-box;
}

/* Optional: prevent last column from being cut */
th:last-child, td:last-child {
    padding-right: 20px;
}
table.dataTable.nowrap th, table.dataTable.nowrap td{
  background: #fff;
}
.text-black{
  color: #000;
}




@media screen and (max-width:768px){
    .form-group.row.mbl-direction-column {
        flex-direction: column;
    }
}

@media screen and (max-width:992px){
.col-lg-20{
    flex: 0 0 100%;
    max-width: 100%;
}
}
