/* ==========================================================================
   Modulo b2bregistration - stile form B2B (override tema leo_jamoo_elements)
   Caricato solo dalle pagine del modulo tramite i template in
   themes/leo_jamoo_elements/modules/b2bregistration/views/templates/front/
   ========================================================================== */

.b2b-page {
  --b2b-blue: #313F90;
  --b2b-blue-dark: #1f2a6b;
  --b2b-red: #ba0d0d;
  --b2b-red-hover: #d60f0f;
  --b2b-green: #50F0A3;
  --b2b-text: #1f2340;
  --b2b-muted: #6b6f85;
  --b2b-placeholder: #9a9db0;
  --b2b-border: #d9dbe6;
  --b2b-line: #e6e8f2;
  --b2b-soft: #f3f4fb;
  --b2b-ok: #1d9a5b;
  --b2b-radius: 14px;
  --b2b-shadow: 0 10px 30px rgba(20, 24, 60, 0.08);
  margin: 0 0 40px;
  color: var(--b2b-text);
  font-family: var(--font-family-base, inherit);
}
.b2b-page *,
.b2b-page *::before,
.b2b-page *::after { box-sizing: border-box; }
.b2b-page h1,
.b2b-page h2,
.b2b-page h3 { margin: 0; font-family: var(--font-family-heading, inherit); }
.b2b-page a { color: var(--b2b-red); }
.b2b-page a:hover { color: var(--b2b-red-hover); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.b2b-hero {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 40px;
  margin: 8px 0 28px;
  color: #fff;
  background:
    radial-gradient(900px 300px at 85% -40%, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(135deg, #313F90 0%, #263377 55%, #1b2460 100%);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(31, 42, 107, 0.25);
  overflow: hidden;
}
.b2b-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -140px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.b2b-hero__text {
  position: relative;
  z-index: 1;
  flex: 1 1 420px;
  min-width: 0;
}
.b2b-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}
.b2b-hero__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--b2b-green);
  box-shadow: 0 0 0 4px rgba(80, 240, 163, 0.25);
}
.b2b-hero__title {
  margin: 14px 0 10px;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
  color: #fff;
}
.b2b-hero__lead {
  max-width: 640px;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}
.b2b-hero__aside {
  position: relative;
  z-index: 1;
  flex: 0 1 300px;
}
.b2b-progress {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  backdrop-filter: blur(6px);
}
.b2b-progress__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}
.b2b-progress__count {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}
.b2b-progress__count span {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}
.b2b-progress__bar {
  height: 8px;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  overflow: hidden;
}
.b2b-progress__bar i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #50F0A3, #2ed889);
  border-radius: 999px;
  transition: width 0.35s ease;
}
.b2b-hero__login {
  margin: 14px 0 0;
  font-size: 14px;
  text-align: right;
  color: rgba(255, 255, 255, 0.85);
}
.b2b-hero__login a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.b2b-hero__login a:hover { color: var(--b2b-green); }

/* --------------------------------------------------------------------------
   Layout a due colonne
   -------------------------------------------------------------------------- */
.b2b-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.b2b-main { min-width: 0; }
@media (min-width: 992px) {
  .b2b-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .b2b-aside { position: sticky; top: 24px; }
}

/* --------------------------------------------------------------------------
   Card delle sezioni
   -------------------------------------------------------------------------- */
.b2b-card {
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius);
  box-shadow: var(--b2b-shadow);
  overflow: hidden;
}
.b2b-card__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  background: linear-gradient(180deg, #fafbff, #fff);
  border-bottom: 1px solid #eef0f7;
}
.b2b-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: var(--b2b-blue);
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(49, 63, 144, 0.28);
}
.b2b-card__title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--b2b-blue);
}
.b2b-card__hint {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--b2b-muted);
}
.b2b-card__body { padding: 22px 24px 26px; }

/* --------------------------------------------------------------------------
   Griglia campi
   -------------------------------------------------------------------------- */
