/* 19/09/2026: palette powerpulse (inchiostro #101511, lime #D9FF3F, linee #D9DED4), raggi 0, niente bordo laterale. Backup: .bak-2026-09-19-pre-powerpulse */
/* wt-alert.css - box di controllo prezzo in articolo (21/08/2026).
   Tenuto volutamente sobrio: deve sembrare uno strumento del sito, non una pubblicita'. */

.wt-alert {
  margin: 2.2rem 0;
  padding: 1.4rem 1.5rem 1.5rem;
  border: 1px solid #D9DED4;
  border-width: 2px; border-color: #101511;
  border-radius: 0;
  background: #FFFFFF;
  font-size: 1rem;
  line-height: 1.55;
}

.wt-alert__occhiello {
  margin: 0 0 .35rem;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #101511;
  font-weight: 700;
}

.wt-alert__titolo {
  margin: 0 0 .5rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.wt-alert__intro { margin: 0 0 .9rem; }

.wt-alert__riga {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
}

.wt-alert__prezzo {
  flex: 1 1 11rem;
  min-width: 0;
  padding: .7rem .8rem;
  border: 1px solid #D9DED4;
  border-radius: 0;
  font-size: 1.05rem;
  background: #fff;
}

.wt-alert__email {
  flex: 1 1 15rem;
  min-width: 0;
  padding: .7rem .8rem;
  border: 1px solid #D9DED4;
  border-radius: 0;
  font-size: 1rem;
  background: #fff;
}

.wt-alert__confronta,
.wt-alert__iscrivi {
  flex: 0 0 auto;
  padding: .72rem 1.15rem;
  border: 0;
  border-radius: 0;
  background: #101511;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.wt-alert__confronta:hover,
.wt-alert__iscrivi:hover:not(:disabled) { background: #000000; }

.wt-alert__iscrivi:disabled {
  background: #C9CFC6;
  cursor: not-allowed;
}

.wt-alert__aiuto {
  margin: .5rem 0 0;
  font-size: .86rem;
  color: #5A665F;
}

.wt-alert__errore {
  margin: .6rem 0 0;
  padding: .55rem .7rem;
  border-radius: 0;
  background: #fdeceb;
  color: #9c2b21;
  font-size: .92rem;
}

.wt-alert__esito {
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px dashed #D9DED4;
}

.wt-alert__verdetto { margin: 0 0 .5rem; font-size: 1.08rem; }
.wt-alert__conto    { margin: 0 0 .45rem; font-size: .95rem; color: #3F4A44; }
.wt-alert__limite   { margin: .6rem 0 0; font-size: .87rem; color: #5A665F; }

.wt-alert__mail {
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px dashed #D9DED4;
}

.wt-alert__mail-invito { margin: 0 0 .7rem; }

.wt-alert__consenso-riga {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  margin-top: .7rem;
  font-size: .88rem;
  color: #3F4A44;
}

/* La casella si difende dalla regola globale del tema (`input,textarea,select
   { width:100%; padding:12px 16px }` in style.css): senza larghezza propria la
   flex-basis auto la fa larga quanto la riga e spinge la label FUORI dal box.
   Il form fotovoltaico si difendeva gia' cosi' (`.wt-pv-consenso input`), questo
   box no: e' lo stesso difetto, non uno nuovo. Visto sul reso il 24/08/2026. */
.wt-alert__consenso {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  min-width: 0;
  margin-top: .2rem;
  padding: 0;
  accent-color: #101511;
}

.wt-alert__consenso-riga label { flex: 1 1 auto; min-width: 0; }

.wt-alert__garanzie {
  margin: .7rem 0 0;
  font-size: .84rem;
  color: #5A665F;
}

.wt-alert__fatto {
  margin-top: 1rem;
  padding: .8rem .9rem;
  border-radius: 0;
  background: #D9FF3F;
  color: #101511;
}

@media (max-width: 560px) {
  .wt-alert { padding: 1.1rem 1rem 1.2rem; }
  .wt-alert__confronta,
  .wt-alert__iscrivi { width: 100%; }
}

/* LA PORTA VERSO L'OFFERTA NOMINATA (29/08/2026).
   Colori presi dal comparatore (arancio su verde scuro, la coppia che il sito usa
   ovunque per l'azione principale) e non dal verde dei bottoni di questo box: quelli
   sono i comandi del form, questa e' l'uscita. Se fossero dello stesso colore il
   lettore leggerebbe tre bottoni pari, e l'unico che porta soldi si perderebbe. */
.wt-alert__azione { margin: .9rem 0 0; }

.wt-alert__cta {
  display: inline-block;
  padding: .78rem 1.25rem;
  border-radius: 0;
  background: #D9FF3F;
  color: #101511;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.wt-alert__cta:hover,
.wt-alert__cta:focus { background: #C6F02A; color: #101511; }

.wt-alert__cta:focus-visible { outline: 3px solid #101511; outline-offset: 2px; }

.wt-alert__disclosure {
  margin: .45rem 0 0;
  font-size: .82rem;
  color: #5A665F;
}

@media (max-width: 560px) {
  .wt-alert__cta { display: block; width: 100%; text-align: center; }
}
