/* 
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 */


@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Tilt+Warp&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Tilt+Warp&display=swap');

.entry-title {
	display: none !important;
}

.site-header {
	display: none;
}

/* BOTTONE */

   .bottone {
	   display: inline-block;
    background: #D83423;
    font-size: 16px;
	font-family: 'poppins';
    color: white;
    padding: 16px 32px;
	   text-transform: none !important;
    transition: all 0.3s ease;
	   overflow: hidden;
}

.bottone:hover {
    background: #3b3b3b;
    color: white;
    font-weight: bold;
	font-family: 'poppins';
    box-shadow: 2px 2px 20px #D83423 !important;
}

.bottone svg {
    height: 14px;
    width: 14px;
}

.bottone {
    position: relative;
    overflow: hidden;
}
.bottone::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.45) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-20deg);
    opacity: 0;
}
.bottone:hover::before {
    opacity: 1;
    animation: shimmer 0.55s ease forwards;
}
@keyframes shimmer {
    0%   { left: -75%; }
    100% { left: 125%; }
}

/* BOTOTNI MOBILE */

.bottone {
    background: #D83423;
    font-size: 16px;
    color: white;
    padding: 16px 32px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.bottone:hover {
    background: #3b3b3b;
    color: white;
    font-weight: bold;
    box-shadow: 2px 2px 20px #D83423 !important;
}
.bottone svg {
    height: 14px;
    width: 14px;
}
.bottone {
    position: relative;
    overflow: hidden;
}
.bottone::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.45) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-20deg);
    opacity: 0;
}
.bottone:hover::before {
    opacity: 1;
    animation: shimmer 0.55s ease forwards;
}
@keyframes shimmer {
    0%   { left: -75%; }
    100% { left: 125%; }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
    .bottone {
        font-size: 14px;
        padding: 12px 20px;
        width: 100%;
        display: block;
        text-align: center;
    }

    .bottone svg {
        height: 12px;
        width: 12px;
    }

    /* Disabilita hover su touch device */
    .bottone:hover {
        background: #D83423;
        color: white;
        font-weight: normal;
        box-shadow: none !important;
    }

    .bottone:hover::before {
        opacity: 0;
        animation: none;
    }
}


.typeform {
    background: white;
    font-family: 'Poppins', sans-serif;
    text-align: center;
	padding:20px;
	border-radius:10px;
	border:1px solid #d83322;
}

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

.step.active {
    display: flex !important;
	flex-direction:column;
    opacity: 1;
	gap:5px;
}

.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: #d83322;
    border-radius: 10px;
    transition: width 0.8s ease;
}

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

.button-typeform {
    padding: 20px;
}

.button-typeform button,
.button-typeform input[type="submit"] {
    background-color: blue;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
}

.privacy-consent {
    margin-top: 15px;
    font-size: 14px;
}

.loading p {
    font-size: 18px;
    font-weight: bold;
    padding: 20px;
}
/* Container generale */
.typeform {
  padding-bottom: 20px;
}

/* 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: #d83322;
  color: white;
  border-color: #999;
}

/* Stato attivo (selezionato) */
.typeform .answers label:has(input:checked) {
  background-color: #d83322;
  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: #d83322;
  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"] {
    font-size: 24px;
    font-weight: 700;
	    background: #d83322;
}