/* =========================
   FILTROS
========================= */

.container-filtros {
    width: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e5e5e5;
}

.btn-filtro{
    background-color: #016EAF;
    color: #fff;
}

.filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.filters-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.filters-header a {
    color: #016EAF;
    font-size: 0.85rem;
    text-decoration: none;
}

.filters-header a:hover {
    text-decoration: underline;
}

.filters-applied {
    padding-bottom: 18px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 10px;
}

.filters-applied h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f6fa;
    color: #016EAF;
    border: 1px solid #d7e5ef;
    border-radius: 4px;
    padding: 5px 9px;
    font-size: 0.8rem;
}

.filter-tag a {
    color: #016EAF;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1;
}

/* Cada grupo */

.filter-section {
    border-bottom: 1px solid #e5e5e5;
}

/* Título */

.filter-title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: none;
    border: none;

    padding: 15px 0;

    font-size: 0.95rem;
    font-weight: 600;
    color: #333;

    cursor: pointer;
    text-align: left;
}

.filter-title i {
    transition: transform 0.2s ease;
}

/* Opciones */

.filter-options {
    display: none;
    padding: 0 0 12px 0;
}

.filter-section.open .filter-options {
    display: block;
}

.filter-section.open .filter-title i {
    transform: rotate(180deg);
}

/* Checkbox + texto */

.filter-option {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 6px 0;

    font-size: 0.9rem;
    color: #555;

    cursor: pointer;
}

.filter-option input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.filter-option:hover {
    color: #016EAF;
}