.b2b-fields {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px 16px;
}
.b2b-field { grid-column: span 12; min-width: 0; }
.b2b-field--3 { grid-column: span 3; }
.b2b-field--4 { grid-column: span 4; }
.b2b-field--6 { grid-column: span 6; }
.b2b-field--8 { grid-column: span 8; }
/* Provincia nascosta (nazione senza province): la città occupa lo spazio libero */
.b2b-fields:has(#id_state_container[style*="none"]) .b2b-field--city { grid-column: span 12; }
@media (max-width: 991px) {
  .b2b-field--3,
  .b2b-field--4 { grid-column: span 6; }
}

/* Campi personalizzati del modulo (hook summary.tpl) come elementi della griglia.
   Il JS aggiunge b2b-cf, b2b-cf--select e b2b-cf--textarea ai contenitori .col-md-6. */
.b2b-fields > .col-md-6,
.b2b-fields > .col-md-12 {
  grid-column: span 6;
  flex: none;
  width: auto;
  max-width: none;
  min-width: 0;
  padding: 0;
}
.b2b-fields > .form-group.row {
  grid-column: span 12;
  margin: 0;
}
.b2b-fields > .b2b-cf--textarea { grid-column: span 12; }
.b2b-page .b2b-fields .rf_input_wrapper { margin: 0; }

/* Sezione Attività: menu a tendina per primi, area di testo (Note) per ultima */
.b2b-fields--attivita > * { order: 7; }
.b2b-fields--attivita > .b2b-cf { order: 8; }
.b2b-fields--attivita > .b2b-cf--select { order: 1; }
.b2b-fields--attivita > .b2b-cf--textarea { order: 9; }

/* Dati azienda: nota fatturazione elettronica (mostrata dal JS se esistono i campi SDI / PEC) */
.b2b-page .b2b-efattura-note {
  grid-column: span 12;
  margin: -6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--b2b-muted);
}
.b2b-page .b2b-efattura-note[hidden] { display: none; }

/* Dati azienda: fascia "Indirizzo sede legale" e riga unica dei campi indirizzo */
.b2b-subhead {
  grid-column: span 12;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--b2b-blue);
  background: var(--b2b-soft);
  border-radius: 10px;
}
.b2b-subhead sup.required {
  top: -1px;
  font-size: 13px;
  line-height: 0;
  color: var(--b2b-red) !important;
}
.b2b-addr {
  grid-column: span 12;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.b2b-addr > .b2b-field {
  flex: 1 1 150px;
  min-width: 0;
}
.b2b-addr > .b2b-field--address { flex: 2 1 220px; }
.b2b-addr > .b2b-field--postcode {
  flex: 0 1 120px;
  min-width: 110px;
}
@media (max-width: 991px) {
  .b2b-addr > .b2b-field { flex-basis: calc(50% - 8px); }
  .b2b-addr > .b2b-field--address { flex-basis: calc(50% - 8px); }
  .b2b-addr > .b2b-field--postcode { flex: 1 1 calc(50% - 8px); }
}
@media (max-width: 767px) {
  .b2b-addr > .b2b-field,
  .b2b-addr > .b2b-field--address,
  .b2b-addr > .b2b-field--postcode { flex: 1 1 100%; }
}
@media (max-width: 767px) {
  .b2b-field--3,
  .b2b-field--4,
  .b2b-field--6,
  .b2b-field--8,
  .b2b-fields > .col-md-6,
  .b2b-fields:has(#id_state_container[style*="none"]) .b2b-field--city { grid-column: span 12; }
}

.b2b-label,
.b2b-page .rf_input_label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 7px;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  color: var(--b2b-text);
}
.b2b-label sup.required,
.b2b-page .rf_input_label sup.required {
  top: -1px;
  font-size: 13px;
  line-height: 0;
  color: var(--b2b-red) !important;
}
.b2b-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--b2b-muted);
}
.b2b-field.is-done .b2b-label::after,
.b2b-page .rf_input_wrapper.is-done .rf_input_label::after {
  content: "";
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--b2b-ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6.5l2.5 2.5 4.5-5'/%3E%3C/svg%3E") center / 8px no-repeat;
}

/* --------------------------------------------------------------------------
   Controlli
   -------------------------------------------------------------------------- */
