@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --bg:#0B0D12;
  --panel:#151822;
  --panel-2:#1D2130;
  --line:#2A2F3D;
  --accent:#FF5A3C;
  --accent-2:#FFB020;
  --grad:linear-gradient(135deg,var(--accent) 0%,var(--accent-2) 100%);
  --muted:#9AA0B4;
  --error:#FF5A5A;
  --success:#2ECC71;
  --text:#EDEEF3;
}
*{ box-sizing:border-box; margin:0; padding:0; }
body{
  background:var(--bg);
  background-image:radial-gradient(circle at 15% 10%, rgba(255,90,60,.14), transparent 40%),
                   radial-gradient(circle at 85% 90%, rgba(255,176,32,.10), transparent 40%);
  color:var(--text);
  font-family:'Inter', sans-serif;
  min-height:100vh;
  display:flex; align-items:center; justify-content:center;
  padding:24px;
}
.display{ font-family:'Sora', sans-serif; font-weight:800; }
.mono{ font-family:'Inter', monospace; }

.auth-card{
  width:100%; max-width:420px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:18px;
  padding:34px 30px;
  box-shadow:0 24px 60px rgba(0,0,0,.45);
  position:relative;
}
.auth-card .pinhead{
  position:absolute; top:-13px; left:32px; width:24px; height:24px; border-radius:50%;
  background:var(--grad); box-shadow:0 0 16px rgba(255,90,60,.55);
}
.auth-logo{ display:flex; align-items:center; gap:9px; margin-bottom:6px; font-size:22px; }
.auth-logo .pin{
  display:inline-flex; align-items:center; justify-content:center;
  width:28px; height:28px; border-radius:50%; background:var(--grad); color:#0B0D12; font-size:13px;
}
.auth-card h1{ font-size:24px; margin:16px 0 4px; color:#fff; }
.auth-card p.sub{ font-size:13.5px; color:var(--muted); margin-bottom:24px; }

.field{ margin-bottom:16px; }
.field label{ display:block; font-size:13px; font-weight:600; margin-bottom:6px; color:#D8DAE4; }
.field input{
  width:100%; padding:12px 14px; border:1.5px solid var(--line); border-radius:8px;
  font-size:14.5px; font-family:'Inter', sans-serif; background:var(--panel-2); color:#fff;
}
.field input::placeholder{ color:#5C6178; }
.field input:focus-visible, .field input:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 3px rgba(255,90,60,.18); }
.field .hint{ font-size:12px; color:var(--muted); margin-top:5px; }

.btn{
  width:100%; padding:13px; border-radius:8px; border:none;
  font-weight:700; font-size:14.5px; cursor:pointer; transition:transform .15s, filter .15s;
}
.btn-primary{ background:var(--grad); color:#0B0D12; }
.btn-primary:hover{ filter:brightness(1.08); transform:translateY(-1px); }
.btn-secondary{ background:var(--panel-2); color:#fff; border:1.5px solid var(--line); }
.btn-secondary:hover{ border-color:var(--accent); }

.alert{
  padding:12px 14px; border-radius:8px; font-size:13.5px; margin-bottom:18px;
  border:1px solid; display:flex; gap:8px; align-items:flex-start;
}
.alert-error{ background:rgba(255,90,90,.1); border-color:var(--error); color:#FF8A8A; }
.alert-success{ background:rgba(46,204,113,.1); border-color:var(--success); color:#6FE3A0; }

.auth-links{ margin-top:22px; text-align:center; font-size:13.5px; color:var(--muted); }
.auth-links a{ color:var(--accent-2); font-weight:600; text-decoration:none; }
.auth-links a:hover{ text-decoration:underline; }
.divider{ margin:24px 0; text-align:center; font-size:12px; color:var(--muted); position:relative; }
.divider::before, .divider::after{
  content:''; position:absolute; top:50%; width:40%; border-top:1px solid var(--line);
}
.divider::before{ left:0; } .divider::after{ right:0; }
