﻿
.help-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 110px;
    height: 50px;
    background-color: #f0811e;
    color: #4F2E11;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
}

.help-popup {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 550px;
    background-color: white;
    border-radius: 8px;
    /* box-shadow: 0 4px 8px rgba(0,0,0,0.1); */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 999;
}

    .help-popup h2 {
        margin-top: 0;
    }

.close-button {
    padding: 5px 10px;
    background-color: #161931;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 3px;
}

    .close-button:hover {
        background-color: #0056b3;
    }

.container {
    height: unset;
    display: block;
}

betty-bot .intro-text img {
    width: 150px !important;
}

betty-bot .intro-text h3 {
    margin: 0;
    font-size: 24px;
}

#betty-wrapper[_ngcontent-ng-c3131241489] {
    max-height: 60vh !important;
}

#header-wrapper[_ngcontent-ng-c2855367073] {
    padding: 0 !important;
}

#header-wrapper[_ngcontent-ng-c2720069122] {
    padding-top: 0 !important;
}

.chat-scroll[_ngcontent-ng-c2720069122] {
    max-height: 350px !important;
}

.avatar[_ngcontent-ng-c2855367073] {
    width: 30px !important;
}

.content .avatar {
    flex: unset;
}

#chat-content[_ngcontent-ng-c2855367073] .answerRow[_ngcontent-ng-c2855367073], #chat-content[_ngcontent-ng-c2855367073] .questionRow[_ngcontent-ng-c2855367073] {
    padding: 0 !important;
}

#downloadChat[_ngcontent-ng-c3862352398] {
    box-shadow: none;
}

.form-control {
    height: 60px !important;
}

.terms {
    display: none !important;
}

betty-bot .static-question {
    background-color: #425072 !important;
    cursor: pointer;
    margin: 10px !important;
}

    betty-bot .static-question:hover {
        background-color: #283359 !important;
    }

betty-bot .static-questions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


@media (min-width: 0em) and (max-width: 48em) {

    .help-button {
        bottom: 60px;
    }

    .help-popup {
        width: 90%;
    }

    #betty-wrapper[_ngcontent-ng-c2855367073] {
        max-height: 58vh !important;
    }

    betty-bot .intro-text img {
        width: 110px !important;
    }
}





.chatbot-container {
    display: flex;
    flex-direction: column;
    height: 60vh;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    /*max-width: 800px;*/
    margin: 0 auto;
}

.chatbot-header {
    background-color: #f5f5f5;
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clear-button {
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 10px;
    color: #666;
    cursor: pointer;
}

    .clear-button:hover {
        background-color: #f5f5f5;
    }

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.message {
    margin-bottom: 15px;
    max-width: 80%;
}

.user-message {
    align-self: flex-end;
}

.assistant-message {
    align-self: flex-start;
}

.message-content {
    padding: 10px 15px;
    border-radius: 18px;
    background-color: #f0f0f0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.user-message .message-content {
    background-color: #0078d4;
    color: white;
}

.chatbot-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
}

    .chatbot-input input {
        flex: 1;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        margin-right: 10px;
    }

    /*.chatbot-input button {
        padding: 10px 20px;
        background-color: #0078d4;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }*/

        .chatbot-input button:disabled {
            background-color: #cccccc;
        }

/* Typing indicator styles */
.typing-indicator {
    display: flex;
    padding: 10px 15px;
    border-radius: 18px;
    background-color: #f0f0f0;
}

    .typing-indicator span {
        height: 8px;
        width: 8px;
        margin: 0 2px;
        background-color: #999;
        border-radius: 50%;
        display: inline-block;
        opacity: 0.4;
        animation: typing 1s infinite;
    }

        .typing-indicator span:nth-child(1) {
            animation-delay: 0s;
        }

        .typing-indicator span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .typing-indicator span:nth-child(3) {
            animation-delay: 0.4s;
        }

@keyframes typing {
    0% {
        opacity: 0.4;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-5px);
    }

    100% {
        opacity: 0.4;
        transform: translateY(0);
    }
}

.chatbot-link {
    color: #0078d4;
    text-decoration: none;
    font-weight: 500;
    text-decoration: underline;
}

.message-content h1,
.message-content h2,
.message-content h3,
.message-content h4,
.message-content h5,
.message-content h6 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-family: "Geogrotesque", Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;
    color: #283359;
}

.message-content h1 {
    font-size: 1.8rem;
}

.message-content h2 {
    font-size: 1.5rem;
}

.message-content h3 {
    font-size: 1.2rem;
    padding-top: 1rem;
}

.message-content h4 {
    font-size: 1.2rem;
}

.message-content strong {
    font-weight: 600;
}

.feedback {
    margin-left: 12px;
    color: #666 !important;
}
    .feedback.positive:hover {
        color: green !important;
    }
    .feedback.negative:hover {
        color: red !important;
    }