body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  padding-bottom: 2rem; /* Aggiunto per evitare elementi attaccati al fondo */
  background-color: #e9ecef;
  color: #002739;
}

.banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: #002739;
  color: white;
  padding: 1rem 2rem;
  border-bottom: 4px solid #ce871d;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  max-height: 60px;
  width: auto;
  display: block;
}

.banner h1 {
  margin: 0;
  font-size: 1.5rem;
}

.banner p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

.contenuto {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

h2 {
  color: #002739;
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.box {
  background-color: white;
  border: 2px solid #ce871d;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

input, select {
  padding: 0.5rem;
  margin-top: 0.5rem;
  margin-right: 0.5rem;
  border: 1px solid #002739;
  border-radius: 4px;
  font-size: 1rem;
  width: 180px;
  background-color: white;
  color: #002739;
}

button {
  padding: 0.5rem 1rem;
  background-color: #002739;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 2rem;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

button:hover,
button:active {
  background-color: #ce871d;
  color: #002739;
}

.storico {
  list-style-type: none;
  padding-left: 0;
  background-color: white;
  border: 2px solid #ce871d;
  border-radius: 8px;
  padding: 1rem;
}

.storico li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e9ecef;
}

.storico li:last-child {
  border-bottom: none;
}

.titolo-pagina {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #002739;
  text-align: center;
}

.sottotitolo {
  font-size: 1.2rem;
  color: #002739;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

/* Layout 3 colonne per il riepilogo */
.riepilogo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.riepilogo-item {
  background-color: white;
  border: 2px solid #ce871d;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.riepilogo-item .label {
  font-size: 0.9rem;
  color: #002739;
}

.riepilogo-item .value {
  font-size: 2rem;
  font-weight: bold;
  color: #ce871d;
  margin-top: 0.5rem;
}

/* Due colonne affiancate per lo storico */
.storico-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

