/**
 * Custom styles for mention functionality
 */

/* Tribute.js container */
.tribute-container,
.tribute-container-custom {
    position: fixed !important;
    height: auto;
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    display: block;
    z-index: 9999 !important;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.tribute-container li {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

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

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

.tribute-container li span {
    font-weight: bold;
}

.tribute-container li.no-match {
    cursor: default;
    padding: 8px 12px;
    color: #999;
}

/* Tribute item styling */
.tribute-item {
    display: block;
}

.tribute-item strong {
    color: #146082;
    font-size: 14px;
}

.tribute-item small {
    color: #6c757d;
    font-size: 12px;
}

/* Mentioned user in comment display */
.mentioned-user {
    background-color: #e3f2fd;
    color: #146082;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 500;
}

/* Textarea focus state with mention active */
.comment-textarea:focus {
    border-color: #146082;
    box-shadow: 0 0 0 0.2rem rgba(20, 96, 130, 0.25);
}
