 html, body {
        height: 100%;
        margin: 0;
        /* overflow: hidden; */
        /* background-color: #f8f9fa; */
      }

      .container-fluid, .row.chat-container {
        height: 100vh;
      }

      .sidebar {
        background-color: rgba(59, 130, 246, 1);
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 1rem;
      }

      .sidebar-icon {
        color: white;
        font-size: 1.5rem;
        margin: 15px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 12px;
        transition: background 0.3s;
      }
      

      .sidebar-icon:hover {
        background-color: rgba(255, 255, 255, 0.15);
      }

      .sidebar-icon.active {
        background-color: rgba(255, 255, 255, 0.2);
      }

      .profile-img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
      }

      .h3_color {
        color: rgba(10, 34, 72, 1);
        font-weight: 700;
      }

      .chat-wrapper {
        background: #fff;
        height: 85vh;
        display: flex;
        flex-direction: column;
      }

      .chat-box {
        overflow-y: auto;
        flex-grow: 1;
        padding: 1rem;
        overflow-x: clip;
      }

      .chat-footer {
        border-top: 1px solid #ddd;
        background: #fff;
        display: flex;
        align-items: center;
        padding: 10px;
      }

      .form-control {
        border: 1px solid #E8EDF2;
        box-shadow: none;
        outline: none;
      }

      .form-control:focus {
        border-color: #E8EDF2;
        box-shadow: none;
        outline: none;
      }

      .input-with-icons {
        padding-right: 120px !important;
      }

      .input-icons {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
      }

      .input-icons img {
        cursor: pointer;
        margin-left: 10px;
        transition: transform 0.2s;
      }

      .input-icons img:hover {
        transform: scale(1.1);
      }

      .message-row {
        display: flex;
        margin-bottom: 20px;
       align-items:center;
       /* background-color: antiquewhite; */
      }

      .message-row.left {
        justify-content: flex-start;
      }

      .message-row.right {
        justify-content: flex-end;
      }

      .avatar {
     padding: 13px;
        background: #ccc;
        margin: 0 10px;
           position: relative;
           bottom:9px
      }

      .avatar_1{
         position: relative;
           bottom:9px;
       
      }

          .online-dot {
      position: absolute; /* Change from relative to absolute */
      bottom: 0px;
      right: 4px;
      width: 12px;
      height: 12px;
      background: #28c76f;
      border: 2px solid #fff;
      border-radius: 50%;
      display: inline-block;
    }

      /* .avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      } */

      .message {
        /* max-width: 600px; */
        padding: 14px 18px;
        border-radius: 10px;
        position: relative;
        font-size: 14px;
        line-height: 1.5;
        color: white;
      }

      .message.left {
        background-color: #2e89ff;
        /* border-top-left-radius: 0; */
      }

      .message.right {
        background-color: #8b4dde;
        /* border-top-right-radius: 0; */
      }

      .timestamp {
        font-size: 12px;
        color: #888;
        margin-top: 5px;
      }

      .dot-menu {
        margin-left: 8px;
        color: #999;
        cursor: pointer;
        font-size: 40px;
      }

      .dot-menu1 {
        margin-right: 8px;
        color: #999;
        cursor: pointer;
        font-size: 40px;
      }
      /* @media (max-width: 767.98px) {
        .sidebar {
          flex-direction: row;
          justify-content: space-around;
          align-items: center;
          position: fixed;
          bottom: 0;
          width: 100%;
          height: 60px;
          min-height: unset;
          z-index: 1000;
          padding: 0;
        }

        .chat-container1 {
          padding-bottom: 60px;
        }

        .profile-img {
          width: 36px;
          height: 36px;
        }
      } */

        .info-card {
    border: 1px solid #70b5f9;
    border-radius: 5px;
    padding: 1rem 1.5rem;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    cursor: pointer;
    text-align: center !important;
  }
  .typing-dots span {
        animation: blink 1.4s infinite both;
        font-size: 2em;
        opacity: 0.4;
    }
    .typing-dots span:nth-child(2) {
        animation-delay: 0.2s;
    }
    .typing-dots span:nth-child(3) {
        animation-delay: 0.4s;
    }
    @keyframes blink {
        0%, 80%, 100% { opacity: 0.4; }
        40% { opacity: 1; }
    }
    @media (max-width: 767.98px) {
  body {
    overflow: hidden !important;
  }
}