#crossword-editor{
    position: relative;
}

#editor-control{
    margin-top: 3rem;
    text-align: center;
}

#editor-question{
    display: none;
    position: absolute;
    left: 20px;
    top: 10%;
    padding: 1rem;
    border: 1px solid black;
    border-radius: .5rem;
    min-width: 15rem;
    background-color: #fff;
}

#answer-suggestions {
    max-height: 25rem; /* Begrenzung auf ca. 10 Einträge */
    overflow-y: auto;
    margin-top: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}

#answer-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#answer-suggestions li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

#answer-suggestions li:hover {
    background-color: #f8f9fa;
}

.suggestion-word {
    font-weight: bold;
    margin-right: 0.5rem;
}

.vowel-badge {
    background-color: #6c757d;
    color: #fff;
    border-radius: 1rem;
    padding: 0.1rem 0.6rem;
    font-size: 0.75rem;
    font-weight: bold;
    margin-right: 0.5rem;
    min-width: 1.5rem;
    text-align: center;
}

.suggestion-question {
    color: #666;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}