.wfh-ps-box {
  width: 100%;
  margin: 18px 0 22px;
  padding: 16px 18px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #d9dee7;
  border-top: 4px solid #fa9f15;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  font-family: Arial, sans-serif;
}

.wfh-ps-title {
  margin: 0 0 12px;
  color: #063088;
  font-size: 18px;
  font-weight: 600;
}

.wfh-ps-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.wfh-ps-row + .wfh-ps-row {
  margin-top: 10px;
}

.wfh-ps-field {
  min-width: 0;
}

.wfh-ps-location {
  flex: 2.2 1 420px;
  position: relative;
}

.wfh-ps-type {
  flex: 1 1 240px;
}

.wfh-ps-small,
.wfh-ps-price {
  flex: 1 1 110px;
}

.wfh-ps-search {
  flex: 1.25 1 165px;
}

.wfh-ps-label {
  display: block;
  margin: 0 0 5px 1px;
  font-size: 12px;
  font-weight: 600;
  color: #555;
}

.wfh-ps-input,
.wfh-ps-select {
  display: block;
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid #c8ced8;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-family: Arial, sans-serif;
}

.wfh-ps-input {
  padding-left: 12px;
}

.wfh-ps-input:focus,
.wfh-ps-select:focus {
  border-color: #063088;
  outline: none;
}

.wfh-ps-input::placeholder {
  color: #063088;
  opacity: 0.45;
}

.wfh-ps-button {
  width: 100%;
  height: 44px;
  padding: 9px 28px;
  border: 0;
  border-radius: 4px;
  background: #063088;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.wfh-ps-button:hover {
  background: #05266d;
}

.wfh-ps-results {
  display: none;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 99999;
  max-height: 310px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #c8ced8;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,.14);
}

.wfh-ps-result {
  padding: 9px 12px;
  border-bottom: 1px solid #e7e7e7;
  cursor: pointer;
  background: #fff;
}

.wfh-ps-result:hover {
  background: #f4f6fa;
}

.wfh-ps-result-title {
  color: #063088;
  font-size: 14px;
  font-weight: 600;
}

.wfh-ps-result-detail {
  margin-top: 2px;
  color: #777;
  font-size: 12px;
}

@media (max-width: 700px) {
  .wfh-ps-box {
    padding: 14px 12px;
  }

  .wfh-ps-row {
    gap: 8px;
  }

  .wfh-ps-location,
  .wfh-ps-type {
    flex: 1 1 100%;
    min-width: 0;
  }

  .wfh-ps-small {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }

  .wfh-ps-price {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }

  .wfh-ps-search {
    flex: 1 1 100%;
  }

  .wfh-ps-input,
  .wfh-ps-select {
    font-size: 14px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .wfh-ps-label {
    font-size: 11px;
  }
}