.b2b-page .form-control,
.b2b-page .b2b-field select.form-control,
.b2b-page .rf_input_wrapper select.form-control {
  display: block;
  width: 100%;
  height: 46px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--b2b-text);
  background-color: #fff;
  background-image: none;
  border: 1px solid var(--b2b-border);
  border-radius: 10px;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.b2b-page textarea.form-control {
  height: auto;
  min-height: 120px;
  padding: 12px 14px;
  line-height: 1.5;
  resize: vertical;
}
.b2b-page .form-control::placeholder { color: var(--b2b-placeholder); opacity: 1; }
.b2b-page .form-control:focus,
.b2b-page .b2b-field select.form-control:focus,
.b2b-page .rf_input_wrapper select.form-control:focus {
  border-color: var(--b2b-blue);
  box-shadow: 0 0 0 4px rgba(49, 63, 144, 0.12);
  outline: 0;
}
.b2b-page .form-control:disabled,
.b2b-page .form-control[readonly] {
  color: var(--b2b-muted);
  background-color: var(--b2b-soft);
}
.b2b-page span.form-control {
  display: flex;
  align-items: center;
  background-color: var(--b2b-soft);
}
.b2b-page .b2b-field select.form-control,
.b2b-page .rf_input_wrapper select.form-control {
  padding-right: 40px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236b6f85' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
}
.b2b-page .b2b-field select.form-control[multiple],
.b2b-page .rf_input_wrapper select.form-control[multiple] {
  height: auto;
  min-height: 120px;
  padding: 8px 14px;
  background-image: none;
}
.b2b-page input[type="file"].form-control {
  padding: 9px 14px;
  line-height: 1.6;
}
.b2b-page .form-error .form-control,
.b2b-page .has-error .form-control {
  border-color: var(--b2b-red);
  box-shadow: 0 0 0 4px rgba(186, 13, 13, 0.1);
}
.b2b-page .form-ok .form-control { border-color: #b7dfc9; }

/* Password con pulsante mostra/nascondi */
.b2b-page .input-group {
  display: flex;
  width: 100%;
}
.b2b-page .input-group .form-control {
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
  border-radius: 10px 0 0 10px;
}
.b2b-page .input-group .input-group-btn {
  display: flex;
  width: auto;
  white-space: nowrap;
}
.b2b-page .input-group .input-group-btn .btn {
  height: 46px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--b2b-blue);
  background: var(--b2b-soft);
  border: 1px solid var(--b2b-border);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.b2b-page .input-group .input-group-btn .btn:hover { background: #e9ebf7; }
.b2b-page .input-group .form-control:focus + .input-group-btn .btn { border-color: var(--b2b-blue); }

/* --------------------------------------------------------------------------
   Campi personalizzati del modulo (hook summary.tpl)
   -------------------------------------------------------------------------- */
.b2b-custom-fields { margin: 0 -8px; }
.b2b-custom-fields > [class*="col-"] { padding: 0 8px; }
.b2b-page .rf_input_wrapper {
  margin: 0 0 18px;
  padding: 0;
}
.b2b-page .rf_input_wrapper > div { position: relative; }
.b2b-page .rf_input_wrapper .type_multiboxes {
  margin: 0 14px 6px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--b2b-text);
}
.b2b-page .rf_input_wrapper .image_container { border-radius: 10px; }
.b2b-page .rf_input_wrapper .alert { margin-top: 0; }

/* --------------------------------------------------------------------------
   Consensi
   -------------------------------------------------------------------------- */
.b2b-checks {
  display: grid;
  gap: 12px;
}
.b2b-check {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 14px 16px;
  background: var(--b2b-soft);
  border: 1px solid var(--b2b-line);
  border-radius: 12px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.b2b-check:has(input:checked) {
  background: #eef0fb;
  border-color: rgba(49, 63, 144, 0.35);
}
.b2b-check__label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 260px;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left; /* il tema imposta label { text-align: right } */
  color: var(--b2b-text);
  cursor: pointer;
}
.b2b-check__label input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.b2b-check__box {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  background: #fff;
  border: 2px solid #b9bdd1;
  border-radius: 7px;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.b2b-check__box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.18s ease;
}
.b2b-check__label input:checked + .b2b-check__box {
  background: var(--b2b-red);
  border-color: var(--b2b-red);
}
.b2b-check__label input:checked + .b2b-check__box::after { transform: rotate(45deg) scale(1); }
.b2b-check__label input:focus-visible + .b2b-check__box { box-shadow: 0 0 0 4px rgba(49, 63, 144, 0.18); }
.b2b-check__text sup.required {
  top: -2px;
  font-size: 13px;
  color: var(--b2b-red) !important;
}
.b2b-page .b2b-check__link {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--b2b-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.b2b-page .b2b-check__link:hover { color: var(--b2b-red); }

.b2b-gdpr { margin-top: 16px; }
.b2b-gdpr:empty { display: none; }
.b2b-page .b2b-gdpr .custom-checkbox label {
  font-size: 13px;
  color: var(--b2b-text);
}
.b2b-captcha { margin-top: 16px; }
.b2b-captcha .g-recaptcha:empty { display: none; }

/* --------------------------------------------------------------------------
   Avvisi
   -------------------------------------------------------------------------- */
.b2b-page .alert {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--b2b-text);
  background: #f4f5fc;
  border: 1px solid #e1e4f5;
  border-left: 4px solid var(--b2b-blue);
  border-radius: 10px;
}
.b2b-page .alert-danger {
  background: #fdf2f2;
  border-color: #f5c6c6;
  border-left-color: var(--b2b-red);
}
.b2b-page .alert-success {
  background: #eefaf3;
  border-color: #c5e8d3;
  border-left-color: var(--b2b-ok);
}

/* --------------------------------------------------------------------------
   Footer form e pulsante
   -------------------------------------------------------------------------- */
.b2b-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin-top: 4px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius);
  box-shadow: var(--b2b-shadow);
}
.b2b-footer__note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--b2b-muted);
}
.b2b-footer__note[hidden] { display: none; }
.b2b-footer__note::before {
  content: "i";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: 800;
  font-style: normal;
  color: var(--b2b-blue);
  background: #e9ebf7;
  border-radius: 50%;
}
.b2b-page .btn.b2b-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 30px;
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: #fff !important;
  background: var(--b2b-red);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(186, 13, 13, 0.28);
  float: none !important;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.b2b-page .btn.b2b-submit:hover:not(:disabled) {
  background: var(--b2b-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(186, 13, 13, 0.32);
}
.b2b-page .btn.b2b-submit:disabled,
.b2b-page .btn.b2b-submit[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}
.b2b-page .btn.b2b-submit svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

/* --------------------------------------------------------------------------
   Colonna laterale
   -------------------------------------------------------------------------- */
.b2b-side-card {
  margin-bottom: 18px;
  padding: 22px 22px 20px;
  background: #fff;
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius);
  box-shadow: var(--b2b-shadow);
}
.b2b-side-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  color: var(--b2b-blue);
}
.b2b-side-card__title svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--b2b-red);
}
.b2b-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: b2bstep;
}
.b2b-steps li {
  position: relative;
  padding: 0 0 18px 42px;
  counter-increment: b2bstep;
}
.b2b-steps li:last-child { padding-bottom: 0; }
.b2b-steps li::before {
  content: counter(b2bstep);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 13px;
  font-weight: 800;
  color: var(--b2b-blue);
  background: var(--b2b-soft);
  border: 1px solid #dfe2f0;
  border-radius: 50%;
}
.b2b-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 30px;
  bottom: 2px;
  width: 2px;
  background: var(--b2b-line);
}
.b2b-steps b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--b2b-text);
}
.b2b-steps span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--b2b-muted);
}
.b2b-side-card--blue {
  color: #fff;
  background: linear-gradient(160deg, #313F90, #1f2a6b);
  border-color: transparent;
}
.b2b-side-card--blue .b2b-side-card__title { color: #fff; }
.b2b-side-card--blue .b2b-side-card__title svg { color: var(--b2b-green); }
.b2b-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
}
.b2b-benefits li {
  position: relative;
  padding: 6px 0 6px 30px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}
.b2b-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(80, 240, 163, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%2350F0A3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6.5l2.5 2.5 4.5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.b2b-help p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--b2b-muted);
}
.b2b-help__links {
  display: grid;
  gap: 8px;
}
.b2b-help__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--b2b-text);
  text-decoration: none;
  word-break: break-all;
}
.b2b-help__links a:hover { color: var(--b2b-red); }
.b2b-help__links svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: var(--b2b-red);
}

