@font-face {
  font-family: "Instrument Sans";
  src: url("../font/InstrumentSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("../font/InstrumentSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CRAIbold";
  src: url("../font/CRAI_bold.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --w: 100%;
  --brand-blue: #193482;
  --panel-text: #333438;
}

* {
  box-sizing: border-box;
  font-family: "Instrument Sans", sans-serif;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: var(--panel-text);
}

.funnel {
  width: 100%;
  background: linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.header {
  width: var(--w);
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.header-inner {
  width: 100%;
  padding-left: 32px;
  padding-right: 32px;
  padding-top: 16px;
  padding-bottom: 16px;
  justify-content: space-between;
  align-items: center;
  display: inline-flex;
}

.logo {
  width: 240px;
  height: 31px;
}

.logo img,
.logo svg {
  width: 240px;
  height: 31px;
  display: block;
  object-fit: contain;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.btn-secondary-negative {
  width: 200px;
  height: 48px;
  min-width: 120px;
  max-width: 360px;
  padding: 16px 24px;
  border-radius: 16px;
  outline: 3px solid #fff;
  outline-offset: -3px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.menu {
  width: 48px;
  height: 48px;
  display: block;
  flex: 0 0 auto;
}

.menu svg {
  width: 40px;
  height: 28px;
  display: block;
}

.menu-toggle {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-close {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-close svg {
  width: 28px;
  height: 28px;
}

.funnel-mobile-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background: linear-gradient(63deg, #194282 0%, #973961 100%);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.75);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  z-index: 200;
}

.funnel-mobile-menu.is-open {
  display: inline-flex;
}

.funnel-mobile-menu__head {
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
  justify-content: space-between;
  align-items: center;
  display: inline-flex;
}

.funnel-mobile-menu__body {
  align-self: stretch;
  height: 400px;
  padding-top: 32px;
  padding-bottom: 64px;
  padding-left: 24px;
  padding-right: 24px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  display: flex;
}

.funnel-mobile-menu__btn {
  width: 100%;
  height: 48px;
  max-width: 360px;
  min-width: 120px;
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
  border-radius: 16px;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  box-sizing: border-box;
}

.funnel-mobile-menu__btn--ghost {
  outline: 3px #fff solid;
  outline-offset: -3px;
  color: #fff;
}

.funnel-mobile-menu__btn--light {
  background: #fff;
  color: #193482;
}

.hero-content {
  align-self: stretch;
  padding: 64px 200px 128px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.panel {
  width: 720px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.panel-top {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel-title {
  align-self: stretch;
  color: var(--brand-blue);
  font-size: 24px;
  font-family: "CRAIbold", sans-serif;
  font-weight: 400;
  line-height: 1.15;
}

.panel-text {
  align-self: stretch;
  font-size: 16px;
  line-height: 1.25;
  color: var(--panel-text);
  font-weight: 400;
}

.panel-text strong {
  font-weight: 700;
}

.panel-text .mail {
  color: #2e2c7a;
  font-weight: 700;
}

.input-wrap {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.input-box {
  align-self: stretch;
  height: 50px;
  padding: 8px 12px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #d3d3d3;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2px;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.input-box .label {
  font-size: 12px;
  color: #707074;
}

.input-box input {
  width: 100%;
  border: 0;
  outline: none;
  padding: 0;
  font-size: 16px;
  color: #333438;
  background: transparent;
}

.input-wrap.has-error .input-box {
  border-color: #eb2828;
}

.input-wrap.has-error .input-box input {
  color: #eb2828;
}

.input-error {
  display: none;
  align-self: stretch;
  padding: 0 12px;
  justify-content: center;
  align-items: center;
  gap: 2px;
}

.input-wrap.has-error .input-error {
  display: inline-flex;
}

.input-error__icon {
  width: 12px;
  height: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.input-error__icon svg {
  width: 12px;
  height: 12px;
  display: block;
}

.input-error__text {
  flex: 1 1 0;
  color: #eb2828;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
}

.feedback {
  align-self: stretch;
  padding: 16px;
  background: #ffe6c6;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}

.feedback-row {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.alert-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: block;
}

.feedback-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #333438;
  font-size: 12px;
  font-weight: 400;
}

.panel-actions {
  align-self: stretch;
  padding-top: 24px;
  display: inline-flex;
  justify-content: space-between;
  align-items: flex-start;
}

.btn-back {
  width: 208px;
  height: 48px;
  min-width: 120px;
  max-width: 360px;
  padding: 16px 24px;
  border-radius: 16px;
  outline: 3px solid #2e2c7a;
  outline-offset: -3px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 0;
  color: #193482;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.btn-next {
  height: 48px;
  min-width: 120px;
  max-width: 360px;
  padding: 16px 24px;
  border-radius: 16px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #8b94ad;
  border: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: not-allowed;
}

.btn-next.is-active {
  background: linear-gradient(90deg, #2b3f97 0%, #64317f 52%, #ff1b23 100%);
  cursor: pointer;
}

.prefooter {
  position: relative;
  width: var(--w);
  padding: 24px 200px;
  background: #193482;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.prefooter-main {
  flex: 0 1 auto;
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.prefooter-title {
  align-self: stretch;
  text-align: center;
  color: #fff;
  font-size: 24px;
  font-family: "CRAIbold", sans-serif;
  font-weight: 400;
  line-height: 1.15;
}

.prefooter-row {
  align-self: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  width: fit-content;
  max-width: 100%;
}

.appointment,
.support-info,
.support-email {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
}

.appointment {
  flex: 1 1 0;
}

.appointment .btn-secondary-negative {
  flex: 1 1 0;
  width: auto;
  max-width: 360px;
}

.appointment-icon,
.headphones-icon,
.mail-icon {
  width: 60px;
  height: 60px;
  display: block;
  flex: 0 0 auto;
}

.support-copy {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
  flex: 0 1 auto;
  width: auto;
}

.support-copy .line-1 {
  margin: 0;
  align-self: auto;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 4px;
  color: #fff;
  line-height: 1.15;
  white-space: nowrap;
}

.support-copy .line-1 .t1 {
  font-size: 16px;
  font-weight: 700;
}

.support-copy .line-1 .t2 {
  font-size: 18px;
  font-family: "CRAIbold", sans-serif;
  font-weight: 400;
}

.support-phone {
  color: inherit;
  text-decoration: none;
}

.support-copy .line-2 {
  margin: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
}

.support-copy--email .line-1 .t2 {
  font-size: 18px;
  font-family: "CRAIbold", sans-serif;
  font-weight: 400;
}

.support-copy--email {
  align-items: flex-start;
}

.line-2--strong {
  font-size: 15px;
  font-weight: 700;
}

.footer {
  width: var(--w);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-inner {
  align-self: stretch;
  height: 480px;
  padding: 64px 200px;
  background: #060d21;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-main {
  align-self: stretch;
  display: inline-flex;
  justify-content: flex-start;
  gap: 64px;
  align-items: flex-start;
}

.footer-company {
  width: 360px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-company .text {
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  white-space: pre-line;
}

.footer-links {
  flex: 1 1 0;
  display: flex;
  gap: 64px;
  align-items: flex-start;
  justify-content: flex-start;
}

.footer-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col h3 {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.footer-col p,
.footer-col a {
  margin: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.footer-col a,
.footer-col a:visited,
.footer-col a:hover,
.footer-col a:active,
.footer-col a:focus {
  color: #fff;
  text-decoration: none;
}

.stack-8 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Scelta page */
.scelta-panel {
  width: 720px;
  padding-bottom: 24px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.scelta-panel.is-hidden {
  display: none;
}

.scelta-head-wrap {
  width: 100%;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  outline: 0px solid #2e2c7a;
  outline-offset: -2px;
}

.scelta-head {
  width: 100%;
  padding: 8px 20px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  text-align: center;
  color: #fff;
  font-size: 28px;
  font-family: "CRAIbold", sans-serif;
  line-height: 1.15;
}

.scelta-head-luce {
  background: linear-gradient(246deg, #f52d80 0%, #973961 100%);
}

.scelta-body {
  width: 100%;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.scelta-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.scelta-title {
  margin: 0;
  color: #193482;
  font-size: 24px;
  font-family: "CRAIbold", sans-serif;
  line-height: 1.15;
}

.scelta-subtitle {
  margin: 0;
  color: #333438;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.scelta-options {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.scelta-option {
  flex: 1 1 0;
  max-width: 360px;
  min-width: 120px;
  align-self: stretch;
  padding: 6px;
  border-radius: 16px;
  outline: 3px solid #2e2c7a;
  outline-offset: -3px;
  background: #fff;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.scelta-option-inner {
  width: 100%;
  min-height: 110px;
  border-radius: 12px;
  outline: 2px solid #2e2c7a;
  outline-offset: -1px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  color: #193482;
}

.scelta-option.is-selected {
  background: linear-gradient(90deg, #2e2c7a 0%, #973961 49.5%, #f9000f 100%);
}

.scelta-option.is-selected .scelta-option-inner {
  outline-color: #fff;
  color: #fff;
}

.scelta-option-icon {
  width: 32px;
  height: 32px;
  display: block;
}

.scelta-option-label {
  text-align: center;
  color: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.scelta-actions {
  width: 100%;
  padding: 0 24px;
  padding-top: 24px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.scelta-actions .btn-next {
  height: 48px;
}

.scelta-actions--single {
  justify-content: center;
}

.scelta-actions--single .btn-next {
  margin-left: auto;
  margin-right: auto;
}

.intestatario-panel {
  width: 720px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.intestatario-panel[hidden] {
  display: none !important;
}

.intestatario-body {
  align-self: stretch;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.intestatario-title {
  margin: 0;
  align-self: stretch;
  text-align: center;
  color: #193482;
  font-size: 24px;
  font-family: "CRAIbold", sans-serif;
  line-height: 1.15;
}

.intestatario-alert {
  align-self: stretch;
  padding: 16px;
  background: #fff0c9;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}

.intestatario-alert-top {
  margin: 0;
  align-self: stretch;
  text-align: center;
  color: #333438;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
}

.intestatario-alert-top strong {
  font-weight: 700;
}

.intestatario-alert-row {
  align-self: stretch;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.intestatario-icon {
  width: 60px;
  height: 60px;
  display: block;
  flex: 0 0 auto;
}

.intestatario-alert-note {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #d27300;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.intestatario-actions {
  align-self: stretch;
  padding: 24px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.intestatario-actions .btn-next {
  height: 48px;
  cursor: pointer;
}

/* Registrazione page */
.docs-panel {
  width: 720px;
  padding-bottom: 24px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
}

.docs-body {
  width: 100%;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.docs-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.docs-note {
  width: 100%;
  padding: 16px;
  background: #fff0c9;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.docs-note__icon {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
}

.docs-note__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.docs-note__text {
  margin: 0;
  color: #d27300;
  font-size: 18px;
  line-height: 1.35;
}

.docs-note__text strong {
  font-weight: 700;
  text-transform: uppercase;
}

.docs-title {
  margin: 0;
  color: #193482;
  font-size: 24px;
  font-family: "CRAIbold", sans-serif;
  line-height: 1.15;
}

.docs-text {
  margin: 0;
  color: #333438;
  font-size: 16px;
  line-height: 1.25;
}

.docs-text strong {
  font-weight: 700;
}

.docs-upload-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.docs-upload-sections {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.docs-upload-list--bills {
  gap: 12px;
}

.docs-upload-list--docs {
  gap: 16px;
}

.docs-upload-row {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.docs-upload-divider {
  width: 100%;
  height: 1px;
  background: #d3d3d3;
}

.docs-input-wrap {
  flex: 1 1 0;
  display: inline-flex;
  flex-direction: column;
}

.docs-input-box {
  width: 100%;
  height: 50px;
  border-radius: 16px;
  border: 1px solid #d3d3d3;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #333438;
  font-size: 16px;
  overflow: hidden;
}

.docs-input-text {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  width: 100%;
}

.docs-input-label {
  color: #707074;
  font-size: 11px;
  line-height: 1.1;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.2s ease, opacity 0.2s ease;
}

.docs-input-value {
  color: #333438;
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.docs-input-box.is-filled .docs-input-label {
  max-height: 20px;
  opacity: 1;
}

.docs-btn-outline {
    height: 48px;
    min-width: 120px;
    max-width: 360px;

    border: 3px solid transparent;
    border-radius: 16px;

    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%) border-box;

    color: #193482;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 24px;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
    white-space: nowrap;
}

.docs-row-add-btn,
.docs-row-remove-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%);
  color: #fff;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  padding: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
}

.docs-row-add-btn {
  align-self: flex-start;
}

.docs-row-remove-btn {
  font-size: 34px;
  padding-bottom: 2px;
}

.docs-row-add-btn:disabled,
.docs-row-add-btn.is-disabled {
  background: #c7cada;
  color: #ffffff;
  opacity: 1;
  cursor: not-allowed;
}

.docs-file-input {
  display: none;
}

.docs-actions {
  align-self: stretch;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.docs-actions .btn-next {
  height: 48px;
}

/* Riepilogo page */
.riepilogo-panel {
  width: 720px;
  padding-bottom: 24px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
}

.riepilogo-body {
  width: 100%;
  margin: 0;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.riepilogo-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.riepilogo-title {
  margin: 0;
  color: #193482;
  font-size: 24px;
  font-family: "CRAIbold", sans-serif;
  line-height: 1.15;
}

.riepilogo-sub {
  margin: 0;
  color: #333438;
  font-size: 16px;
  line-height: 1.25;
}

.riepilogo-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.riepilogo-section-title {
  margin: 0;
  color: #193482;
  font-size: 18px;
  font-weight: 700;
}

.riepilogo-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.riepilogo-item {
  min-height: 74px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #d3d3d3;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2px;
}

.riepilogo-item--full {
  grid-column: 1 / -1;
}

.riepilogo-key {
  color: #707074;
  font-size: 12px;
  line-height: 1.2;
}

.riepilogo-value {
  color: #333438;
  font-size: 16px;
  line-height: 1.25;
  word-break: break-word;
}

.riepilogo-downloads {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.riepilogo-download-btn {
  width: 100%;
  max-width: none;
  min-height: 48px;
  height: auto;
  justify-content: flex-start;
  white-space: normal;
  text-align: left;
  text-decoration: none;
  line-height: 1.2;
}

.riepilogo-accept-box {
  width: 100%;
  padding: 16px;
  background: #fff;
  border: 1px solid #d3d3d3;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.riepilogo-accept-box--muted {
  background: #f2f3f7;
}

.riepilogo-accept-text {
  margin: 0;
  color: #333438;
  font-size: 14px;
  line-height: 1.45;
}

.riepilogo-accept-btn {
  min-width: 160px;
  min-height: 48px;
  padding: 8px 16px;
  border: 3px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%) border-box;
  color: #193482;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.riepilogo-accept-btn:hover {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%) border-box;
  color: #193482;
}

.riepilogo-accept-btn.is-selected {
  padding: 8px 16px;
  background: #DFFFE2;
  border-color: #DFFFE2;
  color: #333438;
}

.riepilogo-accept-btn.is-selected:hover {
  background: #DFFFE2;
  color: #333438;
}

.riepilogo-accept-btn-icon {
  width: 32px;
  height: 32px;
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
}

.riepilogo-accept-btn-icon::before {
  content: "";
  width: 32px;
  height: 32px;
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 32px 32px;
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.0013 16.0013L14.0013 20.0013L22.0013 12.0013M29.3346 16.0013C29.3346 23.3651 23.3651 29.3346 16.0013 29.3346C8.6375 29.3346 2.66797 23.3651 2.66797 16.0013C2.66797 8.6375 8.6375 2.66797 16.0013 2.66797C23.3651 2.66797 29.3346 8.6375 29.3346 16.0013Z' stroke='%2374CF6D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.riepilogo-accept-btn-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.riepilogo-accept-btn.is-selected .riepilogo-accept-btn-label {
  font-size: 18px;
}

.riepilogo-actions {
  align-self: stretch;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.riepilogo-actions .btn-next {
  height: 48px;
}

/* Esito page */
.esito-panel {
  width: 720px;
  padding-bottom: 24px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.esito-head-wrap {
  width: 100%;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  outline: 0;
  outline-offset: -2px;
}

.esito-head {
  width: 100%;
  min-height: 48px;
  padding: 8px 20px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 28px;
  line-height: 1.15;
  font-family: "CRAIbold", sans-serif;
}

.esito-body {
  width: 100%;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.esito-title-row {
  width: 100%;
  display: inline-flex;
  align-items: flex-end;
  gap: 8px;
}

.esito-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.esito-icon svg {
  width: 48px;
  height: 48px;
  display: block;
}

.esito-title {
  margin: 0;
  color: #193482;
  font-size: 24px;
  line-height: 1.15;
  font-family: "CRAIbold", sans-serif;
}

.esito-copy {
  margin: 0;
  color: #333438;
  font-size: 16px;
  line-height: 1.35;
}

.esito-copy strong {
  font-weight: 700;
}

.esito-actions {
  width: 100%;
  padding: 24px 24px 0;
  display: inline-flex;
  justify-content: center;
  gap: 16px;
}

.esito-btn-outline,
.esito-btn-primary {
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  height: 48px;
}

.esito-btn-outline {
  text-decoration: none;
}

.esito-btn-primary {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.esito-footer {
  width: 100%;
}

/* Dati anagrafici page */
.anagrafica-panel {
  width: 720px;
  padding-bottom: 24px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.anagrafica-form {
  width: 100%;
}

.anagrafica-body {
  width: 100%;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.anagrafica-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.anagrafica-intro-main,
.anagrafica-intro-sub {
  margin: 0;
  color: #333438;
}

.anagrafica-intro-main {
  font-size: 16px;
  line-height: 1.25;
}

.anagrafica-intro-sub {
  font-size: 12px;
}

.anagrafica-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.anagrafica-title {
  margin: 0;
  color: #193482;
  font-size: 18px;
  font-weight: 700;
}

.anagrafica-grid {
  display: inline-flex;
  gap: 16px;
  width: 100%;
}

.anagrafica-grid .anagrafica-field {
  flex: 1 1 0;
}

.anagrafica-field {
  min-height: 50px;
  border-radius: 16px;
  border: 1px solid #d3d3d3;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.anagrafica-field.has-error {
  border-color: #eb2828;
}

.anagrafica-field .label {
  font-size: 12px;
  color: #707074;
}

.anagrafica-field .value {
  font-size: 16px;
  color: #333438;
}

.anagrafica-input {
  border: 0;
  outline: none;
  width: 100%;
  padding: 0;
  background: transparent;
  color: #333438;
  font-size: 16px;
}

.anagrafica-field:not(.is-filled) .anagrafica-input::placeholder {
  color: #333438;
}

.anagrafica-field:not(.is-filled) .anagrafica-input {
  color: #333438;
}

.anagrafica-question {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.anagrafica-question p {
  margin: 0;
  color: #333438;
  font-size: 16px;
  line-height: 1.25;
}

.anagrafica-question strong {
  font-weight: 700;
}

.anagrafica-choice-row {
  display: inline-flex;
  gap: 16px;
}

.anagrafica-choice {
  width: 160px;
  height: 48px;
  padding: 3px;
  border: 3px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%) border-box;
  cursor: pointer;
}

.anagrafica-choice span {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  outline: 1px solid #2e2c7a;
  outline-offset: -1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #193482;
  font-size: 16px;
  font-weight: 700;
}

.anagrafica-choice.is-selected span {
  background: linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%);
  color: #fff;
}

.anagrafica-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  cursor: pointer;
}

.anagrafica-checkbox input {
  display: none;
}

.anagrafica-checkbox .box {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  outline: 2px solid #2e2c7a;
  outline-offset: -1px;
  flex: 0 0 auto;
}

.anagrafica-checkbox input:checked + .box {
  background: linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%);
}

.anagrafica-checkbox .text {
  font-size: 12px;
  color: #333438;
}

.anagrafica-checkbox .text strong {
  color: #2e2c7a;
  font-weight: 700;
}

.anagrafica-checkbox.has-error .box {
  outline-color: #eb2828;
}

.anagrafica-checkbox.has-error .text {
  color: #eb2828;
}

.anagrafica-section--account {
  align-items: flex-start;
}

.anagrafica-account-row {
  width: 360px;
  max-width: 100%;
}

.anagrafica-field--password {
  gap: 4px;
}

.anagrafica-password-inner {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.anagrafica-password-toggle {
  width: 24px;
  height: 24px;
  border: 0;
  padding: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
}

.anagrafica-password-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
}

.anagrafica-helper {
  width: 360px;
  max-width: 100%;
  padding: 0 12px;
  color: #333438;
  font-size: 12px;
  line-height: 1.35;
}

.anagrafica-privacy-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.scelta-head-gas {
  background: linear-gradient(246deg, #00a09a 0%, #193482 100%);
}
.anagrafica-download-btn {
  width: 360px;
  max-width: 100%;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
}

.anagrafica-download-btn.is-secondary {
  background: #fff;
  color: #193482;
  outline: 3px solid #2e2c7a;
  outline-offset: -3px;
}

.anagrafica-privacy-btn {
  text-decoration: none;
}

.anagrafica-checkbox--muted .box {
  outline-color: #8b94ad;
}

.anagrafica-checkbox--muted .text {
  color: #8b94ad;
}

.anagrafica-checkbox--muted input:checked + .box {
  background: linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%);
}

.anagrafica-actions {
  align-self: stretch;
  padding-top: 24px;
  display: flex;
  justify-content: center;
}

#anagraficaActions[hidden],
#anagraficaConfirmBtn[hidden] {
  display: none !important;
}

.anagrafica-loyalty {
  width: 100%;
}

.anagrafica-divider {
  width: 100%;
  height: 1px;
  background: #d3d3d3;
}

.anagrafica-loyalty-inner {
  width: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.anagrafica-loyalty-copy {
  margin: 0;
  color: #333438;
  font-size: 16px;
  line-height: 1.35;
}

.anagrafica-loyalty-copy strong {
  font-weight: 700;
}

.anagrafica-loyalty-detail {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.anagrafica-loyalty-note {
  margin: 0;
  color: #333438;
  font-size: 16px;
  line-height: 1.35;
}

.anagrafica-loyalty-consent {
  width: 100%;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
      margin-top: -30px;
}

.anagrafica-loyalty-consent-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.anagrafica-loyalty-consent-box {
  padding: 4px;
  border-radius: 4px;
  outline: 2px #2E2C7A solid;
  outline-offset: -1px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
}

.anagrafica-loyalty-consent-fill {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  background: transparent;
}

.anagrafica-loyalty-consent-input:checked + .anagrafica-loyalty-consent-box .anagrafica-loyalty-consent-fill {
  background: linear-gradient(68deg, #2E2C7A 10%, #973961 50%, #F9000F 90%);
}

.anagrafica-loyalty-consent-text {
  flex: 1 1 0;
  color: #333438;
  font-size: 12px;
  line-height: 1.35;
}

.anagrafica-loyalty-number-field {
  width: 100%;
}

.anagrafica-loyalty-grid {
  width: 100%;
  display: flex;
  gap: 8px;
}

.anagrafica-loyalty-grid.has-error {
  outline: 2px solid #eb2828;
  outline-offset: 6px;
  border-radius: 16px;
}

.anagrafica-loyalty-card {
  flex: 1 1 0;
  height: 128px;
  min-width: 0;
  padding: 6px;
  border: 0;
  border-radius: 16px;
  outline: 3px solid #2e2c7a;
  outline-offset: -3px;
  background: #fff;
  display: inline-flex;
  align-items: stretch;
  justify-content: center;
  cursor: pointer;
}

.anagrafica-loyalty-card-inner {
  width: 100%;
  border-radius: 12px;
  outline: 1px solid #2e2c7a;
  outline-offset: -1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fff;
}

.anagrafica-loyalty-card.is-selected {
  background: linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%);
  outline: 0;
}

.anagrafica-loyalty-card.is-selected .anagrafica-loyalty-card-inner {
  outline: 2px solid #ffffff;
  outline-offset: -1px;
  background: linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%);
}

.anagrafica-loyalty-logo {
  max-width: 100%;
  max-height: 72px;
  display: block;
}

.anagrafica-loyalty-card-label {
  text-align: center;
  color: #193482;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.anagrafica-loyalty-none-icon {
  width: 48px;
  height: 48px;
  display: block;
  margin-top: 17px;
}

.anagrafica-loyalty-none {
  text-align: center;
  color: #193482;
  font-size: 16px;
  font-weight: 700;
}

.anagrafica-loyalty-card.is-selected .anagrafica-loyalty-none {
  color: #fff;
}

.anagrafica-loyalty-card.is-selected .anagrafica-loyalty-card-label {
  color: #fff;
}


.anagrafica-preferences {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.anagrafica-preferences-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.anagrafica-preferences-group--required {
  gap: 4px;
}

.anagrafica-preferences-copy-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.anagrafica-preferences-copy,
.anagrafica-preferences-note {
  margin: 0;
  color: #333438;
}

.anagrafica-preferences-copy {
  font-size: 16px;
  line-height: 1.35;
}

.anagrafica-preferences-copy strong {
  font-weight: 700;
}

.anagrafica-preferences-note {
  font-size: 12px;
  color: #707074;
  line-height: 1.35;
}

.anagrafica-preferences-note-link {
  color: #193482;
  font-weight: 700;
}

.anagrafica-required-consent.has-error .anagrafica-loyalty-consent-box {
  outline-color: #eb2828;
}

.anagrafica-pref-answer-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.anagrafica-pref-answer-row.has-error .anagrafica-pref-answer {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(#eb2828, #eb2828) border-box;
}

.anagrafica-pref-answer-row.has-error .anagrafica-pref-answer span {
  color: #eb2828;
}

.anagrafica-pref-answer {
  width: 160px;
  height: 48px;
  padding: 3px;
  border: 3px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%) border-box;
  display: inline-flex;
  align-items: stretch;
  cursor: pointer;
}

.anagrafica-pref-answer span {
  width: 100%;
  border-radius: 12px;
  outline: 1px solid #2e2c7a;
  outline-offset: -1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #193482;
  font-size: 16px;
  font-weight: 700;
}

.anagrafica-pref-answer.is-selected span {
  background: linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%);
  color: #fff;
}

.anagrafica-pref-feedback {
  width: 100%;
  padding: 8px 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.anagrafica-pref-feedback--warning {
  background: #ffe6c6;
}

.anagrafica-pref-feedback--error {
  background: #ffe3e3;
}

.anagrafica-pref-feedback-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.anagrafica-pref-feedback-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.anagrafica-pref-feedback-text {
  margin: 0;
  color: #333438;
  font-size: 12px;
  line-height: 1.35;
}

.anagrafica-pref-feedback-text strong {
  font-weight: 700;
}

#anagraficaPreferencesSection[hidden],
#profilazioneSection[hidden],
#terzePartiSection[hidden],
#marketingAlert[hidden],
#profilazioneAlert[hidden],
#terzePartiAlert[hidden],
#anagraficaLoyaltyDetail[hidden],
#anagraficaLoyaltyNoneCopy[hidden] {
  display: none !important;
}

.anagrafica-actions--loyalty {
  padding-top: 24px;
  margin-bottom:22px
}

.anagrafica-conditional[hidden] {
  display: none !important;
}

/* Dati fornitura page */
.fornitura-panel {
  width: 720px;
  padding-bottom: 24px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.fornitura-body {
  width: 100%;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fornitura-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fornitura-intro-main,
.fornitura-intro-sub {
  margin: 0;
  color: #333438;
}

.fornitura-intro-main {
  font-size: 16px;
  line-height: 1.25;
}

.fornitura-intro-sub {
  font-size: 12px;
}

.fornitura-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fornitura-section[hidden] {
  display: none !important;
}

.fornitura-grid {
  width: 100%;
  display: inline-flex;
  gap: 16px;
}

.fornitura-grid .fornitura-field {
  flex: 1 1 0;
}

.fornitura-grid.two-split .fornitura-cap-field {
  flex: 0 0 160px;
  width: 160px;
}

.fornitura-field {
  min-height: 50px;
  border-radius: 16px;
  border: 1px solid #d3d3d3;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.fornitura-field .label {
  font-size: 12px;
  color: #707074;
}

.fornitura-input {
  border: 0;
  outline: none;
  width: 100%;
  padding: 0;
  background: transparent;
  color: #333438;
  font-size: 16px;
}

.fornitura-field:not(.is-filled) .fornitura-input {
  color: #333438;
}

.fornitura-field:not(.is-filled) .fornitura-input::placeholder {
  color: #333438;
}

.fornitura-select-wrap {
  position: relative;
  padding-right: 40px;
}

.fornitura-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.fornitura-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #2e2c7a;
  border-bottom: 2px solid #2e2c7a;
  transform: translateY(-62%) rotate(45deg);
  pointer-events: none;
}

.fornitura-question {
  margin: 0;
  color: #333438;
  font-size: 16px;
  line-height: 1.25;
}

.fornitura-choice-row {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
}

.fornitura-choice {
  height: 48px;
  min-width: 120px;
  max-width: 360px;
  padding: 3px;
  border: 3px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%) border-box;
  cursor: pointer;
}

.fornitura-choice span {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  outline: 1px solid #2e2c7a;
  outline-offset: -1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #193482;
  font-size: 16px;
  font-weight: 700;
}

.fornitura-choice.is-selected span {
  background: linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%);
  color: #fff;
}

.fornitura-actions {
  align-self: stretch;
  padding-top: 24px;
  display: flex;
  justify-content: center;
}

/* Comunicazioni page */
.comunicazioni-panel {
  width: 720px;
  padding-bottom: 24px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.comunicazioni-body {
  width: 100%;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.comunicazioni-intro {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comunicazioni-title {
  margin: 0;
  color: #193482;
  font-size: 24px;
  font-family: "CRAIbold", sans-serif;
  line-height: 1.15;
}

.comunicazioni-sub,
.comunicazioni-label {
  margin: 0;
  color: #333438;
  font-size: 16px;
  line-height: 1.25;
}

.comunicazioni-pill-row {
  width: 100%;
  display: inline-flex;
  gap: 16px;
}

.comunicazioni-pill {
  flex: 1 1 0;
  padding: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.comunicazioni-pill-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.comunicazioni-pill-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

.comunicazioni-pill > span:last-child {
  color: #193482;
  font-size: 18px;
  font-weight: 700;
}

.comunicazioni-choice-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comunicazioni-choice-row {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
}

.comunicazioni-choice {
  flex: 1 1 0;
  max-width: 360px;
  min-width: 120px;
  border: 0;
  background: #fff;
  padding: 6px;
  border-radius: 16px;
  outline: 3px solid #2e2c7a;
  outline-offset: -3px;
  cursor: pointer;
  display: inline-flex;
  align-items: stretch;
}

.comunicazioni-choice-title,
.comunicazioni-choice-text {
  display: block;
}

.comunicazioni-choice-inner {
  width: 100%;
  max-width: 360px;
  min-width: 120px;
  padding: 8px 16px;
  border-radius: 12px;
  outline: 1px solid #2e2c7a;
  outline-offset: -1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.comunicazioni-choice-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.comunicazioni-choice-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

.comunicazioni-choice-title,
.comunicazioni-choice-text {
  border-radius: 12px;
}

.comunicazioni-choice-title {
  color: #193482;
  font-size: 16px;
  font-weight: 700;
}

.comunicazioni-choice-text {
  color: #193482;
  font-size: 12px;
  line-height: 1.35;
}

.comunicazioni-choice-text strong {
  font-weight: 700;
}

.comunicazioni-choice.is-selected {
  background: #fff;
}

.comunicazioni-choice.is-selected .comunicazioni-choice-title,
.comunicazioni-choice.is-selected .comunicazioni-choice-text {
  color: #fff;
}

.comunicazioni-choice.is-selected .comunicazioni-choice-inner {
  background: linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%);
}

.comunicazioni-choice.is-selected .comunicazioni-choice-icon path {
  stroke: #fff !important;
}

.comunicazioni-email-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#emailBillingSection[hidden],
#postaBillingSection[hidden],
#postaAddressSection[hidden],
#postaCartaBanner[hidden] {
  display: none !important;
}

.comunicazioni-posta-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comunicazioni-posta-question,
.comunicazioni-posta-address {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comunicazioni-posta-label {
  margin: 0;
  color: #333438;
  font-size: 16px;
  line-height: 1.25;
}

.comunicazioni-posta-answer-row {
  width: 100%;
  display: inline-flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 16px;
}

.comunicazioni-posta-answer {
  flex: 1 1 0;
  height: 48px;
  min-width: 120px;
  max-width: 360px;
  padding: 3px;
  border: 3px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%) border-box;
  cursor: pointer;
}

.comunicazioni-posta-answer span {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  outline: 1px solid #2e2c7a;
  outline-offset: -1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #193482;
  font-size: 16px;
  font-weight: 700;
}

.comunicazioni-posta-answer.is-selected span {
  background: linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%);
  color: #fff;
}

.comunicazioni-posta-address-row {
  width: 100%;
  display: inline-flex;
  align-items: stretch;
  gap: 16px;
}

.comunicazioni-posta-field {
  flex: 1 1 0;
  min-height: 50px;
  border-radius: 16px;
  border: 1px solid #d3d3d3;
  background: #e8e8e8;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  position: relative;
  overflow: visible;
}

.comunicazioni-posta-field.has-error {
  border-color: #eb2828;
}

.comunicazioni-email-field.has-error {
  border-color: #eb2828;
}

.comunicazioni-posta-field.cap {
  width: 160px;
  flex: 0 0 160px;
}

.comunicazioni-posta-field .label {
  color: #8b94ad;
  font-size: 12px;
}

.comunicazioni-posta-field input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #8b94ad;
  font-size: 16px;
  padding: 0;
}

.comunicazioni-posta-field.is-editable {
  background: #fff;
}

.comunicazioni-posta-field.is-editable .label {
  color: #707074;
}

.comunicazioni-posta-field.is-editable input {
  color: #333438;
}

.comunicazioni-error-text {
  display: block;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  margin-top: 0;
  color: #eb2828;
  font-size: 12px;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 400;
  line-height: 1.35;
  z-index: 2;
}

.comunicazioni-email-label {
  margin: 0;
  color: #333438;
  font-size: 16px;
  line-height: 1.25;
}

.comunicazioni-email-field {
  min-height: 50px;
  border-radius: 16px;
  border: 1px solid #d3d3d3;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.comunicazioni-email-field .label {
  font-size: 12px;
  color: #707074;
}

.comunicazioni-email-input {
  border: 0;
  outline: none;
  width: 100%;
  padding: 0;
  background: transparent;
  color: #333438;
  font-size: 16px;
}

.comunicazioni-email-field.is-locked {
  background: #e8e8e8;
}

.comunicazioni-email-field.is-locked .label {
  color: #8b94ad;
}

.comunicazioni-email-field.is-locked .comunicazioni-email-input,
.comunicazioni-email-input:disabled {
  color: #8b94ad;
  -webkit-text-fill-color: #8b94ad;
  opacity: 1;
  cursor: not-allowed;
}

.comunicazioni-email-field:not(.is-filled) .comunicazioni-email-input::placeholder {
  color: #333438;
}

.comunicazioni-carta-banner {
  width: 100%;
  min-height: 0;
  padding-left: 0;
  padding-right: 0;
  background: linear-gradient(66deg, #097b3a 0%, #084925 100%);
  border-radius: 16px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

.comunicazioni-carta-banner-image {
  width: 100%;
  height: auto;
  display: block;
}

.comunicazioni-carta-title-row {
  flex: 1 1 0;
  height: 80px;
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 4px;
  padding-bottom: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.comunicazioni-carta-logo {
  width: 83.93px;
  height: 57.05px;
  object-fit: contain;
  transform: rotate(10deg);
  transform-origin: top left;
  flex-shrink: 0;
}

.comunicazioni-carta-head {
  margin: 0;
  color: #fff;
  font-size: 28px;
  font-family: "CRAIbold", sans-serif;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
  font-weight: 400;
}

.comunicazioni-carta-content {
  flex: 1 1 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding-left: 8px;
  padding-right: 8px;
}

.comunicazioni-carta-box {
  width: 100%;
  max-width: none;
  border-radius: 16px;
  outline: 3px solid #fff;
  outline-offset: -3px;
  overflow: hidden;
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.comunicazioni-carta-line1 {
  margin: 0;
  width: 100%;
  height: 40px;
  background: #fff;
  color: #193482;
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 8px;
  font-family: "Instrument Sans", sans-serif;
  border-radius: 16px;
}

.comunicazioni-carta-line2 {
  margin: 0;
  width: 100%;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  font-family: "CRAIbold", sans-serif;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
  padding-top: 11px;
  padding-bottom: 8px;
  padding-left: 8px;
  padding-right: 8px;
}

.comunicazioni-carta-perte,
.comunicazioni-carta-almese {
  color: #fff;
  font-size: 24px;
  font-family: "CRAIbold", sans-serif;
  line-height: 1;
  white-space: nowrap;
  font-weight: 400;
}

.comunicazioni-carta-heart-wrap {
  width: 66px;
  height: 72px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.comunicazioni-carta-heart-wrap img {
  width: 66px;
  height: 72px;
  object-fit: contain;
  display: block;
}

.comunicazioni-carta-heart-100 {
  position: absolute;
  top: 27px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "CRAIbold", sans-serif;
  font-size: 26px;
  line-height: 1;
  color: #fff;
}

.comunicazioni-carta-heart-label {
  position: absolute;
  top: 49px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Instrument Sans", sans-serif;
  font-size: 8px;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  text-transform: lowercase;
}

.comunicazioni-carta-heart-100,
.comunicazioni-carta-heart-label {
  pointer-events: none;
  text-align: center;
}

.comunicazioni-carta-heart-wrap[aria-hidden="true"] img {
  pointer-events: none;
}

.comunicazioni-carta-heart-wrap,
.comunicazioni-carta-perte,
.comunicazioni-carta-almese {
  vertical-align: middle;
}

.comunicazioni-carta-line2,
.comunicazioni-carta-line1 {
  text-align: center;
}

.comunicazioni-carta-line2 {
  color: #fff;
}

.comunicazioni-actions {
  align-self: stretch;
  padding-top: 8px;
  display: flex;
  justify-content: center;
}

/* Pagamento page */
.pagamento-panel,
.esecuzione-anticipata-panel {
  width: 720px;
  padding-bottom: 24px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.pagamento-body,
.esecuzione-anticipata-body {
  width: 100%;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pagamento-intro,
.esecuzione-anticipata-intro {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pagamento-title,
.esecuzione-anticipata-title {
  margin: 0;
  color: #193482;
  font-size: 24px;
  line-height: 1.15;
  font-family: "CRAIbold", sans-serif;
}

.pagamento-sub,
.esecuzione-anticipata-sub,
.esecuzione-anticipata-label {
  margin: 0;
  color: #333438;
  font-size: 16px;
  line-height: 1.25;
}

.pagamento-method-row,
.esecuzione-anticipata-choice-row {
  width: 100%;
  display: inline-flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
}

.esecuzione-anticipata-choice-row {
  justify-content: center;
  gap: 16px;
}

.esecuzione-anticipata-choice-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pagamento-method,
.esecuzione-anticipata-choice {
  flex: 1 1 0;
  max-width: 360px;
  min-width: 120px;
  border: 0;
  background: #fff;
  padding: 6px;
  border-radius: 16px;
  outline: 3px solid #2e2c7a;
  outline-offset: -3px;
  cursor: pointer;
  display: inline-flex;
  align-items: stretch;
}

.pagamento-method-inner {
  width: 100%;
  max-width: 360px;
  min-width: 120px;
  padding: 8px 16px;
  border-radius: 12px;
  outline: 1px solid #2e2c7a;
  outline-offset: -1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pagamento-method-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pagamento-method-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

.pagamento-method-title {
  display: block;
  color: #193482;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.pagamento-method.is-selected .pagamento-method-inner {
  background: linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%);
}

.pagamento-method.is-selected .pagamento-method-title {
  color: #fff;
}

.pagamento-method.is-selected .pagamento-method-icon path,
.pagamento-method.is-selected .pagamento-method-icon rect {
  stroke: #fff !important;
}

.esecuzione-anticipata-choice {
  flex: 1 1 0;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 56px;
  padding: 5px;
  border: 3px solid transparent;
  outline: 0;
  outline-offset: 0;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%) border-box;
  border-radius: 18px;
  box-shadow: none;
  display: inline-flex;
  align-items: stretch;
  justify-content: stretch;
}

.esecuzione-anticipata-choice span {
  width: 100%;
  height: 100%;
  border-radius: 13px;
  outline: 1px solid #2e2c7a;
  outline-offset: -1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #193482;
  font-size: 15px;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.esecuzione-anticipata-choice.is-selected span {
  background: linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%);
  color: #fff;
  outline: 0;
}

.pagamento-bank-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#pagamentoBankSection[hidden] {
  display: none !important;
}

.pagamento-card-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#pagamentoCardSection[hidden] {
  display: none !important;
}

.pagamento-card-row {
  width: 100%;
  display: inline-flex;
  align-items: stretch;
  gap: 16px;
}

.pagamento-holder-choice-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pagamento-holder-question {
  margin: 0;
  color: #333438;
  font-size: 16px;
  line-height: 1.25;
}

.pagamento-holder-choice-row {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.pagamento-holder-choice {
  min-width: 120px;
  height: 48px;
  padding: 3px;
  border: 3px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%) border-box;
  cursor: pointer;
}

.pagamento-holder-choice span {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  outline: 1px solid #2e2c7a;
  outline-offset: -1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #193482;
  font-size: 16px;
  font-weight: 700;
}

.pagamento-holder-choice.is-selected span {
  background: linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%);
  color: #fff;
}

.pagamento-holder-no-area {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pagamento-holder-no-area[hidden] {
  display: none !important;
}

.pagamento-holder-no-copy {
  margin: 0;
  color: #333438;
  font-size: 16px;
  line-height: 1.35;
}

.pagamento-holder-no-copy strong {
  font-weight: 700;
}

.pagamento-holder-download-btn {
  max-width: 360px;
  text-align: center;
  align-self: flex-start;
}

.pagamento-holder-download-btn__icon {
  display: none;
}

.pagamento-holder-download-btn.is-selected .pagamento-holder-download-btn__icon {
  display: inline-flex;
}

.pagamento-holder-upload-row {
  width: 100%;
  display: inline-flex;
  align-items: stretch;
  gap: 16px;
}

.pagamento-holder-alert {
  flex: 1 1 0;
  padding: 8px 16px;
  background: #ffe6c6;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
}

.pagamento-holder-alert-row {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pagamento-holder-alert-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pagamento-holder-alert-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

.pagamento-holder-alert-text {
  margin: 0;
  color: #333438;
  font-size: 12px;
  line-height: 1.35;
}

.pagamento-holder-upload-side {
  width: 221px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.pagamento-holder-upload-btn {
  width: 100%;
  min-height: 48px;
  padding: 16px 24px;
  border-radius: 16px;
  outline: 3px solid #2e2c7a;
  outline-offset: -3px;
  color: #193482;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pagamento-holder-upload-ok {
  width: 100%;
  padding: 8px 16px;
  background: #dfffe2;
  border-radius: 16px;
  display: flex;
}

.pagamento-holder-upload-ok[hidden] {
  display: none !important;
}

.pagamento-holder-upload-ok-row {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pagamento-holder-upload-ok-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pagamento-holder-upload-ok-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

.pagamento-holder-upload-ok-text {
  margin: 0;
  color: #333438;
  font-size: 12px;
  line-height: 1.35;
  word-break: break-word;
}

.pagamento-holder-check {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.pagamento-holder-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pagamento-holder-check-box {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 4px;
  outline: 2px solid #2e2c7a;
  outline-offset: -1px;
  flex: 0 0 auto;
  display: inline-flex;
}

.pagamento-holder-check-box::after {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 2px;
  background: transparent;
}

.pagamento-holder-check input:checked + .pagamento-holder-check-box::after {
  background: linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%);
}

.pagamento-holder-check-text {
  color: #333438;
  font-size: 12px;
  line-height: 1.35;
}

.pagamento-bank-copy {
  margin: 0;
  color: #333438;
  line-height: 1.3;
}

.pagamento-bank-copy span:first-child {
  display: block;
  font-size: 16px;
}

.pagamento-bank-copy span:last-child {
  display: block;
  font-size: 12px;
}

.pagamento-bank-field {
  flex: 1 1 0;
  min-height: 50px;
  border-radius: 16px;
  border: 1px solid #d3d3d3;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.pagamento-bank-field .label {
  color: #707074;
  font-size: 12px;
}

.pagamento-bank-field.short {
  width: 240px;
  flex: 0 0 240px;
}

.pagamento-bank-field.cvv {
  width: 160px;
  flex: 0 0 160px;
}

.pagamento-bank-input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #333438;
  font-size: 16px;
  padding: 0;
}

.pagamento-bank-field:not(.is-filled):not(.is-focused) .label {
  opacity: 0;
  max-height: 0;
  transform: translateY(8px);
}

.pagamento-bank-field:not(.is-filled) .pagamento-bank-input::placeholder {
  color: #333438;
}

.input-box,
.anagrafica-field,
.fornitura-field,
.comunicazioni-email-field,
.comunicazioni-posta-field,
.pagamento-bank-field {
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.input-box.is-focused,
.anagrafica-field.is-focused,
.fornitura-field.is-focused,
.comunicazioni-email-field.is-focused,
.comunicazioni-posta-field.is-focused,
.pagamento-bank-field.is-focused {
  border-color: #b5b6bf;
}

.input-box .label,
.anagrafica-field .label,
.fornitura-field .label,
.comunicazioni-email-field .label,
.comunicazioni-posta-field .label,
.pagamento-bank-field .label {
  display: block;
  min-height: 13px;
  opacity: 1;
  max-height: 18px;
  line-height: 1.1;
  overflow: hidden;
  transform: translateY(0);
  transform-origin: left top;
  transition: opacity 0.22s ease, transform 0.22s ease, max-height 0.22s ease, min-height 0.22s ease;
}

.input-box:not(.is-filled):not(.is-focused) .label,
.anagrafica-field:not(.is-filled):not(.is-focused) .label,
.fornitura-field:not(.is-filled):not(.is-focused) .label,
.comunicazioni-email-field:not(.is-filled):not(.is-focused) .label,
.comunicazioni-posta-field:not(.is-filled):not(.is-focused) .label,
.pagamento-bank-field:not(.is-filled):not(.is-focused) .label {
  opacity: 0;
  min-height: 0;
  max-height: 0;
  transform: translateY(8px);
}

.input-box input,
.anagrafica-input,
.fornitura-input,
.comunicazioni-email-input,
.comunicazioni-posta-field input,
.pagamento-bank-input {
  transition: color 0.22s ease, transform 0.22s ease;
}

.input-box:not(.is-filled):not(.is-focused) input::placeholder,
.anagrafica-field:not(.is-filled):not(.is-focused) .anagrafica-input::placeholder,
.fornitura-field:not(.is-filled):not(.is-focused) .fornitura-input::placeholder,
.comunicazioni-email-field:not(.is-filled):not(.is-focused) .comunicazioni-email-input::placeholder,
.comunicazioni-posta-field:not(.is-filled):not(.is-focused) input::placeholder,
.pagamento-bank-field:not(.is-filled):not(.is-focused) .pagamento-bank-input::placeholder {
  color: #333438;
  opacity: 1;
  transition: opacity 0.18s ease, color 0.18s ease;
}

.input-box.is-focused input::placeholder,
.input-box.is-filled input::placeholder,
.anagrafica-field.is-focused .anagrafica-input::placeholder,
.anagrafica-field.is-filled .anagrafica-input::placeholder,
.fornitura-field.is-focused .fornitura-input::placeholder,
.fornitura-field.is-filled .fornitura-input::placeholder,
.comunicazioni-email-field.is-focused .comunicazioni-email-input::placeholder,
.comunicazioni-email-field.is-filled .comunicazioni-email-input::placeholder,
.comunicazioni-posta-field.is-focused input::placeholder,
.comunicazioni-posta-field.is-filled input::placeholder,
.pagamento-bank-field.is-focused .pagamento-bank-input::placeholder,
.pagamento-bank-field.is-filled .pagamento-bank-input::placeholder {
  opacity: 0;
}

.pagamento-bank-field.has-error {
  border-color: #d72d30;
}

.pagamento-field-error {
  display: block;
  min-height: 14px;
  font-size: 12px;
  line-height: 1.2;
  color: #d72d30;
}

.pagamento-carta-banner {
  align-self: stretch;
  background: linear-gradient(66deg, #00baa2 0%, #053042 100%);
  border-radius: 16px;
  justify-content: flex-start;
  align-items: center;
  display: inline-flex;
}

.pagamento-carta-banner-image {
  width: 100%;
  height: auto;
  display: block;
}

.pagamento-carta-banner--tuttigiorni {
  background: linear-gradient(66deg, #00baa2 0%, #053042 100%);
}

.pagamento-carta-banner--cartapiu {
  background: linear-gradient(66deg, #009447 0%, #064726 100%);
}

.pagamento-carta-title-row {
  flex: 1 1 0;
  height: 80px;
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 4px;
  padding-bottom: 4px;
  border-top-right-radius: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.pagamento-carta-title-group {
  display: flex;
  align-items: center;
}

.pagamento-carta-logo-wrap {
  width: 120px;
  height: 72px;
  position: relative;
}

.pagamento-carta-logo {
  width: 84.54px;
  height: 57.97px;
  left: 16px;
  top: 10px;
  position: absolute;
  transform: rotate(-3deg);
  transform-origin: top left;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}

.pagamento-carta-head {
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.1;
  font-family: "CRAIbold", sans-serif;
  text-align: center;
  font-weight: 400;
}

.pagamento-carta-content {
  flex: 1 1 0;
  padding-left: 8px;
  padding-right: 8px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  display: flex;
}

.pagamento-carta-box {
  flex: 1 1 0;
  border-radius: 16px;
  outline: 3px solid #fff;
  outline-offset: -3px;
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.pagamento-carta-banner--tuttigiorni .pagamento-carta-box {
  background: rgba(9, 77, 95, 0.55);
}

.pagamento-carta-banner--cartapiu .pagamento-carta-box {
  background: rgba(7, 82, 31, 0.55);
}

.pagamento-carta-line1 {
  margin: 0;
  align-self: stretch;
  height: 40px;
  background: #fff;
  border-radius: 16px;
  flex: 1 1 0;
  align-self: stretch;
  color: #193482;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 0 8px;
  font-family: "Instrument Sans", sans-serif;
}

.pagamento-carta-line2 {
  margin: 0;
  align-self: stretch;
  color: #fff;
  font-size: 24px;
  font-family: "CRAIbold", sans-serif;
  font-weight: 400;
  word-wrap: break-word;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
  padding-top: 11px;
  padding-bottom: 8px;
  padding-left: 8px;
  padding-right: 8px;
}

.pagamento-carta-line2--with-icon {
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.pagamento-carta-line2-icon {
  width: 66px;
  height: 72px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.pagamento-carta-line2-icon img {
  width: 66px;
  height: 72px;
  object-fit: contain;
  display: block;
}

.pagamento-carta-line2-icon-100 {
  position: absolute;
  top: 27px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "CRAIbold", sans-serif;
  font-size: 26px;
  line-height: 1;
  color: #fff;
}

.pagamento-carta-line2-icon-label {
  position: absolute;
  top: 49px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Instrument Sans", sans-serif;
  font-size: 8px;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  text-transform: lowercase;
}

.pagamento-actions,
.esecuzione-anticipata-actions {
  align-self: stretch;
  padding-top: 30px;
  display: flex;
  justify-content: center;
}

.esecuzione-anticipata-actions .btn-next {
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  height: 48px;
}

/* Firma page */
.firma-panel {
  width: 720px;
  padding-bottom: 24px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.firma-body {
  width: 100%;
  padding: 0 24px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.firma-intro {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.firma-title {
  margin: 0;
  color: #193482;
  font-size: 24px;
  line-height: 1.15;
  font-family: "CRAIbold", sans-serif;
}

.firma-sub {
  margin: 0;
  color: #333438;
  font-size: 16px;
  line-height: 1.3;
}

.firma-stage {
  width: 100%;
  min-height: 300px;
  background: #e8e8e8;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.firma-stage-title {
  margin: 0;
  color: #707074;
  font-size: 40px;
  line-height: 1.1;
  font-family: "CRAIbold", sans-serif;
  text-align: center;
}

.firma-otp-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.firma-otp-input {
  width: 56px;
  height: 64px;
  border-radius: 12px;
  border: 2px solid #c7cada;
  background: #fff;
  color: #193482;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  outline: none;
  padding: 0;
}

.firma-otp-input:focus {
  border-color: #2e2c7a;
  box-shadow: 0 0 0 3px rgba(46, 44, 122, 0.12);
}

.firma-hint {
  margin: 0;
  text-align: center;
  color: #333438;
  font-size: 14px;
  line-height: 1.3;
}

.firma-link-btn {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: #193482;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.firma-actions {
  width: 100%;
  padding-top: 8px;
  display: flex;
  justify-content: center;
}

.fornitura-panel > form,
.comunicazioni-panel > form,
.pagamento-panel > form,
.esecuzione-anticipata-panel > form {
  width: 100%;
}

/* Central section loader */
.section-loader-template {
  display: none;
}

.ff-appointment-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 13, 33, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 16px;
}

.esito-error-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 13, 33, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10020;
  padding: 16px;
}

.esito-error-modal.is-open {
  display: flex;
}

.esito-error-modal__box {
  width: 600px;
  max-width: 100%;
  padding: 32px 24px 24px;
  background: #eceaf5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.esito-error-modal__head {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.esito-error-modal__close {
  width: 24px;
  height: 24px;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.esito-error-modal__close svg {
  width: 24px;
  height: 24px;
  display: block;
}

.esito-error-modal__title {
  margin: 0;
  color: #193482;
  font-size: 24px;
  font-family: "CRAIbold", sans-serif;
  font-weight: 400;
}

.esito-error-modal__copy {
  margin: 0;
  color: #333438;
  font-size: 16px;
  line-height: 1.35;
}

.esito-error-modal__copy strong {
  font-weight: 700;
}

.esito-error-modal__support {
  width: 100%;
  padding: 16px;
  background: #193482;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.esito-error-modal__support-icon {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
}

.esito-error-modal__support-icon svg {
  width: 60px;
  height: 60px;
  display: block;
}

.esito-error-modal__support-copy {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.esito-error-modal__phone {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-family: "CRAIbold", sans-serif;
  font-weight: 400;
  line-height: 1.2;
}

.esito-error-modal__hours {
  margin: 0;
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
}

.esito-error-modal__actions {
  width: 100%;
  padding-top: 24px;
  display: flex;
  justify-content: center;
}

.esito-error-modal__btn {
  min-width: 120px;
  max-width: 360px;
  height: 48px;
}

.ff-appointment-modal.is-open {
  display: flex;
}

.ff-appointment-modal__box {
  width: 600px;
  max-width: 100%;
  padding: 32px 24px 24px;
  background: #eceaf5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.ff-appointment-modal__head {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ff-appointment-modal__close {
  align-self: flex-end;
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.ff-appointment-modal__title {
  margin: 0;
  color: #193482;
  font-size: 24px;
  font-family: "CRAIbold", sans-serif;
  font-weight: 400;
  line-height: 1.2;
}

.ff-appointment-modal__note {
  margin: 0;
  width: 100%;
  color: #333438;
  font-size: 16px;
  line-height: 1.5;
}

.ff-appointment-modal__note--success {
  font-weight: 400;
}

.ff-appointment-modal__note-strong {
  font-weight: 700;
}

.ff-appointment-success-actions {
  align-self: stretch;
  padding-top: 24px;
  display: flex;
  justify-content: center;
}

.ff-appointment-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ff-appointment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ff-appointment-field {
  min-height: 50px;
  padding: 8px 12px;
  border-radius: 16px;
  border: 1px solid #d3d3d3;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.ff-appointment-field .label {
  display: block;
  font-size: 12px;
  color: #707074;
  min-height: 13px;
  opacity: 1;
  max-height: 18px;
  line-height: 1.1;
  overflow: hidden;
  transform: translateY(0);
  transform-origin: left top;
  transition: opacity 0.22s ease, transform 0.22s ease, max-height 0.22s ease, min-height 0.22s ease;
}

.ff-appointment-input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #333438;
  font-size: 16px;
  padding: 0;
  transition: color 0.22s ease, transform 0.22s ease;
}

.ff-appointment-field.is-focused {
  border-color: #b5b6bf;
}

.ff-appointment-field:not(.is-filled):not(.is-focused) .label {
  opacity: 0;
  min-height: 0;
  max-height: 0;
  transform: translateY(8px);
}

.ff-appointment-field:not(.is-filled):not(.is-focused) .ff-appointment-input::placeholder {
  color: #333438;
  opacity: 1;
  transition: opacity 0.18s ease, color 0.18s ease;
}

.ff-appointment-field.is-focused .ff-appointment-input::placeholder,
.ff-appointment-field.is-filled .ff-appointment-input::placeholder {
  opacity: 0;
}

.ff-appointment-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #8b94ad;
  font-size: 12px;
  line-height: 1.35;
}

.ff-appointment-check input {
  width: 24px;
  height: 24px;
  margin: 0;
  margin-top: 1px;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid #8b94ad;
  border-radius: 4px;
  background: #fff;
  position: relative;
  cursor: pointer;
  flex: 0 0 auto;
}

.ff-appointment-check input:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.ff-appointment-check input:disabled + span {
  opacity: 0.75;
}

.ff-appointment-check input:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid #193482;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.ff-appointment-download {
  height: 48px;
  min-width: 120px;
  max-width: 360px;
  padding: 0 24px;
  border-radius: 16px;
  border: 0;
  background: linear-gradient(90deg, #2b3f97 0%, #64317f 52%, #ff1b23 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ff-appointment-download.is-secondary {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #2e2c7a 0%, #973961 55%, #f9000f 100%) border-box;
  color: #193482;
}

.ff-appointment-submit {
  height: 48px;
  min-width: 120px;
  max-width: 360px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  background: #8b94ad;
  cursor: pointer;
}

.ff-appointment-submit:not(:disabled) {
  background: linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%);
}

.ff-appointment-success-ok {
  height: 48px;
  min-width: 120px;
  max-width: 360px;
  padding: 0 24px;
  border-radius: 16px;
  border: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%);
  cursor: pointer;
}

.hero-content.is-loading {
  gap: 64px;
}

.hero-content.is-loading > :not(.section-loader-panel) {
  display: none !important;
}

.section-loader-panel {
  width: 720px;
  padding-bottom: 24px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.section-loader-head-wrap {
  width: 100%;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  outline: 0px solid #2e2c7a;
  outline-offset: -2px;
}

.section-loader-head {
  width: 100%;
  padding: 8px 20px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  background: linear-gradient(246deg, #f52d80 0%, #973961 100%);
  color: #fff;
  font-size: 28px;
  line-height: 1.15;
  text-align: center;
  font-family: "CRAIbold", sans-serif;
}

.section-loader-head.scelta-head-luce {
  background: linear-gradient(246deg, #f52d80 0%, #973961 100%);
}

.section-loader-head.scelta-head-gas {
  background: linear-gradient(246deg, #00a09a 0%, #193482 100%);
}

.section-loader-body {
  width: 100%;
  padding: 0 24px;
  border-radius: 16px;
}

.section-loader-stage {
  height: 300px;
  border-radius: 16px;
  background: #e8e8e8;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.section-loader-logo-wrap {
  position: relative;
  width: 240px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loaderPulse 1.4s ease-in-out infinite;
}

.section-loader-logo-wrap img,
.section-loader-logo-wrap svg {
  width: 220px;
  height: auto;
  position: relative;
  z-index: 2;
  filter: brightness(0) saturate(100%) invert(16%) sepia(17%) saturate(280%) hue-rotate(198deg) brightness(92%) contrast(92%);
}

.section-loader-ring {
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 5px solid rgba(112, 112, 116, 0.2);
  border-top-color: #707074;
  animation: loaderSpin 1s linear infinite;
}

.section-loader-message {
  margin: 32px 0 0;
  color: #333438;
  font-family: "Instrument Sans", sans-serif;
  font-size: 18px;
  line-height: 1.3;
  text-align: center;
  white-space: pre-line;
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(0.98);
  }
}

.scelta-actions,
.docs-actions,
.anagrafica-actions,
.fornitura-actions,
.comunicazioni-actions,
.pagamento-actions,
.esecuzione-anticipata-actions,
.riepilogo-actions {
  width: 100%;
  box-sizing: border-box;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 24px 0px 24px;
}

.firma-actions {
  box-sizing: border-box;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 680px) {
  .funnel,
  .header,
  .prefooter,
  .footer {
    width: 100%;
  }

  .header {
    padding: 0;
  }

  .header-inner {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .logo,
  .logo img,
  .logo svg {
    width: 240px;
    height: auto;
  }

  .btn-secondary-negative,
  .header-right > a {
    display: none;
  }

  .prefooter .appointment .btn-secondary-negative {
    display: inline-flex;
  }

  .header-right {
    gap: 8px;
  }

  .ff-appointment-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
  }

  .hero-content {
    padding: 38px 20px 54px;
    gap: 12px;
  }

  .panel {
    width: 100%;
    padding: 21px 18px;
    border-radius: 14px;
    gap: 12px;
  }

  .panel-top {
    gap: 10px;
  }

  .panel-title {
    font-size: 21px;
  }

  .panel-text {
    font-size: 14px;
  }

  .input-box {
    height: 42px;
    border-radius: 12px;
  }

  .input-box input {
    font-size: 12px;
  }

  .feedback {
    padding: 10px;
    border-radius: 12px;
  }

  .feedback-row {
    gap: 8px;
  }

  .alert-icon {
    width: 19px;
    height: 19px;
  }

  .feedback-text {
    font-size: 8px;
  }

  .panel-actions {
    padding-top: 8px;
    flex-direction: column;
    gap: 8px;
  }

  .btn-back,
  .btn-next {
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 38px;
    border-radius: 12px;
    font-size: 16px;
    padding: 0 12px;
  }

  .btn-next {
    order: 1;
  }

  .btn-back {
    order: 2;
  }

  .scelta-actions,
  .docs-actions,
  .anagrafica-actions,
  .fornitura-actions,
  .comunicazioni-actions,
  .pagamento-actions,
  .esecuzione-anticipata-actions,
  .riepilogo-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .prefooter {
    padding: 16px 20px;
  }

  .prefooter-main {
    gap: 24px;
  }

  .prefooter-title {
    font-size: 24px;
    font-family: "CRAIbold", sans-serif;
    font-weight: 400;
  }

  .prefooter-row {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 24px;
  }

  .appointment,
  .support-info,
  .support-email {
    gap: 8px;
    justify-content: center;
    width: 100%;
  }

  .appointment-icon,
  .headphones-icon,
  .mail-icon {
    width: 60px;
    height: 60px;
  }

  .support-copy {
    padding-left: 16px;
    align-items: flex-start;
    gap: 4px;
  }

  .support-copy .line-1 .t1 {
    font-size: 16px;
    font-family: "Instrument Sans", sans-serif;
    font-weight: 700;
  }

  .support-copy .line-1 .t2 {
    font-size: 20px;
    font-family: "CRAIbold", sans-serif;
    font-weight: 400;
  }

  .support-copy .line-2 {
    font-size: 11px;
  }

  .line-2--strong {
    font-size: 14px;
  }

  .footer-inner {
    height: auto;
    padding: 48px 20px;
    gap: 24px;
  }

  .footer-main {
    flex-direction: column;
    gap: 48px;
  }

  .footer-company {
    width: 100%;
  }

  .footer-company .text {
    font-size: 11px;
  }

  .footer-links {
    width: 100%;
    flex-direction: column;
    gap: 24px;
    max-width: none;
  }

  .footer-col h3 {
    font-size: 14px;
  }

  .footer-col p,
  .footer-col a {
    font-size: 11px;
  }

  .scelta-panel {
    width: 100%;
    gap: 16px;
    padding-bottom: 16px;
    border-radius: 16px;
  }

  .scelta-head {
    font-size: 25px;
    padding: 6px 20px;
  }

  .scelta-body {
    padding: 0 12px;
    gap: 16px;
  }

  .scelta-copy {
    gap: 10px;
  }

  .scelta-title {
    font-size: 21px;
  }

  .scelta-subtitle {
    font-size: 14px;
  }

  .scelta-options {
    flex-direction: column;
    gap: 8px;
  }

  .scelta-option {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .scelta-option-inner {
    min-height: 86px;
    padding: 10px;
  }

  .scelta-option-icon {
    width: 24px;
    height: 24px;
  }

  .scelta-option-label {
    font-size: 16px;
  }

  .scelta-actions {
    padding: 0 12px;
    padding-top: 8px;
  }

  .scelta-actions .btn-next {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 47px;
  }

  .scelta-actions--single .btn-next {
    width: min(100%, 360px);
    max-width: 360px;
  }

  .intestatario-panel {
    width: 100%;
    gap: 16px;
  }

  .intestatario-body {
    padding: 0 12px;
  }

  .intestatario-title {
    font-size: 19px;
  }

  .intestatario-alert {
    padding: 10px;
    gap: 10px;
  }

  .intestatario-alert-top {
    font-size: 14px;
  }

  .intestatario-alert-row {
    gap: 8px;
  }

  .intestatario-icon {
    width: 34px;
    height: 34px;
  }

  .intestatario-alert-note {
    font-size: 16px;
  }

  .intestatario-actions {
    padding: 8px 12px 16px;
  }

  .intestatario-actions .btn-next {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 47px;
  }

  .docs-panel {
    width: 100%;
    gap: 16px;
    padding-bottom: 16px;
  }

  .docs-body {
    padding: 0 16px;
    gap: 24px;
  }

  .docs-copy {
    gap: 8px;
  }

  .docs-title {
    font-size: 20px;
  }

  .docs-text {
    font-size: 14px;
    line-height: 1.35;
  }

  .docs-note {
    gap: 16px;
    align-items: center;
    text-align: center;
    flex-direction: column;
  }

  .docs-note__icon {
    align-self: center;
  }

  .docs-note__text {
    font-size: 16px;
  }

  .docs-upload-list {
    gap: 24px;
  }

  .docs-upload-list--bills {
    gap: 12px;
  }

  .docs-upload-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  .docs-input-wrap {
    flex: 0 0 100%;
    width: 100%;
  }

  .docs-input-box {
    height: 50px;
    border-radius: 16px;
    font-size: 14px;
    outline: 1px solid #d3d3d3;
    outline-offset: -1px;
  }

  .docs-input-box span {
    font-size: 14px;
  }

  .docs-btn-outline {
    flex: 1 1 0;
    width: auto;
    height: 48px;
    max-width: 360px;
    min-width: 120px;
    border-radius: 16px;
    padding: 16px 24px;
    font-size: 16px;
  }

  .docs-row-add-btn,
  .docs-row-remove-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    align-self: center;
    font-size: 28px;
  }

  .docs-actions {
    padding-top: 16px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .docs-actions .btn-next {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 48px;
    border-radius: 16px;
  }


  .riepilogo-panel {
    width: 100%;
    gap: 16px;
    padding-bottom: 16px;
  }

  .riepilogo-body {
    padding: 0 12px 16px;
    gap: 16px;
  }

  .riepilogo-title {
    font-size: 19px;
  }

  .riepilogo-sub,
  .riepilogo-value {
    font-size: 12px;
  }

  .riepilogo-section-title {
    font-size: 16px;
  }

  .riepilogo-key {
    font-size: 10px;
  }

  .riepilogo-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .riepilogo-item {
    min-height: 45px;
    border-radius: 12px;
  }

  .riepilogo-downloads {
    gap: 8px;
  }

  .riepilogo-download-btn {
    height: 38px;
    border-radius: 12px;
    padding: 0 12px;
    font-size: 12px;
  }

  .riepilogo-accept-box {
    padding: 12px;
    border-radius: 12px;
    gap: 12px;
  }

  .riepilogo-accept-text {
    font-size: 12px;
    line-height: 1.35;
  }

  .riepilogo-accept-btn {
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 38px;
    padding: 8px 12px;
  }

  .riepilogo-actions .btn-next {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 38px;
  }

  .esito-panel {
    width: 100%;
    gap: 16px;
    padding-bottom: 16px;
  }

  .esito-head {
    font-size: 24px;
    min-height: 42px;
  }

  .esito-body {
    padding: 0 12px;
  }

  .esito-title {
    font-size: 19px;
  }

  .esito-copy {
    font-size: 12px;
  }

  .esito-actions {
    padding: 16px 12px 0;
    flex-direction: column;
    gap: 8px;
  }

  .esito-btn-outline,
  .esito-btn-primary {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 38px;
  }

  .anagrafica-panel {
    width: 100%;
    gap: 16px;
    padding-bottom: 16px;
  }

  .anagrafica-body {
    padding: 0 14px;
    gap: 16px;
  }

  .anagrafica-account-row,
  .anagrafica-helper,
  .anagrafica-download-btn {
    width: 100%;
  }

  .anagrafica-intro-main {
    font-size: 14px;
  }

  .anagrafica-intro-sub {
    font-size: 10px;
  }

  .anagrafica-title {
    font-size: 16px;
  }

  .anagrafica-grid {
    flex-direction: column;
    gap: 8px;
  }

  .anagrafica-field {
    min-height: 42px;
    border-radius: 12px;
  }

  .anagrafica-field .label {
    font-size: 10px;
  }

  .anagrafica-field .value {
    font-size: 12px;
  }

  .anagrafica-input {
    font-size: 14px;
  }

  .anagrafica-question p {
    font-size: 12px;
  }

  .anagrafica-choice-row {
    gap: 8px;
  }

  .anagrafica-choice {
    width: 120px;
    height: 38px;
    border-radius: 12px;
  }

  .anagrafica-choice span {
    border-radius: 8px;
    font-size: 12px;
  }

  .anagrafica-checkbox .box {
    width: 20px;
    height: 20px;
  }

  .anagrafica-checkbox .text {
    font-size: 12px;
  }

  .anagrafica-actions {
    padding-top: 8px;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 12px;
  }

  .anagrafica-loyalty-inner {
    padding-top: 16px;
  }

  .anagrafica-loyalty-copy,
  .anagrafica-loyalty-note,
  .anagrafica-preferences-copy {
    font-size: 14px;
  }

  .anagrafica-preferences-note,
  .anagrafica-pref-feedback-text {
    font-size: 11px;
  }

  .anagrafica-loyalty-grid {
    flex-direction: column;
  }

  .anagrafica-pref-answer-row {
    align-self: stretch;
    justify-content: flex-start;
    align-items: center;
    display: inline-flex;
    gap: 8px;
  }

  .anagrafica-pref-answer {
    flex: 1 1 0;
    height: 56px;
    max-width: 360px;
    min-width: 120px;
    padding: 3px;
    border: 3px solid transparent;
    border-radius: 16px;
    background:
      linear-gradient(#fff, #fff) padding-box,
      linear-gradient(68deg, #2e2c7a 10%, #973961 50%, #f9000f 90%) border-box;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
  }

  .anagrafica-pref-answer span {
    width: 100%;
    flex: 1 1 0;
    max-width: 360px;
    min-width: 120px;
    padding: 12px 16px;
    border-radius: 12px;
    outline: 1px solid #2e2c7a;
    outline-offset: -1px;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    font-size: 16px;
  }

  .anagrafica-pref-feedback {
    padding: 8px 12px;
  }

  .anagrafica-pref-feedback-icon {
    width: 24px;
    height: 24px;
  }

  .anagrafica-loyalty-card {
    width: 100%;
    max-width: 360px;
    min-width: 120px;
    height: 128px;
    padding: 6px;
    border-radius: 16px;
    outline: 3px solid #2e2c7a;
    outline-offset: -3px;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
  }

  .anagrafica-loyalty-card-inner {
    width: 100%;
    flex: 1 1 0;
    max-width: 360px;
    min-width: 120px;
    padding: 8px 16px;
    border-radius: 12px;
    outline: 1px solid #2e2c7a;
    outline-offset: -1px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .anagrafica-loyalty-logo {
    max-height: 72px;
  }

  .anagrafica-loyalty-none {
    font-size: 16px;
    font-weight: 400;
  }

  .anagrafica-actions .btn-next {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 48px;
  }

  .fornitura-panel {
    width: 100%;
    gap: 16px;
    padding-bottom: 16px;
  }

  .fornitura-body {
    padding: 0 12px;
    gap: 16px;
  }

  .fornitura-intro-main {
    font-size: 14px;
  }

  .fornitura-intro-sub {
    font-size: 11px;
  }

  .fornitura-grid {
    flex-direction: column;
    gap: 8px;
  }

  .fornitura-grid.two-split .fornitura-cap-field {
    flex: 1 1 0;
    width: 100%;
  }

  .fornitura-field {
    min-height: 42px;
    border-radius: 12px;
  }

  .fornitura-field .label {
    font-size: 10px;
  }

  .fornitura-input {
    font-size: 14px;
  }

  .fornitura-question {
    font-size: 14px;
  }

  .fornitura-choice-row {
    gap: 8px;
  }

  .fornitura-choice {
    width: 120px;
    height: 38px;
    border-radius: 12px;
  }

  .fornitura-choice span {
    border-radius: 8px;
    font-size: 12px;
  }

  .fornitura-actions {
    padding-top: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .fornitura-actions .btn-next {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 47px;
  }

  .comunicazioni-panel {
    width: 100%;
    gap: 16px;
    padding-bottom: 16px;
  }

  .comunicazioni-body {
    padding: 0 12px;
    gap: 16px;
  }

  .comunicazioni-title {
    font-size: 19px;
  }

  .comunicazioni-sub,
  .comunicazioni-label {
    font-size: 12px;
  }

  .comunicazioni-pill-row,
  .comunicazioni-choice-row {
    flex-direction: column;
    gap: 8px;
  }

  .comunicazioni-pill {
    width: 100%;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  }

  .comunicazioni-pill span {
    font-size: 16px;
  }

  .comunicazioni-choice {
    width: 100%;
    max-width: none;
    min-width: 0;
    border-radius: 12px;
  }

  .comunicazioni-choice-inner {
    min-width: 0;
    padding: 8px 12px;
    border-radius: 8px;
  }

  .comunicazioni-choice-title {
    font-size: 14px;
  }

  .comunicazioni-choice-text {
    font-size: 11px;
  }

  .comunicazioni-email-label {
    font-size: 12px;
  }

  .comunicazioni-email-field {
    min-height: 42px;
    border-radius: 12px;
  }

  .comunicazioni-email-field .label {
    font-size: 10px;
  }

  .comunicazioni-email-input {
    font-size: 12px;
  }

  .comunicazioni-panel {
    width: 100%;
    gap: 16px;
    padding-bottom: 16px;
  }

  .comunicazioni-body {
    padding: 0 16px;
    gap: 24px;
  }

  .comunicazioni-intro,
  .comunicazioni-choice-wrap,
  .comunicazioni-posta-question,
  .comunicazioni-posta-address,
  .comunicazioni-email-section {
    gap: 8px;
  }

  .comunicazioni-title {
    font-size: 20px;
  }

  .comunicazioni-sub,
  .comunicazioni-label,
  .comunicazioni-email-label {
    font-size: 14px;
  }

  .comunicazioni-pill-row {
    flex-direction: column;
    gap: 8px;
  }

  .comunicazioni-pill {
    padding: 8px;
    gap: 16px;
  }

  .comunicazioni-pill > span:last-child {
    font-size: 16px;
    line-height: 1.2;
  }

  .comunicazioni-pill > span:last-child small {
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
  }

  .comunicazioni-choice-row {
    gap: 8px;
  }

  .comunicazioni-choice {
    padding: 6px;
    border-radius: 16px;
  }

  .comunicazioni-choice-inner {
    min-width: 0;
    padding: 16px;
    border-radius: 12px;
  }

  .comunicazioni-choice-title {
    font-size: 16px;
  }

  .comunicazioni-choice-text {
    font-size: 11px;
    line-height: 1.2;
  }

  .comunicazioni-posta-label {
    font-size: 14px;
  }

  .comunicazioni-posta-answer-row {
    gap: 8px;
  }

  .comunicazioni-posta-answer {
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
    max-width: none;
    border-radius: 16px;
    height: 48px;
    padding: 6px;
  }

  .comunicazioni-posta-answer span {
    border-radius: 12px;
    font-size: 16px;
  }

  .comunicazioni-posta-address-row {
    flex-direction: column;
    gap: 8px;
  }

  .comunicazioni-posta-field {
    border-radius: 12px;
    min-height: 42px;
  }

  .comunicazioni-posta-field.cap {
    width: 100%;
    flex: 1 1 auto;
  }

  .comunicazioni-posta-field .label {
    font-size: 10px;
  }

  .comunicazioni-posta-field input {
    font-size: 12px;
  }

  .comunicazioni-carta-banner {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .comunicazioni-carta-title-row,
  .comunicazioni-carta-content {
    width: 100%;
  }

  .comunicazioni-carta-title-row {
    min-height: 0;
    padding: 4px 24px;
    gap: 10px;
    justify-content: center;
    flex: 0 0 auto;
  }

  .comunicazioni-carta-logo {
    width: 100px;
    height: 72px;
    transform: rotate(-3deg);
  }

  .comunicazioni-carta-head {
    font-size: 24px;
    text-align: center;
    white-space: normal;
    line-height: 1;
  }

  .comunicazioni-carta-box {
    max-width: none;
  }

  .comunicazioni-carta-line1 {
    font-size: 16px;
    min-height: 40px;
    line-height: 1.15;
    padding: 0 8px;
  }

  .comunicazioni-carta-line2 {
    gap: 8px;
    font-size: 20px;
    padding: 11px 8px 8px;
  }

  .comunicazioni-carta-perte,
  .comunicazioni-carta-almese {
    font-size: 20px;
  }

  .comunicazioni-carta-heart-wrap {
    width: 66px;
    height: 72px;
  }

  .comunicazioni-carta-heart-wrap img {
    width: 66px;
    height: 72px;
  }

  .comunicazioni-carta-heart-100 {
    top: 27px;
    font-size: 26px;
  }

  .comunicazioni-carta-heart-label {
    top: 49px;
    font-size: 8px;
  }

  .comunicazioni-actions {
    padding-top: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .comunicazioni-actions .btn-next {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 48px;
  }

  .esecuzione-anticipata-panel,
  .pagamento-panel {
    width: 100%;
    gap: 16px;
    padding-bottom: 16px;
  }

  .esecuzione-anticipata-body,
  .pagamento-body {
    padding: 0 12px;
    gap: 16px;
  }

  .esecuzione-anticipata-body {
    padding: 0 16px;
  }

  .esecuzione-anticipata-title,
  .pagamento-title {
    font-size: 19px;
  }

  .esecuzione-anticipata-title {
    font-size: 20px;
  }

  .esecuzione-anticipata-sub,
  .pagamento-sub {
    font-size: 12px;
  }

  .esecuzione-anticipata-label {
    font-size: 14px;
    line-height: 1.35;
  }

  .pagamento-method-row {
    flex-direction: row;
    gap: 8px;
    align-items: stretch;
  }

  .esecuzione-anticipata-choice-row {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .esecuzione-anticipata-choice,
  .pagamento-method {
    width: 100%;
    max-width: none;
    min-width: 0;
    border-radius: 12px;
  }

  .esecuzione-anticipata-choice,
  .pagamento-method-inner {
    min-width: 0;
    padding: 8px 12px;
    border-radius: 8px;
  }

  .esecuzione-anticipata-choice {
    flex: 1 1 0;
    min-width: 0;
    height: 56px;
    font-size: 14px;
    padding: 6px;
    border-radius: 16px;
  }

  .esecuzione-anticipata-choice span {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 15px;
  }

  .pagamento-method-title {
    font-size: 14px;
    line-height: 1.15;
  }

  .pagamento-bank-copy span:first-child {
    font-size: 12px;
  }

  .pagamento-bank-copy span:last-child {
    font-size: 10px;
  }

  .pagamento-bank-field {
    min-height: 42px;
    border-radius: 12px;
  }

  .pagamento-bank-field .label {
    font-size: 10px;
  }

  .pagamento-bank-input {
    font-size: 12px;
  }

  .pagamento-card-row {
    flex-direction: column;
    gap: 8px;
  }

  .pagamento-holder-choice-row {
    gap: 8px;
  }

  .pagamento-holder-choice {
    flex: 1 1 0;
    min-width: 0;
  }

  .pagamento-holder-upload-row {
    flex-direction: column;
    gap: 8px;
  }

  .pagamento-holder-upload-side {
    width: 100%;
    gap: 8px;
  }

  .pagamento-holder-upload-btn {
    max-width: none;
    min-width: 0;
  }

  .pagamento-holder-no-copy {
    font-size: 16px;
  }

  .pagamento-holder-download-btn {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .pagamento-bank-field.short,
  .pagamento-bank-field.cvv {
    width: 100%;
    flex: 1 1 auto;
  }

  .pagamento-carta-banner {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .pagamento-carta-title-row,
  .pagamento-carta-content {
    width: 100%;
    padding: 0 4px;
  }

  .pagamento-carta-title-row {
    min-height: 52px;
    height: auto;
    gap: 12px;
    justify-content: flex-start;
    flex: 1 1 auto;
  }

  .pagamento-carta-logo {
    width: 68px;
    height: 46px;
    left: 8px;
    top: 10px;
    transform: rotate(-3deg);
  }

  .pagamento-carta-head {
    font-size: 18px;
    text-align: left;
    white-space: normal;
    line-height: 1.1;
  }

  .pagamento-carta-box {
    max-width: none;
  }

  .pagamento-carta-line1 {
    font-size: 13px;
    min-height: 32px;
    height: auto;
    line-height: 1.15;
    padding: 3px 6px;
  }

  .pagamento-carta-line2 {
    font-size: 16px;
    padding: 8px 6px 6px;
  }

  .pagamento-carta-line2--with-icon {
    gap: 6px;
  }

  .pagamento-carta-line2-icon {
    width: 50px;
    height: 54px;
  }

  .pagamento-carta-line2-icon img {
    width: 50px;
    height: 54px;
  }

  .pagamento-carta-line2-icon-100 {
    top: 19px;
    font-size: 18px;
  }

  .pagamento-carta-line2-icon-label {
    top: 40px;
    font-size: 6px;
  }

  .esecuzione-anticipata-actions,
  .pagamento-actions {
    padding-top: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .esecuzione-anticipata-actions .btn-next,
  .pagamento-actions .btn-next {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 38px;
  }

  .firma-panel {
    width: 100%;
    gap: 16px;
    padding-bottom: 16px;
  }

  .firma-body {
    padding: 0 12px;
    gap: 16px;
  }

  .firma-title {
    font-size: 19px;
  }

  .firma-sub {
    font-size: 12px;
  }

  .firma-stage {
    min-height: 240px;
    padding: 16px 10px;
    gap: 16px;
    border-radius: 12px;
  }

  .firma-stage-title {
    font-size: 28px;
  }

  .firma-otp-row {
    gap: 8px;
  }

  .firma-otp-input {
    width: 42px;
    height: 48px;
    border-radius: 10px;
    font-size: 24px;
  }

  .firma-hint,
  .firma-link-btn {
    font-size: 12px;
  }

  .firma-actions {
    padding-top: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .firma-actions .btn-next {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 38px;
  }

  .hero-content.is-loading {
    gap: 12px;
  }

  .section-loader-panel {
    width: 100%;
    gap: 16px;
    padding-bottom: 16px;
  }

  .section-loader-head {
    font-size: 25px;
    padding: 6px 20px;
  }

  .section-loader-body {
    padding: 0 12px;
  }

  .section-loader-stage {
    height: 220px;
  }

  .section-loader-logo-wrap {
    width: 190px;
    height: 62px;
  }

  .section-loader-logo-wrap img,
  .section-loader-logo-wrap svg {
    width: 170px;
  }

  .section-loader-ring {
    width: 62px;
    height: 62px;
    border-width: 4px;
  }

  .section-loader-message {
    font-size: 18px;
  }

  .esito-error-modal {
    padding: 12px;
  }

  .esito-error-modal__box {
    width: 100%;
    max-width: 100%;
    padding: 24px 16px 16px;
    gap: 16px;
    border-radius: 16px;
  }

  .esito-error-modal__title {
    font-size: 20px;
    line-height: 1.2;
  }

  .esito-error-modal__copy {
    font-size: 14px;
    line-height: 1.35;
  }

  .esito-error-modal__support {
    padding: 12px;
    gap: 12px;
    align-items: flex-start;
  }

  .esito-error-modal__support-icon {
    width: 48px;
    height: 48px;
  }

  .esito-error-modal__support-icon svg {
    width: 48px;
    height: 48px;
  }

  .esito-error-modal__phone {
    font-size: 20px;
    line-height: 1.2;
  }

  .esito-error-modal__hours {
    font-size: 11px;
    line-height: 1.35;
  }

  .esito-error-modal__actions {
    padding-top: 12px;
  }

  .esito-error-modal__btn {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 48px;
  }
}
