* {
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Stile per il corpo del documento */
body {
  background-color: #f9f9f9;
  color: #000000;
  line-height: 1.6;
  padding: 20px;
}

/* Stile per il titolo principale */
h1 {
  text-align: center;
  color: #ff6600;
  font-size: 2.5em;
  margin-bottom: 20px;
}

/* Stile per i sottotitoli */
h2 {
  color: #0000ff;
  font-size: 1.8em;
  margin-bottom: 15px;
}

/* Stile per le linee orizzontali */
hr.solid {
  border-top: 3px solid #0000ff;
  margin: 20px 0;
}

/* Stile per i paragrafi */
p {
  font-size: 1.1em;
  margin-bottom: 15px;
}

/* Stile per le etichette (label) */
label {
  font-size: 1.1em;
  display: inline-block; 
  margin-right: 10px; 
}

/* Stile per gli input (radio, testo, select) */
input[type="radio"] {
  margin-right: 5px;
}

input[type="text"], select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Effetto hover e focus per input e select */
input[type="text"]:hover, select:hover, 
input[type="text"]:focus, select:focus {
  border-color: #0000ff;
  box-shadow: 0 0 5px rgba(0, 0, 255, 0.3);
}

/* Stile per i bottoni */
button {
  background-color: #0000ff;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0044cc;
}

.Indietro {
  border: 2px solid #ff9800 !important;
  color: orange !important;
  background-color: transparent !important;
  margin-bottom: 10px;
}

.Indietro:hover {
  background: #ff9800 !important;
  color: white !important;
}


/* Stile per le sezioni */
.form-section {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

/* Aggiunta di spaziatura tra i gruppi di opzioni */
input[type="radio"] + label {
  margin-right: 10px;
}

/* Stile per il bottone submit */
button[type="submit"], button[type="button"] {
  width: 100%;
  margin-top: 20px;
}

/* Stile per la lista di suggerimenti */
ul {
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  display: none;
}

/* Stile per gli elementi selezionati nella lista (input select-like) */
ul li {
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

ul li:hover {
  background-color: #f0f0f0;
}

/* Stile per gli input number */
input[type="number"] {
  width: 60%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="number"]:hover,
input[type="number"]:focus {
  border-color: #0000ff;
  box-shadow: 0 0 5px rgba(0, 0, 255, 0.3);
}


/* Stile per gli input time */
input[type="time"] {
  width: 10%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="time"]:hover,
input[type="time"]:focus {
  border-color: #0000ff;
  box-shadow: 0 0 5px rgba(0, 0, 255, 0.3);
}

/* Stile per gli input date */
input[type="date"] {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="date"]:hover,
input[type="date"]:focus {
  border-color: #0000ff;
  box-shadow: 0 0 5px rgba(0, 0, 255, 0.3);
}

/* Stile per la tabella dei mezzi */
table {
  border-collapse: collapse;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
}

th, td {
  padding: 7px;
  text-align: center;
  border: 1px solid #ddd; 
}

th {
  background-color: #f4f4f4; /* Colore di sfondo chiaro per l'intestazione */
  font-weight: bold;
  color: #333;
}

td input[type="radio"] {
  margin: 0; /* Rimuove spaziature intorno ai radio button */
}

tbody tr:nth-child(even) {
  background-color: #f9f9f9; /* Colore di sfondo alternato per le righe */
}

tbody tr:nth-child(odd) {
  background-color: #ffffff; /* Sfondo bianco per le righe dispari */
}

table th, table td {
  border: 1px solid #e0e0e0; /* Bordi leggeri per tutto */
}

table tr:hover {
  background-color: #f1f1f1; /* Colore di sfondo per hover delle righe */
}

