.buscador {
    padding: 22px;
    margin-bottom: 28px;
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.buscador h2 {
    margin: 0 0 18px;
    font-size: 20px;
    color: #1f2937;
}

.buscador-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.campo-busqueda {
    grid-column: 1 / -1;
}

.campo-filtro label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: bold;
}

.campo-filtro input,
.campo-filtro select {
    width: 100%;
    padding: 11px;
    font-family: inherit;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
}

.buscador-acciones {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    gap: 12px;
}

@media (max-width: 900px) {
    .buscador-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .buscador-grid {
        grid-template-columns: 1fr;
    }

    .buscador {
        padding: 16px;
    }

    .buscador-acciones {
        flex-direction: column;
        align-items: stretch;
    }
}

/* BOTON LIMPIAR FILTROS */

.buscador-acciones button[type="reset"] {
    appearance: none;
    padding: 10px 18px;
    background: #ffffff;
    color: #1f2937;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.buscador-acciones button[type="reset"]:hover {
    background: #e5e7eb;
}

.buscador-acciones button[type="reset"]:focus-visible {
    outline: 2px solid #1f2937;
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .buscador-acciones button[type="reset"] {
        width: 100%;
    }
}

