/* Corpo della pagina */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f4f6f9;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-theme {
  background-color: #2c3e50;
  color: #ecf0f1;
}

/* Header */
header {
  width: 100%;
  padding: 20px;
  background-color: #3498db;
  color: white;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle label {
  color: #fff;
  font-weight: bold;
}

/* Card per ogni sezione */
.card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin: 20px;
  width: 100%;
  max-width: 400px;
}

.card h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
}

.card p {
  font-size: 16px;
  color: #777;
}

.card a {
  color: #3498db;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

/* Pulsanti */
button {
  padding: 15px 40px;
  font-size: 18px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin: 10px;
  width: 250px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #2980b9;
}

/* Stato Server */
.status {
  font-size: 20px;
  color: #888;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.lamp {
  font-size: 50px;
}

.lamp-icon {
  width: 60px;
  height: 60px;
}