/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


.step {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    margin: 20px;
}

.step.active {
    display: flex !important;
	flex-direction:column;
    opacity: 1;
	gap:5px;
}
/* Container generale */
.typeform {
  padding-bottom: 20px;
	font-family:"Montserrat";
}

/* Ogni step centrato e con spazio */
.typeform .step {
  text-align: center;
  margin-bottom: 2rem;
}

/* Domande */
.typeform label.question {
  font-size: 25px;
  padding-bottom: 20px;
  text-align: left;
  width: 100%;
  padding: 20px;
}

/* Contenitore delle risposte */
.typeform .answers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

/* Nascondi input nativi */
.typeform .answers input[type="radio"],
.typeform .answers input[type="checkbox"] {
  display: none;
}

/* Stile base delle label (rettangoli cliccabili) */
.typeform .answers label {
  display: block;
  padding: 15px 20px;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  text-align: left;
  font-size: 18px;
  width: 100%;
  
}

/* Hover su label */
.typeform .answers label:hover {
  background-color: #1E2948;
  color: white;
  border-color: #999;
}

/* Stato attivo (selezionato) */
.typeform .answers label:has(input:checked) {
  background-color: #1E2948;
  color: white;
  border-color: #0056b3;
}

/* Input testuali finali */
.typeform input[type="text"],
.typeform input[type="email"],
.typeform input[type="tel"] {
  display: block;
  padding: 15px 20px;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
  cursor: text;
  transition: all 0.3s ease;
  font-weight: 500;
  text-align: left;
  font-size: 18px;
  width: 100%;
  margin: 10px auto;
}

/* Checkbox privacy */
.typeform input[type="checkbox"][name="privacy"] {
  display: inline-block;
  width: auto;
  margin-right: 10px;
}
.typeform label.privacy-label {
  font-size: 14px;
  text-align: left;
  display: block;
  margin-top: 10px;
}

/* Pulsanti */
.button-typeform br {
  display: none;
}
.button-typeform button {
  padding: 12px 24px;
  font-size: 16px;
  background-color: #46a440;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.button-typeform button:hover {
  background-color: #0035cc;
}
.button-typeform [type="submit"] {
	margin-top:20px
    font-size: 20px;
    font-weight: 700;
	    background: #46a440;
}
.my-progress-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px;
    padding: 20px;
}

.my-progress-bar-container {
    flex: 1;
    height: 20px;
    background-color: #f1f1f1;
    border-radius: 10px;
    overflow: hidden;
}

.my-progress-bar {
    height: 100%;
    width: 0;
    background-color: #46a440;
    border-radius: 10px;
    transition: width 0.8s ease;
}

.my-progress-percentage {
    min-width: 40px;
    font-weight: bold;
    color: #333;
    text-align: right;
}

/* Responsivo */
@media only screen and (max-width: 900px) {
  .typeform .answers label {
    font-size: 18px !important;
  }
}