.auto-filter-search-widget {
    --primary-color: #1e3a8a;
    --button-color: #1e3a8a;
    --border-color: #1e3a8a;
    --text-color: #1e3a8a;
    --hover-bg: #f0f4ff;
    --field-padding: 24px;
    font-family: inherit;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.auto-filter-search-widget .filter-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    flex: 1;
    min-width: 0;
}

.auto-filter-search-widget .filter-field {
    flex: 1 1 200px;
    min-width: 200px;
}

.auto-filter-search-widget .filter-field label {
    display: none;
}

.auto-filter-search-widget .filter-field select {
    width: 100%;
    padding: 12px 0;
    border: 1px solid #ff070700;
    border-bottom: 1px solid #fff;
    background-color: transparent;
    color: white;
    font-size: 18px;
    font-style: normal;
    font-weight: 450;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3e%3cpath d='M4.9438 9L12.0149 16.0711L19.0859 9' stroke='white' stroke-width='2' stroke-linecap='square'/%3e%3c/svg%3e");
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 24px;
    padding-right: 40px;
}

.auto-filter-search-widget .filter-field select:focus {
    outline: none;
    border-bottom-color: white;
    box-shadow: none;
}

.auto-filter-search-widget .filter-field select option {
    color: #295ba3;
    padding: 8px 12px;
    background-color: white;
    border-bottom: 1px solid #295ba340;
}

.auto-filter-search-widget .filter-field select option:hover {
    background-color: #295ba3;
    color: white;
}

.auto-filter-search-widget .search-button-container {
    flex-shrink: 0;
}

.auto-filter-search-widget .search-button {
    background-color: white;
    color: #295ba3;
    border: 2px solid #295ba3;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.auto-filter-search-widget .search-button:hover {
    background-color: transparent;
    color: white;
    border-color: white;
}

.auto-filter-search-widget .search-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.1);
}

.auto-filter-search-widget .search-button:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

.auto-filter-search-widget .count-text {
    font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
    .auto-filter-search-widget {
        flex-direction: column;
        align-items: stretch;
    }

    .auto-filter-search-widget .filter-fields {
        flex-direction: column;
    }

    .auto-filter-search-widget .filter-field {
        flex: 1 1 auto;
        min-width: auto;
    }

    .auto-filter-search-widget .search-button-container {
        text-align: center;
        margin-top: 20px;
    }
}
