﻿.chat-bar-collapsible {
    position: fixed;
    bottom: 0;
    right: 25px; 
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); 
    z-index: 9999;
}

.collapsible {
    background-color: #b89531;
    color: white;
    cursor: pointer;
    padding: 14px; 
    width: 300px; 
    text-align: left;
    outline: none;
    font-size: 18px; 
    border-radius: 8px 8px 0 0; 
    border: 2px solid white;
    border-bottom: none;
}

.content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #f1f1f1;
}

.full-chat-block {
    width: 300px; 
    background: white;
    text-align: center;
    overflow: auto;
    scrollbar-width: none;
    height: max-content;
    transition: max-height 0.2s ease-out;
}

.outer-container {
    min-height: 400px; 
    bottom: 0%;
    position: relative;
}

.chat-container {
    max-height: 400px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    scroll-behavior: smooth;
    hyphens: auto;
}

    .chat-container::-webkit-scrollbar {
        display: none;
    }

.chat-bar-input-block {
    display: flex;
    float: left;
    box-sizing: border-box;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    background-color: #ebeced;
    border-radius: 8px 8px 0 0; 
    padding: 8px; 
}

.chat-bar-icons {
    display: flex;
    justify-content: space-evenly;
    box-sizing: border-box;
    width: 25%;
    float: right;
    font-size: 16px; 
}

#chat-icon:hover {
    opacity: .7;
}


#userInput {
    width: 75%;
}

.input-box {
    float: left;
    border: none;
    box-sizing: border-box;
    width: 100%;
    border-radius: 8px;
    padding: 8px; 
    font-size: 14px; 
    color: #000;
    background-color: white;
    outline: none;
}

.userText {
    color: white;
    font-family: "Rubik", sans-serif;
    font-size: 14px; 
    font-weight: normal;
    text-align: right;
    clear: both;
}

    .userText span {
        line-height: 1.3em; 
        display: inline-block;
        background: #5ca6fa;
        padding: 8px; 
        border-radius: 6px;
        border-bottom-right-radius: 2px;
        max-width: 80%;
        margin-right: 6px; 
        animation: floatup .5s forwards;
    }

.botText {
    color: #000;
    font-family: "Rubik", sans-serif;
    font-weight: normal;
    font-size: 14px; 
    text-align: left;
}

    .botText span {
        line-height: 1.3em; 
        display: inline-block;
        background: #e0e0e0;
        padding: 8px; 
        border-radius: 6px;
        border-bottom-left-radius: 2px;
        max-width: 80%;
        margin-left: 6px; 
        animation: floatup .5s forwards;
    }

@keyframes floatup {
    from {
        transform: translateY(10px); 
        opacity: .0;
    }

    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

@media screen and (max-width:600px) {
    .full-chat-block {
        width: 100%;
        border-radius: 0;
    }

    .chat-bar-collapsible {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 100%;
    }

    .collapsible {
        width: 100%;
        border: 0;
        border-top: 2px solid white;
        border-radius: 0;
    }
}


.bubble:hover {
    background-color: #b08b26;
}

.bubble {
    display: inline-block;
    background-color: #e0e0e0;
    border-radius: 20px;
    padding: 10px 15px;
    margin: 5px;
    transition: background-color 0.3s;
}

.faqButton {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: inherit;
    outline: none;
}

.botText {
    text-align: left; 
    font-size: 14px;
    font-family: "Rubik", sans-serif;
}




