:root {
  color-scheme: dark;
  --bg: #0a0a0d; --bg-card: #16161c; --bg-card-soft: #1c1c24;
  --border: #2a2a33; --text-primary: #f5f5f7; --text-secondary: #9a9aa8;
  --text-muted: #6b6b76; --purple: #5217FF; --purple-bright: #7D51FF; --red: #f2504f;
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--text-primary); padding: 24px; font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 36px 30px; width: 100%; max-width: 380px; text-align: center;
}
.logo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; }
h1 { font-size: 24px; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.01em; }
p.sub { font-size: 13px; color: var(--text-secondary); margin: 0 0 24px; }
form { display: flex; flex-direction: column; gap: 10px; }
input {
  font-family: inherit; font-size: 15px; border: 1px solid var(--border); border-radius: 9px;
  padding: 12px 14px; background: var(--bg-card-soft); color: var(--text-primary);
  color-scheme: dark; width: 100%; min-height: 44px;
}
input:focus-visible { outline: 2px solid var(--purple); outline-offset: 1px; }
button {
  background: var(--purple); color: #fff; border: none; border-radius: 9px; padding: 12px 18px;
  font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; min-height: 44px; margin-top: 4px;
}
button:hover:not(:disabled) { background: var(--purple-bright); }
button:disabled { background: #24242e; color: var(--text-muted); cursor: not-allowed; }
.erro { font-size: 12.5px; color: #ffb3b2; min-height: 18px; text-align: left; }
.rodape { font-size: 11.5px; color: var(--text-muted); margin-top: 20px; }
