.elementor-3836 .elementor-element.elementor-element-7222a500{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}

/* Start custom CSS for container, class: .elementor-element-7222a500 */.elementor-3836 .elementor-element.elementor-element-7222a500 {
    max-width: 500px;
}

/* --- Global Art Bridge Chat List Styling --- */

/* 1. Main Container: White background and padding to match Image 9 */
.gab-chat-wrapper {
    background: #ffffff !important;
    padding: 10px !important;
    border-radius: 12px;
}

/* Hide plugin's default sidebar/header to keep it clean */
.bp-messages-container .better-messages-main-sidebar {
    background: transparent !important;
    border: none !important;
}

/* 2. Chat Header: Match the blue bar with "Chat" text */
.gab-chat-header {
    background: #003366; /* Dark blue from Image 9 */
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 12px 12px 0 0;
    margin: -10px -10px 10px -10px; /* Offset the wrapper padding */
}

.gab-chat-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff !important;
}

/* 3. Each Thread Card: White background, thin grey line separating them */
.threads-list .thread {
    background: #ffffff !important;
    border: none !important;
    border-bottom: 1px solid #e0e0e0 !important; /* Grey separator */
    padding: 15px 10px !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    transition: background 0.2s;
}

/* Remove border from the last item */
.threads-list .thread:last-child {
    border-bottom: none !important;
}

/* Hover effect */
.threads-list .thread:hover {
    background: #f8f9fa !important;
}

/* 4. Avatars: Circular, correct size */
.threads-list .thread .pic img {
    width: 50px !important; /* Larger size to match Image 9 */
    height: 50px !important;
    border-radius: 50% !important; /* Force circular */
    object-fit: cover;
}

/* System Icon Avatars (like Assistant/Announcement) */
.threads-list .thread.system-icon .pic {
    background: transparent !important;
}

/* 5. User Information (Name and Message) */
.threads-list .thread .bm-info {
    margin-left: 15px !important;
}

/* Name: Blue and bold */
.threads-list .thread .name {
    color: #003366 !important; /* Blue name */
    font-weight: bold !important;
    font-size: 16px !important;
    margin-bottom: 4px !important;
}

/* Message: Dark grey and regular font */
.threads-list .thread .last-message {
    color: #555555 !important;
    font-size: 14px !important;
    font-weight: normal !important;
}

/* 6. Time and Status Markers */
.threads-list .thread .time {
    color: #888888 !important;
    font-size: 12px !important;
    margin-bottom: 5px !important;
}

/* Red unread counter */
.threads-list .thread .unread {
    background: #cc0000 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: bold !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    line-height: 20px !important;
    text-align: center !important;
}

/* Blue read/status marks */
.threads-list .thread .status-mark {
    color: #007bff !important; /* Use a blue color */
}/* End custom CSS */
