/**
 * @file
 * Cell styles of the DOPA indicator cards (biopama_libraries/dopa-cards).
 *
 * The table presets in js/dopaCards.js emit these classes: indicator bars,
 * Aichi Target 11 bars, IUCN Red List status and protected-area type. They
 * were defined twice, identically, in akp_countries/css/override.css and
 * biopama_global_data/css/override.css; they live once, beside the presets.
 */

.table-indicator-bar{
    /* Set per row by the page script, which publishes the measured width as a
       custom property rather than writing an inline `width` (JS may set a
       custom property, never a CSS property). `auto` is what these bars had
       before any script ran. */
    width: var(--biopama-bar-width, auto);
    height: 8px;
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;  
}
.table-aichi-bar{
    font-size: 11px;
    color: white;
    border-radius: 3px;
    text-align: center;
}
.aichinoc1 {
    background-color: #9fafb3;
}
.aichinoc2 {
    background-color: #c1da9f;
}
.aichinoc3 {
    background-color: #6a9431;
}
.aichiyes {
    background-color: #7fad41;
}
.aichino1{
    background-color: #e4bb27;
}
.aichino2{
    background-color: #e46327;
}
.aichino3{
    background-color: #e49827;
}
.aichino4{
    background-color: #e44127;
}
.aichino5{
    background-color: #fc1602;
}
.species-table-status{
    font-size: 10px;
    min-height: 30px;
    border-radius: 3px;
}
.species-ex{    
    background-color: #d27f08;
    color: white;
}
.species-ew{    
    background-color: #d27f08;
    color: white;
}
.species-cr{    
    background-color: #d27f08;
    color: white;
}
.species-en{    
    background-color: #d27f08;
    color: white;
}
.species-vu{    
    background-color: #efda0c;
    color: white;
}
.species-nt{    
    background-color: #d27f08;
    color: white;
}
.species-lc{    
    background-color: #d27f08;
    color: white;
}
.species-dd{    
    background-color: #d27f08;
    color: white;
}

.pa-type{
    color: white;
    padding-top: 2px;
    border-radius: 3px;
}
.pa-terrestrial{
    background-color: #7fad41;
}
.pa-coastal{
    background-color: #e29864;
}
.pa-marine{
    background-color: #8fcde5;
}
