#mab-chat-widget {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 999999;
    font-family: sans-serif;
}

#mab-chat-icon {
    width: 60px;
    height: 60px;
    background-color: #0073aa;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    float: right;
}

#mab-chat-window {
    width: 300px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#mab-chat-header {
    background: #0073aa;
    color: white;
    padding: 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

#mab-close-chat {
    cursor: pointer;
    font-size: 18px;
}

#mab-chat-body {
    height: 300px;
    padding: 10px;
    overflow-y: auto;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mab-msg {
    padding: 8px 12px;
    border-radius: 15px;
    max-width: 80%;
    font-size: 14px;
}

.mab-msg.user {
    background: #0073aa;
    color: white;
    align-self: flex-end;
}

.mab-msg.bot {
    background: #e1e1e1;
    color: black;
    align-self: flex-start;
}

#mab-chat-input-area {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
}

#mab-chat-input {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#mab-chat-send {
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 15px;
    margin-left: 5px;
    border-radius: 5px;
    cursor: pointer;
}
