/* contractor-requirement.css
 *
 * Apply-moment "you'll likely need a contractor to apply" module on the program
 * detail page (EN + ES). Rendered server-side by ssr.py inside the "How to
 * Apply" card, so it sits at the apply moment, not buried at the bottom. Two
 * tiers share the markup; the tier class swaps the accent treatment so the
 * "required" framing reads more definitive than the softer "likely" framing.
 *
 * Brand vars come from styles.css (--orange is the primary CTA color, --blue is
 * the secondary). Fallback literals keep the module styled even if this file
 * loads before styles.css.
 */

.contractor-requirement {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border, #b0bfcc);
  border-left: 4px solid var(--blue, #407EC9);
  border-radius: var(--radius, 10px);
  background: rgba(64, 126, 201, 0.06);
}

/* "required" is definitive: lean on the primary CTA color (orange) for a
 * stronger, more attention-grabbing accent than the softer "likely" tier. */
.contractor-requirement-required {
  border-left-color: var(--orange, #F68D2E);
  background: rgba(246, 141, 46, 0.08);
}

.contractor-requirement-headline {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--heading, #000000);
  margin: 0 0 8px;
  line-height: 1.4;
}

.contractor-requirement-body {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text, #221f20);
  margin: 0 0 14px;
}

.contractor-requirement-cta {
  /* .btn .btn-accent from styles.css provide the base button look; these rules
   * only ensure the CTA reads as a full-width-friendly block inside the card. */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 12px;
}

.contractor-requirement-note {
  /* Honest sub-line: each program sets its own rules. Muted so it reads as a
   * caveat, not a promise. */
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-faint, #6b7280);
  margin: 0;
}

/* Mobile: let the CTA span the card so the tap target meets the 44px minimum. */
@media (max-width: 768px) {
  .contractor-requirement-cta {
    display: flex;
    width: 100%;
  }
}
