 @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

 :root {
     --primary-color: rgb(255, 197, 158);
     --primary-dark: rgb(255, 197, 158);
     --secondary-color: #000;
     --white: #fff;
     --black: #000;
     --border-color: #ddd;
 }

 body {
     font-family: "Poppins", sans-serif;
     margin: 0;
     padding: 0;
 }

 #chatbot-container {
     position: fixed;
     bottom: 20px;
     right: 20px;
     z-index: 1000;
 }

 #chatbot-toggle {
     background-color: transparent;
     height: 80px;
     border: none;
     display: flex;
     justify-content: center;
     align-items: center;
     cursor: pointer;
     transition: transform 0.3s ease, background-color 0.3s ease;
     position: fixed;
     right: 20px;
     bottom: 30px;
 }

 #chatbot-toggle img {
     width: 100%;
     object-fit: contain;
     height: 100%;
 }

 #chatbot-toggle:hover {
     transform: scale(1.1);
 }

 #chat-window {
     position: fixed;
     bottom: 115px;
     right: 25px;
     max-height: 80%;
     width: 450px;
     background: var(--white);
     border-radius: 10px;
     box-shadow: 0 12px 20px rgb(0 0 0 / 12%);
     display: flex;
     flex-direction: column;
     overflow: hidden;
     transform-origin: bottom right;
     transform: scale(0);
     opacity: 0;
     transition: transform 0.3s ease, opacity 0.3s ease;
 }

 #chat-window.active {
     transform: scale(1);
     opacity: 1;
 }

 #chat-header {
     background: var(--primary-color);
     color: white;
     padding: 1rem;
     display: flex;
     align-items: center;
     gap: 10px;
 }

 #chat-header img {
     width: 40px;
     height: 40px;
     border-radius: 50%;
 }

 #chat-header h3 {
     margin: 0;
     font-size: 1.2rem;
     font-weight: 600;
     color: #000;
 }

 #close-chat {
     margin-left: auto;
     background: none;
     border: none;
     color: #000000;
     font-size: 1.2rem;
     cursor: pointer;
 }

 #chat-messages {
     padding: 1rem;
     overflow-y: auto;
     max-height: 480px;
 }

 .msg {
     display: flex;
     align-items: flex-end;
     margin-bottom: 10px;
 }

.msg-bubble {
    max-width: 75%;
    padding: 7px 10px;
    border-radius: 5px;
    line-height: 1.4;
    font-size: 12px;
}

 .user-msg {
     justify-content: flex-end;
 }
.user-msg .msg-bubble {
    background: #ffede1;
    color: var(--black);
    border: 1px solid #ffe3d1;
}

 .bot-msg {
     justify-content: start;
     align-items: flex-start;
     position: relative;
 }

.msg-actions {
    position: absolute;
    bottom: -33px;
    padding: 10px 0px;
    display: flex;
    align-items: center;
    height: 20px;
}
.msg-actions button {
    background-color: transparent;
    border: 0px;
    color: #b6b4b4;
    font-size: 10px;
}
.msg-actions button:hover{
    color: #333;
    cursor: pointer;
}

 .bot-msg .msg-bubble {
     background: #f5f5f5;
     ;
     color: var(--secondary-color);
 }

 .typing-indicator {
     display: flex;
     gap: 5px;
     align-items: center;
 }

 .typing-indicator span {
     width: 8px;
     height: 8px;
     background: #9E9E9E;
     border-radius: 50%;
     animation: bounce 1.4s infinite ease-in-out both;
 }

 .typing-indicator span:nth-child(1) {
     animation-delay: -0.32s;
 }

 .typing-indicator span:nth-child(2) {
     animation-delay: -0.16s;
 }

 @keyframes bounce {

     0%,
     80%,
     100% {
         transform: scale(0);
     }

     40% {
         transform: scale(1.0);
     }
 }

 #chat-suggestions {
     padding: 1rem;
     display: flex;
     flex-wrap: wrap;
     gap: 8px;
     padding-bottom: 0px;
     border-top: 1px solid #eee;
     justify-content: end;
 }

 .suggestion-chip {
     background-color: #ffede1;
     border: 1px solid #ffe3d1;
     border-radius: 8px;
     padding: 5px 12px;
     font-size: 12px;
     cursor: pointer;
     transition: background-color 0.2s;
     color: #000;
 }

 .suggestion-chip:hover {
     background-color: #ffe3d1;
     border: 1px solid #ffe3d1;
 }

 #chat-input-container {
     padding: 1rem;
     position: relative;
     bottom: 0px;
     right: 0px;
     left: 0px;
     padding-bottom: 0px;
 }

 #chat-input-container p {
     font-size: 12px;
     text-align: center;
 }

 #chat-input-container input {
     flex: 1;
     padding: 10px;
     border: none;
     outline: none;
     background: transparent;
     font-size: 14px;
 }

 #chat-input-container button {
     background: transparent;
     color: #a9a9a9;
     border: none;
     font-size: 15px;
     cursor: pointer;
     transition: color 0.3s ease;
     padding: 5px 12px;
 }

 #chat-input-container button:hover {
     color: var(--primary-dark);
 }

 .search-box {
     display: flex;
     align-items: center;
     padding: 5px;
     border: 1px solid #ebebeb;
     border-radius: 10px;
     background-color: #ffffff;
     justify-content: space-between;
     box-shadow: 0px 3px 6px #ebebeb;
 }

 .bot-info {
     display: flex;
     align-items: center;
     margin-bottom: 5px;
 }

 .bot-info img {
     width: 20px;
     height: 20px;
 }

 .bot-info .bot-name {
     font-size: 13px;
     font-weight: 600;
     color: #333;
     margin-left: 5px;
 }


 @media (max-width: 768px) {
     #chat-window {
         bottom: 75px;
         right: 15px;
         max-height: 70%;
         width: 90%;
     }

     #chatbot-toggle {
         height: 50px;
         right: 10px;
         bottom: 20px;
     }

     #chat-header img {
         width: 30px;
         height: 30px;
     }

     #chat-header h3 {
         font-size: 14px;
     }

     #chat-header {
         padding: 5px 10px;
     }

     #chat-input-container p {
         font-size: 10px;
         line-height: normal;
     }

     .search-box {
         padding: 0px;
     }

     #chat-input-container input {
         font-size: 12px;
     }

     .suggestion-chip {
         border-radius: 3px;
         padding: 3px 8px;
         font-size: 10px;
     }

     #chat-suggestions {
         padding: 10px;
         gap: 4px;
     }

     #chat-input-container {
         padding: 0px 10px;
     }

     .msg-bubble {
         max-width: 75%;
         padding: 10px 12px;
         border-radius: 5px;
         line-height: normal;
         font-size: 11px;
     }

     .bot-info .bot-name {
         font-size: 10px;
     }
 }