.elementor-15746 .elementor-element.elementor-element-fb051d8{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-6fa884c *//* ═══════════════════════════════════════════════════
   AFFILIATE FORM — POLYPROFIT LIGHT
   ═══════════════════════════════════════════════════ */

.affwp-form {
  max-width: 820px !important;
  margin: 0 auto 60px !important;
  padding: 36px 40px 40px !important;
  background: linear-gradient(135deg, #EAF2FF 0%, #F3F6FF 50%, #F6F3FF 100%) !important;
  border-radius: 0 0 24px 24px !important;
  box-shadow: none !important;
  font-family: 'Inter', sans-serif !important;
  color: #0F172A;
  border-top: 1px solid rgba(59,130,246,0.1);
}

/* ─── Grid 2 colonnes ─── */
.affwp-form fieldset {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 20px !important;
}

/* ─── Cacher le legend ─── */
.affwp-form legend {
  display: none !important;
}

/* ─── Chaque champ ─── */
.affwp-form p,
.affwp-form .affwp-wrap {
  margin-bottom: 0.9rem !important;
  margin-top: 0 !important;
}

/* ─── Pleine largeur : textarea, URL, TOS, bouton ─── */
.affwp-form p:has(textarea),
.affwp-form p:has(input[type="url"]),
.affwp-form p:has([type="submit"]),
.affwp-form p:has([type="checkbox"]),
.affwp-form p:last-of-type,
.affwp-form .affwp-tos {
  grid-column: 1 / -1 !important;
}

/* ─── Forcer Website URL pleine largeur (fallback) ─── */
.affwp-form fieldset p:nth-of-type(5) {
  grid-column: 1 / -1 !important;
}

.affwp-form fieldset p:nth-of-type(5) input {
  width: 100% !important;
}

/* ─── Labels style badge ─── */
.affwp-form label {
  display: inline-block !important;
  font-weight: 600 !important;
  margin-bottom: 6px !important;
  font-size: 0.82rem !important;
  color: #3B82F6 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  background: rgba(59,130,246,0.06) !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
}

.affwp-form .required {
  color: #7C3AED !important;
  margin-left: 2px;
}

/* ─── Tous les inputs ─── */
.affwp-form input[type="text"],
.affwp-form input[type="email"],
.affwp-form input[type="url"],
.affwp-form input[type="password"],
.affwp-form input[type="tel"],
.affwp-form input[type="number"],
.affwp-form select,
.affwp-form textarea {
  width: 100% !important;
  padding: 0.8rem 0.9rem !important;
  font-size: 0.95rem !important;
  font-family: 'Inter', sans-serif !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #0F172A !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.04) !important;
}

.affwp-form input::placeholder,
.affwp-form textarea::placeholder {
  color: #94A3B8 !important;
}

/* ─── Focus ─── */
.affwp-form input:focus,
.affwp-form select:focus,
.affwp-form textarea:focus {
  outline: none !important;
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12) !important;
}

/* ─── Textarea ─── */
.affwp-form textarea {
  min-height: 90px !important;
  resize: vertical !important;
}

/* ─── Checkbox / TOS ─── */
.affwp-form .affwp-tos {
  display: flex !important;
  align-items: center !important;
  font-size: 0.85rem !important;
  color: #64748B !important;
  margin: 0.8rem 0 !important;
  grid-column: 1 / -1 !important;
}

.affwp-form .affwp-tos input[type="checkbox"] {
  margin-right: 0.5rem !important;
  accent-color: #3B82F6 !important;
  cursor: pointer !important;
}

.affwp-form .affwp-tos a {
  color: #3B82F6 !important;
  text-decoration: underline !important;
}

/* ─── Bouton Submit — à droite, taille auto ─── */
.affwp-form p:has([type="submit"]) {
  text-align: right !important;
  grid-column: 1 / -1 !important;
  margin-top: 0.5rem !important;
}

.affwp-form input[type="submit"],
.affwp-form button[type="submit"] {
  width: auto !important;
  display: inline-block !important;
  background: linear-gradient(135deg, #3B82F6, #2563EB) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  font-family: 'Inter', sans-serif !important;
  padding: 0.8rem 40px !important;
  border: none !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2) !important;
  letter-spacing: 0.3px !important;
}

.affwp-form input[type="submit"]:hover,
.affwp-form button[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.3) !important;
}

