
body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

#container {
  display: flex;
  flex: 1;
  height: 100%;
}

#controls {
  flex: 1;
  padding: 1em;
  overflow-y: auto;
  box-sizing: border-box;
}

#log-container {
  flex: 1;
  background: #111;
  color: #0f0;
  overflow-y: auto;
  padding: 1em;
  font-family: monospace;
}

#log {
  white-space: pre-wrap;
}

input, select, button {
  width: 100%;
  margin-bottom: 0.5em;
  padding: 0.4em;
  font-size: 0.9em;
}

button {
  cursor: pointer;
}

#status {
  position: fixed;
  top: 0.5em;
  right: 1em;
  background: #333;
  color: white;
  padding: 0.5em 1em;
  border-radius: 5px;
  font-size: 0.9em;
  z-index: 10;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.overlay-content {
  background: white;
  padding: 1.5em;
  max-width: 600px;
  width: 95%;
  box-shadow: 0 0 10px #000;
  border-radius: 8px;
}

.overlay-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 0.5em;
  margin-top: 1em;
}

.overlay-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
}

.overlay-table th,
.overlay-table td {
  border: 1px solid #ccc;
  padding: 0.4em;
  text-align: left;
  font-size: 0.9em;
}

.overlay-table input {
  width: 100%;
  box-sizing: border-box;
  font-size: 0.9em;
  padding: 0.3em;
}
