/* Owner Connect V1 (OC-02A) — Sell or Rent Your Property */

.pg-owner-connect-shell {
  max-width: 960px;
}

.pg-owner-connect-honesty {
  margin-top: 0.75rem;
  color: rgba(15, 20, 38, 0.72);
}

.pg-owner-connect-layout {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .pg-owner-connect-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
    align-items: start;
  }
}

.pg-owner-connect-guide__title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.pg-owner-connect-guide__steps {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  line-height: 1.5;
}

.pg-owner-connect-form .form-progress {
  margin: 0 0 1rem;
  font-weight: 600;
  color: #062b5b;
}

.pg-oc-intent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.pg-oc-choice {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  border: 1.5px solid rgba(6, 43, 91, 0.18);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 650;
  background: #fff;
}

.pg-oc-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pg-oc-choice--buy:has(input:checked) {
  border-color: #062b5b;
  box-shadow: inset 0 0 0 1px #062b5b;
  color: #062b5b;
  background: rgba(6, 43, 91, 0.04);
}

.pg-oc-choice--rent:has(input:checked) {
  border-color: #0ba360;
  box-shadow: inset 0 0 0 1px #0ba360;
  color: #0a7a4a;
  background: rgba(11, 163, 96, 0.06);
}

/* Actions sit in normal document flow (not sticky/fixed). */
.pg-oc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
  padding: 0;
  position: static;
  background: transparent;
  box-shadow: none;
  border: 0;
}

/*
 * Root cause (checkbox layout): global `.contact-form input` sets width:100% and
 * min-height:48px on ALL inputs, including checkboxes. `.option input` resets
 * that for contact/find-rental option rows, but Owner Connect uses `.checkbox-label`.
 * Override the conflicting selector here — do not invent positioning hacks.
 */
.pg-owner-connect-form label.checkbox-label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1rem;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
}

.pg-owner-connect-form label.checkbox-label + label.checkbox-label {
  margin-top: 0.85rem;
}

.pg-owner-connect-form label.checkbox-label input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  min-width: 1.05rem;
  max-width: 1.05rem;
  min-height: 1.05rem;
  flex: 0 0 1.05rem;
  margin: 0.2rem 0 0;
  padding: 0;
  box-shadow: none;
  accent-color: #0ba360;
}

.pg-owner-connect-form label.checkbox-label > span {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 500;
}

.pg-owner-connect-form .optional {
  font-weight: 500;
  color: rgba(15, 20, 38, 0.55);
}

.pg-owner-connect-form .form-error-banner {
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: rgba(180, 35, 24, 0.08);
  color: #8a1f16;
}

.pg-owner-connect-ref code {
  font-size: 0.95em;
}

/* Prepared CTA component (not activated sitewide in OC-02A) */
.pg-owner-connect-cta {
  display: grid;
  gap: 0.5rem;
  padding: 1rem 0;
}

.pg-owner-connect-cta__title {
  margin: 0;
  font-size: 1.15rem;
}

.pg-owner-connect-cta__text {
  margin: 0;
  color: rgba(15, 20, 38, 0.75);
}

.pg-owner-connect-cta--rent .button-primary {
  background: #0ba360;
  border-color: #0ba360;
}

.pg-owner-connect-cta--buy .button-primary {
  background: #062b5b;
  border-color: #062b5b;
}
