/* Comment Styles */

.comment{
    padding-bottom: 0.5rem;
}

.comment:last-child{
    padding-bottom: 1rem;
}

.comments-list {
    max-height: 150px;
    overflow-y: auto;
}

.comment-header {
    padding: 0rem 0.25rem 0.4rem 0.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.comment-author {
    color: black;
}

.comment-date {
    color: var(--color-light-gray);
}

.delete-comment-btn {
    background: none;
    border: none;
    color: var(--color-light-gray);
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-comment-btn:hover {
    color: black;
}

.comment-content {
    background-color: var(--color-gray);
    padding: 0rem 0.5rem;
    max-width: 100%;
    display: block;
    word-break: break-all;
    border-radius: var(--radius);
}

.no-comments {
    text-align: left;
    color: var(--color-light-gray);
    font-style: italic;
    margin-bottom: 0.5rem;
}

/* Mention Dropdown Styles */
.mention-dropdown {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mention-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.mention-item:hover,
.mention-item.selected {
    background-color: #f0f0f0;
}

.comment-form {
    position: relative;
}