body {
  background: #000;
  color: #fff;
  font-family: sans-serif;
  margin: 0;
  padding: 10px;
}

.dashboard {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background: #1e1e6a;
  color: white;
  padding: 10px;
  font-size: 16px;
  margin-bottom: 10px;
  gap: 12px;
}

.tabellone {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start; /* allinea a sinistra */
}

.comanda {
  background: #fefefe;
  width: 320px;
  height: 470px;
  border: 3px solid #000;
  padding: 10px;
  color: #000;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 10px #333;
}

.intestazione {
  background: #1e1e6a;
  color: white;
  padding: 8px;
  font-weight: bold;
  font-size: 16px;
}

.totale-cameriere {
  background: #1e1e6a;
  color: white;
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  padding: 4px 8px;
}

.comanda-scroll {
  flex: 1;
  overflow-y: auto;
  margin-top: 10px;
}

.sezione {
  background: #d9f0f4;
  color: #007000;
  font-weight: bold;
  text-align: center;
  padding: 5px;
  margin-top: 10px;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
}

.riga-blocco,
.uscita-blocco {
  border-bottom: 1px solid #ccc;
  padding-bottom: 6px;
  margin-bottom: 6px;
}

.uscita-blocco {
  background-color: #e6ffe6; /* verde chiaro */
}

.riga-contenuto {
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  gap: 6px;
}

.riga-contenuto span:nth-child(1) {
  width: 20px;
  text-align: right;
}

.riga-contenuto span:nth-child(2) {
  flex: 1;
  text-align: left;
  padding-left: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.riga-contenuto span:nth-child(3),
.riga-contenuto span:nth-child(4) {
  width: 60px;
  text-align: right;
}

.dx {
  text-align: right;
}

.variante-riga {
  font-size: 13px;
  font-style: italic;
  color: #000;
  padding: 2px 6px 4px 6px;
  background: #fff8a0; /* giallo tenue */
  border-radius: 4px;
  margin-top: 2px;
}

.toggle-btn {
  background: #1e1e6a;
  color: white;
  font-weight: bold;
  padding: 8px;
  border: none;
  width: 100%;
  cursor: pointer;
  margin-top: 6px;
  font-size: 14px;
  border-radius: 4px;
  transition: background 0.3s;
}

.toggle-btn:hover {
  background: #2c2ca8;
}

.uscita-blocco {
  background-color: rgba(0, 128, 0, 0.2); /* verde tenue */
}


button.btn-prepara, button.btn-uscito-tutto {
  margin: 2px 5px;
  padding: 2px 6px;
  font-size: 12px;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.prepara-blocco {
  background-color: #ffdddd; /* rosso tenue */
  border-left: 5px solid red;
}




