body {
  font-family: moderatregular, Poppins, sans-serif;
  margin: 5px;
  padding: 5px;
  background-color: #f4f4f4;
  color: #333;
}
header {
  text-align: center;
  margin: 5px;
  padding: 5px;
  background-color: #00ff00;
  color: #333 ;
}
#status {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 0.5rem;  
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  font-size: 1.2rem;
  text-align: center;
}
p,
.label,
.updated,
.icon
.MC1,
.MC2,
.MC7,
.MC8 {
  margin: 2px;
  padding: 2px;
}
@media (max-width: 600px) {
  #status {
    padding: 0.8rem;
  }
}

/* Toggle switch styles */
.switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  vertical-align: middle;
  margin-left: 10px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .2s;
  border-radius: 22px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .2s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #00c853;
}
input:checked + .slider:before {
  transform: translateX(16px);
}

/* Alarm styles */
.alarm {
  color: #b71c1c;
  font-size: 0.95em;
  margin: 2px 0 2px 0;
  padding: 0 2px;
}

/* Robot styles */
.robots-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 15px;
  margin: 5px;
  padding: 5px;
}
.horizontal-block {
  flex: 1 1 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.07);
  padding: 5px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.block-label {
  font-size: 1.2em;
  margin-bottom: 16px;
}

/* Icon styles */
.icon {
  width: 30px;
  height: 30px;
  vertical-align: middle;
}
.icon circle {
  stroke: grey;
  fill: none;
}
.icon path {
  stroke: #333;
  stroke-width: 3;
  fill: none;
}
.icon text {
  fill: #333;
  font-size: 30px;
  text-anchor: middle;
  dominant-baseline: middle;
}