﻿/*.new-chatbot-container>.new-chatbot-row {
    width: 100%;
    height: calc(100vh - 150px);*/
    /* height: 85vh; */
    /*margin: 20px 0;
}

body {
    margin: 0;
    padding: 0;*/
    /*overflow: hidden;*/
    /*box-sizing: border-box;
}

.chat-container-wrapper {
    overflow-y: scroll;
    overflow-x: hidden;
}

.hero-chat-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.chat-container {
    margin-top: 200px;
    padding: 0 100px;
    padding-bottom: 250px;
}

.chat-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 90px 0 0 0;
    align-items: center;
    text-align: center;
    background: #fff;

}

.chatbot-hero-icon-container {
    height: 120px;
    width: 120px;
    margin-bottom: 10px;
}*/

.chat-icon img {
    position: fixed;
    bottom: 40px;
    right: 20px;
    width: 70px;
    height: 70px;
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.2s;
}

    .chat-icon img:hover {
        transform: scale(1.1); 
    }
/*.chat-sticky-btns {
    position: fixed;
    z-index: 2;
    bottom: 40px;
    width: 68%;
    margin: 10px auto;
}
.suggestion-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: #fff;
    padding: 10px;
    margin: 0 20px;
    border-radius: 20px;
    max-width: 100%;
    border: 1.5px solid #ddd;
}

.suggestion-buttons .btn {
      margin: 5px;
}

.chat-msg-container {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    margin: 0 20px;
    border-radius: 50px;
    background-color: #ffffff;
    border: 1.5px solid #ddd;
    max-width: 100%;
}

.chat-msg-container>*:first-child {
    margin-left: 0;
}



.chat-msg-input {
    -webkit-box-flex: 1;
    flex-grow: 1;
    border: none;
    
    outline: none !important;
    background-color: transparent;
}

.chat-msg-btn {
    background-color: transparent;
    border: 1.5px solid #ddd;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    color: #8b95a5;
    font-size: 16px;
    cursor: pointer;
    overflow: -moz-hidden-unscrollable;
    -webkit-transition: .2s linear;
    transition: .2s linear;
}

.text-info {
    color: #48b0f7 !important;
}
.chat-history-sidebar{
    overflow-y: scroll;
}

.chat-history-title>h6{
    font-size: 12px;
}
.chat-history-list>a{
    color: rgba(0, 0, 0, 0.652);

}*/

.chat-prompt {
    display: flex;
    margin-bottom: 15px;
  }

  .chat-prompt .chat-pfp {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
  }

  .chat-prompt .chat-pfp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .chat-bubble {
    max-width: 90%;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
  }

  .chat-bubble.user {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #333;
    order: 2;
    margin-right: 10px;
  }

  .chat-bubble.assistant {
    background-color: #fff;
    color: #333;
    order: 2;
    padding-top: 0px
  }
    .chat-bubble.error {
        background-color: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
        border-radius: 5px;
        padding: 10px 15px;
        margin: 5px 0;
    }

        .chat-bubble.error::before {
            content: "⚠️ ";
            font-size: 1.2em;
            margin-right: 5px;
        }
  .chat-prompt.user {
    flex-direction: row-reverse;
  }

  .chat-prompt.user .chat-pfp {
    margin-left: 10px;
    margin-right: 0;
  }
.typing-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
/*.chat-history-item {
    cursor: pointer;
    padding: 10px;
    display: block;
    color: #333;
    text-decoration: none;
    border-radius: 4px; 
}

    .chat-history-item:hover {
        background-color: #dcdcdc;
    }

    .chat-history-item.active {
        background-color: #9facbb;
        color: black;
    }
    .typing-indicator span {
        width: 6px;
        height: 6px;
        background-color: #ccc;
        border-radius: 50%;
        animation: blink 1.4s infinite;
    }

        .typing-indicator span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .typing-indicator span:nth-child(3) {
            animation-delay: 0.4s;
        }

@keyframes blink {
    0%, 80%, 100% {
        opacity: 0;
    }

    40% {
        opacity: 1;
    }
}

::-webkit-scrollbar {width: 5px; background:rgba(255, 255, 255, 0.3);}
::-webkit-scrollbar-track {border-radius: 5px;}
::-webkit-scrollbar-thumb { border-radius: 5px; -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.2); background:rgba(48, 123, 235, 0.6);}*/ 

