.property-search {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    max-width: 100%;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
    box-sizing: border-box;
}

/* แถวของ filter */
.property-search .filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

/* กล่องแต่ละช่องในแถว */
.property-search .filter-group {
    flex: 1;
    min-width: 200px;
}

/* label + select */
.property-search label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.property-search select {
    width: 100%;
    padding: 9px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 15px;
    background-color: #f9f9f9;
    transition: border 0.3s;
}

.property-search select:focus {
    border-color: #4CAF50;
    background-color: #fff;
    outline: none;
}

/* ปุ่ม */
.property-search .filter-buttons {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex: 1;
    min-width: 200px;
}

.property-search button {
    padding: 10px 16px;
    border-radius: 5px;
    border: none;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    width: 100%;
}

.property-search button[type="submit"] {
    background-color: #4CAF50;
    color: #fff;
}

.property-search button[type="submit"]:hover {
    background-color: #45a049;
}

.property-search button[type="button"] {
    background-color: #f44336;
    color: #fff;
}

.property-search button[type="button"]:hover {
    background-color: #e53935;
}