.button-green {
  background-color: #60a523;
  color: white;
}

.small {
  font-size: 0.7rem;
}

/* indentazione per sotto-sezioni */
.indent {
  display: block;
  padding-left: 1rem; /* rientro visivo all’interno */
}

.fixed-box {
  position: fixed;
  top: 0px;
  left: 60px;
  height: 50px;
  padding: 0;
  display: flex;       /* Abilita il flexbox */
  align-items: center; /* Centra verticalmente */
  justify-content: center;
}

footer {
  font-size: 0.69rem;
}

body {
  font-size: 0.89rem;
}

/* Header */
#header {
  width: 100%;
  background: #333;
  color: white;
  padding: 15px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  height: 50px;
  z-index: 1000;
}

/* Pulsante menu */
#menu-btn {
  background: none;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 24px;
  transition: transform 0.2s ease-in-out;
}

/* Sidebar */
#sidebar {
  width: 200px;
  position: fixed;
  height: calc(100vh - 50px); /* parte sotto l’header */
  background: #f5f5f5;
  padding: 15px;
  left: -220px; /* nascosta di default */
  transition: left 0.3s ease-in-out;
  z-index: 1100;
  top: 50px; /* subito sotto l’header */
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);

  overflow-y: auto;   /* abilita lo scroll verticale */
  overflow-x: hidden; /* evita lo scroll orizzontale */
}


/* Sidebar attiva */
#sidebar.active {
  left: 0;
}

/* Contenuto principale */
main.container {
  margin-top: 70px; /* spazio per header */
  padding: 15px;
  box-sizing: border-box;
}

/* Testo accanto al menu */
#header-text {
  font-size: 20px;
  color: white;
  font-weight: bold;
}

/* Smartphone piccoli (fino a 575px) */
@media screen and (max-width: 575px) {
  /* regole specifiche se servono */
}

/* Smartphone / tablet piccoli (576px - 767px) */
@media screen and (min-width: 576px) and (max-width: 767px) {}

/* Tablet (768px - 991px) */
@media screen and (min-width: 768px) and (max-width: 991px) {}

/* Laptop piccoli / desktop medi (992px - 1199px) */
@media screen and (min-width: 992px) and (max-width: 1199px) {}

/* Desktop grandi (1200px - 1399px) */
@media screen and (min-width: 1200px) and (max-width: 1399px) {}

/* Desktop extra large (1400px in su) */
@media screen and (min-width: 1400px) {}