

/* ===========  메세지 관리 =========== */
.inBox{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.titleBox{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-black);
    font-size: 24px;
    font-weight: 500;
    line-height: 40px;
}

/* 메세지가 없을 때 */
.messages-header {
    background-color: var(--line-color);
    font-weight: bold;
    color: white;
}

.no-messages {
    text-align: center;
    padding: 20px;
    color: var(--text-light-gray);
    font-size: var(--text-medium);
    border-radius: 5px;
}

/* 메세지 박스 */
.notiBox {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.message {
    padding: 15px;
    border-radius: 10px;
    background-color: var(--white);
    border: 1px solid var(--line-color);
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.message-thumb{
    width: 92px;
    height: 92px;
}
.message-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-container{
    width: calc(100% - 92px - 20px);
    height: 92px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: 1 0 0;
    align-self: stretch;
    justify-content: space-between;
}

.message-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    flex-direction: column;
    gap: 4px;
}
.send-info{
    display: flex;
    align-items: center;
    gap: 20px;
}
.sender,
.receiver{
    display: flex;
    align-items: center;
    gap: 12px;
}
.sender-tit,
.receiver-tit,
.name,
.time{
    font-weight: 300;
    color: var(--text-light-gray);
    font-size: var(--text-normal);
    line-height: 20px;
}
.name{
    color: var(--text-black);
}

.message-body{
    width: 100%;
}
.message-body .content{
    color: var(--text-black);
    font-size: var(--text-medium);
    font-weight: 500;
    line-height: 22px;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.message-footer{
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

/* agreement */
.agreement-inbox .title {
    font-size: 24px;
    font-weight: bold;
    color: #1f1f1f;
}

.agreement-inbox .content{
    display: flex;
    flex-direction: column;
    padding: 30px;
    box-sizing: border-box;
    margin-bottom: 60px;
    border-radius: 10px;
    border: 1px solid #DFDFDF;
    background-color: var(--white);
    box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.07);
}
.agreement-inbox .content h3{
    font-weight: 500;
    margin-bottom: 10px;
}
.agreement-inbox .content p{
    font-weight: 400;
    font-size: var(--text-medium);
    line-height: 2.14;
    color: #595959;
}










@media (max-width: 992px) {
    /*  메세지 관리 */


    /* agreement */
    


}

@media (max-width: 767px) {
    /*  메세지 관리 */
    .message{
        padding: 12px;
        gap: 12px;
    }
    .message-container{
        height: 90px;
        width: calc(100% - 80px - 12px);
    }
    .message-thumb{
        width: 80px;
        height: 80px;
    }
    .message-body .content{
        font-size: var(--text-normal);
        line-height: 18px;
    }
    .send-info{
        gap: 10px;
    }
    .sender-tit,
    .receiver-tit{
        display: none;
    }
    .sender-tit, .receiver-tit, .name, .time{
        line-height: 18px;
    }
    .receiver::before{
        content: '';
        width: 1px;
        height: 10px;
        display: inline-block;
        background-color:  var(--line-color);
    }
    .time{
        font-size: var(--text-small);
        line-height: var(--text-medium);
    }


    /* agreement */
    .agreement-inbox .content{
        padding: 15px;
    }
    .agreement-inbox .content h3{

    }
    .agreement-inbox .content p{
        line-height: 1.6;
    }

}

/* 390px 이하 작은 모바일 */
@media (max-width: 390px) {
    /*  메세지 관리 */
    
    /* agreement */

}