body {
  margin: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  font-family: sans-serif;
}

.lang-switch {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.lang-switch img {
  width: 20px;
  height: 15px;
  cursor: pointer;
  transition: transform 0.2s;
}

.lang-switch img:hover {
  transform: scale(1.1);
}

.container.glass {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  color: #fff;
  width: 300px;
  transform: translateY(-25px);
  position: relative;
}

.logo {
  width: 180px;
  height: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

/* Status Backend */
.backend-status-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  justify-content: center;
}

#backend-led {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #9ca3af;
  transition: background-color 0.3s ease;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

#backend-status {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

#display {
  font-size: 2.5rem;
  letter-spacing: 0.5rem;
  margin: 1rem 0;
}

.keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.key {
  padding: 1.2rem;
  font-size: 1.2rem;
  border-radius: 0.5rem;
  border: none;
  background: rgba(255,255,255,0.25);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.key:hover {
  background: rgba(255,255,255,0.5);
}
.relay-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
#relay1Btn, #relay2Btn {
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 0.5rem;
  color: #fff;
  cursor: pointer;
  flex: 1
}

#relay1Btn:hover, #relay2Btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hidden {
  display: none;
}

#status {
  margin-top: 1rem;
  min-height: 24px;
  font-size: 14px;
}