/* ─── Messages erreur ─── */
.affwp-form .affwp-errors,
#affwp-register-form .affwp-errors,
.affwp-errors {
  max-width: 820px !important;
  margin: 1rem 0 0 0 !important;
  padding: 1rem 1.2rem !important;
  background: rgba(239, 68, 68, 0.05) !important;
  border: 1px solid rgba(239, 68, 68, 0.15) !important;
  border-radius: 12px !important;
  color: #DC2626 !important;
  font-size: 0.88rem !important;
  font-family: 'Inter', sans-serif !important;
  line-height: 1.6 !important;
  grid-column: 1 / -1 !important;
  order: 999 !important;
  list-style: none !important;
}

.affwp-form .affwp-errors ul,
.affwp-errors ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.affwp-form .affwp-errors li,
.affwp-errors li {
  background: none !important;
  background-color: transparent !important;
  padding: 5px 0 !important;
  margin: 0 !important;
  color: #DC2626 !important;
  font-size: 0.88rem !important;
  list-style: none !important;
  border: none !important;
}

.affwp-form .affwp-errors li::before,
.affwp-errors li::before {
  content: "⚠ " !important;
}

/* ─── Message succès ─── */
.affwp-form .affwp-success,
#affwp-register-form .affwp-success,
.affwp-success {
  max-width: 820px !important;
  margin: 1rem 0 0 0 !important;
  padding: 1rem 1.2rem !important;
  background: rgba(34, 197, 94, 0.05) !important;
  border: 1px solid rgba(34, 197, 94, 0.15) !important;
  border-radius: 12px !important;
  color: #16A34A !important;
  font-size: 0.88rem !important;
  font-family: 'Inter', sans-serif !important;
  line-height: 1.6 !important;
  grid-column: 1 / -1 !important;
  order: 999 !important;
}

.affwp-form .affwp-success ul,
.affwp-success ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.affwp-form .affwp-success li,
.affwp-success li {
  background: none !important;
  background-color: transparent !important;
  padding: 5px 0 !important;
  margin: 0 !important;
  color: #16A34A !important;
  font-size: 0.88rem !important;
  list-style: none !important;
  border: none !important;
}

.affwp-form .affwp-success li::before,
.affwp-success li::before {
  content: "✓ " !important;
}

/* ─── Message notice / info ─── */
.affwp-form .affwp-notice,
#affwp-register-form .affwp-notice,
.affwp-notice {
  max-width: 820px !important;
  margin: 1rem 0 0 0 !important;
  padding: 1rem 1.2rem !important;
  background: rgba(59, 130, 246, 0.05) !important;
  border: 1px solid rgba(59, 130, 246, 0.15) !important;
  border-radius: 12px !important;
  color: #3B82F6 !important;
  font-size: 0.88rem !important;
  font-family: 'Inter', sans-serif !important;
  line-height: 1.6 !important;
  grid-column: 1 / -1 !important;
  order: 999 !important;
}

.affwp-form .affwp-notice ul,
.affwp-notice ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.affwp-form .affwp-notice li,
.affwp-notice li {
  background: none !important;
  background-color: transparent !important;
  padding: 5px 0 !important;
  margin: 0 !important;
  color: #3B82F6 !important;
  font-size: 0.88rem !important;
  list-style: none !important;
  border: none !important;
}

.affwp-form .affwp-notice li::before,
.affwp-notice li::before {
  content: "ℹ " !important;
}

/* ─── Hidden ─── */
.affwp-form input[type="hidden"] {
  display: none !important;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .affwp-form {
    margin: 0 auto 40px !important;
    padding: 24px 20px 28px !important;
  }

  .affwp-form fieldset {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .affwp-form p:has([type="submit"]) {
    text-align: center !important;
  }

  .affwp-form input[type="submit"],
  .affwp-form button[type="submit"] {
    width: 100% !important;
    display: block !important;
  }

  .affwp-form input[type="text"],
  .affwp-form input[type="email"],
  .affwp-form input[type="url"],
  .affwp-form input[type="password"],
  .affwp-form input[type="tel"],
  .affwp-form input[type="number"],
  .affwp-form select,
  .affwp-form textarea {
    font-size: 16px !important;
    padding: 0.7rem !important;
  }

  .affwp-form label {
    font-size: 0.78rem !important;
  }
}/* End custom CSS */