.wpforms-listing-search-wrapper {
    position: relative;
    width: 100%;
    max-width: 300px; /* Adjust if needed */
    font-family: Arial, sans-serif;
}

/* Input styling */
.wpforms-listing-search-input {
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
    border: 2px solid #000;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Dropdown list styling */
.wpforms-listing-search-results {
    /* position: absolute !important; */
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    margin-top: 2px !important;
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    border-top: none !important;
    list-style: none !important;
    padding: 0 !important;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

/* List items */
.wpforms-listing-search-results li {
    padding: 8px 12px;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.2s ease;
}

.wpforms-listing-search-results li:hover {
    background-color: #f0f0f0;
}

/* Remove last item's bottom border */
.wpforms-listing-search-results li:last-child {
    border-bottom: none;
}


.listing-filter-group {
    margin-bottom: 15px;
}

.listing-filter-group .wpforms-field-option-row {
    margin-bottom: 10px;
}

.listing-filter-group .wpforms-field-option-row label {
    display: inline-block;
    margin-right: 20px;
    vertical-align: middle;
    width: 150px; /* Consistent width for alignment */
    white-space: nowrap; /* Prevent text wrapping */
}

.listing-filter-group .wpforms-field-option-row input[type="checkbox"] {
    margin-right: 5px;
    vertical-align: middle;
}

.listing-filter-group .wpforms-field-option-row label:first-child {
    font-weight: bold; /* Bold the section title (e.g., "Listing Status") */
    margin-right: 10px;
}

.listing-filter-group .wpforms-field-option-row label:not(:first-child) {
    margin-left: 0; /* Reset margin for individual checkbox labels */
}

/* Remove the <br> tag effect by floating or flexing */
.listing-filter-group .wpforms-field-option-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.listing-filter-group .wpforms-field-option-row label:not(:first-child) {
    margin-top: 5px; /* Add vertical spacing between rows if needed */
}

.listing-filter-group .wpforms-field-option-row input[type="checkbox"]:checked + label {
    font-weight: bold;
}