.ps-b24-form {
  align-items: end;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  color: #172623;
  display: grid;
  font-size: 0.875rem;
  gap: 0.625rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-inline: auto;
  padding: 0.75rem;
  text-align: start;
  width: 100%;
}

.ps-b24-search {
  box-shadow: 0 10px 30px #0003;
  margin-top: 0.625rem;
  max-width: 58rem;
}

.ps-b24-room {
  max-width: 23rem;
}

.ps-b24-field {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.ps-b24-field span {
  font-weight: 600;
}

.ps-b24-field :is(input, select) {
  background: #f8faf9;
  border: 1px solid #aebfbc;
  border-radius: 0.5rem;
  box-sizing: border-box;
  color: inherit;
  font: inherit;
  min-height: 2.5rem;
  min-width: 0;
  padding: 0.38rem 0.45rem;
  width: 100%;
}

.ps-b24-submit {
  background: #216765;
  border: 0;
  border-radius: 0.5rem;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  grid-column: span 2;
  min-height: 2.5rem;
  padding: 0.4rem 0.75rem;
}

.ps-b24-submit:hover {
  background: #174b49;
}

.ps-b24-form :is(input, select, button):focus-visible {
  outline: 2px solid #216765;
  outline-offset: 2px;
}

@media (width < 48rem) {
  .ps-b24-search .ps-b24-field:first-of-type {
    grid-column: span 2;
  }
}

@media (width >= 48rem) {
  .ps-b24-search {
    grid-template-columns: 1.8fr repeat(2, minmax(7.25rem, 1fr)) minmax(4.5rem, 0.55fr) minmax(3.5rem, 0.5fr) auto;
  }

  .ps-b24-search .ps-b24-submit {
    grid-column: auto;
  }
}
