
#chat-container {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  max-height: calc(100vh - 40px); /* Adjust height to fit within viewport */
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  background-color: #fff;
}
#chat-header {
  background-color: #007bff;
  color: #fff;
  padding: 10px;
  text-align: center;
  font-weight: bold;
}
#chat-body {
  padding: 10px;
  /* max-height: calc(100% - 150px);  */
  /* Adjust max-height to fit within container */
  overflow-y: auto;
  max-height: 300px;
}
#chat-input {
  width: calc(100% - 20px);
  padding: 10px;
  border: none;
  outline: none;
}
#chat-submit {
  width: calc(100% - 20px);
  padding: 10px;
  border: none;
  outline: none;
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
}
#chat-image {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-image: url('https://via.placeholder.com/50');
  background-size: cover;
  border: 2px solid #bf2554;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff
}
div#chat-image img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
}

/* ============================== 14-may-2024 ====================== */
#chat-header {
  background-color: #bf2554;
  position: relative;
}
#chat-submit {
  background-color: #bf2554;
  border: 1px solid #bf2554;
  border-radius: 5px;
}
div#chat-container {
  margin-bottom: 60px;
}
#chat-submit:hover{
  background-color: #fff;
  transition: all 0.2s ease-in-out;
  color: #bf2554;
}
div#chat-close {
  position: absolute;
  top: 8px;
  right: 23px;
  color: #fff;
  font-size: 19px;
  cursor: pointer;
}
div#chat-body input#u_name {
  width: 100%;
  border: 1px solid #dedede;
}
div#chat-body input#mobile {
  width: 100%;
  border: 1px solid #dedede;
}
div#chat-body input#u_name:focus {
 outline: none;
}
div#chat-body input#mobile:focus {
 outline: none;
}
select#planSelection {
  width: 100%;
  padding: 7px;
  border: 1px solid #dedede;
}
form#vendor-form input {
  width: 100%;
  border: 1px solid #dedede;
  padding: 7px;
}
form#vendor-form input:focus{
 outline: none;

}
form#vendor-form button {
  width: 100%;
  background-color: #bf2554;
  color: #fff;
  border: 1PX solid #bf2554;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 13px;

}

form#vendor-form button:hover{
  background-color: #FFF;
  transition: all 0.2s ease-in-out;
  color: #bf2554;
  border-radius: 5px;
}
form#vendor-form button:focus{
outline: none;
}
#vendor-form p{
  margin: 5px 0;
}
div#chat-body p {
  margin: 7px 0;
}
/* ============================== 14-may-2024 ====================== */

/* ==================== 15-may-2024======================== */

@media (max-width:350px) {
  #chat-container {
      width: 285px;
      right: 17px;
  }
}