body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #111;
  color: #fff;
}

header {
  padding: 1rem;
  background: #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status {
  font-size: 0.9em;
  padding: 2px 6px;
  border-radius: 5px;
}

.status.connecting { background: orange; }
.status.connected { background: green; }
.status.failed { background: red; }

.screen {
  padding: 1rem;
}

.hidden {
  display: none !important;
}

textarea {
  width: 100%;
  height: 80px;
  margin-top: 1rem;
  border-radius: 6px;
}

button {
  margin-top: 1rem;
  padding: 0.7rem;
  border: none;
  border-radius: 6px;
  background: teal;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.photo-upload input {
  margin-top: 1rem;
}

#photo-preview {
  position: relative;
  width: 120px;
  margin-top: 10px;
}

#photo-preview img {
  width: 100%;
  border-radius: 6px;
}

#remove-photo {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0,0,0,0.7);
  border: none;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
}

#image-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

#image-overlay img {
  max-width: 90%;
  max-height: 90%;
}
