/* =========================================================
   VOXLY MESSAGE EDIT / DELETE v0.11.0
   ========================================================= */

.message-top {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.message-edited {
    font-size: 11px;
    opacity: 0.48;
}

.message-actions {
    display: flex;
    align-items: center;
    gap: 4px;

    margin-left: auto;

    opacity: 0;

    transition:
        opacity 100ms ease;
}

.message:hover .message-actions,
.message-actions:focus-within {
    opacity: 1;
}

.message-action-btn {
    border: 0;
    border-radius: 5px;

    padding:
        3px
        7px;

    font-size: 11px;

    cursor: pointer;

    background:
        rgba(255,255,255,0.07);

    color: inherit;
}

.message-action-btn:hover {
    background:
        rgba(255,255,255,0.13);
}

.message-action-btn.delete:hover {
    background:
        rgba(190,40,40,0.35);
}

@media (hover: none) {
    .message-actions {
        opacity: 1;
    }
}
