.dark-overlay {
    backdrop-filter: blur(1px);
    background-color: rgba(0, 0, 0, 0.3);
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.chatbot-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(rgb(69, 143, 118), rgb(22, 211, 211));
    border-radius: 30px;
    position: fixed;
    inset: auto 50px 50px auto;
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;
}

.chatbot-button i {
    font-size: 2rem;
    color: white;
}

.chatbot-button.hidden {
    display: none;
}

.chatbot-container {
    position: fixed;
    inset: auto 50px 50px auto;
    width: 600px;
    box-shadow: 0 0 32px rgba(0, 0, 0, 0.6);
    background-color: rgb(240, 255, 255);
    padding: 70px 16px 16px;
    border-radius: 8px;
    z-index: 1001;
    display: none;
    overflow: hidden;
}

.chatbot-container.active {
    display: block;
}

.notch {
    position: absolute;
    inset: 0 0 auto;
    height: 60px;
    background-color: rgb(79, 158, 132);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
}

.left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.left img {
    height: 50px;
    width: 50px;
    border-radius: 25px;
    background-color: aqua;
}

.left .chatbot-name {
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
}

.left .online {
    padding: 0px 10px;
    border-radius: 10px;
    background-color: rgb(216, 255, 218);
}

.left .online .circle {
    margin: 0 10px 2px 0;
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: rgb(0, 212, 0);
    border-radius: 4px;
}

.right i {
    font-size: 28px;
    color: white;
    cursor: pointer;
}

.send-button {
    background-color: rgb(25, 135, 84);
    color: white;
    padding: 12px 20px;
    margin-left: 10px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
}

.chat-input {
    padding: 12px 15px;
    border-radius: 10px;
    border-width: 1px;
    font-size: 15px;
    flex: 1;
    min-width: 0;
}

.chat-input-container {
    display: flex;
}

.app-container {
    max-width: 600px;
    margin: 0 auto 0;
    height: 60vh;
    display: flex;
    flex-direction: column;

}

.chat-messages-container {
    flex-grow: 1;
    scrollbar-width: none;
    overflow-y: scroll;
    overflow-x: visible;
}

.chat-message-user {
    display: flex;
    justify-content: end;
    align-items: start;
}

.chat-message-robot {
    display: flex;
    align-items: start;
    max-width: 450px;
}

.chat-message-robot img {
    height: 44px;
    border-radius: 22px;
    box-shadow: 0 0 6px #0000008f;
}

.chat-message-text {
    background-color: rgb(238, 238, 238);
    padding: 15px 20px;
    border-radius: 10px;
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 20px;
}

.chat-message-profile {
    margin-top: 10px;
    font-size: 32px;
}

@media (max-width:768px) {
    .chatbot-container {
        inset: 50px 0px 50px;
        margin: 0 auto 0;
        width: 80%;
    }

    .app-container {
        height: 100%;
        justify-content: space-between;
    }
}

@media (max-width:500px) {
    .chatbot-button {
        inset: auto 20px 20px auto;
    }

    .chatbot-container {
        inset: 50px 0px 50px;
        margin: 0 auto 0;
        width: 95%;
    }

    .left {
        gap: 10px;
    }
    .notch {
        padding: 0 6px;
    }

    .left .chatbot-name {
        font-size: 1.4rem;
    }
}
