﻿

.chatContainer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

.chat {
    float: right;
    position: relative;
    margin: 0 5px;
}

.ChatIcon {
    font-size: 50px;
    margin: 15px;
    background-color: var(--fc-primary);
}

.circle {
    border-radius: 50%;
}

.sidenav {
    height: 85%;
    width: 700px;
    top: 0;
    right: 0;
    position: fixed;
    z-index: 10000;
    overflow-x: hidden;
    transition: 0.3s;
    margin-top: 30px;
    background-color: #f2f0f0;
    line-height: 80px;
    overflow: hidden;
}

.chatBotBorder {
    border: 1px solid black;
}

.chat-message {
    display: flex;
    margin-bottom: 0.75rem;
}

    .chat-message.them .chat-bubble {
        background-color: #ffffff;
        border: #000;
        border-bottom-left-radius: 0.25rem;
        overflow-wrap: break-word;
    }

    .chat-message.me .chat-bubble {
        background-color: #4030f2;
        color: #fff;
        border-bottom-right-radius: 0.25rem;
        margin-left: auto;
        margin-right: 5px;
        overflow-wrap: break-word;
    }

.sendMessageEnabled {
    background-color: #4030f2 !important;
    color: #fff!important;
}

.sendMessageDisabled {
    background-color: #d1d1d1 !important;
    color: #000!important;
}

.sendMessageTextboxActive {
    background-color: #fff !important;
}

.sendMessageTextboxNotActive {
    background-color: #d1d1d1 !important;
}

.chat-bubble {
    max-width: 90%;
    padding: 0.5rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chat-time {
    font-size: 0.7rem;
    opacity: 0.7;
    display: block;
    margin-top: 0.15rem;
}

.dots::after {
    content: "";
    animation: loading 2s steps(1, end) infinite;
}

@keyframes loading {
    0% {
        content: "";
    }

    25% {
        content: ".";
    }

    50% {
        content: "..";
    }

    75% {
        content: "...";
    }

    100% {
        content: "";
    }
}

.answer1 {
    border-radius: 8px;
    border-left: 7px solid;
    margin-top: 4px;
    margin-bottom: 4px;
    border-left-color: #1621f5;
    background-color: #77b0f7;
    margin-left:10px;
}

    .answer1 h1,
    .answer1 h2,
    .answer1 h3,
    .answer1 h4,
    .answer1 h5,
    .answer1 h6 {
        color: #1621f5;
    }

.answer2 {
    border-radius: 8px;
    border-left: 7px solid;
    margin-top: 4px;
    margin-bottom: 4px;
    border-left-color: #d98404;
    background-color: #f7d688;
    margin-left: 10px;
}

    .answer2 h1,
    .answer2 h2,
    .answer2 h3,
    .answer2 h4,
    .answer2 h5,
    .answer2 h6 {
        color: #d98404;
    }

.answer3 {
    border-radius: 8px;
    border-left: 7px solid;
    margin-top: 4px;
    margin-bottom: 4px;
    border-left-color: #9e9c99;
    background-color: #e8e8e6;
    margin-left: 10px;
}

    .answer3 h1,
    .answer3 h2,
    .answer3 h3,
    .answer3 h4,
    .answer3 h5,
    .answer3 h6 {
        color: #9e9c99;
    }

    .answer3 a {
        font-size: 15px
    }

.result {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
}
