/* The affiliate page (apps/sito/affiliate_page.py, sito/new_layout/affiliate.html), whole in this file on top of
   new-layout.css: the lead of the cover, the three steps, the guarantee and the form. The colours are the site's. */
.aff-hero .nl-btn { margin-top: 26px; }
.aff-lead { margin: 0; max-width: 720px; color: #d5deea; font-size: 18px; line-height: 1.6; }
.aff-body { padding-bottom: 64px; }

.aff-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 980px; margin: 0;
  padding: 0; list-style: none; counter-reset: none; }
.aff-step { padding: 20px 20px 22px; border: 1px solid #ece7dd; border-radius: 14px; background: #fbf7ee; color: #23324a; }
.aff-step p { margin: 0; line-height: 1.55; }
.aff-step-number { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  margin-bottom: 12px; border-radius: 50%; background: #0d1e34; color: #f6c26b; font-weight: 600; }
.aff-step .aff-step-title { margin-bottom: 6px; color: #0d1e34; font-size: 18px; font-weight: 600; }

.aff-guarantee p { max-width: 780px; margin: 0; color: #23324a; font-size: 17px; line-height: 1.6; }
.aff-guarantee .aff-guarantee-line { margin-bottom: 6px; color: #0d1e34; font-size: 20px; font-weight: 600; }

.aff-apply { max-width: 640px; }
.aff-form { display: flex; flex-direction: column; }
.aff-label { margin: 14px 0 6px; color: #0d1e34; font-size: 14px; font-weight: 600; }
.aff-form .aff-input { box-sizing: border-box; width: 100%; margin: 0; padding: 13px 14px; border: 1px solid #c8bfae;
  border-radius: 10px; background: #fff; color: #0b1829; font: inherit; font-size: 16px; box-shadow: none; }
.aff-form .aff-input[aria-invalid="true"] { border-color: #a3281b; }
.aff-form textarea.aff-input { resize: vertical; min-height: 96px; }
.aff-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* two classes: stronger than the buttons of the new dress (`.nl button` paints them white) */
.aff-form .aff-send { align-self: flex-start; margin: 22px 0 0; padding: 14px 28px; border: 0; border-radius: 10px;
  background: #e89820; color: #0b1829; cursor: pointer; font: inherit; font-weight: 600; line-height: 1.3;
  text-transform: none; letter-spacing: normal; }
.aff-form .aff-send:hover { background: #f5a824; }
.aff-small { margin: 12px 0 0; color: #5b6b80; font-size: 13px; line-height: 1.5; }
.aff-small a { color: inherit; text-decoration: underline; }
.aff-errors { margin: 0 0 8px; padding: 12px 16px 12px 32px; border-radius: 10px; background: #fbecea; color: #a3281b; }
.aff-thanks { padding: 20px 22px; border: 1px solid #c9a24a; border-radius: 14px; background: #fbf7ee; color: #0b1829; }
.aff-thanks p { margin: 0; line-height: 1.55; }
.aff-thanks .aff-thanks-title { margin-bottom: 6px; font-size: 18px; font-weight: 600; }

@media (max-width: 799px) {
  .aff-steps { grid-template-columns: 1fr; }
  .aff-form .aff-send { width: 100%; }
}
