.chat-container {
    /*    display: none;
    flex-direction: column;
    width: 500px;
    height: 600px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    position: fixed;
    bottom: 100px;
    right: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;*/
    display: none;
    flex-direction: column;
    width: 500px;
    height: 60dvh;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    position: fixed;
    bottom: 100px;
    right: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    max-height: 600px;
}

.chat-header {
    padding: 10px;
    background-color: black;
    color: white;
    font-weight: bold;
    border-bottom: 1px solid #0056b3;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-box {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
}

.chat-message {
    max-width: 75%;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    word-wrap: break-word;
    display: inline-block;
    position: relative;
}

/* User message - right aligned */
.user-message {
    background-color: #eeeeee;
    color: black;
    align-self: flex-end;
    border-top-right-radius: 0;
}

/* Bot message - left aligned */
.bot-message {
    background-color: #fde104;
    color: black;
    align-self: flex-start;
    border-top-left-radius: 0;
}

    .bot-message p::selection {
        background-color: lightgrey; /* Or any shade of grey you prefer */
        color: black; /* Optional: You might want to change the text color when highlighted as well */
    }

    .bot-message p::-moz-selection { /* For Firefox */
        background-color: lightgrey;
        color: black;
    }

/* Timestamp styling */
.timestamp {
    font-size: 11px;
    color: black;
    display: block;
    text-align: right;
    margin-top: 4px;
}

/* Ensure timestamps in bot messages are readable */
.bot-message .timestamp {
    color: rgba(0, 0, 0, 0.6);
}

#chat-buttons button {
    background-color: transparent;
    color: inherit;
    border: none;
}

    #chat-buttons button:hover {
        cursor: pointer;
    }

/* Chat input */
.chat-input {
    padding: 10px 10px 4px 10px;
    border-top: 1px solid #ccc;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
}

    .chat-input input {
        flex: 1;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 3px;
        outline: none;
        font-size: 16px;
    }

    .chat-input button {
        width: 40px;
        height: 40px;
        margin-left: 10px;
        border: none;
        background-color: black;
        color: white;
        border-radius: 3px;
        cursor: pointer;
    }

#chat-msg-loading-container
{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    color: grey;
}

/* Loader animation */
.loader {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #fde104;
    animation: loaderAnimation 1.5s infinite ease-in-out;
}

@keyframes loaderAnimation {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.6;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.chat-pulsing-typing-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: black;
    border-radius: 50%;
    margin-left: 4px;
    animation: pulse 1s infinite;
    vertical-align: middle;
}

@keyframes pulse {
    from {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}