/* Chat Container */
#chat-container {
    width: 400px; /* Adjust as needed */
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    height: 400px; /* Adjust as needed */
}

/* Chat Header */
#chat-header {
    background-color: #f0f0f0;
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

#chat-header h3 {
    margin: 0;
    font-size: 16px;
}

/* Chat Box */
#chat-box {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    background-color: #222; /* Dark background */
}

/* Individual Message */
.chat-message {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

/* User Info */
.user-info {
    margin-right: 10px;
}

.user-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #666; /* Default background color */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

/* Message Content */
.message-content {
    flex-grow: 1;
    background-color: #333; /* Slightly lighter background for message */
    color: white;
    padding: 10px;
    border-radius: 5px;
}

.username {
    font-weight: bold;
    color: #779ECB; /* Example color - change as you like */
}

.message-content p {
    margin: 0;
}

/* Message Actions */
.message-actions {
    margin-top: 5px;
}

.like-button {
    cursor: pointer;
    color: white;
}

.like-count {
    margin-left: 5px;
    color: white;
}

/* Chat Form */
#chat-form {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
    background-color: #333;
}

#chat-message-input {
    flex-grow: 1;
    padding: 8px;
    border: none;
    border-radius: 3px;
    margin-right: 5px;
    background-color: #666;
    color: white;
}

#chat-message-submit {
    background-color: #007bff; /* Blue - adjust as needed */
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 3px;
    cursor: pointer;
}
/* Style Font Awesome icons */
.fas {
    font-family: 'Font Awesome 5 Free'; /* Or the appropriate Font Awesome font family */
    font-weight: 900; /* Solid style */
}
/* Style for Send button icon */
#chat-message-submit .fas {
    color: white; /* Or your desired color */
}