body {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

/* .chat-container {
    width: 600px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
} */
.message-received a, .chat-box .message-received p a { color: #262a2e !important; text-decoration: none; }
.message-sent a, .chat-box .message-sent p a { color: #ffffff !important; text-decoration: none; }

.chat-container {
    width: 100%;
    /*margin: 20px auto;*/
    background-color: #fff;
    /*border-radius: 8px;*/
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
    overflow: hidden;
    height: 100vh;
}


.chat-header {
    background-color: #4CAF50;
    color: #13426E;
    padding: 15px;
    text-align: center;
    font-size: 18px;
}

.user-list {
    background-color: #ffffff;
    width: 20%;
    /*margin: 10px;*/
    /*border-radius: 20px 0px 0px 0px;*/
    overflow: auto;
}

.user-list ul {
    list-style: none;
    padding: 0;
}

.user-list li {
padding: 10px 10px;
    align-items: center;
    display: flex;
    margin: 5px;
    
    border-radius: 15px;
        background-color: #ffffff;
    /*border-left: 4px solid #e5e4e4;*/

}

.user-list a {
    text-decoration: none;
    color: #333;
    
}

/* .chat-box {
    height: 300px;
    overflow-y: scroll;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    background-color: #f9f9f9;
} */

.chat-box {
    height: 100vh;
    overflow-y: auto;
    padding: 0px 36px 10px;
    /*border-bottom: 1px solid #ddd;*/
    background-color: #ffffff;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
}
/*h2.usr-nme {*/
/*    margin: 10px 0px;*/
/*}*/
.chat-box2 {
    height: 75vh;
    overflow-y: auto;
    padding: 0px 10px 10px;
    /*border-bottom: 1px solid #ddd;*/
    background-color: #ffffff;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
}


/* .message-sent {
    float: right;
    clear: both;
    background-color: #e1ffe1;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    max-width: 80%;
    align-self: flex-end;
}

.message-received {
    float: left;
    clear: both;
    background-color: #f1f1f1;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    max-width: 80%;
} */
/* Chat message tables */
/* Make tables responsive inside chat bubbles */
.message-received table,
.message-sent table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

/* Optional: smoother scroll */
.message-received table::-webkit-scrollbar,
.message-sent table::-webkit-scrollbar {
    height: 6px;
}
.message-received table,
.message-sent table {
    border-collapse: collapse;
    font-size: 14px;
}

.message-received td,
.message-received th,
.message-sent td,
.message-sent th {
    padding: 6px 10px;
    text-align: center;
    border: 1px solid #c5c5c5;
}


.message-sent, .message-received {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 16px;
    max-width: 75%;
    word-wrap: break-word;
    font-size: 15px;
}
.user-list li:hover {
    background-color: #f7f7f7;
   /*border-left: 4px solid #1c9dea;*/
   padding: 10px 10px !important;
   /*margin:10px;*/
}
form#createGroupForm input#groupName {
    width: 97%;
    height: 25px;
    padding: 5px;
}
.modal-content form#createGroupForm label {
    font-weight: 500;
    margin-bottom: 5px !important;
}
.modal-content form#createGroupForm h3 {
    text-align:center;
}
button:hover,
a:hover,
div.clickable:hover {
    cursor: pointer;
}
select#groupMembers option {
    background-color: #ffffff;
    padding: 10px;
    border-bottom: 1px solid #eeeeee;
}
select#groupMembers option:hover {
    background-color: #eeeeee;
    padding: 10px;
    border-bottom: 1px solid #eeeeee;
}
form#createGroupForm button {
    background-color: #13426e;
    color: #ffffff;
    padding: 10px;
}
.modal-content h3 {
    margin-top: 0px;
}
.message-sent {
    align-self: flex-end;
    background-color: #007d88;
    color: #ffffff;
        border-radius: 20px 0 20px 20px;
}
.chat-box2 strong {
    color: #ffffff !important;
}
.message-received {
    align-self: flex-start;
    background-color: #f7f7f7;
    color:#262a2e;
    border-radius: 0 20px 20px 20px;
    
}
.message-received p, .message-received a {
    margin: 0px;
}
.message-sent p, .message-sent a {
    margin: 0px;
}
ul.con-list li img {
    width: 48px;
    height: 48px;
    border-radius: 50px;
}
.time-sent {
    text-align: left;
    font-style: italic;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    opacity:0.5;
}
.time-received {
    text-align: left;
    font-style: italic;
    color: #6f6f6f;
    margin-top:10px;
    font-size: 12px;
    font-weight:600;
     opacity:0.5;
}
.chat-input {
    /*padding: 5px;*/
    background-color: #ffffff;
    display: flex;
    /*padding-bottom: 100px;*/
}
.avatar-wrapper-serch1 button {
    padding: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #d7d7d7;
}
.chat-input input[type="file"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.chat-input input[type="text"] {
   flex: 4;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 30px;
}

/*.chat-input button {*/
/*    padding: 10px;*/
/*    background-color: #8dcef4;*/
/*    color: white;*/
/*    border: none;*/
/*    border-radius: 4px;*/
/*    cursor: pointer;*/
/*    margin-left: 10px;*/
/*    width: 50px;*/
/*    height: 50px;*/
/*    padding: 15px;*/
/*    border-radius: 50%;*/
/*}*/
.chat-input button {
   background-color: #ffffff;
   border:none;
}
.chat-input button i {
    font-size: 15px !important;
}
.login-container {
    width: 300px;
    margin: 100px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.login-container button {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.error {
    color: red;
    margin-bottom: 10px;
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    padding-top: 60px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* .date-separator {
    text-align: center;
    margin: 15px 0;
    font-size: 12px;
    color: gray;
    position: relative;
}

.date-separator::before,
.date-separator::after {
    content: "";
    display: inline-block;
    width: 30%;
    height: 1px;
    background: #ccc;
    vertical-align: middle;
    margin: 0 10px;
} */

.date-separator {
    position: sticky;
    top: 0;
    background-color: #ffffff;
    padding: 5px 0px;
    text-align: center;
    font-size: 12px;
    color: #6f6f6f;
    z-index: 5;
}

.date-separator > p{
    margin: auto;
    padding: 4px;
    background-color: #f1f1f1;
    border-radius: 6px;
    width: fit-content;
    color: #6f6f6f;
    font-weight: 600;
}

/*.chat-head{*/
/*   background-color: #ffffff;*/
/*    padding-left: 20px;*/
/*    margin: 20px;*/
/*}*/

.chat-input button i, .custom-file-upload {
    display: inline-block;
    /*padding: 10px;*/
    cursor: pointer;
    background-color: #19406b;
    color: white;
    /*border-radius: 23px;*/
    /*font-size: 18px;*/
    /*font-weight: 500;*/
    transition: background-color 0.3s ease;
    /*margin-left: 10px;*/
    /*width: 25px !important;*/
    /*height: 25px !important;*/
    text-align: center;
}

.custom-file-upload:hover {
    background-color: #2099e5;
}

#fileInput {
    display: none;
}

.user-avatar-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    float: right;
}

.user-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.dropdown {
    position: absolute;
    top: 60px;
    right: 10%;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    z-index: 1000;
}

.dropdown.hidden {
    display: none;
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

/*.choices{*/
/*    width: min-content !important;*/
/*}*/

.sidebar {
    width: 5%;
    background-color: #fff;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #eee;
        display: flex;
    justify-content: space-between;
    height: 100vh;
    background-image: url(https://chat.around29.com/user-imgs/chatbackground.jpg);
}

.logo {
    width: 50px;
    margin-bottom: 20px;
}

.avatar-wrapper {
    margin-bottom: 20px;
}
.user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000000;
    font-weight: 500;
    background-color: #ffffff;
    padding: 12px 20px !important;
    position: sticky;
    width: auto;
    z-index: 10;
    top: 0;
    border-bottom: 1px solid #eaeaea;
    height: 45px;
}

.chat-header-des {
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
        color: #ffa84d;
    font-weight: 500;
    /*background-color: #f7f7f7;*/
padding: 0px 20px !important;
    top: 0;
    color:#000000;
    width: 100%;

}
.user-chatlist {
    padding-top: 20px;
}
.avatar-wrapper1 i.fa.fa-plus-circle {
    font-size: 23px;
}
/*.sidebar i {*/
/*    font-size: 18px !important;*/
/*    color: #525252;*/
/*}*/
.usr-nme {
    margin: 0;
    font-size: 27px;
    color: #ffffff;
}
.hidden {
  display: none;
}
.show {
  display: inline-block;
}

.avatar-wrapper1 img {
    width: 50px;
    height: 50px;
    border: 3px solid #ffffff6e;
    border-radius: 50%;
}
.avatar-wrapper-serch {
    width: 24px;
    height: 24px;
    border: 3px solid #cbcbcb6e;
    border-radius: 50%;
    padding: 10px;
    text-align: center;
}
.chat-header-des h3 {
    margin: 0px !important;
}
.chat-header-des p {
    margin: 0px !important;
}
.avatar1 {
    width: 45px;
    height: 45px;
    border-radius: 50%; /* Makes it circular */
    object-fit: cover;
}
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #2196f3;
}

.menu-icons button {
    background: #f5f7f9;
    border: 1px solid #e1e1e1;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 auto;
    margin-bottom: 28px;
}

.menu-icons button img {
    width: 20px;
    height: 20px;
}

.notif {
    position: relative;
}
.dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    background: red;
    border-radius: 50%;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 8px 20px;
  /*border-radius: 8px;*/
  /*margin: 30px;*/
      /*box-shadow: 0px 0px 6px 0px #d5d3d3;*/
      border-bottom: 1px solid #f7f7f7;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 53px;
}
.avatar-wrapper1.addIcon i.fa.fa-plus {
    background-color: #007d87;
    padding: 10px;
    width: 15px;
    height: 15px;
    border-radius: 50px;
    color: #ffffff;
}
.avatar {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  object-fit: cover;
}

.user-info h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.status {
  display: inline-block;
  font-size: 12px;
  padding: 2px 8px;
  background: #22c55e;
  color: white;
  border-radius: 12px;
  margin-top: 2px;
}

.divider {
  width: 1px;
  height: 30px;
  background: #d1d5db;
}

.icon-group {
  display: flex;
  gap: 10px;
}

.action-section {
  display: flex;
  gap: 10px;
}

.icon-btn {
    background: #ffffff;
    border: none;
    /* padding: 10px; */
    /* border-radius: 50%; */
    cursor: pointer;
    font-size: 17px;
    color: #1f2937;
    transition: background 0.3s;
    width: 25px;
    height: 25px;
}

.icon-btn:hover {
  background: #e2e8f0;
}
.right-sidebar {
  width: 5%; 
  top: 0;
  right: 0;
  width: 70px;
  height: 100vh;
  background: #fff;
  padding: 15px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.sidebar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #475569;
  font-size: 14px;
  padding: 15px;
}

.sidebar-item span {
  margin-top: 5px;
      font-weight: 600;
}

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

hr {
  width: 60%;
  border: 0.5px solid #e5e7eb;
}

.blue {
  color: #0ea5e9;
}

.light-green {
  background: #d1fae5;
  color: #10b981;
}

.light-blue {
  background: #dbeafe;
  color: #3b82f6;
}

.light-red {
  background: #fee2e2;
  color: #ef4444;
}

.light-yellow {
  background: #fef9c3;
  color: #facc15;
}

.green {
  background: #22c55e;
  color: white;
}

.red {
  background: #f87171;
  color: white;
}

.blue {
  background: #3b82f6;
  color: white;
  font-weight: bold;
}
/* Apply this to your scrollable container, e.g., body or .right-sidebar */
::-webkit-scrollbar {
  width: 6px;
}

/* Scrollbar Track */
::-webkit-scrollbar-track {
  background: transparent;
}

/* Scrollbar Thumb */
::-webkit-scrollbar-thumb {
  background-color: #cce8fa; /* light blue */
  border-radius: 10px;
  border: 1px solid transparent;
}

/* On Hover */
::-webkit-scrollbar-thumb:hover {
  background-color: #90cdf4;
}


.chat-item {
    display: flex;
    align-items: center;
    padding: 10px;
    /*border-bottom: 1px solid #f7f7f7;*/
    position: relative;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
}

.profile-pic {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.chat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chat-header1 {
    /*display: flex;*/
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 3px;
}

.chat-name {
    font-weight: 500;
    color: #262a2e;
}

.chat-date {
    font-size: 11px;
    color: #13426e63;
    font-weight: 700;
    text-align: right;
}

.chat-message {
    font-size: 14px;
    color: #6f6f6f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.chat-message {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 130px;
}
.chat-status {
    font-size: 12px;
    color: green;
    position: absolute;
    bottom: 8px;
    right: 10px;
}

.unread-count {
    color: red;
    font-size: 12px;
    margin-left: 4px;
}

form#changePasswordForm button {
    background-color: #13426e;
    color: #ffffff;
    padding: 15px 45px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border:none;
}
form#changePasswordForm button:hover {
    background-color: #74a7e2;
}

    .logcontainer {
      display: flex;
      height: 100vh;
    }
   .left-panel {
background-color: #fff;
    padding: 0px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    width: 30%;
     
    }
    form#loginForm button {
    background-color: #5c89be;
    color: #ffffff;
    padding: 15px 30px;
    border: none;
    font-weight: 700;
    font-size: 16px;
}
form#loginForm button:hover {
    background-color: #000000;
    color: #ffffff;
}
form#changePasswordForm label.col-form-label {
    font-weight: 500;
    line-height: 39px;
}
    .left-panel h2 {
      font-size: 26px;
      margin-bottom: 10px;
      color: #2b3844;
      margin-top: 0px;
    }

    .left-panel p {
      color: #667;
      margin-bottom: 30px;
      margin-top: 0px;
      font-size: 18px;
    }

    .form-group {
      margin-bottom: 20px;
    }

    input[type="text"], input[type="email"], input[type="password"] {
      width: 86%;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 16px;
    }

    .actions {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 14px;
      margin-bottom: 20px;
      color: #555;
    }

    .actions input {
      margin-right: 6px;
    }

    .button-group {
      display: flex;
      gap: 15px;
    }

    .button-group button {
      padding: 12px 30px;
      font-size: 16px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }

    .btn-login {
      background-color: #2196f3;
      color: white;
    }

    .btn-signup {
      background-color: #1e2a38;
      color: white;
    }

    .terms {
      margin-top: 25px;
      font-size: 13px;
      color: #444;
    }

    .terms span {
      color: #f44336;
    }

    .right-panel {
     
      background: url('https://chat.around29.com/user-imgs/login-background.png') no-repeat center center;
      background-size: cover;
      position: relative;
      width: 70%;
      height:100vh;
    }

    .right-panel::before {
      content: "";
     
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
    }
    .right-sidebar {
  top: 0;
  right: 0;
  height: 100vh;
 
  z-index: 1000;
  box-shadow: -1px 0 5px rgba(0,0,0,0.1);
}
.chat-col {
    width: 80%;
}
.sidebar-content {
  position: fixed;
  top: 0;
  right: 101px; /* starts next to sidebar */
  height: 100vh;
  width: 300px;
  background: #fff;
  z-index: 999; /* LESS than sidebar */
  padding: 50px 20px;
  box-shadow: -1px 0 5px rgba(0, 0, 0, 0.1);
  display: none;
  overflow: scroll;
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 13px;
  cursor: pointer;
  color: #333;
}
.task.done {
  opacity: 0.6;
  text-decoration: line-through;
}
button.add-btn {
    background-color: #19406b;
    color: #ffffff;
    font-size: 20px;
    border-radius: 5px;
}
.close-btn:hover {
  color: #f44336;
}
.sidebar-item {
  cursor: pointer;
  padding: 10px;
  text-align: center;
}

