body {
  font-family: Arial, sans-serif;
  background: #f2f6fa;
  /*margin: 0;*/
  text-align: center;
}

h1 {
  margin-bottom: 20px;
  display:none;
}

header {
  /*padding: 20px;*/
}

.card {
  background: white;
  padding: 20px;
  margin: 15px auto;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid #490094;
}

.dual-card {
  display: flex;
  gap: 20px;
/* justify-content: space-between;
  align-items: center; */
}

/* Bloc gauche */
.left {
  flex: 1;
  text-align: center;
}

/* Bloc droit */
.right {
  flex: 1;
  text-align: left;
}

.temperature {
  /*font-size: 28px;
  font-weight: bold;*/
}

button {
  cursor: pointer;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  background:#3498db;
  color:white;
/* padding:8px 12px; 
  margin:5px; 
  border-radius:5px; */
}

.mode-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
/*

.mode-btn {
  background: #f0f0f0;
  border: 2px solid #3598db;
  color: #777;
}

.mode-btn.active {
  background: #3598db;
  color: white;
}
*/
button.modes {
  padding: 15px;
  border-radius: 12px;
  border:2px solid #3598db;
  color: #939393;
  background: #F0F0F0;
}

button.active {
  background: #3598db;
  color: white;
}

.status-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 5px solid #3598db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  background: #f0f0f0;
  color: #939393;
  font-size: 18px;
}

.status-circle.on {
  background: #3598db;
  color: white;
}

.status {
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
}

.online {
  background: #2ecc71;
  color: white;
}

.online::before {
  content: "ONLINE";
}

.offline {
  background: #e74c3c;
  color: white;
}

.offline::before {
  content: "OFFLINE";
}

.loading {
  background: #f39c12;
  color: white;
}

.loading::before {
  content: "CHECKING";
}

.status-row {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
/*  align-items: center; */
}


