body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100%;
    background-color: #f4f4f4;
}

#chat-container {
    display: flex;
    flex-direction: row;
    height: 100vh;
}

#main-content {
    flex: 3; /* You can adjust this value to change how much space the main content takes up relative to the onlineUsers sidebar */
    display: flex;
    flex-direction: column;
    border-right: 1px solid #ccc;
}

#chatBox {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

#activeUsers {
    background-color: #f9f9f9;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    height: 30px; /* specify a fixed height */
    display: flex;
    align-items: center; /* vertically center the content */
    justify-content: space-between; /* space out the content */
}

#input-container {
    background-color: #fff;
    display: flex;
    padding: 10px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

#input-container input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#input-container button {
    padding: 10px 20px;
    margin-left: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#input-container button:hover {
    background-color: #0056b3;
}

#onlineUsers {
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    overflow-y: auto;
}

#onlineUsers h4 {
    margin-top: 0;
}

#userList {
    list-style: none;
    margin: 0;
    padding: 0;
}

#userList li {
    padding: 10px;
    border-bottom: 1px solid #eee;
}
.rank-qpwp {
    color: green;
}
#chatBox img {
    max-width: 200px;
    max-height: 200px;
    margin: 10px 0;
}

#input-container {
    /* Ensure the input container is positioned relatively */
    position: relative;
}

/* ... */
#imageInputLabel {
    position: relative;
    background-color: #f8f9fa;
    color: #495057;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 20px;
    text-align: center;
    margin-right: 10px; /* Adjust spacing between '+' button and input */
}
.green-username {
    color: green;
}