/* Styling for colored taxonomy terms */
.colored-term {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 0.9em;
    font-weight: 500;
}

/* Admin color picker styling */
.term-color-wrap input[type="color"] {
    width: 80px;
    height: 30px;
    cursor: pointer;
}

/* Color preview in admin */
.term-color-wrap select {
    min-width: 200px;
}

/* Add a color indicator next to each option in the dropdown */
#term_color option[value="blue"] {
    background-color: #77edca;
    color: black;
}

#term_color option[value="purple"] {
    background-color: #9149f7;
    color: white;
}

#term_color option[value="yellow"] {
    background-color: #f9fe00;
    color: black;
}

#term_color option[value="white"] {
    background-color: #ffffff;
    color: black;
}

#term_color option[value="transparent"] {
    background-color: transparent;
    color: black;
    border: 1px solid #000;
}

/* Add color swatches in the admin list */
.column-taxonomy-actualites_color_category .colored-term {
    padding: 2px 8px;
    border-radius: 3px;
}