/* --------------------------------------------------------------------------
   Pagina "richiesta in elaborazione"
   -------------------------------------------------------------------------- */
.b2b-notice {
  max-width: 760px;
  margin: 8px auto 0;
  padding: 40px 32px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--b2b-line);
  border-radius: var(--b2b-radius);
  box-shadow: var(--b2b-shadow);
}
.b2b-notice__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  color: var(--b2b-blue);
  background: var(--b2b-soft);
  border-radius: 50%;
}
.b2b-notice__icon svg {
  width: 30px;
  height: 30px;
}
.b2b-notice__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--b2b-text);
}
.b2b-notice__body h1,
.b2b-notice__body h2,
.b2b-notice__body h3 {
  margin-bottom: 10px;
  color: var(--b2b-blue);
}
.b2b-notice__body p:last-child { margin-bottom: 0; }
.b2b-notice__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.b2b-page .btn.b2b-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  color: var(--b2b-red) !important;
  background: #fff;
  border: 1px solid var(--b2b-red);
  border-radius: 12px;
  box-shadow: none;
}
.b2b-page .btn.b2b-btn-outline:hover {
  color: #fff !important;
  background: var(--b2b-red);
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .b2b-page { margin-bottom: 28px; }
  .b2b-hero {
    padding: 26px 22px;
    margin-top: 0;
    border-radius: 16px;
  }
  .b2b-hero__title { font-size: 26px; }
  .b2b-hero__aside { flex: 1 1 100%; }
  .b2b-hero__login { text-align: left; }
  .b2b-card__head { padding: 16px 18px; }
  .b2b-card__body { padding: 18px 18px 22px; }
  .b2b-footer { padding: 18px; }
  .b2b-footer__note { flex: 1 1 100%; }
  .b2b-page .btn.b2b-submit { width: 100%; }
  .b2b-check__link { white-space: normal; }
}
