small{
    font-size: 12px;
}
.chat-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: #e5ddd5;
    background-image: url(../images/bg-whats.png);
    background-size:cover;
    background-repeat: no-repeat;
    height: 550px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
}

.chat-header {
    width: 100%;
    background-color: #3a5664; /* Adjusted header color */
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: white; /* Text color for visibility */
    margin: 0; /* No margin as per your request */
}

.profile-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.mini-profile-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px; /* Spacing between profile image and text */
}

.chat-bubble {
    max-width: 70%;
    padding: 8px 10px;
    border-radius: 10px;
    position:relative;
    display: flex;
    align-items: center;
}

.sender {
    background-color: #daf8cb;
    margin-left: auto;
    border-bottom-right-radius: 0;
}

.receiver {
    background-color: #ffffff;
    border-bottom-left-radius: 0;
}

.message-area {
    overflow-y: auto;
    height: 190px;
}

/* Custom scrollbar for message area */
.message-area::-webkit-scrollbar {
    width: 6px;
}

.message-area::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.message-area::-webkit-scrollbar-thumb {
    background: #888;
}

.message-area::-webkit-scrollbar-thumb:hover {
    background: #555;
}