/* Contenedor del filtro */
.unicentro-filter-container {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* El botón morado */
.btn-aplicar {
    background-color: #7100FF !important;
    /* Tu color morado */
    color: white;
    width: 100%;
    padding: 12px;
    border-radius: 25px;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

/* El botón limpiar */
.btn-limpiar {
    background-color: transparent;
    color: #7100FF;
    width: 100%;
    border: none;
    margin-top: 10px;
    cursor: pointer;
}

/* Checkboxes modernos */
.checkbox-list label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

/* --- CONTENEDOR PRINCIPAL --- */
.unicentro-filter-widget {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    /* Sombra suave */
    font-family: inherit;
    /* Hereda la fuente de tu tema */
    max-width: 320px;
    /* Ancho similar al del diseño */
}

.unicentro-filter-widget .widget-title {
    font-size: 20px;
    font-weight: 700;
    color: #1A202C;
    /* Azul/Gris oscuro */
    margin-bottom: 20px;
    margin-top: 0;
}

.unicentro-filter-widget .group-title {
    font-size: 15px;
    font-weight: 700;
    color: #1A202C;
    margin-bottom: 15px;
    margin-top: 25px;
}

/* --- BUSCADOR --- */
.unicentro-filter-widget .search-group {
    position: relative;
    margin-bottom: 25px;
}

.unicentro-filter-widget .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.unicentro-filter-widget .search-group input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    /* Espacio para la lupa */
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    /* Forma de píldora */
    font-size: 13px;
    color: #4A5568;
    outline: none;
    box-shadow: none;
    transition: border-color 0.3s;
}

.unicentro-filter-widget .search-group input:focus {
    border-color: #8B00FF;
    /* Morado al hacer clic */
}

/* --- CHECKBOXES (Alineados a la derecha) --- */
.unicentro-filter-widget .checkbox-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.unicentro-filter-widget .filter-checkbox {
    display: flex;
    justify-content: space-between;
    /* Texto a la izq, cuadro a la der */
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #4A5568;
    margin: 0;
}

/* Estilo personalizado del cuadrito */
.unicentro-filter-widget .filter-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid #CBD5E0;
    border-radius: 5px;
    /* Bordes ligeramente redondeados */
    background-color: #fff;
    cursor: pointer;
    position: relative;
    margin: 0;
    transition: all 0.2s;
}

/* Estado marcado del checkbox */
.unicentro-filter-widget .filter-checkbox input[type="checkbox"]:checked {
    background-color: #8B00FF;
    /* Morado */
    border-color: #8B00FF;
}

.unicentro-filter-widget .filter-checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* --- VER MÁS CATEGORÍAS --- */
.unicentro-filter-widget .view-more {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #4A5568;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 15px;
    margin-bottom: 25px;
}

/* --- BOTONES --- */
.unicentro-filter-widget .filter-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.unicentro-filter-widget .btn-apply {
    background-color: #8B00FF;
    /* Color Morado Exacto */
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    width: 100%;
    transition: opacity 0.3s;
}

.unicentro-filter-widget .btn-apply:hover {
    opacity: 0.9;
}

.unicentro-filter-widget .btn-reset {
    background-color: #F9F5FF;
    /* Morado súper clarito */
    color: #8B00FF;
    /* Texto morado */
    border: none;
    border-radius: 50px;
    padding: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.unicentro-filter-widget .btn-reset:hover {
    background-color: #f1e6ff;
}

.unicentro-filter-widget .unicentro-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    /* Forma de píldora */
    font-size: 13px;
    color: #4A5568;
    outline: none;
    box-shadow: none;
    background-color: white;
    margin-bottom: 20px;
    cursor: pointer;
}