#chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

#chat-launcher img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
}

#chat-popup {
    display: none;
    width: 350px;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px #999;
    border-radius: 10px;
    overflow: hidden;
}

.chat-header {
    background: #2b6ca3;
    color: white;
    padding: 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chat-box {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
}

.user-msg, .bot-msg {
    margin: 5px 0;
    padding: 8px;
    border-radius: 5px;
}

.user-msg {
    background: #daf1ff;
    text-align: right;
}

.bot-msg {
    background: #f0f0f0;
    text-align: left;
}

.quick-replies button {
    margin: 5px 5px 5px 0;
    padding: 5px 10px;
    cursor: pointer;
    background-color: #2b6ca3;
    color: white;
}
div#chat-launcher {
    overflow: hidden;
    border-radius: 100%;
    height: 65px;
    width: 65px;
    display: flex;
    align-items: end;
    justify-content: center;
    border: 3px solid #fff;
    position: relative;
    cursor: pointer;
    box-shadow: 0 2px 8px 0 rgba(37, 45, 91, .0392156863), 0 16px 24px 0 rgba(84, 95, 111, .1607843137);
    background: linear-gradient(rgb(179, 183, 221) 0%, rgb(246, 246, 246) 100%);
}

div#chat-launcher img {
    height: 100%;
    vertical-align: middle;
    border: 0;
}
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.chat-message {
    transition: all 0.3s ease-in-out;
}
textarea:focus {
    outline: none;
    border-color: #3b82f6; 
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

textarea {
    min-height: 2.5rem;
    max-height: 8rem;
    overflow-y: auto;
}

@media (max-width: 640px) {
    .chat-header h2 {
      font-size: 1rem;
    }
    .chat-header p {
      font-size: 0.75rem;
    }
}

.avatarContainer {
    justify-content: center;
    width: 80px;
    display: flex;
    position: sticky;
}

.welcome-agent {
    z-index: -1;
    object-fit: cover;
    object-position: center top;
    width: 104px;
    height: 82px;
    top: 0px;
    transform: none;
}

button#close-chat {
   width: 15px;
    height: 15px;
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: 8px;
    background-color: white;
    color: #2b6ca3;
    margin-top: -36px;
}

div#chat-box-button {
    display: flex;
    padding: 10px;
}

button#send-btn {
    background-color: #2b6ca3;
    color: white;
    padding: 14px 22px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 6px;
    transition: background-color 0.3s;
}

input#user-input:focus-visible {
    outline: #2b6ca3 auto 1px;
}