:root{
  --bg:#06070b; --panel:#0f1220; --line:#222941; --txt:#e8ecf7; --dim:#8b93ad;
  --acc:#7c6cff; --err:#ff6b6b;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; display:grid; place-items:center; padding:24px;
  background:var(--bg); color:var(--txt);
  font-family:'Segoe UI',system-ui,sans-serif;
}
.cartao{
  width:100%; max-width:360px; padding:32px 28px;
  background:var(--panel); border:1px solid var(--line); border-radius:14px;
  box-shadow:0 14px 38px rgba(0,0,0,.55);
}
h1{margin:0; font-size:26px; letter-spacing:.02em}
.sub{margin:4px 0 24px; color:var(--dim); font-size:14px}
label{display:block; margin:14px 0 6px; font-size:13px; color:var(--dim)}
input{
  width:100%; padding:11px 12px; font:inherit; color:var(--txt);
  background:#0a0c16; border:1px solid var(--line); border-radius:8px;
}
input:focus{outline:2px solid var(--acc); outline-offset:1px; border-color:transparent}
button{
  width:100%; margin-top:22px; padding:12px; font:inherit; font-weight:600; cursor:pointer;
  color:#fff; background:var(--acc); border:0; border-radius:8px;
}
button:disabled{opacity:.6; cursor:wait}
#erro{margin:14px 0 0; font-size:13px; color:var(--err)}
