span.tagged-element {
    color: green;
}

.typed::before {
    content: '';
    width: 1.2em;
    height: 1.2em;
    vertical-align: middle;
    margin-right: 0.2em;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

.type-place::before {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/4/4a/Android_Emoji_1f3e0.svg');
}

.type-person::before {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/c/c8/Android_Emoji_1f464.svg');
}

.type-resource::before {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/d/d8/Android_Emoji_1f48e.svg');
}

.type-group::before {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/3/39/Emojione_BW_1F465.svg');
}

.text-wrapper {
    display: flex;
    border: 1px solid #ccc;
    max-width: 800px;
}

.line-numbers {
    background-color: #f0f0f0;
    color: #888;
    text-align: right;
    padding: 10px 5px;
    user-select: none;
}

.line-numbers div {
    height: 1.5em; /* hauteur de ligne */
}

article {
    width: 100%;
    padding: 10px;
    white-space: pre; /* préserve les retours à la ligne */
    overflow-x: auto;
    margin-bottom: 0;
}


.annotator-columns {
    display: grid;
    grid-template-columns: 70% 1fr;
    grid-template-rows: auto auto;
}

.annotator-text-field {
    min-width: 100%;
    width: 100%
}

.search-wrapper {
    position: relative;
    display: inline-block;
}

.search-wrapper input {
    width: 280px;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #666;
    border: 1px solid #666;
    border-radius: 8px;
    margin: 4px 0 0;
    padding: 4px 0;
    max-height: 240px;
    overflow: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.search-suggestions li {
    list-style: none;
    padding: 8px 12px;
    cursor: pointer;
}

.search-suggestions li[aria-selected="true"],
.search-suggestions li:hover {
    background: #f5f5f5;
}

.search-suggestions .empty {
    padding: 8px 12px;
    color: #666;
    cursor: default;
}

textarea {
    width: 100%;
    resize: vertical;
    min-height: 200px;
}

.columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

.entity-token {
    border: solid 1px;
    width: fit-content;
    padding: 0 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 10px;
    transition: 0.3s;
}

.drop-zone {
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 10px;
    transition: 0.3s;
}

.multi-drop {
    width: 100%;
    min-height: 5rem;
    height: fit-content;
    border-radius: 10px;
    display: flex;
}

.single-drop {
    min-width: 2em;
    width: fit-content;
    height: 1.5em;
    border-radius: 10px;
    display: inline-block;
    vertical-align: middle;
}

.beingDragged {
    color: white;
    background-color: black;
}

.hoverOver {
    transition: 0.3s ease-out;
    border: solid 5px #2a9d8f;
}

/* Style the button that is used to open and close the collapsible content */
.collapsible {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover {
    background-color: #ccc;
}

/* Style the collapsible content. Note: hidden by default */
.content {
    padding: 0 18px;
    margin-bottom: 10px;
    transition: max-height 0.2s ease-out;
}

.pool {
    display: flex;
    flex-wrap: wrap;
    background: #111;
    padding: 5px;
    border-radius: 10px;
    margin: 10px;
}

.pool .entity-token {
    margin: 2px;
}

.multi-drop .entity-token {
    margin: 2px
}

.lang-code-input {
    width: 75px;
}

.qualifier-cell {
    background: #2a9d8f;
}