body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}
#avtar{
    width: 200px;
    height: 200px;
}

.chat-container {
    z-index: 1000;
    max-width: 600px;
    margin: 100px auto;
    background-color: #F1F2F6;
    padding: 20px;
    /* border: 1px solid #ccc; */
    border-radius: 5px;
    font-family: 'Poppins',sans-serif;
    font-size: 12px;
    text-align: left;
    display: flex;
    align-items: flex-end;
    ::-webkit-scrollbar {
        width: 10px; /* Width of the scrollbar */
      }
      
      ::-webkit-scrollbar-track {
        background-color: #f1f1f1; /* Color of the scrollbar track */
      }
      
      ::-webkit-scrollbar-thumb {
        background-color: #e2b458; /* Color of the scrollbar thumb */
        border-radius: 5px; /* Rounded corners for the thumb */
      }
}

.chat-box {
    height: 300px;
    overflow-y: scroll;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
}

input[type="text"] {
    width: calc(100% - 70px);
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-right: 10px;
    font-family: 'Poppins',sans-serif;

}

button {
    padding: 5px 20px;
    border-radius: 5px;
    border: none;
    background-color: #e2b45854;
    color: #000;
    cursor: pointer;
}
.send_btn, .mic_btn{
    background-color: #e2b45854;
    color: white;
    border-radius: 4px;
    margin: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
}
.send_btn:hover, .mic_btn:hover{
    cursor: pointer;
    background-color: #e2b458ab;
    
}
.send_btn svg{
    width: 20px;
    height: 20px;
}
.mic_btn svg{
    width: 20px;
    height: 20px;
}
.chat_inp_container{
    display: flex;
}


button:hover {
    background-color: #e2b458ab;
}
/* Add these styles to your existing styles.css file */

/* Chat button styles */
@keyframes swingAnimation {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(15deg);
    }
    100% {
        transform: rotate(-15deg);
    }
}

.swinging-element {
    animation: swingAnimation 3s ease-in-out infinite alternate;
    /* Adjust animation duration and timing function as needed */
}

.close_btn{
    /* position: fixed;
    bottom: 20px;
    right: 20px; */
    position: relative;
    top: 35px;
    right: 10px;
    z-index: 1000;
    margin-top: 100px;
    cursor: pointer;

}
.close_btn svg{
    width: 40px;
    height: 40px;
}
.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
   /* Adjust duration and timing function as needed */
}


.circle {
    width: 80px;
    height: 80px;
    background-color: #5b1f1f;
    border-radius: 50%;
    padding: 10px;
    color: #fff;
    text-align: center;
    line-height: 60px;
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: swingAnimation 1s linear infinite; 

}

#chat_icon_img {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* Additional CSS for toggling the chat container */
.chat-container {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 500px;
    height: 400px;
    /* box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
}
.chat_container_main{
    background-color: #F1F2F6;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding:10px;
}
.show-chat {
    transform: translateX(0);
}
