:root{
  --bg:#F2F2F7; --surface:#FFFFFF; --ink:#0A0A0B; --ink-soft:#3C3C43;
  --muted:#8E8E93; --border:#E5E5EA; --border-strong:#DADADD;
  --success:#2FA84F; --success-tint:#E7F6EB; --error:#B4423A; --error-tint:#FBEAE8;
}
*{box-sizing:border-box;}
body{margin:0; background:var(--bg); color:var(--ink);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  -webkit-font-smoothing:antialiased; letter-spacing:-0.011em;}

.auth-wrap{min-height:100vh; display:flex; align-items:center; justify-content:center; padding:24px;}
.auth-card{width:100%; max-width:380px; background:var(--surface); border-radius:20px; padding:36px 32px; box-shadow:0 1px 2px rgba(0,0,0,0.04);}
.auth-card h1{font-size:22px; font-weight:800; margin:0 0 6px; letter-spacing:-0.01em;}
.auth-card .sub{color:var(--muted); font-size:13.5px; margin:0 0 26px;}

.field{margin-bottom:16px;}
.field label{display:block; font-size:12.5px; font-weight:600; color:var(--ink-soft); margin-bottom:7px;}
.field input{width:100%; padding:12px 14px; border:1px solid var(--border-strong); border-radius:10px; font-family:inherit; font-size:14px; color:var(--ink); background:#FAFAFA;}
.field input:focus{outline:none; border-color:var(--ink); background:#fff;}
.field .hint{font-size:11.5px; color:var(--muted); margin-top:5px;}

.btn-primary{width:100%; padding:13px; background:var(--ink); color:#fff; border:none; border-radius:10px; font-weight:700; font-size:14px; cursor:pointer;}
.btn-primary:hover{opacity:0.9;}
.btn-secondary{display:inline-block; padding:11px 22px; background:#F0F0F2; color:var(--ink); border:none; border-radius:10px; font-weight:600; font-size:14px; cursor:pointer; text-decoration:none;}

.form-foot{margin-top:20px; font-size:13px; color:var(--muted); display:flex; justify-content:space-between;}
.form-foot a{color:var(--ink); text-decoration:none; font-weight:600;}

.alert{padding:11px 14px; border-radius:10px; font-size:13px; margin-bottom:18px;}
.alert-error{background:var(--error-tint); color:var(--error);}
.alert-success{background:var(--success-tint); color:var(--success);}

.pending-icon{width:56px; height:56px; border-radius:50%; background:var(--bg); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:22px; margin:0 auto 20px;}
.center-text{text-align:center;}

/* Simple app shell for placeholder pages (scan/requests) */
.topbar{display:flex; justify-content:space-between; align-items:center; padding:16px 24px; background:var(--surface); border-bottom:1px solid var(--border);}
.topbar .logo{font-weight:800; font-size:15px; display:flex; align-items:center; gap:10px;}
.topbar .logo img{height:28px; width:auto; display:block;}
.topbar .user{font-size:13px; color:var(--muted); display:flex; align-items:center; gap:12px;}
.topbar a{color:var(--ink-soft); text-decoration:none; font-weight:600; font-size:13px;}
.shell{max-width:720px; margin:60px auto; padding:0 24px; text-align:center;}
.shell h1{font-size:24px; font-weight:800;}
.shell p{color:var(--ink-soft); font-size:14.5px; line-height:1.6;}
