.private-chat-container {

    flex: 1;

    display: flex;
    flex-direction: column;

    height: 100%;
}

.private-chat-header {

    background:
    linear-gradient(
        180deg,
        rgba(255,255,255,0.03),
        transparent
    );

    backdrop-filter: blur(10px);

    height: 86px;
    min-height: 86px;

    padding: 0 24px;

    display: flex;
    align-items: center;

    gap: 14px;

    border-bottom:
        1px solid rgba(255,255,255,0.04);
}

.private-chat-avatar {

    width: 54px;
    height: 54px;

    border-radius: 18px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        rgba(255,255,255,0.04);

    color: white;

    font-weight: 800;
}

.private-chat-avatar-image {

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.private-chat-name {

    color: white;

    font-size: 18px;
    font-weight: 800;
}

.private-chat-status {

    margin-top: 3px;

    color:
        rgba(255,255,255,0.45);

    font-size: 12px;
}

.private-chat-messages {

    background:
    radial-gradient(
        circle at top,
        rgba(255,70,70,0.04),
        transparent 45%
    );

    flex: 1;

    min-height: 0;

    overflow-y: auto;

    padding: 24px;

    display: flex;
    flex-direction: column;

    gap: 16px;
}

/*
|--------------------------------------------------------------------------
| Message
|--------------------------------------------------------------------------
*/

.private-message {

    display: flex;

    gap: 12px;
}

.private-message.own {

    flex-direction: row-reverse;
}

.private-message-avatar {

    width: 42px;
    height: 42px;

    min-width: 42px;

    border-radius: 14px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        rgba(255,255,255,0.04);

    color: white;

    font-weight: 700;
}

.private-message-avatar-image {

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.private-message-content {

    max-width: min(72%, 620px);

    width: fit-content;

    padding: 14px 16px;

    border-radius: 22px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.05),
            rgba(255,255,255,0.03)
        );

    border:
        1px solid rgba(255,255,255,0.04);

    backdrop-filter: blur(10px);

    box-shadow:
        0 6px 18px rgba(0,0,0,0.14);
}

.private-message.own
.private-message-content {

    background:
        linear-gradient(
            135deg,
            rgba(255,70,70,0.24),
            rgba(255,40,40,0.10)
        );

    border:
        1px solid rgba(255,70,70,0.18);

    box-shadow:
        0 10px 28px rgba(255,70,70,0.12);
}

.private-message-name {

    color: white;

    font-size: 13px;
    font-weight: 700;

    margin-bottom: 5px;
}

.private-message-text {

    color:
        rgba(255,255,255,0.88);

    line-height: 1.45;
}

.private-chat-delete {

    margin-left: auto;

    padding: 8px 14px;

    border-radius: 12px;

    background:
        rgba(255,255,255,0.05);

    color:
        rgba(255,255,255,0.7);

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition: .2s;
}

.private-chat-delete:hover {

    background:
        rgba(255,70,70,0.14);

    color: #ff7d7d;
}

.private-message {

    animation:
        privateMessageAppear .18s ease;
}

@keyframes privateMessageAppear {

    from {

        opacity: 0;

        transform:
            translateY(8px)
            scale(.98);
    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}