#chat-container {
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
    font-family: sans-serif;
    font-family: Segoe UI, Helvetica Neue, Helvetica, Lucida Grande, Arial, Ubuntu, Cantarell, Fira Sans, sans-serif;
}

.chat-content {
    background: #f4f4f5;
    padding: 10px;
    height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    @media (min-width: 750px) {

        &>div {
            width: 697px;
        }
    }
}

.chat-body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chat-header {
    padding: 10px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 1px 2px black;
}

.chat-status {
    font-size: 12px;
}

.bot-n {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.bubble {
    max-width: 80%;
    padding: 10px;
    border-radius: 16px;
    line-height: 1.4;
    position: relative;
    background-color: #f8fafc;
    border-bottom-right-radius: 15px;
    position: relative;
}

.chat-policy {
    flex-shrink: 0;
    margin-top: 12px;
    width: 100%;
    text-align: center;
    font-size: 10.4px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    a {
        color: #2A2C2C;
        font-weight: 600;
    }
}

.bubble.bot {
    background: #f8fafc;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    padding-bottom: 20px;
    box-shadow: 1px 2px #10232f26;
}

.bubble.user {
    background: #7bf1a8;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    padding-bottom: 20px;
    max-width: 80%;
    width: fit-content !important;
}

.bubble.ad {
    background: #ffe082;
    align-self: center;
    font-style: italic;
}

.chat-input {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background-color: initial;
}

.chat-input button {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    background: #f8fafc;
    color: #5ca853;
    cursor: pointer;
    padding: 10px;
}

.chat-input button:hover {
    opacity: .9;
}

.bubble.option {
    color: #5ca853;
    cursor: pointer;
    max-width: 80%;
    text-align: center;
}

.bubble.option:hover {
    background: #e0f0fb;
}

.bubble .meta {
    display: inline-flex;
    align-items: center;
    font-size: 0.65em;
    color: #5ca853;
    position: absolute;
    bottom: 4px;
    right: 11px;
}

.bubble.user .meta svg {
    margin-left: 4px;
    width: 12px;
    height: 8px;
    fill: #4caf50;
}

.chat-date {
    text-align: center;
    margin: 2px 0 12px 0;
}

.bot-profile {
    display: flex;
    gap: 16px;
}

.bot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.bot-details {
    display: flex;
    flex-direction: column;
}

.chat-date span {
    display: inline-block;
    background: #ffffff;
    color: #333333;
    font-size: 0.85em;
    padding: 4px 10px;
    border-radius: 8px;
    box-shadow: 1px 2px #10232f26;
}

.bubble.typing {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 50px;
    padding: 6px;
    background: #f8fafc;
    border-radius: 16px;
    margin: 8px 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    border-bottom-left-radius: 4px;
}

.bubble.typing span {
    display: block;
    width: 6px;
    height: 6px;
    background: #ccc;
    border-radius: 50%;
    animation: typing 1s infinite;
}

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

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

@keyframes typing {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-4px);
    }
}