/* CHAT BOT css */
.chat-bot-label {
    position: fixed;
    right: 20px;
    bottom: 1rem;
    height: 55px;
    width: 55px;
    text-align: center;
    line-height: 55px;
    border-radius: 50px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.chat-bot-label i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    transition: all 0.4s ease;
}

.chat-bot-label i.fas {
    opacity: 0;
    pointer-events: none;
}

#click:checked ~ .chat-bot-label i.fas {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%,-50%) rotate(180deg);
}

#click:checked ~ .chat-bot-label i.fab {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%,-50%) rotate(180deg);
}

.newwrapper {
    position: fixed;
    right: 30px;
    bottom: 20px;
    max-width: 400px;
    background: transparent;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.68,-0.55,0.265,1.55);
    z-index: 9999;
}

#click:checked ~ .newwrapper {
    opacity: 1;
    bottom: 85px;
    pointer-events: auto;
}

/* Other existing CSS for the chat box */

    
    .newwrapper .head-text{
      line-height: 60px;
      color: #fff;
      border-radius: 8px 8px 0 0;
      padding: 0 20px;
      font-weight: 500;
      font-size: 20px;
      background: #4070F4;
    }
    
    .newwrapper .chat-box{
      padding: 20px;
      width: 100%;
    }
    
    .chat-box .desc-text{
      color: #515365;
      text-align: center;
      line-height: 25px;
      font-size: 17px;
      font-weight: 500;
    }
    
    .chat-box form{
      padding: 10px 15px;
      margin: 20px 0;
      border-radius: 5px;
      border: 1px solid lightgray;
    }
    
    .chat-box form .field{
      height: 50px;
      width: 100%;
      margin-top:20px;
    }
    
    .chat-box form .field:last-child{
      margin-bottom: 15px;
    }
    
    form .field input,
    form .field button{
      width: 100%;
      height: 100%;
      padding-left: 20px;
      border: 1px solid lightgray;
      outline: none;
      border-radius: 5px;
      font-size: 16px;
      transition: all 0.3s ease;
    }
    
    form .field input:focus{
      border-color: #4070F4;
    }
    
    form .field input::placeholder{
      color: silver;
      transition: all 0.3s ease;
    }
    
    form .field input:focus::placeholder{
      color: lightgray;
    }
    
    .chat-box form .field button{
      border: none;
      outline: none;
      cursor: pointer;
      color: #fff;
      font-size: 18px;
      font-weight: 500;
      background: #4070F4;
      transition: all 0.3s ease;
    }
    
    .chat-box form .field button:active{
      transform: scale(0.97);
    }
    
    #click{
      display: none;
    }
