
#as-filters button {
    background-color: #ffffff;
    color: #1f2937;
    border: 1px solid #2563eb;
    border-radius: 5px;
    padding: 6px 12px;
    margin: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#as-filters button:hover {
    background-color: #e0ecff;
}

#as-filters button.active {
    background-color: #2563eb;
    color: #ffffff;
}

#as-filters button.clear-filters {
    background-color: #ffffff;
    border-style: dashed;
    font-weight: 600;
}

#as-filters button.clear-filters:hover {
    background-color: #f3f4f6;
}

.filter-row {
    margin-bottom: 8px;
  }

.as-tooltip{
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 7px 20px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.35;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    max-width: 260px;
}
  
.as-tooltip .title{
    font-weight: 700;
    margin-bottom: 6px;
}
  
figcaption {
    padding: 3px;              /* Adds spacing around the text */
    text-align: left;        /* Centers the text */
    font-size: 75%;            /* Makes the font smaller */
  }