    .chat-container {
      position: fixed;
      bottom: 20px;
      right: 20px;
      box-shadow: 0 5px 20px rgba(0,0,0,0.3);
      display: flex;
      opacity: 0;
      flex-direction: column;
      height: 0;
      max-width: 0;
      margin: auto;
      background: #ece5dd;
      z-index: 9999;
      transition: all 0.5s ease;
      pointer-events: none;
    }

    .header {
      background: #075e54;
      color: white;
      padding: 15px;
      font-weight: bold;
       display: flex;
  justify-content: space-between;
  align-items: center;
    }

    .messages {
      flex: 1;
      padding: 10px;
      overflow-y: auto;
    }

    .msg {
      display: inline-block;
      max-width: 70%;
      padding: 8px 12px;
      margin: 5px 0;
      border-radius: 10px;
      font-size: 14px;
      word-wrap: break-word;
      line-height: 1.3;
    }
    
    .msg p {
        margin: 0 0 10px 0 ;
    }
    .msg p:last-child{
        margin-bottom: 0;
    }
    .msg ul{
        margin-left: 10%;
    }
    .msg ul li{
        margin:10px 0;
    }
    .msg ul li:last-child{
        margin-bottom: -10px;
    }

    .msg a {
      color: #075e54;
      text-decoration: none;
      font-weight: bold;
      display: inline-block;
    }
    .msg a:hover {
      color: #16a84c;
    }

    .user {
      background: #dcf8c6;
      margin-left: auto;
      text-align: right;
      border-bottom-right-radius: 0;
    }

    .bot {
      background: white;
      margin-right: auto;
      border-bottom-left-radius: 0;
    }

    .typing {
      font-style: italic;
      opacity: 0.7;
    }

    .input-bar {
      display: flex;
      padding: 10px;
      background: #f0f0f0;
      align-items: end;
    }

    .input-bar input {
      flex: 1;
      padding: 10px;
      border-radius: 20px;
      border: 1px solid #ccc;
      outline: none;
    }

    .input-bar button {
      margin-left: 10px;
      padding: 10px 10px;
      border: none;
      border-radius: 50%;
      background: #075e54;
      color: white;
      cursor: pointer;
      width: 40px;
      height: 40px;
      line-height: 1;
      font-size: 18px;
    }
    .input-bar button.loading {
      background: #ccc;
      cursor: not-allowed;
    }

    #input {
      flex: 1;      
      padding: 10px;
      line-height: 20px;
      border-radius: 20px;
      border: 1px solid #ccc;
      outline: none;
      resize: none;
      font-family: Arial;
      box-sizing: border-box;
}
#chat-open{
cursor: pointer;
}
#chat-close {
  background: transparent;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  padding: 8px;
}
.chat-container.show {
  display: flex !important;
  height: 450px;
  max-width: 320px;
  opacity: 1;
  pointer-events: auto;
}

 .floating-whatsapp-button {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
            border-radius: 50%;
            font-size: 32px;
            background: #075e54;
            color: #fff;
            width: 47px;
            height: 47px;
            text-align: center;
            line-height: 1;
            opacity: 1;
            transform: translateY(0);
            transition: all 0.5s ease;
            padding: 0;
            box-sizing: border-box;
        }
 .floating-whatsapp-button:hover{
        background:#056e62
    }
  .floating-whatsapp-button.hide {
            transform: translateX(50px); /* slight slide */
            opacity: 0;
        }
  
  @media (max-width: 544px) {
    .chat-container.show {
      max-width: 100%;
      left: 20px;
    }
  }