.apf-search-wrapper{
/*    border:1px solid red;*/
}

.apf-search-wrapper .apf-form{
/*    border:1px solid blue;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;*/
}
.apf-form {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    /*background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);*/
    padding: 28px 32px 24px;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

/* Línea azul superior, como en la referencia */
/*.apf-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    background: #2563eb;
    border-radius: 0 0 3px 3px;
}*/

/* Cada select individual */
.apf-search-item {
    flex: 1 1 150px;
    min-width: 150px;
}

.apf-search-content,
.apf-search-inner {
    display: block;
}

.apf-search-item select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;

    border: 1px solid #d8dee7;
    border-radius: 8px;
    padding: 11px 34px 11px 14px;

    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;

    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.apf-search-item select:hover {
    border-color: #94a3b8;
}

.apf-search-item select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* Estado vacío (opción placeholder) con color más tenue */
.apf-search-item select:invalid,
.apf-search-item select option[value=""] {
    color: #64748b;
}

/* Input de búsqueda de texto */
.wrapper-input-search {
    flex: 1 1 170px;
    min-width: 170px;
    position: relative;
    display: flex;
    align-items: center;
}

.apf-search-input {
    width: 100%;
    border: 1px solid #d8dee7;
    border-radius: 8px;
    padding: 11px 40px 11px 14px;
    font-size: 13.5px;
    color: #334155;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.apf-search-input::placeholder {
    color: #94a3b8;
}

.apf-search-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.apf-search-boton {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    border-radius: 6px;
    transition: color 0.15s ease, background 0.15s ease;
}
.apf-search-boton-v2 {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
	gap:5px;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 28px;
    border: 1px solid var(--azul);
    background: var(--azul);
    color: #fff;
    cursor: pointer;
    border-radius: 6px;
    transition: color 0.15s ease, background 0.15s ease;
	padding-left:10px;
	padding-right:10px;
}
.apf-search-boton:hover {
    color: #2563eb;
    background: #eef2ff;
}
.apf-search-boton-v2:hover {
    color: #2563eb;
    background: #eef2ff;
}

/* Responsive: en pantallas chicas cada select ocupa toda la fila */
@media (max-width: 720px) {
    .apf-form {
        padding: 24px 20px 20px;
    }
    .apf-search-item,
    .wrapper-input-search {
        flex: 1 1 100%;
    }
}
