body {
  font-family: Arial, sans-serif;
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

h1 { text-align: center; }

.row {
  margin: 10px 0;
}

input, button {
  padding: 8px;
  font-size: 14px;
}

.hidden {
  display: none;
}

/* ===== LOGIN OVERLAY ===== */
#loginOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#loginForm {
  background: white;
  padding: 30px;
  border-radius: 8px;
  width: 300px;
  text-align: center;
}

#loginError {
  color: red;
  margin-bottom: 10px;
}

/* ===== STREAMS ===== */
.stream {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px;
  margin: 10px 0;
}

.vote-buttons button {
  font-size: 18px;
  margin-right: 4px;
  cursor: pointer;
}

.vote-buttons button {
  border: 1px solid #ccc;
  background: #f5f5f5;
  border-radius: 6px;
}

.vote-buttons button.selected {
  background: #cde8ff;
  border-color: #0078d7;
}

/* ===== HISTOGRAM ===== */
.histogram-row {
  display: flex;
  align-items: center;
  margin: 6px 0;
}

.histogram-bar {
  height: 18px;
  background: #4CAF50;
  margin-left: 6px;
  border-radius: 4px;
}

.delete-stream {
  float: right;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
}


