﻿.chat-wrapper {
    width: calc(100vw - 96px);
    margin-left: 88px;
}

@media (max-width: 960px) {
    .chat-wrapper {
        width: 100vw;
        margin-left: 0;
    }
}

.chat-inbox {
    width: 420px;
    height: calc(100vh);
    border-right: 1px solid #EAECF0;
}

.chat-inbox__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #F2F4F7;
}

.chat-inbox__header-new-chat {
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
}

.contact__list{
    max-height: 400px; 
    width: 100%;;
    overflow-y: auto;
}

.chat-inbox__search {
    border-radius: 8px;
    border: 1px solid #D0D5DD;
}

.chat-inbox__item {
    display: flex;
    justify-content: start;
    align-items: center;
    border-radius: 12px;
    border: 1px solid #F9FAFB;
    padding: 12px 24px 12px 8px;
}

.chat-inbox__item:hover {
    background: #F9FAFB;
}

.chat-inbox__item.selected {
    background: #EAECF0;
}

.chat-inbox__unread-mark {
    width: 12px;
    min-width: 12px;
}

.chat-inbox__unread-mark span {
    color: red;
    font-size: 20px;
    margin-left: -6px;
}

.chat-conversation__empty-conversation {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #F4F4F4;
}

.chat-conversation__main-holder {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #F4F4F4;
}

.chat-conversation__messages-holder {
    width: 100%;
    height: calc(100vh - 200px);
    overflow-y: auto;
    display: flex;
    justify-content: center;
}

.chat-conversation__messages-inner-holder {
    width: 752px;
    margin-top: auto;
    margin-bottom: 0;
    display: grid;
}

.chat-conversation__message-item-mine {
    padding: 8px 12px 4px 8px;
    margin: 12px 0 12px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    justify-self: end;
    border-radius: 8px 0 8px 8px;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text)
}

.chat-conversation__message-item-others {
    padding: 8px 8px 4px 12px;
    margin: 12px 20px 12px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    justify-self: start;
    border-radius: 0 8px 8px 8px;
    border: 1px solid #EAECF0;
    background: #FFFFFF;
    color: #101828;
}

.chat-send-message__paper {
    display: flex;
    align-items: end;
    padding: 8px;
    gap: 8px;
    border-radius: 12px;
    background: #FFFFFF;
    width: 752px;
    max-height: 120px;
    margin: auto;
}

@media (max-width: 700px) {
    .chat-send-message__paper {
        width: calc(100vw - 40px);
    }
}

.chat-send-message__input {
    width: 100%;
}

.chat-send-message__btn {
    border-radius: 8px !important;
    padding: 10px !important;
    height: 40px;
    width: 40px;
    margin-top: 2px;
    margin-bottom: 2px;
}

.chat-send-message__btn.send-btn path {
    fill: #FFFFFF;
}

.chat-new-message-contact {
    width: 360px;
}

.chat-new-message-contact .header {
    display: flex;
    justify-content: center;
}

.chat-new-message-contact .header>p {
    border: 1px solid #D0D5DD;
    border-radius: 8px 0 0 8px;
    padding: 8px 12px;
    align-items: center;
}

.chat-new-message-contact .header>div {
    width: 286px;
    border: 1px solid #D0D5DD;
    border-radius: 0 8px 8px 0;
}

.chat-new-message-contact .header div input {
    padding: 8px 12px;
}

.send-btn{
    width: 100%;
}

.chat-new-message-contact .send-btn span {
    display: flex;
    gap: 12px;
    padding: 8px 16px;
    justify-content: start;
    align-items: center;
}

.chat-avatar-coin__container {
    display: flex;
    width: 48px !important;
    height: 48px !important;
    padding: 5px 0;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 200px;
    border: 3px solid #FFF;
    background: #F2F4F7;
    box-shadow: 0 4px 8px -2px rgba(16, 24, 40, 0.10), 0 2px 4px -2px rgba(16, 24, 40, 0.06);
}


.typo__400--8 {
    font-style: normal;
    font-weight: 400;
    font-size: 8px;
    line-height: 12px;
}

.typo__400--10 {
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 15px;
}

.typo__400--12 {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
}

.typo__400--14 {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
}

.typo__400--16 {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.typo__400--18 {
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
}

.typo__400--20 {
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
}

.typo__400--24 {
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
}

.typo__400--28 {
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 42px;
}

.typo__400--32 {
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 48px;
}

.typo__400--36 {
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    line-height: 50px;
}

.typo__400--42 {
    font-style: normal;
    font-weight: 400;
    font-size: 42px;
    line-height: 58px;
}

.typo__400--48 {
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    line-height: 68px;
}

.typo__400--128 {
    font-style: normal;
    font-weight: 400;
    font-size: 128px;
    line-height: 160px;
}

.typo__500--12 {
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
}

.typo__500--14 {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
}

.typo__500--16 {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
}

.typo__500--18 {
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
}

.typo__500--20 {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
}

.typo__500--24 {
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
}

.typo__500--28 {
    font-style: normal;
    font-weight: 500;
    font-size: 28px;
    line-height: 42px;
}

.typo__500--32 {
    font-style: normal;
    font-weight: 500;
    font-size: 32px;
    line-height: 48px;
}

.typo__500--36 {
    font-style: normal;
    font-weight: 500;
    font-size: 36px;
    line-height: 50px;
}

.typo__500--42 {
    font-style: normal;
    font-weight: 500;
    font-size: 42px;
    line-height: 58px;
}

.typo__500--48 {
    font-style: normal;
    font-weight: 500;
    font-size: 48px;
    line-height: 68px;
}

.typo__700--12 {
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 18px;
}

.typo__700--14 {
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 21px;
}

.typo__700--16 {
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
}

.typo__700--18 {
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
}

.typo__700--20 {
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
}

.typo__700--24 {
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
}

.typo__700--28 {
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 42px;
}

.typo__700--32 {
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 48px;
}

.typo__700--36 {
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 50px;
}

.typo__underline {
    text-decoration-line: underline;
}

.type__white--background {
    background-color: #FFFFFF;
    border-color: #EAECF0;
}

.no-wrap {
    white-space: nowrap;
}

.w-100 {
    width: 100%;
}