* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #0f1115;
  color: #e6e6e6;
}
header {
  padding: 14px 20px;
  background: #171a21;
  border-bottom: 1px solid #2a2e37;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header h1 { font-size: 16px; margin: 0; }
header form { margin: 0; }
button, input {
  font-family: inherit;
  font-size: 14px;
}
input[type=text], input[type=password] {
  width: 100%;
  padding: 10px 12px;
  margin: 6px 0 16px;
  border-radius: 6px;
  border: 1px solid #2a2e37;
  background: #11131a;
  color: #e6e6e6;
}
button {
  padding: 8px 14px;
  border-radius: 6px;
  border: none;
  background: #3b82f6;
  color: white;
  cursor: pointer;
}
button:hover { background: #2563eb; }
.login-wrap {
  max-width: 360px;
  margin: 10vh auto;
  padding: 28px;
  background: #171a21;
  border-radius: 10px;
  border: 1px solid #2a2e37;
}
.error { color: #f87171; min-height: 18px; font-size: 13px; }
main { padding: 20px; }
table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #2a2e37; font-size: 13px; }
th { color: #9aa4b2; font-weight: 600; }
tr:hover { background: #171a21; cursor: pointer; }
.status-online { color: #4ade80; }
.status-stopped, .status-errored { color: #f87171; }
pre#logbox {
  background: #11131a;
  border: 1px solid #2a2e37;
  border-radius: 8px;
  padding: 14px;
  max-height: 60vh;
  overflow: auto;
  white-space: pre-wrap;
  font-size: 12px;
  line-height: 1.5;
}
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  background: #1f2937;
  font-size: 12px;
}
