/*
 * Recruiting pages. Mobile-first: nearly every visitor is in the Nextdoor or
 * Facebook in-app browser, or scanned the truck QR with a phone camera.
 * Inputs are 16px+ so iOS does not zoom on focus; tap targets are 48px+.
 */
.opp-page {
  --opp-navy: var(--nav-navy, #0e1f35);
  --opp-accent: var(--nav-accent, #e8632d);
  --opp-light: var(--Light, #e2ddd7);
  --opp-ink: #1c2430;
  --opp-muted: #5a6472;
  --opp-error: #b3261e;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px 48px;
  color: var(--opp-ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

.opp-hero {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--opp-light);
}
.opp-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--opp-accent);
}
.opp-title {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 34px;
  line-height: 1.15;
  color: var(--opp-navy);
}
.opp-subhead {
  margin: 0 0 20px;
  font-size: 18px;
  color: var(--opp-muted);
}
.opp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.opp-chips li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--opp-light);
  color: var(--opp-navy);
  font-size: 15px;
}

.opp-cta,
.opp-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 10px;
  background: var(--opp-accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.opp-cta:focus-visible,
.opp-submit:focus-visible {
  outline: 3px solid var(--opp-navy);
  outline-offset: 2px;
}
.opp-submit {
  width: 100%;
  margin-top: 8px;
}
.opp-submit:disabled {
  opacity: 0.6;
  cursor: progress;
}

.opp-section {
  padding: 32px 0 8px;
}
.opp-section h2 {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  color: var(--opp-navy);
}
.opp-list {
  padding-left: 20px;
}
.opp-list li {
  margin-bottom: 8px;
}

.opp-form-section {
  scroll-margin-top: 80px;
}
.opp-form {
  margin-top: 16px;
}
.opp-field {
  margin-bottom: 22px;
}
.opp-field fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.opp-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--opp-navy);
}
.opp-req {
  color: var(--opp-accent);
}
.opp-help {
  margin: -4px 0 8px;
  font-size: 15px;
  color: var(--opp-muted);
}
.opp-field input[type="text"],
.opp-field input[type="tel"],
.opp-field input[type="email"],
.opp-field select,
.opp-field textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #b9bfc8;
  border-radius: 10px;
  background: #fff;
  color: var(--opp-ink);
  font: inherit;
  font-size: 17px;
}
.opp-field textarea {
  min-height: 0;
}
.opp-field input:focus,
.opp-field select:focus,
.opp-field textarea:focus {
  outline: 3px solid rgba(232, 99, 45, 0.35);
  border-color: var(--opp-accent);
}

.opp-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.opp-options-days {
  flex-direction: row;
  flex-wrap: wrap;
}
.opp-option {
  position: relative;
  display: flex;
  cursor: pointer;
}
.opp-options-days .opp-option {
  flex: 1 0 calc(25% - 8px);
}
.opp-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.opp-option span {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #b9bfc8;
  border-radius: 10px;
  background: #fff;
}
.opp-options-days .opp-option span {
  justify-content: center;
}
.opp-option input:checked + span {
  border-color: var(--opp-navy);
  background: var(--opp-navy);
  color: #fff;
}
.opp-option input:focus-visible + span {
  outline: 3px solid rgba(232, 99, 45, 0.5);
}

.opp-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
}
.opp-consent input {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  accent-color: var(--opp-navy);
}

.opp-error {
  margin: 6px 0 0;
  color: var(--opp-error);
  font-size: 15px;
}
.opp-error:empty {
  display: none;
}
.opp-field.has-error input,
.opp-field.has-error select,
.opp-field.has-error textarea,
.opp-field.has-error .opp-option span {
  border-color: var(--opp-error);
}

.opp-status {
  margin: 12px 0 0;
  font-weight: 600;
}
.opp-status.is-error {
  color: var(--opp-error);
}
.opp-privacy {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--opp-muted);
}

/* Off-screen rather than display:none: some bots skip hidden inputs. */
.opp-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.opp-success {
  padding: 24px;
  border-radius: 14px;
  background: var(--opp-light);
}
.opp-success h2:focus {
  outline: none;
}
.opp-copy-status {
  margin: 10px 0 0;
  font-size: 15px;
}
.opp-share-url {
  box-sizing: border-box;
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  font-size: 16px;
}

.opp-role-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .opp-title {
    font-size: 46px;
  }
  .opp-hero {
    padding-top: 64px;
  }
  .opp-options {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .opp-options .opp-option {
    flex: 0 1 auto;
  }
  .opp-options-days .opp-option {
    flex: 1 0 0;
  }
  .opp-submit {
    width: auto;
  }
}

.opp-note {
  padding: 12px 14px;
  border-left: 4px solid var(--opp-accent);
  border-radius: 6px;
  background: #fdf1eb;
  font-weight: 600;
  color: var(--opp-navy);
}
