/* Remove or comment out the ProseMirror positioning */
/* .ProseMirror {
    position: relative;
} */

/* Group wrapper styles */
.suggestion-group {
    position: relative;  /* This becomes the positioning context */
    display: inline;
}

/* Individual suggestion mark styles */
.suggestion-add {
    color: green;
    text-decoration: underline;
}

.suggestion-add:hover {
    background-color: rgb(0, 255, 0, .2);
}

.suggestion-delete {
    text-decoration: line-through;
    color: red;
}

.suggestion-delete:hover {
    background-color: rgb(255, 0, 0, .2);
}

/* Hover menu styles */

.suggestion-hover-menu {
    display: none;
    position: absolute;
    background-color: #f0f0f0;
    padding: 5px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10;
    left: 0;
    bottom: 100%;
    margin-bottom: 0px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    min-width: 150px;
    white-space: nowrap;
    color: black;
}

/* Button styles remain the same */
.suggestion-buttons {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.suggestion-accept, .suggestion-reject {
    padding: 2px 8px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.suggestion-accept {
    background-color: #4CAF50;
    color: white;
}

.suggestion-reject {
    background-color: #f44336;
    color: white;
}

.suggestion-accept:hover {
    background-color: #45a049;
}

.suggestion-reject:hover {
    background-color: #d32f2f;
}

.suggestion-info {
    margin-bottom: 5px;
}

