body.chatbot-body {
    background-color: #f0fdf4;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.chat-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message-box {
    max-width: 80%;
    padding: 12px 18px;
    border-radius: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.msg-user {
    background-color: var(--color-primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 3px;
}

.msg-bot {
    background-color: white;
    color: var(--color-secondary);
    align-self: flex-start;
    border-bottom-left-radius: 3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.chat-input-area {
    background-color: white;
    padding: 15px 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

.typing-indicator {
    font-style: italic;
    color: #6c757d;
    font-size: 0.85rem;
    display: none;
    margin-left: 15px;
}

.chat-attached-img {
    max-width: 250px;
    width: 100%;
    border-radius: 8px;
    display: block;
}

.preview-img {
    max-width: 200px;
    border-radius: 10px;
    margin-top: 10px;
    display: block;
}

#image-preview-container {
    display: none;
    margin-bottom: 10px;
    position: relative;
    width: fit-content;
}

.remove-img-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: red;
    color: white;
    border-radius: 50%;
    border: none;
    width: 25px;
    height: 25px;
    font-size: 12px;
    cursor: pointer;
}
