.wrapper-qp-slider {
  position: relative;
  width: 100%;
  max-width: 600px;
  min-height: 400px;
  margin: 0 auto;
  overflow: hidden;
  color:white;
  display: flex;
  align-items: center;
  font-family: 'din-2014';
}

.qp-slide {
  min-width: 100%;
  max-width: 100%;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  flex-shrink: 0;
  padding: 32px 24px;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0;
}
.wrapper-privacy p, .wrapper-privacy h2{
  color: white !important;
}
.wrapper-privacy p{
  font-weight: normal;
  line-height: 15px;
}
.wrapper-privacy h2{
  font-family: 'din-2014';
  font-weight: normal;
  font-size: 20px;
  
}
.qp-privacy {
  font-size: 14px;
  max-width: 100%;
  columns: 3;
  column-gap: 16px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.qp-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  z-index: 2;
  transform: translateX(0);
}

.qp-slide.prev,
.qp-slide.next {
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}
.wrapper-button{
  width: 100%;
  margin-top: 15px;
  padding-top: 20px;
  border-top: 3px solid white;

}
.qp-next,
.qp-submit,
.qp-submit.question{
  font-family: 'garage-gothic' !important;
  line-height: 50px;
  width: 100% !important;
  background: white;
  color: #db1302;
  font-size: 30px !important;
  padding: 0 !important;
  font-weight: normal;
}
.qp-annulla{
  line-height: 50px;
  width: 100% !important;
  color: white;
  background: #db1302;
  border:3px solid white;
  font-size: 30px !important;
  text-transform: uppercase;
  font-family: 'garage-gothic' !important;
}

@media (max-width: 600px) {
  .wrapper-qp-slider {
    max-width: 100%;
    border-radius: 0;
  }
  .qp-slide {
    padding: 20px 8px;
    border-radius: 0;
  }
}
.wrapper-form.no-border {
  border: none !important;
}
.wrapper-form {
  border-top: 3px solid white;
  border-bottom: 3px solid white;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem; /* Spazio tra i campi */
  padding: 1rem 0;
  margin-bottom: 1rem;
}
.wrapper-domanda .wrapper-numero{
  font-size: 22px;
  margin-bottom: 18px;
}
.wrapper-domanda{
  color: white;
}
.wrapper-domanda strong{
  font-size: 20px;
}
  .form-row {
    display: flex;
    gap: 1rem;
    width: 100%;
  }

  .form-row > p, .form-row > .wrapper-image, .form-row > .wrapper-domanda {
    margin: 0 !important;
    flex: 1;
    flex-basis: 50%;
  }
  .wrapper-intro{
    text-align: center;
  }
  .wrapper-intro img{
    max-width: calc(600px - 40px) !important;
  }
  .form-row  label  .wrapper-input{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
  }
  .form-row > .wrapper-input {
    
    flex: 1;
  }
  .wrapper-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .input-underline .wrapper-form .qp-input::placeholder {
    color: white;
    text-transform: uppercase;
  }
  .qp-email-wrapper{
    position: relative;
    display: block;
  }
  .qp-icon-error {
    position:absolute;
    top: 50%;
    right:5px;
    transform: translateY(-50%);
    background-image: url('../assets/question-wrong.svg'); /* oppure data:image/svg+xml... */
    background-size: contain;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    margin-left: 8px;
    vertical-align: middle;
    display: inline-block;
  }
   .input-underline .wrapper-form .qp-input.invalid::before{
      content: "";
      position: absolute;
      bottom: 5px;
      right: 0;
      width: 32px;
      height: 32px;
      background-image: url('../assets/question-wrong.svg');
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
    }
   .input-underline .wrapper-form .qp-input.invalid{
    position: relative;
   }
   .input-underline .wrapper-form .qp-input{
      font-family: 'garage-gothic' !important;
      margin: 0 !important;
      width: 100%;
      color: white;
      text-transform: uppercase;
      font-weight: normal;
      font-size: 24px;
      padding: 5px 10px !important;
      border: 3px solid white !important;
    }

  /* Nascondi il checkbox nativo */
.qp-checkbox input[type="checkbox"] {
  display: none;
}

/* Etichetta personalizzata con spazio per l'immagine */
.qp-checkbox label {
  position: relative;
  padding-left: 42px; /* Spazio per l'immagine */
  cursor: pointer;
  display: inline-block;
  line-height: 24px;
}

/* Immagine per stato non selezionato */
.qp-checkbox label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background-image: url('../assets/question-off.svg'); /* Sostituisci con la tua immagine */
  background-size: cover;
  background-repeat: no-repeat;
}

/* Immagine per stato selezionato */
.qp-checkbox input[type="checkbox"]:checked + label::before {
  background-image: url('../assets/question-on.svg'); /* Sostituisci con la tua immagine */
}

  /* Nascondi il checkbox nativo */
.qp-radio{
  height: 100%;
}
.qp-radio input[type="radio"] {
  display: none;
}

/* Etichetta personalizzata con spazio per l'immagine */
.qp-radio label {
  height: 100%;
  width: 100%;
  position: relative;
  padding-bottom: 42px;
  cursor: pointer;
  display: inline-block;
  line-height: 17px;
  font-size: 17px;
}

/* Immagine per stato non selezionato */
.qp-radio label::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 34px;
  background-image: url('../assets/question-off.svg');
  background-size: cover;
  background-repeat: no-repeat;
}

/* Immagine per stato selezionato */
.qp-radio input[type="radio"]:checked + label::before {
  background-image: url('../assets/question-on.svg'); /* Sostituisci con la tua immagine */
}
.qp-radio input[type="radio"]:checked + label.correct::before,
.qp-radio input[type="radio"] + label.correct::before {
  background-image: url('../assets/question-correct.svg'); /* Sostituisci con la tua immagine */
}
.qp-radio input[type="radio"]:checked + label.wrong::before,
.qp-radio input[type="radio"] + label.wrong::before {
  background-image: url('../assets/question-wrong.svg'); /* Sostituisci con la tua immagine */
}

.qp-risultato {
  max-width: 530px;
  margin: auto;
}
.qp-risultato .wrapper-form {
  color: white !important;
  border-bottom: none !important;
  margin-top: 100px !important;
}
.qp-risultato .wrapper-form .wrapper-input h2{
  margin-top: 0 !important;
  color: white !important;
  font-family: 'garage-gothic';
  font-weight: normal;
  font-size: 44px;
  text-align: left;
}
.qp-risultato .wrapper-form .wrapper-input{
  align-items: start;
  justify-content: start;
  display: flex;
  flex-direction: column;
}
.wrapper-input span {
  font-size: 24px;
  line-height: 24px;
}
.wrapper-risultato,
.wrapper-percentuale{
  font-family: 'garage-gothic';
  font-weight: normal;
  font-size: 60px;
}
.wrapper-percentuale{
  font-size: 110px;
}