.chatt-container {
    display: flex; 
    position: fixed;
    border-radius: 10px;
    top: 70px;
    width: 300px; 
    height: 100px;
    margin: 2px 6px;
}

.chat-image {
    width: 75px; /* تأكد من حجم الصورة المناسب */
    height: 100px; /* تأكد من أن الصورة تملأ الارتفاع */
    object-fit: cover; /* ضبط الصورة لتملأ الحاوية */
    border-radius: 10px;
}

.chat-details {
    flex-direction: column; /* ترتيب العناصر عمودياً */
    justify-content: center;
    display: flex; 
    padding: 0 12px; 
    flex: 1;
}

.chat-details p {
    font-size: 17px;
    font-weight: 550;
    color: #181716; 
    margin: 0;
}
.year {
    font-size: 14px;
    font-weight: 300;
    color: #717171;
}


.btn-secondarie {
position: fixed;
left: 20px;
bottom: 467px;
width: 40px; 
height: 40px; 
background-color: rgba(255, 255, 255, 0.3);
border: none;
border-radius: 50%;
color: rgba(var(--v-theme-on-background),var(--v-high-emphasis-opacity));
transition: background-color 0.3s, color 0.3s;
}

.btn-secondarie:active {
background-color: rgb(212 207 207 / 86%);
color: #000;
}

.fa-arrow-left {
align-items: center;
justify-content: center;
text-align: center;
}

.message-liste {  
display: flex; 
flex-direction: column;
max-width: 100%;

}
.message-windows {
    flex: 1;
    margin-top: 105px;
    padding: 10px;
    display: flex;
    flex-direction: column-reverse;
    max-height: 280px;
    overflow-y: auto;
    margin-bottom: 20px;

}

.message {
display: flex;
align-items: flex-start;
position: relative;
margin-bottom: 20px;
padding: 6px 10px 6px 10px;
max-width: 80%;
}
.message-content {
font-size: 15px;
}

.message.sent {
align-self: flex-end;
background-color: #426ddd66;
color: #181716;
border-radius: 18px;
border-bottom-right-radius: 0;
}

.message.received {
margin-left: 50px;
align-self: flex-start;
background-color: #303f56f0; 
color: whitesmoke; 
border-radius: 18px;
border-bottom-left-radius: 0;
}

.message-text {
margin: 0;
padding: 0;
}

.message-time {
position: absolute;
bottom: -15px;
right: 10px;
font-size: 0.65rem;
color: #757575; 
}

.message-times {
font-size: 0.75rem;
color: #757575; 
margin-top: 5px;
margin-left: 20px;
}

.form-controsl {
display: block;
position: fixed;
height: 45px;
bottom: 30px;
width: 76%;
padding: .48rem .75rem;
font-size: 1.2rem;
line-height: 1.2;
letter-spacing: 0.08rem;
color: #181716;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ced4da;
border-radius: 3.25rem;
transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
resize: none;
}

.modal-header {
background-color: #e7e5e5;
border-bottom: 1px solid #d5d5d5;

}

.submit-btnn {
position: fixed;
display: flex;
bottom: 35px;
left: 89%;
transform: translateX(-50%);
width: 42px;
padding: .48rem .65rem;
font-size: 1rem;
line-height: 1.5;
color: #fff;
background-color: transparent;
border: none;
border-radius: 50%;
transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.submit-btnn:active {
background-color: #426ddd69;
box-shadow: inset 0px 2px 5px rgba(0, 0, 0, 0.3);
animation: press 0.15s ease-in-out;
}

@media (max-width: 575.98px) { 

.message-content {
font-size: 16px;
}

.btn-secondarie {
 top: 20px;
}   

.message-windows {
    max-height: 64vh;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.message-windows::-webkit-scrollbar {
    display: none; 
}

}

.chat-container {
    display: flex;
    height: 100vh;
}

.conversations-list {
width: 100%;
height: 90vh;
overflow-y: auto;
}

.conversations-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.conversations-list li {
    cursor: pointer;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
}

.conversations-list li:hover {
    background-color: #f5f5f5;
}

.last-message {
    display: block;
    color: #757575;
    font-size: 0.90rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 170px;
    margin: 0;
}

.message-container {
margin-top: -1px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0;
}

.avatar-container {
flex-shrink: 0;
margin-right: 10px;
display: flex;
align-items: center;
}

.avatare {
width: 40px; 
height: 40px;
border-radius: 50%;
object-fit: cover; 
}
.user-name {
font-size: 1.08rem;
padding: 0;
}
.future-avatar-container {
height: 45px;
width: 45px;
margin-left: -50px;
position: absolute;
top: -2px;
left: 0px;

}

.future-avatar {
width: 36px; 
height: 36px;
border-radius: 50%;
object-fit: cover;
border: 2px solid #fff; 
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); 
background: radial-gradient(circle, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.3));
}


.modal-body {
padding: 0rem;
}

.modal-dialog {
position: fixed;
bottom: -18px;
right: 100px;
margin: 0;
width: auto;
pointer-events: none
}
.modal-header .modal-title {
margin-left: 50px;
}

.modal-content.box-message {
bottom: 0;
right: 0;
width: 335px;
height: 515px;
margin: 10px;
z-index: 1050;
border-radius: 12px 12px 0 0;
background-color: #f0f0f0;
}

@media (max-width: 575.98px) { 
.modal-dialog {
    right: -10px; 
   
}
.modal-content.box-message {
    width: 100vw;
    height: 93.5vh;
}
}