.chat-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    /*background-color: #0084FF;*/
    /*color: white;*/
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    cursor: pointer;
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);*/
    z-index: 1000;
}

.chat-container {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 350px;
    max-width: 90%;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 1000;
    border: 1px solid #ddd;
}

.chat-header {
    background-color: #0084FF;
    color: white;
    padding: 15px;
    font-size: 16px;
    text-align: center;
    position: relative;
    font-weight: bold;
}

.close-chat-button {
    background: none;
    border: none;
    color: white;
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
}

.chat-box {
    padding: 15px;
    height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

.chat-message {
    margin: 8px 0;
    padding: 10px 12px;
    border-radius: 18px;
    max-width: 80%;
    /*font-size: 13px;*/
    line-height: 25px;
    word-wrap: break-word;
    position: relative;
}

.chat-message h1,h2,h3 {
    font-size: 18px;
}

.chat-message h4 {
    font-size: 15px;
}

.chat-message.user {
    background-color: #E4E6EB;
    color: black;
    align-self: flex-end;
    border-radius: 18px 18px 0 18px;
}

.chat-message.user::after {
    content: '';
    position: absolute;
    right: 0px;
    bottom: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid #E4E6EB;
    border-left: 10px solid transparent;
}

.chat-message.assistant {
    background-color: #0084FF;
    color: white;
    align-self: flex-start;
    border-radius: 18px 18px 18px 0;
}

.chat-message.assistant a {
    color: white;
    text-decoration: underline;
}

.chat-message.assistant::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid #0084FF;
    border-right: 10px solid transparent;
}

.input-box {
    display: flex;
    padding: 12px;
    background-color: #f0f0f0;
    border-top: 1px solid #ddd;
}

.input-box input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 20px;
    outline: none;
    font-size: 13px;
    line-height: 25px;
    margin-right: 8px;
}

.input-box button {
    padding: 10px 16px;
    background-color: #0084FF;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
}

.input-box button:hover {
    background-color: #006bbf;
    color: white;
}
/* Predefined Questions Container */
#predefined-questions-container {
    padding: 20px;
    background-color: #FFF;
    border-top: 1px solid #ddd;
    animation: fadeIn 0.3s ease-in;
    max-height: 400px;
    min-height: 400px;
    overflow-y: scroll;
    position: absolute;
    width: 100%;
    bottom: 75px;
}

#predefined-questions-container.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}