#mpm-app {
    display: flex;
    column-gap: 22px;
    height: 80vh;
    background: #f5f6f8;
    overflow: hidden;
    font-family: Inter;
}

/* SIDEBAR */
.mpm-sidebar {
    width: 30%;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.mpm-search {
    padding: 15px;
}

.mpm-search input {
    width: 100%;
    padding: 10px;
    background-color: #F3F4F6;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}

.mpm-conversation {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding: 14px;
    border-bottom: 1px solid #E5E7EB;
}

.mpm-conversation:hover {
    background: #E5E7EB;
}

.mpm-conversation.active {
    background: #E5E7EB;
}

.mpm-product-thumb {
    position: relative;
    width: 25%;
    aspect-ratio: 1;
    flex-shrink: 0;
    border-radius: 8px;
}

.mpm-product-thumb img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.mpm-avatar-thumb {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 50%;
    height: 50%;
    border-radius: 50%;
    background: #4f6bc4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    border: 2px solid white;
}

.mpm-online-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 35%;
    height: 35%;
    background: #4caf50;
    border: 1px solid white;
    border-radius: 50%;
}

.mpm-conv-info {
    width: 75%;
    padding-left: 10px;
}

.mpm-product-info {
    display: flex;
    column-gap: 2px;
    font-weight: 400;
    font-size: 10px;
    color: #6B7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mpm-product-title {
    overflow: hidden;
    text-overflow: ellipsis;
}

.mpm-separator {
    flex-shrink: 0;
}

.mpm-product-price {
    flex-shrink: 0;
}

.mpm-conv-top {
    display: flex;
    justify-content: space-between;
}

.mpm-name {
    font-weight: 500;
    font-size: 12px;
}

.mpm-time {
    font-weight: 500;
    font-size: 10px;
}

.mpm-preview {
    display: flex;
    column-gap: 2px;
    overflow: hidden;
    justify-content: space-between;
}

.mpm-last-message {
    font-size: 12px;
    font-weight: 400;
    color: #6B7280;
}

.mpm-unread {
    background: #5B7FD9;
    color: white;
    font-size: 10px;
    padding: 4px 7px;
    border-radius: 50px;
}

/* CHAT AREA */
.mpm-chat {
    background: #fff;
    width: 70%;
    display: flex;
    flex-direction: column;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
}

.mpm-chat-header {
    padding: 15px;
    background: #F3F4F6;
    border-bottom: 1px solid #E5E7EB;
}

.mpm-chat-name {
    font-weight: bold;
}

.mpm-status {
    font-size: 12px;
    color: #4caf50;
}

/* PRODUCT BOX */
.mpm-product-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.mpm-offer-btn {
    background: #4f6bed;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
}

/* MESSAGES */
.mpm-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mpm-message {
    max-width: 60%;
    padding: 12px 15px;
    border-radius: 18px;
    margin-bottom: 15px;
    position: relative;
    font-size: 14px;
}

.mpm-message.left {
    background: #f1f1f1;
    align-self: flex-start;
}

.mpm-message.right {
    background: #4f6bed;
    color: white;
    align-self: flex-end;
}

.mpm-msg-time {
    display: block;
    font-size: 11px;
    margin-top: 5px;
    opacity: 0.7;
}

/* INPUT */
.mpm-input-area {
    display: flex;
    padding: 15px;
    background: #fff;
    border-top: 1px solid #eee;
}

.mpm-input-area input {
    flex: 1;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid #ddd;
}

.mpm-input-area button {
    margin-left: 10px;
    padding: 10px 15px;
    border-radius: 50%;
    border: none;
    background: #4f6bed;
    color: white;
    cursor: pointer;
}

/* Empty */
.mpm-empty-state {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #888;
    text-align: center;
}

.mpm-empty-state h3 {
    margin-top: 15px;
    font-size: 18px;
    color: #333;
}

.mpm-empty-icon {
    font-size: 40px;
}

.mpm-image-upload {
    cursor: pointer;
    font-size: 18px;
    margin-right: 10px;
}