 html, body {
        height: 100%;
        margin: 0;
   
      }

      .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: 1rem;
        margin: 5px 0;
        display: flex;
        align-items: center;
        /* justify-content: center; */
        width: 84%;
        height: 58px;
        border-radius: 12px;
        /* transition: background 0.3s; */
        gap: 13px;
        padding: 10px;
        text-decoration: none;
      }
      
      .sidebar-icon1 {
        color: white;
        font-size: 1rem;
        margin: 15px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 53% !important;
        height: 58px;
        border-radius: 12px;
        transition: background 0.3s;
        text-decoration: none;
      }

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

      .sidebar-icon.active {
        background-color: rgba(255, 255, 255, 0.2) !important;
      }
        .sidebar-icon1:hover {
        background-color: rgba(255, 255, 255, 0.15);
      }

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


      .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;
    }

   

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




      .message pre {
        white-space: pre-wrap; 
        word-wrap: break-word;   
        overflow-wrap: break-word;
        max-width: 100%;
        margin: 0;           /* remove default margin */
        flex: 1;
        font-family: var(--bs-body-font-family) !important;
        font-size: 14px;
      }

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

      .message.right {
        background-color: rgba(175, 132, 237, 1);
        /* 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;
      }
     

        .info-card {
    border: 1px solid #70b5f9;
    border-radius: 5px;
    padding: 1rem 1.5rem !important;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    white-space: nowrap !important;
    cursor: pointer;
    text-align: center !important;
    /* margin: auto !important; */
    /* overflow-x: auto !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;
  }
}


/* KEEP ONLY THIS: */
.hamburger-btn .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(59, 130, 246, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}
/* ...existing code... */

.info-card {
  background-color: #f8f9fa;
  padding: 10px 20px;
  border-radius: 10px;
  white-space: nowrap;        /* Prevent line break inside cards */
  flex-shrink: 0;    
       /* Prevent shrinking */
}

@media (max-width: 991.98px) {
  .set_chat_user {
    white-space: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none !important; /* Firefox */
  }
  .set_chat_user::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari */
    height: 0 !important;
    background: transparent !important;
  }
}



.sidebar-ipad { display: none !important; }
@media (min-width: 768px) and (max-width: 1024px) {
  .sidebar-ipad { display: flex !important; }
  /* Agar koi aur sidebar hai to usko hide kar dein */
  .sidebar:not(.sidebar-ipad) { display: none !important; }
.right_icon{
  position: relative;
  left: 78%;
}


}

/* iPad Air (portrait: 820px–1023px) */
@media (min-width: 820px) and (max-width: 1023px) {
  .sidebar-ipad { display: flex !important; }
  .sidebar:not(.sidebar-ipad) { display: none !important; }
  .right_icon {
    left: 55%; /* apne hisaab se adjust karein */
  }
}
/* iPad Mini (portrait: 768px–819px) */
@media (min-width: 768px) and (max-width: 819px) {
  .sidebar-ipad { display: flex !important; }
  .sidebar:not(.sidebar-ipad) { display: none !important; }
  .right_icon {
    left: 49%; /* apne hisaab se adjust karein */
  }
}

  .set_btn_table{
          background: rgba(52, 168, 83, 0.1); color: rgba(52, 168, 83, 1); border: 2px rgba(52, 168, 83, 1) solid;
        }

         .set_btn_table_1{
   background: rgba(255, 149, 0, 0.1); color: rgba(255, 149, 0, 1); border: 2px rgba(255, 149, 0, 1) solid;
         }

         .set_btn_table_2{
           background: rgba(59, 130, 246, 0.1); color: rgba(59, 130, 246, 1); border: 2px rgba(59, 130, 246, 1) solid;
         }

         .set_btn_table_3{
           background: rgba(255, 59, 48, 0.1); color: rgba(255, 59, 48, 1); border: 2px rgba(255, 59, 48, 1) solid;
         }
           .set_btn_table_4{
           background: rgba(130, 63, 224, 0.1); color: rgba(130, 63, 224, 1); border: 2px rgba(130, 63, 224, 1) solid !important;
         }
         body{
          background-color: rgba(246, 250, 255, 1) !important;
         }

         @media (max-width: 767.98px) {
.h3_color{
  font-size: 1.25rem;

    width: 100%;
}
.set_h4{
  font-size: clamp(12px, 4vw, 12px);
  font-weight: bold;
  color: rgba(10, 34, 72, 1);
  margin-bottom: 0;
}
.custom-btn{
  /* padding: 8px 4px !important; */
  width: 100px !important;
}
input[type="date"].custom-date{
  width: 100% !important;
}

.custom_btn_responsive{
  padding: 8px 4px !important;
  width: 100px !important;
}
         }

         