chat.css#admin-chat-wrapper {
    max-height: 500px;
}
.subscriber-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}
.subscriber-item:hover {
    background: #f1f1f1;
}

/* Container for the left sidebar (optional if needed globally) */
.chat-sidebar {
    width: 25%;
    border-right: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    background-color: #fafafa;
}

/* Search box styling */
#subscriber-search {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 5px;
}

/* Subscriber list container */
#subscriber-list {
    flex: 1;
    overflow-y: auto;
    border-top: 1px solid #ddd;
}

/* Each subscriber item */
.subscriber-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s, color 0.3s;
    font-size: 15px;
    color: #333;
}

.subscriber-item:hover {
    background-color: #f0f8ff;
}

/* Highlight active (selected) subscriber */
.subscriber-item.active {
    background-color: #e0f3ff;
    font-weight: bold;
    color: #0073aa;
    border-left: 4px solid #0073aa;
    padding-left: 12px; /* Adjust for left border */
}

.status-online {
    display: inline-block; /* allows width & height */
    width: 10px;
    height: 10px;
    background-color: green;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.status-offline {
    display: inline-block; /* allows width & height */
    width: 10px;
    height: 10px;
    background-color: rgb(232, 13, 13);
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.subscriber-item.online .status-online {
    background-color: #28a745; /* Green when online */
}

