/* reactions.css */

/* The Floating Emoji Picker */
.reaction-menu {
    position: absolute;
    background: white;
    padding: 5px 10px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    gap: 8px;
    z-index: 1000;
    animation: popIn 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    from { transform: scale(0) translateY(10px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.reaction-emoji {
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s;
}

.reaction-emoji:hover {
    transform: scale(1.3);
}

/* The Reaction Pill on the Message */
.msg-reactions {
    position: absolute;
    bottom: -10px;
    right: 10px;
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 2px 6px;
    display: flex;
    gap: 2px;
    font-size: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
}

.sent .msg-reactions {
    right: auto;
    left: 10px;
}