#chatbot-widget {
    position: fixed;
    bottom: 0;
    right: 20px;
    width: 350px;
    height: 600px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    background: white;
    z-index: 9999;
    font-family: Arial, sans-serif;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#chatbot-widget.widget-visible {
    transform: translateY(0);
    opacity: 1;
}

#chatbot-minimize {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    right: 10px;
    position: absolute;
    align-self: center;
}

#chatbot-header {
    background: #5e5e5e;
    color: white;
    padding: 9px 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

#chatbot-body {
    flex-direction: column;
    flex-grow: 1;
    display: flex;
    position: relative;
    height: 100%;
    background-color: #f0f5ff;
    padding: 10px;
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-color: rgba(0,0,0,.1) transparent;
}

#chatbot-footer input {
    padding: 14px;
    width: 100%;
    position: relative;
    bottom: 0;
    border: solid 1px #c9c9c9;
    border-radius: 8px;
}

#chatbot-footer {
    margin: 14px;
}

.bot-response-bubble {
    background-color: white;
    border: solid 1px #e6e6e6;
    padding: 14px;
    border-radius: 0 10px 10px;
    box-shadow: 1px 1px #9492922b;
}

.user-response-bubble {
    background-color: #2463eb;
    border: solid 1px #e6e6e6;
    padding: 14px;
    border-radius: 10px 0 10px 10px;
    color: white;
    align-self: flex-end;
}