*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #0a0a0b; --surface: #111113; --surface-2: #1a1a1e; --border: #252529;
  --text: #e8e8ed; --text-dim: #8b8b96; --accent: #10B981; --accent-dim: #10B98133;
  --red: #ef4444; --green: #34d399;
  --mono: 'SF Mono', 'Cascadia Code', Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; min-height: 100vh; }
a { color: var(--accent); text-decoration: none; }
.container { max-width: 600px; margin: 0 auto; padding: 0 24px; }
nav { background: var(--surface); border-bottom: 1px solid var(--border); padding: 16px 0; }
nav .container { display: flex; align-items: center; justify-content: space-between; }
nav .logo { font-weight: 700; font-size: 18px; color: var(--text); }
nav .logo span { color: var(--accent); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 32px; margin-bottom: 20px; }
.card h2 { font-size: 22px; margin-bottom: 16px; }
.card p { color: var(--text-dim); margin-bottom: 16px; font-size: 14px; }
input[type="text"], input[type="email"], input[type="password"] {
  width: 100%; padding: 12px 16px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font-size: 15px; margin-bottom: 12px; outline: none;
  font-family: var(--sans);
}
input:focus { border-color: var(--accent); }
label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 4px; }
.btn {
  display: inline-block; padding: 12px 24px; background: var(--accent); color: #0a0a0b;
  border: none; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; width: 100%; text-align: center;
}
.btn:hover { opacity: 0.9; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-red { background: var(--red); color: white; }
.btn-sm { padding: 8px 16px; font-size: 13px; width: auto; }
.error { color: var(--red); font-size: 14px; margin-bottom: 12px; padding: 8px 12px; background: #ef444422; border-radius: 6px; }
.success { color: var(--green); font-size: 14px; margin-bottom: 12px; }
.status { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.green { background: var(--green); }
.dot.red { background: var(--red); }
.dot.yellow { background: #f59e0b; }
.actions { display: flex; gap: 8px; margin-top: 16px; }
.actions form { flex: 1; }
.actions .btn { width: 100%; }
pre.logs {
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 16px;
  font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--text-dim);
  max-height: 500px; overflow-y: auto; white-space: pre-wrap; word-break: break-all;
}
.page { padding: 40px 0; }
.center { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 60px); }
.links { text-align: center; margin-top: 16px; font-size: 14px; color: var(--text-dim); }
.hint { font-size: 12px; color: var(--text-dim); margin-bottom: 12px; }
