/* ============================================================
   promoters.css
   Stile per il blocco verifica codice Promoters – Graphistudio.
   Percorso: /wp-content/themes/unicon-child/form/css/promoters.css
   ============================================================ */

.promoters-wrap {
  max-width: 380px;
  width: 100%;
  font-family: inherit;
}

.promoters-label {
  color: #1a1a1a;
  margin: 0 0 8px;
}

/* ── Input codice ─────────────────────────────────────────── */
.promoters-wrap .promoters-code-input {
  display: block;
  width: 100%;
  padding: 12px 14px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: "Courier New", Courier, monospace;
  color: #000;
  background: #fff;
  border: 2px solid #000 !important;
  border-radius: 0 !important;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
  margin-bottom: 8px;
  box-shadow: none !important;
}

.promoters-wrap .promoters-code-input::placeholder {
  color: #999;
  font-weight: 400;
  font-family: "Courier New", Courier, monospace;
}

.promoters-wrap .promoters-code-input:focus {
  border-color: #000 !important;
}

/* ── Stati colore testo input codice ──────────────────────── */
.promoters-wrap .promoters-code-input--valid {
  color: #0a5c1f !important; /* verde scuro */
}

.promoters-wrap .promoters-code-input--invalid {
  color: #8b0000 !important; /* rosso scuro */
}

.promoters-wrap .promoters-code-input--neutral {
  color: #000 !important; /* nero pieno, in attesa di validazione */
}

/* ── Bottone (rosso pieno Graphistudio) ───────────────────── */
.promoters-btn {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  border: none;
  border-radius: 0;
  background: #ff0000;
  color: #fff;
  transition: background 0.15s ease, opacity 0.15s ease;
  box-sizing: border-box;
}

.promoters-btn:hover {
  background: #d40000;
}

.promoters-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Link "Create account / Log in" ───────────────────────── */
.promoters-auth-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  color: #1a1a1a;
}

.promoters-auth-links--hidden {
  display: none !important;
}

.promoters-link-register,
.promoters-link-login {
  color: #ff0000;
  text-decoration: underline;
}

.promoters-link-register:hover,
.promoters-link-login:hover {
  color: #d40000;
}

/* ── Messaggio di errore ──────────────────────────────────── */
.promoters-code-error {
  display: none;
  font-size: 0.9rem;
  color: #ff0000;
  margin-top: 10px;
  line-height: 1.6;
}

.promoters-code-error:not(:empty) {
  display: block;
}

/* ── Allineamento checkbox privacy (pagina form Join Us Promoter) ──── */
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.form-check .form-check-input {
  position: static !important;
  margin: 0 !important;
  flex-shrink: 0;
}
/* ── Fix peso label Provincia/Region/State (allineata alle altre label) ── */
#label_regione,
#label_regione_it,
#label_regione_es,
#label_regione_us {
  font-weight: normal !important;
}

