/* Estilo mínimo da tela de login (público). O style.css completo só é entregue depois do login. */
:root {
  --bg: #0f1115;
  --bg-2: #151820;
  --bg-3: #1c2029;
  --bg-4: #252a35;
  --line: #2a2f3b;
  --text: #e6e8ee;
  --muted: #8b92a3;
  --accent: #0ea5e9;
  --accent-ink: #04121e;
  --danger: #ef4444;
  --warn: #f59e0b;
  --ssh: #14b8a6;
  --telnet: #f59e0b;
  --sftp: #60a5fa;
  --ftp: #a78bfa;
  --radius: 8px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  --mono: "JetBrains Mono", "Fira Code", "Cascadia Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--text); font: 14px/1.45 var(--font); overflow: hidden; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
button, input, select, textarea { font: inherit; color: inherit; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-3); cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--bg-4); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn.primary:hover { filter: brightness(1.08); }
input, select, textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
textarea { font-family: var(--mono); font-size: 12px; resize: vertical; min-height: 90px; }
label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); }
label.check { flex-direction: row; align-items: center; gap: 8px; color: var(--text); cursor: pointer; }
label.check input { width: auto; accent-color: var(--accent); }
.form-error { color: var(--danger); font-size: 13px; min-height: 18px; }
/* ---------- login ---------- */
.auth { position: fixed; inset: 0; display: grid; place-items: center; padding: 16px;
  background: radial-gradient(ellipse at top, #12302d 0%, var(--bg) 60%); }
.auth-card { width: 100%; max-width: 360px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.auth-card p { margin: -6px 0 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.brand-mark { width: 30px; height: 30px; flex: none; display: block; }
.brand-name { font-weight: 500; letter-spacing: -.01em; }
.brand-name b { font-weight: 800; }
.tech-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: 0; }
.auth-card { position: relative; z-index: 1; }
