/* The owner door's rates (Oct 23, the founder: "add the 'your hourly rate'
   field to the form with a section for the pass"). Optional, and a trust
   surface: contained, quiet, no orange. The owner sets his own numbers; the
   directory shows no price until he does. Matches the form's one control
   system (styles.css): white fill, hairline, 12px radius, Deep Orange ring. */

.rates-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 24px;
}

.rates-optional {
  font-weight: 400;
  color: var(--light-gray);
}

.rates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.rate-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--near-black);
  margin-bottom: 8px;
}

.rate-input {
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 14px;
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  transition: border-color 120ms ease;
}

.rate-input:hover {
  border-color: var(--light-gray);
}

.rate-input:focus-within {
  border-color: var(--near-black);
  outline: 2px solid var(--deep-orange);
  outline-offset: 2px;
}

.rate-input span {
  font-size: 15px;
  color: var(--warm-gray);
  white-space: nowrap;
}

.rate-input input {
  flex: 1;
  min-width: 0;
  height: 100%;
  margin: 0 6px;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: var(--near-black);
  outline: none;
}

.rate-input input::placeholder {
  color: var(--light-gray);
}

.rates-hint {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--light-gray);
}

@media (max-width: 380px) {
  .rates-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
