/* Contenedor de Filtros */
.cdb-actas-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 16px;
}

/* Estilo de los Selects (Píldora) */
.cdb-select {
    border: 1px solid #6a8e61; /* Verde de la imagen */
    border-radius: 25px;
    padding: 8px 20px;
    color: #444;
    font-size: 14px;
    min-width: 220px;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236a8e61'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
}

/* Botón Filtrar (si está activo) */
.cdb-btn {
    background-color: #6a8e61;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 8px 25px;
    cursor: pointer;
    font-weight: bold;
    transition: opacity 0.2s;
}

.cdb-btn:hover {
    opacity: 0.9;
}

/* Listado de Items */
.cdb-item-alt {
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
    margin-bottom: 10px;
}

/* Badge Superior (Verde redondeado) */
.cdb-item-badge {
    margin-bottom: 12px;
}

.cdb-item-badge span {
    background-color: #6a8e61;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
}

/* Fila de Contenido */
.cdb-item-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* Icono Flecha */

/* Título y Año */
.cdb-item-info {
    display: flex;
    flex-direction: column;
}
.cdb-actas-arrow-icon{
    width:20px;
    height:20px;
    margin-top: 5px;
}
.cdb-item-info h3{
    margin:0px;
    font-size:18px;
    font-weight:600;
}

.cdb-item-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
}

.cdb-item-info a {
    color: #555;
    text-decoration: none;
    text-transform: uppercase;
}

.cdb-item-year {
    color: #6a8e61;
    font-size: 14px;
    font-weight: 700;
    margin-top: 4px;
}

/* Efecto de carga para AJAX */
.cdb-actas-wrapper.is-loading {
    opacity: 0.6;
    pointer-events: none;
}


@media (min-width: 768px) {
    .cdb-actas-filters {
        flex-direction: row;
    }
}

@media (max-width: 767px) {
    .cdb-actas-filters {
        flex-direction: column;
    }
    .cdb-select {
        width: 100%;
    }
}

.cdb-active-filters {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 10px 0;
    border-top: 1px solid #eee;
}

.cdb-active-filters-list {
    display: flex;
    gap: 8px;
}

.cdb-filter-pill {
    background: #5E8A57;
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.cdb-link-reset {
    background: none;
    border: none;
    color: #cc0000;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.cdb-link-reset:hover {
    color: black;
}


.cdb-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap:wrap;
    gap: 8px;
    margin-top: 24px;
    margin-bottom:24px;
    flex-wrap: wrap; /* Para que no rompa en móviles */
}

.cdb-pagination .page-numbers {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #728c61;
    background: transparent;
    color: #728c61;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: bold;
}

.cdb-pagination .page-numbers.current {
    background-color: #728c61;
    color: white;
}

.cdb-pagination .dots {
    color: #728c61;
    font-weight: bold;
    padding: 0 5px;
}