body, html {
    height: 100vh;
    width: 100vw;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.content {
    width: 95%;
    height: calc(100dvh - 145px);
    position: fixed;
    top: 75px;
    left: 2.5%;
}

.chatbot-container {
    margin: auto;
    height: 92%;
    max-width: 1500px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    border: 4px solid #d3d3d3;
}

.chat-message-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    background-color: #fff;
}

.chat-message {
    display: flex;
    align-items: flex-end;
    margin-bottom: 15px;
    justify-content: flex-start;
}

.chat-avatar {
    width: 55px;
    /* border-radius: 50%; */
    margin-right: 20px;
    /* margin-bottom: -15px; */
}

.chat-bubble {
    max-width: 90%;
    padding: 10px 15px;
    background-color: #F7F7F7;
    position: relative;
    word-wrap: break-word;
    border: 1px solid #ccc;
}

.chat-bubble.bot {
    border-radius: 20px 20px 20px 0;
}

.chat-bubble.user {
    border-radius: 20px 20px 0 20px;
}

.chat-message--user {
    flex-direction: row-reverse;
}

.chat-message--user .chat-avatar {
    margin-left: 10px;
    margin-right: 0;
}

.chat-message--user .chat-bubble {
    background-color: #fff;
}

.chat-input-container {
    width: 98%;
    height: 52px;
    display: flex;
    margin: 15px auto;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 42px;
}

.chat-input-container__input {
    flex-grow: 1;
    margin-right: 10px;
}

.chat-input-container__input input {
    width: 100%;
    height: 100%;
    padding: 10px;
    border: none;
    font-size: 16px;
    background-color: #fff;
}

.faq-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: none;
}

.faq-overlay.show {
    display: block;
}

.chat-input-container__button {
    background-color: #fff;
    height: 100% !important;
    /* color: gray !important; */
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    width: 100px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: normal;
}

.chat-input-container__button:hover{
    font-weight: 700;
}

.chat-input-container__button:disabled {
    background-color: #fff;
    height: 100% !important;
    color: rgb(219, 216, 216) !important;
    background-color: #fff !important;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    width: 100px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: normal;
}

.faq-list ul {
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 20px;
    list-style-type: disc;
}

.faq-link {
    color: #21ADE5;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .chatbot-container {
        border: none;
    }

    .chat-input-container {
        width: 100%;
    }

    .chat-input-container__button {
        width: 80px;
    }
}

.satisfaction-link {
    display:inline-block;
    text-decoration:none;
    margin-right: 10px;
    margin-left: 10px;
}

.satisfaction-link::after {
    display:block;
    content:'';
    width:380%;
    height:1px;
    background:#50A0D7;
    margin-top:-2px;
    margin-left: -8px;
  }


.satisfaction-link.active {
    color: purple;
    text-decoration:none;
}

.satisfaction-link.active::after {
    background: purple;
}

.chat-text {
    margin: 0;
    padding: 0;
}

.confidence-score {
    text-align: right;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background-color: #666;
    border-radius: 50%;
    animation: typing 1.5s infinite ease-in-out;
    animation-delay: 0.5s;
}

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

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

@keyframes typing {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    40% {
        transform: scale(1);
    }
    80%, 100% {
        transform: scale(0);
    }
}


