body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  background-color: white;
  color: #333;
  font-display: swap;
}

.preventivo-container {
  max-width: 700px;
  margin: 50px auto;
  padding: 1rem;
  position: relative;
}

.cancel-btn {
  display: block;           /* fa stare il pulsante su una riga a sé */
  margin-bottom: 1rem;      /* spazio tra pulsante e barra */
  padding: 0.8rem 1.5rem;
  background-color: #ccc;
  color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: 0.3s;
}

.cancel-btn:hover {
  background-color: #aaa;
}


/* Barra di avanzamento */
.progress-bar-container {
  width: 100%;
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: #FFA500;
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Fascia prezzo */
.price-bar {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  z-index: 100;
  margin-bottom: 2rem;
}

/* Slide */
.slides-container {
  min-height: 300px;
  position: relative;
  padding-left: 40px;
  padding-right: 40px;
}

.slide {
  display: none;
  flex-direction: column;
}

.slide.active {
  display: flex;
}

.slide h2 {
  margin-bottom: 1.5rem;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.option-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  cursor: pointer;
}

.option-item input[type="radio"],
.option-item input[type="checkbox"] {
  accent-color: #0077ff; /* colore principale */
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.option:hover {
  background: #ffc266;
}

.buttons-container {
  display: flex;
  justify-content: space-between; /* Indietro a sinistra, Avanti a destra */
  width: 100%;
}

.buttons-container button {
  padding:  0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.back-btn {
  background-color: #ff0000;
  color: #fff;
}

.next-btn {
  background-color: #0D3B66;
  color: #fff;
}


.next-btn:hover, .back-btn:hover {
  background: #0a2a4d;
}


/* Input testo e location */
input[type="text"], input[type="email"], input[type="number"], textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: inherit;
}

.privacy-note {
  font-size: 0.8rem;
  color: #666;
  text-align: center;
  margin-top: 1rem;
}

.privacy-note a {
  color: #0D3B66;
  text-decoration: underline;
}

/* Stile input data */
.date-input {
  display: block;
  margin-top: 1rem;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  max-width: 300px; /* puoi regolare */
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

/* Facoltativo: focus più evidente */
.date-input:focus {
  outline: none;
  border-color: #007BFF;
  box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.location-btn {
  background-color: #0D3B66;   /* verde */
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background-color 0.2s ease;
  width: 100%;
}

.location-btn:hover {
  background-color: #007BFF;  /* verde scuro al passaggio del mouse */
}

.location-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Stile per la slide iniziale, se vuoi una classe specifica */
.slide.initial {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

/* Titolo nella slide iniziale */
.slide.initial h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #333;  /* oppure un colore del tuo tema */
}

/* Contenitore dei pulsanti */
.service-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 360px;
}

/* Stile base per ciascun pulsante di servizio */
.service-btn {
  background-color: #007BFF;  /* blu primario, modifica come vuoi */
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  width: 100%;
}

/* Hover / focus */
.service-btn:hover,
.service-btn:focus {
  background-color: #0056b3;  /* blu più scuro */
  transform: translateY(-2px);
}

/* Stato attivo (quando cliccato) */
.service-btn:active {
  transform: translateY(0);
  background-color: #00408d;
}

/* Variante secondaria, se vuoi differenziare uno dei pulsanti */
.service-btn.secondary {
  background-color: #6c757d;  /* grigio scuro */
}

.service-btn.secondary:hover {
  background-color: #5a6268;
}

/* Pulsante WhatsApp nel riepilogo */
.whatsapp-button {
  background-color: #25D366;      /* verde WhatsApp */
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s, transform 0.2s;
}

.whatsapp-button:hover {
  background-color: #1ebe57;
  transform: scale(1.05);
}

.whatsapp-button:active {
  transform: scale(0.98);
}