.sidebar-item:hover {
  background-color: #eee;
}
.avatar-wrapper-search {
    position: relative;
    width: 48px;
    transition: width 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.avatar-wrapper-search.active {
  width: 180px; /* expands on click */
}

#searchToggle {
    cursor: pointer;
    z-index: 2;
    /*background-color: #f0f0f0;*/
    padding: 10px;
    width: 14px;
    height: 14px;
    /*border: 3px solid #d7d7d7;*/
    /*border-radius: 50%;*/
}

.search-input {
    width: 100%;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    outline: none;
}
.search-input:focus {
    border-color: #007d88;
    box-shadow: 0 0 0 .125rem rgba(#007d88, .16);
}
.avatar-wrapper-search.active .search-input {
  opacity: 1;
}
  .todo-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }

    .todo-header h2 {
      margin: 0;
    }

    .todo-form {
display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    }

    .todo-form input,
    .todo-form select,
    .todo-form button {
      padding: 8px;
      font-size: 14px;
    }
.todo-form textarea {
  resize: vertical;
  padding: 8px;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
}
    .todo-form input[type="text"] {
      flex: 2;
    }

    .todo-form input[type="datetime-local"],
    .todo-form select {
      flex: 1;
    }

    .todo-form button {
      background: #19406b;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      flex: 1 0 100px;
    }

    .task {
      background: white;
      padding: 15px;
      margin-bottom: 10px;
      border-left: 6px solid #999;
      border-radius: 5px;
      position: relative;
    }

    .task.high { border-left-color: red; background-color: #fd001626;}
    .task.medium { border-left-color: orange;background-color: #fea63438; }
    .task.low { border-left-color: green; background-color: #00822138;}
textarea#taskText, input#taskDateTime, select#taskRecurrence, select#taskPriority, select#taskAssignee {
    background-color: #58a5f91f;
    border: none;
}
    .task h4 {
      margin: 0 0 6px 0;
    }

    .task small {
      display: block;
      color: #555;
      margin-top: 5px;
    }

    .task-actions {
      position: absolute;
      top: 10px;
      right: 10px;
    }

    .task-actions button {
      margin-left: 5px;
      cursor: pointer;
      border: none;
      background: transparent;
      font-size: 16px;
    }

.sticky-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}


.menu-container {
    position: relative;
    margin-left: 10px;
}

.menu-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.menu-options {
    display: none;
    position: absolute;
    top: 25px;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    list-style: none;
    padding: 5px 0;
    z-index: 1000;
    width: 150px;
}

.menu-options li {
    padding: 8px 12px;
    cursor: pointer;
    white-space: nowrap;
}

.menu-options li:hover {
    background-color: #f2f2f2;
}

.menu-container.active .menu-options {
    display: block;
}



@media only screen and (max-width:1600px) and (min-width:1000px){
    .usr-nme {
    margin: 0;
    font-size: 17px !important;
    color: #ffffff;
}
.user-list {
    flex: 6 !important;
}
.chat-col {
    width: 70%;
}
.user-list {
    background-color: #ffffff;
    width: 30%;
    
}

}






.loading-popup {
    display: none; /* hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* semi-transparent overlay */
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loading-content {
    background: #fff;
    padding: 25px 40px;
    border-radius: 10px;
    text-align: center;
    font-family: Arial, sans-serif;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.spinner {
    margin: 15px auto 0;
    width: 40px;
    height: 40px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}