/* Stili generali già presenti per chat, mappa, input, ecc. */

/* 🔧 Stile tabella orari */
#tabella-orari {
  animation: fadeIn 0.4s ease;
  margin-top: 15px;
  border: 1px solid #444;
  border-radius: 4px;
  overflow-x: auto;
}

#tabella-orari table {
  width: 100%;
  border-collapse: collapse;
  background: #222;
  color: #fff;
  font-size: 14px;
}

#tabella-orari th,
#tabella-orari td {
  padding: 10px;
  border-top: 1px solid #555;
  text-align: left;
}

#tabella-orari thead {
  background: #333;
}

#tabella-orari tbody tr:hover {
  background-color: #2a2a2a;
}

/* 🔘 Pulsante toggle */
#toggle-orari {
  background: #0af;
  color: white;
  border: none;
  padding: 6px 10px;
  margin-bottom: 5px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 13px;
}

/* ✨ Animazione fadeIn */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/*
body.listening #rispostaBox::before {
  content: "🎙️ ";
}

.pill {
  display:inline-block; margin-left:8px; padding:4px 8px;
  background:#333; color:#eee; border:1px solid #555; border-radius:999px;
  font-size:12px; line-height:1; user-select:none;
}
body.listening #micStatus { background:#e53935; border-color:#e53935; color:#fff; }
*/

html, body {
  margin: 0;
  height: 100%;
  font-family: sans-serif;
  background-color: #111;
  color: #fff;
  cursor: none;
  cursor: none !important;;
}

#container {
  display: flex;
  height: 100vh;
  width: 100vw;
}

#map {
  flex: 1;
  touch-action: pan-x pan-y pinch-zoom;
}

#chatContainer {
  width: 40vw;
  display: flex;
  flex-direction: column;
  padding: 10px;
  box-sizing: border-box;
  background-color: #1a1a1a;
}

/*
#oscilloscope {
  height: 100px;
  background-color: black;
  margin-bottom: 10px;
}
*/

#chatBox {
  flex-grow: 1;
  overflow-y: auto;
  background: #222;
  margin-bottom: 10px;
  padding: 10px;
}

#rispostaBox {
  white-space: normal;
  line-height: 1.5;
}

#scheduleTable {
  margin-bottom: 10px;
  padding: 10px;
  background: #111;
  border-top: 1px solid #444;
}

/*
#inputContainer {
  display: flex;
  gap: 5px;
}

#inputTesto {
  flex-grow: 1;
  padding: 10px;
  background: #333;
  border: none;
  color: white;
}

#inviaBtn, #micBtn, #busBtn {
  background: #0af;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}
*/