/* SM Guesty Property Filters */

.sm-gpf__form {
    width: 100%;
    margin-bottom: 24px;
}

.sm-gpf__row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    align-items: flex-end !important;
    width: 100% !important;
}

.sm-gpf__field {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
}

.sm-gpf__field--date {
    flex: 1.2 1 0 !important;
}

.sm-gpf__field label {
    display: block !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    margin-bottom: 5px !important;
    white-space: nowrap !important;
}

.sm-gpf__field select,
.sm-gpf__field input[type="text"],
.sm-gpf__field input[type="date"] {
    width: 100% !important;
    padding: 0 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    background: #fff !important;
    height: 44px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.sm-gpf__field select:focus,
.sm-gpf__field input[type="text"]:focus,
.sm-gpf__field input[type="date"]:focus {
    outline: none !important;
    border-color: #999 !important;
}

/* Actions */
.sm-gpf__actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.sm-gpf__btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 20px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    height: 44px !important;
    white-space: nowrap !important;
    line-height: 1 !important;
}

.sm-gpf__btn--search {
    background: #a78373 !important;
    color: #fff !important;
    border: none !important;
}

.sm-gpf__btn--search:hover {
    opacity: 0.9 !important;
}

.sm-gpf__btn--reset {
    background: transparent !important;
    color: #666 !important;
    border: 1px solid #ddd !important;
}

.sm-gpf__btn--reset:hover {
    background: #f5f5f5 !important;
    color: #333 !important;
}

/* Responsive */
@media (max-width: 900px) {
    .sm-gpf__row {
        flex-wrap: wrap !important;
    }
    .sm-gpf__field,
    .sm-gpf__field--date {
        flex: 1 1 calc(50% - 6px) !important;
    }
    .sm-gpf__actions {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .sm-gpf__field,
    .sm-gpf__field--date {
        flex: 1 1 100% !important;
    }
}

/* No results message */
.sm-gpf-no-results {
    width: 100%;
    padding: 40px 24px;
    text-align: center;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 24px 0;
}

.sm-gpf-no-results p {
    font-size: 16px;
    color: #555;
    margin: 0;
}

/* Elementor native no-results message */
.e-loop-nothing-found-message {
    width: 100% !important;
    padding: 40px 24px !important;
    text-align: center !important;
}

.sm-gpf-no-results-text {
    font-size: 16px !important;
    color: #555 !important;
    margin: 0 !important;
    line-height: 1.7 !important;
}

.sm-gpf-no-results-text a {
    color: inherit !important;
    text-decoration: underline !important;
}

.sm-gpf-no-results-text a:hover {
    opacity: 0.8 !important;
}
