/* Chats */
.chat-delete:hover {
    background-color: red;
    color: black;
    transition: 0.5s ease-in-out;
}
.chat-delete {
    background-color: var(--bs-link-color);
    color: var(--bs-dark);
    width: 120px;
    height: 30px;
    outline: none;
    border: none;
}
.chat-log {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../auto/images/chatbg.jpeg);
    overflow: auto;
    height: 500px;
    padding: 10px;
    font-size: 0.9em;
    flex-direction: column-reverse;
}

.chat .card {
    border: none;
}

#id_room_title a {
    text-decoration: none;
}

#id_room_title h3 {
    margin-left: 10px;
    color: var(--bs-body-color);
}

.chat-message-input-container textarea {
    margin-top: 10px;
    outline: none;
    border: none;
    box-shadow: none;
}

.chat-message-submit-button {
    height: 50px;
    margin-top: 10px;
    border-radius: 0;
}

.chat-message-input {
    outline: none;
    border: 1px solid #fff;
    border-top: 2px solid var(--bs-first-color);

}
.message-container {
    margin-top: 10px;
    justify-content: start;
}
.username-span2 {
    font-weight: 600;
    margin-top: 0;
    margin-bottom: auto;
    margin-left: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 89px; /* Adjust width as needed */
    display: inline-block; /* Ensures the width constraint applies */
}

.username-span {
    color: var(--bs-dark);
    font-weight: 600;
    margin: 0 5px auto;
}
.friend-container {
    cursor: pointer;
}
.friend-message-span {
    font-weight: 380;
    margin: 0 5px auto;
    font-size: 0.6em;
    color: var(--text-color);
}

.timestamp-span {
    color: var(--bs-dark);
    font-weight: 400;
    font-size: 0.8em;
}

.timestamp-span:hover {
    cursor: pointer;
}

.msg-p p {
    margin-bottom: 0 !important;
    font-size: 15px;
}

.msg-p {
    font-weight: 450;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0 !important;
    white-space: normal;
    word-break: break-all;
    padding: 5px;
    background-color: #1a73e8;
    border-radius: 2px;
    color: #fff;
}

.right-message {
    background-color: #005c4b;
    color: #fff;
}

.profile-image {
    width: 33px;
    height: 33px;
    margin-top: 0;
    margin-bottom: auto;
}

.profile-image-small {
    width: 25px;
    height: 25px;
    margin-top: 0;
    margin-bottom: auto;
    margin-right: 5px;
}

.profile-image:hover {
    cursor: pointer;
}

.profile-image-small:hover {
    cursor: pointer;
}

.username-span:hover {
    cursor: pointer;
}
.chat-delete {
    width: 100px;
}