:root {
  --bg: #0b0d10;
  --panel: #14181d;
  --border: #222931;
  --text: #e6e8eb;
  --muted: #8a94a0;
  --accent: #25d366;
  --danger: #ef4444;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, "Segoe UI", Roboto, Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}
.card {
  width: 100%;
  max-width: 380px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.brand-name {
  font-weight: 600;
  letter-spacing: 0.2px;
}
h1 {
  font-size: 20px;
  margin: 0 0 6px;
}
p.sub {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}
label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0f1318;
  color: var(--text);
  font-size: 15px;
  outline: none;
}
input[type="password"]:focus {
  border-color: var(--accent);
}
button {
  width: 100%;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 0;
  background: var(--accent);
  color: #0b0d10;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
button:disabled { opacity: 0.6; cursor: not-allowed; }
.err {
  margin-top: 12px;
  font-size: 13px;
  color: var(--danger);
  min-height: 18px;
}
