﻿.tribute-container {
    position: absolute;
    z-index: 999999;
    margin-top: 6px;
    min-width: 150px;          
    max-width: 400px;           
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 30px rgba(0,0,0,.18);
    border: 1px solid rgba(0,0,0,.08);
}

.tribute-container ul {
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
}

.tribute-container li {
    padding: 8px 10px;
    cursor: pointer;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.tribute-container li:last-child {
    border-bottom: 0;
}

.tribute-container li:hover,
.tribute-container li.highlight {
    background: #f2f2f2;
}

.tribute-container li.highlight {
    box-shadow: inset 0 0 0 2px rgba(0,0,0,.06);
}

.tribute-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tribute-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 24px;
    display: flex;            
    align-items: center;        
    justify-content: center;   
}

.tribute-avatar-svg,
.tribute-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.tribute-container {
    position: absolute;
    z-index: 999999;
    margin-top: 6px;
    min-width: 150px;
    max-width: 400px;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 30px rgba(0,0,0,.18);
    border: 1px solid rgba(0,0,0,.08);
}

.tribute-container ul {
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
}

.tribute-container li {
    padding: 8px 10px;
    cursor: pointer;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.tribute-container li:last-child {
    border-bottom: 0;
}

.tribute-container li:hover,
.tribute-container li.highlight {
    background: #f2f2f2;
}

.tribute-container li.highlight {
    box-shadow: inset 0 0 0 2px rgba(0,0,0,.06);
}

.tribute-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tribute-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
}

.tribute-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.tribute-avatar-svg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tribute-avatar-svg svg {
    width: 60%;
    height: 60%;
}

.tribute-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.tribute-name {
    font-size: 14px;
    line-height: 1.05;
    font-weight: 500;
    color: #9a9a9a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tribute-handle {
    display: none;
}

.tribute-container .menu-highlighted {
    font-weight: 700;
}

.tribute-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.tribute-name {
    font-size: 14px;          
    line-height: 1.05;
    font-weight: 500;
    color: #9a9a9a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tribute-handle {
    display: none;            
}

.tribute-container .menu-highlighted {
    font-weight: 700;
}

.mentioning-container .ProseMirror strong[data-markup="**"] {
    color: #27bf81 !important;
    -webkit-text-fill-color: #27bf81 !important;
    font-weight: 600 !important;
}