/* ===== Chips/Tags (consolidado dos “anos aplicados” + tags genéricas) ===== */
.tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.tags-row>* {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eaf2ff;
    border: 1px solid #cfe1ff;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .04) inset;
}

.tags-row>* .remove,
.tags-row>* .remover,
.tags-row>* .remover-ano,
.tags-row>* button {
    border: 0;
    background: transparent;
    margin-left: 2px;
    padding: 0 2px;
    cursor: pointer;
    color: #2563eb;
    font-size: 16px;
    line-height: 1;
    transition: transform 120ms ease, color 120ms ease;
}

.tags-row>* .remove:hover,
.tags-row>* .remover:hover,
.tags-row>* .remover-ano:hover,
.tags-row>* button:hover {
    color: #e11d48;
    transform: scale(1.15);
}

.selected-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
}

.placeholder {
    padding: .5rem .75rem;
    border-radius: 999px;
    background: #eef3ff;
    color: #446;
    font-weight: 500;
}

.tag {
    border: 0;
    background: #eaf2ff;
    padding: .45rem .7rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
}

.tag .tag-x {
    margin-left: .35rem;
    font-weight: 800;
}

.tag-clear-all {
    background: #fdecec;
}

.filter-btn .count {
    font-weight: 700;
    opacity: .9;
}

/* Tags de Ano (mantidas) */
.anos-wrapper {
    background-color: #004e7c56;
    border-radius: 10px;
    width: fit-content;
    padding-right: 15px;
}

#anos-aplicados>div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.ano-tag {
    display: inline-flex;
    align-items: center;
    background-color: #e0f0ff;
    color: #004f7c;
    padding: 4px 10px;
    border-radius: 7px;
    font-size: 13px;
    gap: 6px;
    cursor: pointer;
    height: 20px;
    border: 1px solid #e6b93f;
    transition: background .2s;
}

.ano-tag:hover {
    background-color: #09589e;
}

.ano-tag button {
    border: none;
    background: transparent;
    color: #004f7c;
    cursor: pointer;
    padding: 0;
}

.ano-tag button:hover {
    color: red;
}

.ano-tag.limpar-tudo-ano {
    height: 30px;
    border: 1px solid black;
}

.limpar-todos-anos {
    background-color: transparent;
    border: none;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    margin-left: 10px;
    padding: 2px 6px;
    transition: color .2s, transform .2s;
}

.limpar-todos-anos:hover {
    color: red;
    transform: scale(1.2);
}